Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
2802c4b
feat(button-demo): button component and controls separate
ppipicz24 Oct 6, 2025
04a885d
feat(button-demo): replacing controls with ids components
ppipicz24 Oct 6, 2025
f8ddfd8
feat(button-demo): button model events are triggered
ppipicz24 Oct 13, 2025
8fbe1ec
feat(button-demo): checkbox to switch
ppipicz24 Oct 13, 2025
3f05981
moving folder
ppipicz24 Oct 14, 2025
71a1b1c
components routing work in general
ppipicz24 Oct 15, 2025
a370109
accordion new
ppipicz24 Oct 15, 2025
ea1c61c
style changes
ppipicz24 Oct 15, 2025
d1434b5
demo components routing
ppipicz24 Oct 21, 2025
4ee70d2
demo controls routing
ppipicz24 Oct 22, 2025
20bd991
action-menu-demo refactor
ppipicz24 Oct 22, 2025
7dbfd1d
action-menu-demo refactor
ppipicz24 Oct 22, 2025
e87910b
avatar demo done
ppipicz24 Oct 27, 2025
8eb2064
accordion demo done
ppipicz24 Oct 27, 2025
58cf91d
breadcrumb demo done
ppipicz24 Oct 27, 2025
2a265d8
button demo done
ppipicz24 Oct 27, 2025
1571f73
button done
ppipicz24 Oct 27, 2025
5f0ad51
button demo done
ppipicz24 Oct 27, 2025
6aef8c1
checkbox demo done
ppipicz24 Oct 28, 2025
906a1d0
card demo done
ppipicz24 Oct 28, 2025
66a779e
selector name change
ppipicz24 Oct 28, 2025
9d0e629
chip demo done
ppipicz24 Oct 28, 2025
4e4a75e
date type to idsDatepicker
ppipicz24 Oct 28, 2025
5ff2546
datepicker demo done
ppipicz24 Oct 28, 2025
69b07de
dialog demo done
ppipicz24 Oct 29, 2025
d680832
change services to injectable()
ppipicz24 Oct 29, 2025
803f56f
divider demo done
ppipicz24 Oct 29, 2025
a0e676d
badge demo done
ppipicz24 Oct 29, 2025
36eb7f8
form-field demo done
ppipicz24 Oct 30, 2025
abe607c
fieldset demo done
ppipicz24 Oct 30, 2025
ccf48bc
paginator demo done
ppipicz24 Oct 31, 2025
4bd3801
overlay-panel demo done
ppipicz24 Oct 31, 2025
dc8d16f
notification demo done
ppipicz24 Oct 31, 2025
584cc3d
menu-item demo done
ppipicz24 Oct 31, 2025
7b0ca8b
icon-button demo done
ppipicz24 Oct 31, 2025
6e298fa
radio demo done
ppipicz24 Oct 31, 2025
7e5c7d7
scrollbar demo done
ppipicz24 Oct 31, 2025
9bc4418
segmented control demo done
ppipicz24 Oct 31, 2025
d15ce6b
segmented control toggle demo done
ppipicz24 Oct 31, 2025
806c40b
side-sheet demo done
ppipicz24 Nov 4, 2025
01f540b
select demo done
ppipicz24 Nov 4, 2025
2c0ad2c
snackbar demo done
ppipicz24 Nov 4, 2025
3eca6c3
spinner demo done
ppipicz24 Nov 4, 2025
708a264
switch demo done
ppipicz24 Nov 4, 2025
0cc4f31
table demo done
ppipicz24 Nov 5, 2025
14dd6a9
tag demo done
ppipicz24 Nov 5, 2025
be4802f
tooltip demo done
ppipicz24 Nov 5, 2025
33683b3
ids controls done
ppipicz24 Nov 5, 2025
7b87f89
tab demo done
ppipicz24 Nov 6, 2025
9bb80c3
notification demo done
ppipicz24 Nov 6, 2025
78987a1
icon demo done
ppipicz24 Nov 6, 2025
e41f300
css
ppipicz24 Nov 6, 2025
366e457
formatting
ppipicz24 Nov 6, 2025
cccd174
Merge branch 'feature/navigation-from-statamic' of https://github.com…
ppipicz24 Nov 6, 2025
23be8d8
icon change
ppipicz24 Nov 6, 2025
0f9f127
fix(button-demo): button appearance fix
ppipicz24 Nov 10, 2025
c25d3ff
side nav demo done
ppipicz24 Nov 12, 2025
9f630c6
icon changes
ppipicz24 Nov 12, 2025
4825e4c
remove comments
ppipicz24 Nov 12, 2025
5c92927
fix scss
ppipicz24 Nov 12, 2025
eed1b2c
change numberArray to idsInput
ppipicz24 Nov 12, 2025
894d30b
remove comments
ppipicz24 Nov 12, 2025
065b422
new navigation from tabs
ppipicz24 Nov 26, 2025
c7bc59d
change control-table-small to control-table
ppipicz24 Nov 26, 2025
7a3ba8a
components loading and navigation change
ppipicz24 Nov 28, 2025
20c7fdf
change the visibility of the injected components
ppipicz24 Nov 28, 2025
d0b7596
delete comments and empty files
ppipicz24 Dec 1, 2025
1eddd6d
add prop-table
ppipicz24 Dec 3, 2025
e6fe773
fix ids-tab navigation
ppipicz24 Dec 5, 2025
4c0cf2b
property table done
ppipicz24 Dec 5, 2025
6c99bf7
delete square bracket bindings
ppipicz24 Dec 5, 2025
f5035a4
delete padding
ppipicz24 Dec 5, 2025
e1578b4
change gap between divs
ppipicz24 Dec 5, 2025
0fd13d8
Merge branch 'feature/navigation-from-statamic-controls-section' into…
ppipicz24 Dec 5, 2025
77818b2
change height pixel to rem
ppipicz24 Dec 5, 2025
c9617d4
feat(componentDetails): replace any types
ppipicz24 Dec 8, 2025
01904f4
Merge branch 'feature/navigation-from-statamic-controls-section' of h…
ppipicz24 Dec 9, 2025
f6b8a35
Merge pull request #240 from i-Cell-Mobilsoft-Open-Source/feature/pro…
ppipicz24 Dec 9, 2025
e03f9ac
feat(sideSheet): set width to full
ppipicz24 Dec 9, 2025
105ff8f
Merge branch 'feature/navigation-from-statamic-controls-section' of h…
ppipicz24 Dec 9, 2025
3052e6e
feat(sideSheet): display tables in one column
ppipicz24 Dec 9, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions projects/demo/src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@
<button idsButton type="button" variant="primary" [disabled]="currentLang() === 'en'" (click)="changeLanguage('en')">EN</button>
<button idsButton type="button" variant="secondary" [disabled]="currentLang() === 'hu'" (click)="changeLanguage('hu')">HU</button>
</div>
<ids-switch [formControl]="darkMode" [size]="'dense'" />
<ids-switch size="dense" [formControl]="darkMode" />
</header>
<!-- <ids-nav [menu]="menuConfigs" /> -->
<ids-nav [menu]="dynamicMenu" />
<main cdkScrollable>
<div class="container p-8 mx-auto"><router-outlet /></div>
<div class="container p-8 mx-auto"> <router-outlet/></div>
</main>
64 changes: 0 additions & 64 deletions projects/demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,67 +34,6 @@ export class AppComponent implements OnInit, OnDestroy {

private _subscription = new Subscription();

public menuConfigs: Menu[] = [
{
name: 'GET_STARTED', children: [
{ name: 'Home', path: '/index' },
{ name: 'Issue report', path: '/issue-report' },
],
},
{
name: 'DESIGN_DEVELOP',
children: [
{ name: 'DESIGN_DEVELOP_MENU.DESIGN_TOKENS', path: '/design-tokens' },
{ name: 'DESIGN_DEVELOP_MENU.FOUNDATION', path: '/foundation' },
{
name: 'DESIGN_DEVELOP_MENU.COMPONENTS',
path: '/components',
children: [
{ name: 'COMPONENTS.ACCORDION', path: '/components/accordion' },
{ name: 'COMPONENTS.ACTION_MENU', path: '/components/action-menu' },
{ name: 'COMPONENTS.AVATAR', path: '/components/avatar' },
{ name: 'COMPONENTS.BADGE', path: '/components/badge' },
{ name: 'COMPONENTS.BREADCRUMB', path: '/components/breadcrumb' },
{ name: 'COMPONENTS.BUTTON', path: '/components/button' },
{ name: 'COMPONENTS.CARD', path: '/components/card' },
{ name: 'COMPONENTS.CHECKBOX', path: '/components/checkbox' },
{ name: 'COMPONENTS.CHIP', path: '/components/chip' },
{ name: 'COMPONENTS.DATEPICKER', path: '/components/datepicker' },
{ name: 'COMPONENTS.DIALOG', path: '/components/dialog' },
{ name: 'COMPONENTS.DIVIDER', path: '/components/divider' },
{ name: 'COMPONENTS.FIELDSET', path: '/components/fieldset' },
{ name: 'COMPONENTS.FORM_FIELD', path: '/components/form-field' },
{ name: 'COMPONENTS.ICON', path: '/components/icon' },
{ name: 'COMPONENTS.ICON_BUTTON', path: '/components/icon-button' },
{ name: 'COMPONENTS.MENU_ITEM', path: '/components/menu-item' },
{ name: 'COMPONENTS.NOTIFICATION', path: '/components/notification' },
{ name: 'COMPONENTS.OVERLAY_PANEL', path: '/components/overlay-panel' },
{ name: 'COMPONENTS.PAGINATOR', path: '/components/paginator' },
{ name: 'COMPONENTS.RADIO', path: '/components/radio' },
{ name: 'COMPONENTS.SCROLLBAR', path: '/components/scrollbar' },
{ name: 'COMPONENTS.SEGMENTED_CONTROL', path: '/components/segmented-control' },
{ name: 'COMPONENTS.SEGMENTED_CONTROL_TOGGLE', path: '/components/segmented-control-toggle' },
{ name: 'COMPONENTS.SELECT', path: '/components/select' },
{ name: 'COMPONENTS.SIDE_SHEET', path: '/components/side-sheet' },
{ name: 'COMPONENTS.SIDE_NAV', path: '/components/side-nav' },
{ name: 'COMPONENTS.SNACKBAR', path: '/components/snackbar' },
{ name: 'COMPONENTS.SPINNER', path: '/components/spinner' },
{ name: 'COMPONENTS.SWITCH', path: '/components/switch' },
{ name: 'COMPONENTS.TAB', path: '/components/tab' },
{ name: 'COMPONENTS.TABLE', path: '/components/table' },
{ name: 'COMPONENTS.TAG', path: '/components/tag' },
{ name: 'COMPONENTS.TOOLTIP', path: '/components/tooltip' },
],
},
{
name: 'DESIGN_DEVELOP_MENU.PATTERNS',
path: '/patterns',
},
],
},
{ name: 'RESOURCES', children: [] },
];

public darkMode = new FormControl<boolean>(false);

public currentLang = toSignal(this._translate.onLangChange.pipe(map(({ lang }) => lang), startWith(this._translate.currentLang)));
Expand Down Expand Up @@ -124,7 +63,6 @@ export class AppComponent implements OnInit, OnDestroy {
});
}

// Find the deepest level in the Statamic navigation tree
private _findDeepestLevel(tree: readonly StatamicNavNode[], currentDepth = 0): number {
if (!tree || tree.length === 0) {
return currentDepth;
Expand All @@ -140,7 +78,6 @@ export class AppComponent implements OnInit, OnDestroy {
return tree.map((node) => {
let path: string | undefined = undefined;
if (node.page?.slug) {
// Only link to /components/:slug for component-level items (depth >= _componentLevelDepth)
if (this._componentLevelDepth !== undefined && node.depth >= this._componentLevelDepth) {
path = `/components/${node.page.slug}`;
} else {
Expand Down Expand Up @@ -180,7 +117,6 @@ export class AppComponent implements OnInit, OnDestroy {
}
}

// Add StatamicNavNode type
interface StatamicNavNode {
depth: number;
page?: { title?: string; id?: string; slug?: string };
Expand Down
Loading