Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
0f0cc48
refactor: generate examples for showcases via mitosis
nmerget Jan 14, 2026
d6d9916
Merge branch 'main' into refactor-generate-examples
mfranzke Jan 18, 2026
2c78193
chore: update react and vue showcases
nmerget Jan 19, 2026
a5b4be7
Merge remote-tracking branch 'origin/refactor-generate-examples' into…
nmerget Jan 19, 2026
6009415
chore: update examples
nmerget Jan 20, 2026
145ba92
chore: update showcase for angular to use mitosis examples
nmerget Jan 20, 2026
2f136c6
chore: add slots plugin and refactor example configurations
nmerget Jan 22, 2026
008cf39
Merge branch 'main' into refactor-generate-examples
nmerget Jan 22, 2026
502a577
fix: remaining issues for linting and build
nmerget Jan 22, 2026
05ef862
auto update snapshots (#5877)
github-actions[bot] Jan 22, 2026
f49781b
fix: issues with examples
nmerget Jan 23, 2026
32fc2e5
Merge remote-tracking branch 'origin/refactor-generate-examples' into…
nmerget Jan 23, 2026
330478e
auto update snapshots (#5886)
github-actions[bot] Jan 23, 2026
f7c97e2
fix: issues with examples
nmerget Jan 23, 2026
69cad25
fix: issues with accordion item tests
nmerget Jan 23, 2026
06300f4
auto update snapshots (#5891)
github-actions[bot] Jan 23, 2026
e40e1f3
chore: add aria-label for navigation inside header examples
nmerget Jan 26, 2026
d01f37b
Merge remote-tracking branch 'origin/refactor-generate-examples' into…
nmerget Jan 26, 2026
5377f9f
auto update snapshots (#5904)
github-actions[bot] Jan 26, 2026
2e2f902
fix: issue with header example for angular
nmerget Jan 26, 2026
3712fda
auto update snapshots (#5906)
github-actions[bot] Jan 26, 2026
5672831
fix: issue with radio and checkbox examples
nmerget Jan 26, 2026
8199f45
auto update snapshots (#5908)
github-actions[bot] Jan 26, 2026
904aca1
fix: issue with remaining aria problems for tests
nmerget Jan 26, 2026
c41b523
auto update snapshots (#5909)
github-actions[bot] Jan 26, 2026
1a6a638
fix: issue with remaining aria problems for tests
nmerget Jan 26, 2026
a648b8f
auto update snapshots (#5913)
github-actions[bot] Jan 26, 2026
a56b7a3
fix: issue with custom-select examples
nmerget Jan 26, 2026
c6fdd1b
fix: issue with custom-select examples
nmerget Jan 26, 2026
bac4e8f
auto update snapshots (#5917)
github-actions[bot] Jan 26, 2026
cdae4c6
chore: update examples to reduce snapshot changes
nmerget Jan 27, 2026
4637646
chore: update from main
nmerget Jan 27, 2026
2c79f80
fix: issue with checked and switch example
nmerget Jan 27, 2026
369f918
auto update snapshots (#5924)
github-actions[bot] Jan 27, 2026
33188f6
fix: issue with switch example
nmerget Jan 27, 2026
cf71f6e
chore: update snapshot
nmerget Jan 27, 2026
f659aaf
fix: issues for snapshot changes
nmerget Jan 27, 2026
8769d9e
auto update snapshots (#5927)
github-actions[bot] Jan 27, 2026
66975ea
fix: issue with showcase-styles.css
nmerget Jan 28, 2026
fc1d12a
Merge remote-tracking branch 'origin/refactor-generate-examples' into…
nmerget Jan 28, 2026
8b044bc
fix: issue with showcase-styles.css
nmerget Jan 28, 2026
8fe4f53
auto update snapshots (#5940)
github-actions[bot] Jan 28, 2026
a0186b5
chore: update examples
nmerget Jan 29, 2026
ff2f5cb
Merge remote-tracking branch 'origin/refactor-generate-examples' into…
nmerget Jan 29, 2026
e8374ca
auto update snapshots (#5945)
github-actions[bot] Jan 29, 2026
af3c2b2
chore: update examples
nmerget Jan 29, 2026
670a359
Merge remote-tracking branch 'origin/refactor-generate-examples' into…
nmerget Jan 29, 2026
7c1aa64
chore: update styling for showcases
nmerget Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .config/.jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@
"**/showcases/shared/*.json",
"**/showcases/vue-showcase/src/components/form/Form.vue",
"**/CHANGELOG.md",
"**/packages/components/src/shared/showcase/*-wrapper.showcase.lite.tsx"
"**/packages/components/src/shared/showcase/*-wrapper.showcase.lite.tsx",
"**/showcases/react-showcase/src/app.tsx",
"**/showcases/react-showcase/src/utils/navigation-item.tsx",
"**/playwright-report/**/*",
"**/*.example.lite.tsx"
],
"ignorePattern": ["<option value=\"test5\">Test5</option>"],
"absolute": true
Expand Down
4 changes: 4 additions & 0 deletions .config/cspell.config.ts
Copy link
Collaborator

@mfranzke mfranzke Jan 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nmerget why are we ignoring so many files? I totally get that the false positives are a pain in the … bucket, but not checking files in total, that done't seem to be build outputs or something similar seems to be wrong as well.

Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ export default defineConfig({
'storybooks/_storybook/src/welcome.mdx',
'playwright-report/**',
'showcases/shared/*.json',
'**/*.example.lite.tsx',
'**/*.showcase.lite.tsx',
'**/*.example.stories.*',
'**/test/**',
'packages/migration/**',
'output/**',
'showcases/patternhub/**',
'storybooks/angular-storybook/src/components/documentation.json',
// Examples
'showcases/react-showcase/src/components/form/index.tsx',
'showcases/patternhub/pages/foundations/densities/examples.tsx',
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/01-build-storybooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,3 @@ jobs:
with:
name: db-ux-${{ inputs.storybook }}
path: build-storybooks/${{ inputs.storybook }}

- name: 💀 Killing me softly
uses: ./.github/actions/cancel-workflow
if: failure()
with:
token: ${{ secrets.GITHUB_TOKEN }}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -1421,9 +1421,6 @@
- text: Custom Search Filter
- group:
- article:
- text: Search
- searchbox "Search"
- status
- radiogroup "id-10aasds4-Custom Search Filter":
- list:
- listitem:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -1421,9 +1421,6 @@
- text: Custom Search Filter
- group:
- article:
- text: Search
- searchbox "Search"
- status
- radiogroup "id-10aasds4-Custom Search Filter":
- list:
- listitem:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -1421,9 +1421,6 @@
- text: Custom Search Filter
- group:
- article:
- text: Search
- searchbox "Search"
- status
- radiogroup "id-10aasds4-Custom Search Filter":
- list:
- listitem:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -1488,9 +1488,6 @@
- text: Custom Search Filter
- group:
- article:
- text: Search
- searchbox "Search"
- status
- radiogroup "id-10aasds4-Custom Search Filter":
- list:
- listitem:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1488,9 +1488,6 @@
- text: Custom Search Filter
- group:
- article:
- text: Search
- searchbox "Search"
- status
- radiogroup "id-10aasds4-Custom Search Filter":
- list:
- listitem:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1421,9 +1421,6 @@
- text: Custom Search Filter
- group:
- article:
- text: Search
- searchbox "Search"
- status
- radiogroup "id-10aasds4-Custom Search Filter":
- list:
- listitem:
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- link "Wrap"
- list:
- listitem:
- button "No Wrap (Default)"
- link "No Wrap (Default)"
- list:
- listitem:
- button "This is a very long text that is broken into multiple lines."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- link "Wrap"
- list:
- listitem:
- button "No Wrap (Default)"
- link "No Wrap (Default)"
- list:
- listitem:
- button "This is a very long text that is broken into multiple lines."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- link "Wrap"
- list:
- listitem:
- button "No Wrap (Default)"
- link "No Wrap (Default)"
- list:
- listitem:
- button "This is a very long text that is broken into multiple lines."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- link "Wrap"
- list:
- listitem:
- button "No Wrap (Default)"
- link "No Wrap (Default)"
- list:
- listitem:
- button "This is a very long text that is broken into multiple lines."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- link "Wrap"
- list:
- listitem:
- button "No Wrap (Default)"
- link "No Wrap (Default)"
- list:
- listitem:
- button "This is a very long text that is broken into multiple lines."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
- link "Wrap"
- list:
- listitem:
- button "No Wrap (Default)"
- link "No Wrap (Default)"
- list:
- listitem:
- button "This is a very long text that is broken into multiple lines."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
- link "Semantic"
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behavior"
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- group "Behavior":
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- checkbox "Interactive (Checkbox)"
- text: Interactive (Checkbox)
- radio "Interactive (Radio)"
Expand Down Expand Up @@ -44,9 +44,9 @@
- link "Overflow"
- text: (Default) False True - lorem ipsum dolor
- link "Example Strong"
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- group "Example Strong":
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- checkbox "Interactive Strong Checkbox with Icon"
- text: Interactive Strong Checkbox with Icon
- radio "Interactive Strong Radio 1 with Icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
- link "Semantic"
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behavior"
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- group "Behavior":
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- checkbox "Interactive (Checkbox)"
- text: Interactive (Checkbox)
- radio "Interactive (Radio)"
Expand Down Expand Up @@ -44,9 +44,9 @@
- link "Overflow"
- text: (Default) False True - lorem ipsum dolor
- link "Example Strong"
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- group "Example Strong":
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- checkbox "Interactive Strong Checkbox with Icon"
- text: Interactive Strong Checkbox with Icon
- radio "Interactive Strong Radio 1 with Icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
- link "Semantic"
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behavior"
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- group "Behavior":
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- checkbox "Interactive (Checkbox)"
- text: Interactive (Checkbox)
- radio "Interactive (Radio)"
Expand Down Expand Up @@ -44,9 +44,9 @@
- link "Overflow"
- text: (Default) False True - lorem ipsum dolor
- link "Example Strong"
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- group "Example Strong":
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- checkbox "Interactive Strong Checkbox with Icon"
- text: Interactive Strong Checkbox with Icon
- radio "Interactive Strong Radio 1 with Icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
- link "Semantic"
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behavior"
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- group "Behavior":
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- checkbox "Interactive (Checkbox)"
- text: Interactive (Checkbox)
- radio "Interactive (Radio)"
Expand Down Expand Up @@ -44,9 +44,9 @@
- link "Overflow"
- text: (Default) False True - lorem ipsum dolor
- link "Example Strong"
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- group "Example Strong":
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- checkbox "Interactive Strong Checkbox with Icon"
- text: Interactive Strong Checkbox with Icon
- radio "Interactive Strong Radio 1 with Icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
- link "Semantic"
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behavior"
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- group "Behavior":
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- checkbox "Interactive (Checkbox)"
- text: Interactive (Checkbox)
- radio "Interactive (Radio)"
Expand Down Expand Up @@ -44,9 +44,9 @@
- link "Overflow"
- text: (Default) False True - lorem ipsum dolor
- link "Example Strong"
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- group "Example Strong":
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- checkbox "Interactive Strong Checkbox with Icon"
- text: Interactive Strong Checkbox with Icon
- radio "Interactive Strong Radio 1 with Icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
- link "Semantic"
- text: (Default) Adaptive Critical Informational Neutral Successful Warning Adaptive Strong Critical Strong Informational Strong Neutral Strong Successful Strong Warning Strong
- link "Behavior"
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- group "Behavior":
- text: (Default) Static Removable
- button "Remove"
- button "Interactive (Button)"
- link "Interactive (Link)"
- checkbox "Interactive (Checkbox)"
- text: Interactive (Checkbox)
- radio "Interactive (Radio)"
Expand Down Expand Up @@ -44,9 +44,9 @@
- link "Overflow"
- text: (Default) False True - lorem ipsum dolor
- link "Example Strong"
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- group "Example Strong":
- button "Interactive Strong Button with Icon"
- link "Interactive Strong Link with Icon"
- checkbox "Interactive Strong Checkbox with Icon"
- text: Interactive Strong Checkbox with Icon
- radio "Interactive Strong Radio 1 with Icon"
Expand Down
12 changes: 11 additions & 1 deletion packages/components/configs/angular/index.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
const onClickPlugin = require('../plugins/on-click.cjs');
const angularPlugin = require('../plugins/angular/index.cjs');
const angularSlotsPlugin = require('../plugins/angular/slots.cjs');
const classNamePlugin = require('../plugins/angular/className.cjs');
const attributePassingPlugin = require('../plugins/attribute-passing/index.cjs');

/**
* @type {import('@builder.io/mitosis').ToAngularOptions}
Expand All @@ -10,5 +14,11 @@ module.exports = {
customRef: '_ref'
},
api: 'signals',
plugins: [onClickPlugin]
plugins: [
attributePassingPlugin,
angularSlotsPlugin,
classNamePlugin,
onClickPlugin,
angularPlugin
]
};
33 changes: 32 additions & 1 deletion packages/components/configs/mitosis.storybook.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,38 @@ const storyBookPlugin = require('./plugins/storybook/storybook-plugin.cjs');
* @type {import('@builder.io/mitosis').MitosisConfig}
*/
module.exports = {
files: ['src/**/*.example.lite.tsx'],
// TODO: use all examples if we fix the storybook plugin
files: [
// 'src/components/accordion/examples/*.example.lite.tsx',
'src/components/accordion-item/examples/*.example.lite.tsx',
// 'src/components/badge/examples/*.example.lite.tsx',
// 'src/components/brand/examples/*.example.lite.tsx',
'src/components/button/examples/*.example.lite.tsx',
'src/components/card/examples/*.example.lite.tsx',
// 'src/components/checkbox/examples/*.example.lite.tsx',
// 'src/components/custom-select/examples/*.example.lite.tsx',
// 'src/components/divider/examples/*.example.lite.tsx',
// 'src/components/drawer/examples/*.example.lite.tsx',
// 'src/components/header/examples/*.example.lite.tsx',
// 'src/components/icon/examples/*.example.lite.tsx',
'src/components/infotext/examples/*.example.lite.tsx',
// 'src/components/input/examples/*.example.lite.tsx',
// 'src/components/link/examples/*.example.lite.tsx',
// 'src/components/navigation/examples/*.example.lite.tsx',
// 'src/components/navigation-item/examples/*.example.lite.tsx',
// 'src/components/notification/examples/*.example.lite.tsx',
// 'src/components/popover/examples/*.example.lite.tsx',
// 'src/components/radio/examples/*.example.lite.tsx',
// 'src/components/section/examples/*.example.lite.tsx',
'src/components/select/examples/*.example.lite.tsx',
// 'src/components/stack/examples/*.example.lite.tsx',
// 'src/components/switch/examples/*.example.lite.tsx',
'src/components/tab-item/examples/*.example.lite.tsx'
// 'src/components/tabs/examples/*.example.lite.tsx',
// 'src/components/tag/examples/*.example.lite.tsx',
// 'src/components/textarea/examples/*.example.lite.tsx',
// 'src/components/tooltip/examples/*.example.lite.tsx'
],
targets: ['angular', 'react', 'vue'],
dest: '../../storybooks',
getTargetPath: ({ target }) => {
Expand Down
Loading
Loading