@ngstarter-ui/components 22.2.10 → 22.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/ai/component-registry.json +39 -111
- package/fesm2022/ngstarter-ui-components-form-builder.mjs +8 -8
- package/fesm2022/ngstarter-ui-components-form-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-image-designer.mjs +12 -12
- package/fesm2022/ngstarter-ui-components-image-designer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs +6 -6
- package/fesm2022/ngstarter-ui-components-kanban-board.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-layout.mjs +64 -42
- package/fesm2022/ngstarter-ui-components-layout.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs +8 -8
- package/fesm2022/ngstarter-ui-components-pdf-builder.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-signer.mjs +7 -7
- package/fesm2022/ngstarter-ui-components-pdf-signer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs +20 -20
- package/fesm2022/ngstarter-ui-components-pdf-viewer.mjs.map +1 -1
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs +1 -11
- package/fesm2022/ngstarter-ui-components-scroll-spy.mjs.map +1 -1
- package/package.json +1 -5
- package/schematics/utils.js +9 -9
- package/schematics/utils.js.map +1 -1
- package/types/ngstarter-ui-components-layout.d.ts +20 -5
- package/types/ngstarter-ui-components-scroll-spy.d.ts +0 -2
- package/fesm2022/ngstarter-ui-components-panel.mjs +0 -136
- package/fesm2022/ngstarter-ui-components-panel.mjs.map +0 -1
- package/types/ngstarter-ui-components-panel.d.ts +0 -63
package/README.md
CHANGED
|
@@ -280,7 +280,6 @@ discovery and AI-assisted development.
|
|
|
280
280
|
- [Menu](https://docs.ngstarter.com/components/menu)
|
|
281
281
|
- [Notifications](https://docs.ngstarter.com/components/notifications)
|
|
282
282
|
- [Paginator](https://docs.ngstarter.com/components/paginator)
|
|
283
|
-
- [Panel](https://docs.ngstarter.com/components/panel)
|
|
284
283
|
- [Popover](https://docs.ngstarter.com/components/popover)
|
|
285
284
|
- [Progress Bar](https://docs.ngstarter.com/components/progress-bar)
|
|
286
285
|
- [Progress Spinner](https://docs.ngstarter.com/components/progress-spinner)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"generatedBy": "scripts/generate-ai-metadata.mjs",
|
|
4
4
|
"package": "@ngstarter-ui/components",
|
|
5
5
|
"description": "AI-readable registry for NgStarter UI Angular secondary entry points.",
|
|
6
|
-
"componentCount":
|
|
6
|
+
"componentCount": 126,
|
|
7
7
|
"conventions": {
|
|
8
8
|
"importPattern": "@ngstarter-ui/components/<component>",
|
|
9
9
|
"selectorPrefix": "ngs",
|
|
@@ -3918,19 +3918,19 @@
|
|
|
3918
3918
|
"Basic drawer",
|
|
3919
3919
|
"Drawer without backdrop"
|
|
3920
3920
|
],
|
|
3921
|
-
"minimalExample": "<button ngsButton=\"filled\" (click)=\"drawer.open()\">Open Drawer</button>\n<ngs-drawer #drawer=\"ngsDrawer\">\n <ngs-
|
|
3921
|
+
"minimalExample": "<button ngsButton=\"filled\" (click)=\"drawer.open()\">Open Drawer</button>\n<ngs-drawer #drawer=\"ngsDrawer\">\n <ngs-layout class=\"w-[460px]\">\n <ngs-layout-header class=\"px-5 py-3\">Header</ngs-layout-header>\n <ngs-layout-content class=\"p-5\">\n <button ngsButton=\"filled\" (click)=\"drawer.close()\">Close Drawer</button>\n </ngs-layout-content>\n <ngs-layout-footer class=\"px-5 py-3\">Footer</ngs-layout-footer>\n </ngs-layout>\n</ngs-drawer>",
|
|
3922
3922
|
"exampleFiles": [
|
|
3923
3923
|
{
|
|
3924
3924
|
"name": "basic-drawer-example",
|
|
3925
3925
|
"title": "Basic drawer",
|
|
3926
3926
|
"file": "projects/docs/src/app/components/drawer/_examples/basic-drawer-example/basic-drawer-example.html",
|
|
3927
|
-
"source": "<button ngsButton=\"filled\" (click)=\"drawer.open()\">Open Drawer</button>\n<ngs-drawer #drawer=\"ngsDrawer\">\n <ngs-
|
|
3927
|
+
"source": "<button ngsButton=\"filled\" (click)=\"drawer.open()\">Open Drawer</button>\n<ngs-drawer #drawer=\"ngsDrawer\">\n <ngs-layout class=\"w-[460px]\">\n <ngs-layout-header class=\"px-5 py-3\">Header</ngs-layout-header>\n <ngs-layout-content class=\"p-5\">\n <button ngsButton=\"filled\" (click)=\"drawer.close()\">Close Drawer</button>\n </ngs-layout-content>\n <ngs-layout-footer class=\"px-5 py-3\">Footer</ngs-layout-footer>\n </ngs-layout>\n</ngs-drawer>"
|
|
3928
3928
|
},
|
|
3929
3929
|
{
|
|
3930
3930
|
"name": "drawer-without-backdrop-example",
|
|
3931
3931
|
"title": "Drawer without backdrop",
|
|
3932
3932
|
"file": "projects/docs/src/app/components/drawer/_examples/drawer-without-backdrop-example/drawer-without-backdrop-example.html",
|
|
3933
|
-
"source": "<button ngsButton=\"filled\" (click)=\"drawer.open()\">Open Drawer</button>\n<ngs-drawer #drawer=\"ngsDrawer\" [showBackdrop]=\"false\">\n <ngs-
|
|
3933
|
+
"source": "<button ngsButton=\"filled\" (click)=\"drawer.open()\">Open Drawer</button>\n<ngs-drawer #drawer=\"ngsDrawer\" [showBackdrop]=\"false\">\n <ngs-layout class=\"w-[460px]\">\n <ngs-layout-header class=\"px-5 py-3\">Header</ngs-layout-header>\n <ngs-layout-content class=\"p-5\">\n <button ngsButton=\"filled\" (click)=\"drawer.close()\">Close Drawer</button>\n </ngs-layout-content>\n <ngs-layout-footer class=\"px-5 py-3\">Footer</ngs-layout-footer>\n </ngs-layout>\n</ngs-drawer>"
|
|
3934
3934
|
}
|
|
3935
3935
|
],
|
|
3936
3936
|
"previewAsset": "projects/components/drawer/preview.svg",
|
|
@@ -5796,35 +5796,18 @@
|
|
|
5796
5796
|
"name": "incidents",
|
|
5797
5797
|
"title": "Incidents",
|
|
5798
5798
|
"overviewName": "Incidents",
|
|
5799
|
-
"category":
|
|
5799
|
+
"category": null,
|
|
5800
5800
|
"package": "@ngstarter-ui/components",
|
|
5801
5801
|
"importPath": "@ngstarter-ui/components/incidents",
|
|
5802
5802
|
"publicApi": "projects/components/incidents/public-api.ts",
|
|
5803
5803
|
"sourceRoot": "projects/components/incidents/src",
|
|
5804
|
-
"docsPath":
|
|
5805
|
-
"docsOverviewSource":
|
|
5804
|
+
"docsPath": null,
|
|
5805
|
+
"docsOverviewSource": null,
|
|
5806
5806
|
"purpose": "Show an application-level service incident or operational notice with a compact bar and expandable incident updates.",
|
|
5807
5807
|
"useWhen": "Use for service outages, degraded service, maintenance windows, global system status, and important operational notices that users should see across the app or portal. Compose manually with ngs-incidents, ngs-incidents-bar, ngs-incidents-title, ngs-incidents-description, ngs-incidents-list, ngs-incident, ngs-incident-title, ngs-incident-details, ngsIncidentIcon, ngsIncidentButton, and ngsIncidentClose. For global dynamic incidents, place ngs-incidents-global near the app root and call IncidentsStore.show({ title, description, incidents }) or hide(). Do not use for local inline messages; use Alert. Do not use for user-required critical actions; use ActionRequired. Do not use for toast notifications, table row statuses, empty states, or full incident management/history pages; use notification components, Badge, Status, EmptyState, Table, or DataView.",
|
|
5808
|
-
"exampleTopics": [
|
|
5809
|
-
|
|
5810
|
-
|
|
5811
|
-
"Incidents show hide dynamicly"
|
|
5812
|
-
],
|
|
5813
|
-
"minimalExample": "<div class=\"h-[400px] overflow-hidden\">\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>Maintenance work on the DNS</ngs-incidents-title>\n <ngs-incidents-description>Description</ngs-incidents-description>\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list>\n @for (incident of incidents; track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n</div>",
|
|
5814
|
-
"exampleFiles": [
|
|
5815
|
-
{
|
|
5816
|
-
"name": "basic-incidents-example",
|
|
5817
|
-
"title": "Basic incidents",
|
|
5818
|
-
"file": "projects/docs/src/app/components/incidents/_examples/basic-incidents-example/basic-incidents-example.html",
|
|
5819
|
-
"source": "<div class=\"h-[400px] overflow-hidden\">\n <ngs-incidents>\n <ngs-incidents-bar>\n <ngs-incidents-title>Maintenance work on the DNS</ngs-incidents-title>\n <ngs-incidents-description>Description</ngs-incidents-description>\n <ngs-icon name=\"fluent:chevron-down-24-regular\" ngsIncidentsToggleIcon/>\n </ngs-incidents-bar>\n <ngs-incidents-list>\n @for (incident of incidents; track incident) {\n <ngs-incident>\n <ngs-icon name=\"fluent:info-24-regular\" ngsIncidentIcon/>\n <ngs-icon name=\"fluent:dismiss-24-regular\" ngsIncidentClose/>\n <ngs-incident-title>{{ incident.title }}</ngs-incident-title>\n <ngs-incident-details>{{ incident.details }}</ngs-incident-details>\n </ngs-incident>\n }\n </ngs-incidents-list>\n </ngs-incidents>\n</div>"
|
|
5820
|
-
},
|
|
5821
|
-
{
|
|
5822
|
-
"name": "incidents-show-hide-dynamicly-example",
|
|
5823
|
-
"title": "Incidents show hide dynamicly",
|
|
5824
|
-
"file": "projects/docs/src/app/components/incidents/_examples/incidents-show-hide-dynamicly-example/incidents-show-hide-dynamicly-example.html",
|
|
5825
|
-
"source": "<button ngsButton=\"filled\" (click)=\"toggleIncidents()\">Show Incidents</button>"
|
|
5826
|
-
}
|
|
5827
|
-
],
|
|
5808
|
+
"exampleTopics": [],
|
|
5809
|
+
"minimalExample": null,
|
|
5810
|
+
"exampleFiles": [],
|
|
5828
5811
|
"previewAsset": "projects/components/incidents/preview.svg",
|
|
5829
5812
|
"selectors": [
|
|
5830
5813
|
"[ngs-incident]",
|
|
@@ -6240,7 +6223,7 @@
|
|
|
6240
6223
|
"docsPath": "/components/layout",
|
|
6241
6224
|
"docsOverviewSource": "projects/docs/src/app/components/layout/overview/overview.html",
|
|
6242
6225
|
"purpose": "Provide the base top-level shell for an application, admin area, dashboard, or large workspace page.",
|
|
6243
|
-
"useWhen": "Use ngs-layout as the outer structural frame when the whole screen needs topbar, header, sidebar, scrollable content, aside, or footer regions. Use root for a full viewport application shell. Use ngs-layout-content for the main scroll container, and LayoutApiService with layoutId when the sidebar must be shown, hidden, or toggled. Nested layouts are appropriate when a large app shell contains another structured workspace with its own header/content/footer. Do not use Layout as a small wrapper, card, spacing helper, form grouping tool, or generic grid system. Use TailwindCSS grid, flex, and spacing classes inside layout regions. Use Grid for static dashboard widgets, Tiles for dashboards users can rearrange or customize, DataView or Table for datasets, Drawer for overlay side panels, and Navigation, Sidebar, or Sidenav components inside sidebars.",
|
|
6226
|
+
"useWhen": "Use ngs-layout as the outer structural frame when the whole screen needs topbar, header, subheader, sidebar, scrollable content, aside, or footer regions. Use root only for a full viewport application shell; use nested non-root layouts for local workspaces and absolute to fill a positioned parent. Use ngs-layout-subheader for filters or secondary actions. LayoutHeader and LayoutSubheader support flex and autoHeight; LayoutFooter supports block and autoHeight. Use ngs-layout-content for the main scroll container, and LayoutApiService with layoutId when the sidebar must be shown, hidden, or toggled. Nested layouts are appropriate when a large app shell contains another structured workspace with its own header/content/footer. Do not use Layout as a small wrapper, card, spacing helper, form grouping tool, or generic grid system. Use TailwindCSS grid, flex, and spacing classes inside layout regions. Use Grid for static dashboard widgets, Tiles for dashboards users can rearrange or customize, DataView or Table for datasets, Drawer for overlay side panels, and Navigation, Sidebar, or Sidenav components inside sidebars.",
|
|
6244
6227
|
"exampleTopics": [
|
|
6245
6228
|
"Layout header",
|
|
6246
6229
|
"Layout sidebar",
|
|
@@ -6250,7 +6233,11 @@
|
|
|
6250
6233
|
"Layout header with footer",
|
|
6251
6234
|
"Layout aside",
|
|
6252
6235
|
"Layout with nested layouts example",
|
|
6253
|
-
"
|
|
6236
|
+
"Local workspace",
|
|
6237
|
+
"Workspace with sidebar, subheader, and aside",
|
|
6238
|
+
"Layout with nested layouts",
|
|
6239
|
+
"Layout workspace",
|
|
6240
|
+
"Layout with extra columns"
|
|
6254
6241
|
],
|
|
6255
6242
|
"minimalExample": "<div class=\"h-[300px] border border-border\">\n <ngs-layout>\n <ngs-layout-sidebar>\n <div class=\"p-6 border-r border-e-muted h-full w-[240px]\">Sidebar</div>\n </ngs-layout-sidebar>\n <ngs-layout-content class=\"p-6\">\n Body\n </ngs-layout-content>\n <ngs-layout-aside>\n <div class=\"p-6 border-s border-s-muted h-full w-[200px]\">Aside</div>\n </ngs-layout-aside>\n </ngs-layout>\n</div>",
|
|
6256
6243
|
"exampleFiles": [
|
|
@@ -6264,13 +6251,13 @@
|
|
|
6264
6251
|
"name": "layout-footer-example",
|
|
6265
6252
|
"title": "Layout footer",
|
|
6266
6253
|
"file": "projects/docs/src/app/components/layout/_examples/layout-footer-example/layout-footer-example.html",
|
|
6267
|
-
"source": "<div class=\"h-[300px] border border-border\">\n <ngs-layout>\n <ngs-layout-content class=\"p-6\">\n Body\n </ngs-layout-content>\n <ngs-layout-footer>\n <div class=\"border-t border-t-muted px-6 h-10 flex items-center text-xs\">\n This is footer example © 2024\n </div>\n </ngs-layout-footer>\n </ngs-layout>\n</div>"
|
|
6254
|
+
"source": "<div class=\"h-[300px] border border-border\">\n <ngs-layout>\n <ngs-layout-content class=\"p-6\">\n Body\n </ngs-layout-content>\n <ngs-layout-footer autoHeight>\n <div class=\"border-t border-t-muted px-6 h-10 flex items-center text-xs\">\n This is footer example © 2024\n </div>\n </ngs-layout-footer>\n </ngs-layout>\n</div>"
|
|
6268
6255
|
},
|
|
6269
6256
|
{
|
|
6270
6257
|
"name": "layout-header-example",
|
|
6271
6258
|
"title": "Layout header",
|
|
6272
6259
|
"file": "projects/docs/src/app/components/layout/_examples/layout-header-example/layout-header-example.html",
|
|
6273
|
-
"source": "<div class=\"h-[300px] border border-border\">\n <ngs-layout>\n <ngs-layout-header>\n <div class=\"border-b border-b-muted px-6 h-14 flex items-center\">\n Header\n </div>\n </ngs-layout-header>\n <ngs-layout-content class=\"p-6\">\n Body\n </ngs-layout-content>\n </ngs-layout>\n</div>"
|
|
6260
|
+
"source": "<div class=\"h-[300px] border border-border\">\n <ngs-layout>\n <ngs-layout-header autoHeight>\n <div class=\"border-b border-b-muted px-6 h-14 flex items-center\">\n Header\n </div>\n </ngs-layout-header>\n <ngs-layout-content class=\"p-6\">\n Body\n </ngs-layout-content>\n </ngs-layout>\n</div>"
|
|
6274
6261
|
}
|
|
6275
6262
|
],
|
|
6276
6263
|
"previewAsset": "projects/components/layout/preview.svg",
|
|
@@ -6281,6 +6268,7 @@
|
|
|
6281
6268
|
"ngs-layout-footer",
|
|
6282
6269
|
"ngs-layout-header",
|
|
6283
6270
|
"ngs-layout-sidebar",
|
|
6271
|
+
"ngs-layout-subheader",
|
|
6284
6272
|
"ngs-layout-topbar"
|
|
6285
6273
|
],
|
|
6286
6274
|
"exportedSymbols": [
|
|
@@ -6296,16 +6284,24 @@
|
|
|
6296
6284
|
"LayoutSidebar",
|
|
6297
6285
|
"LayoutSidebarStore",
|
|
6298
6286
|
"LayoutSidebarVisibilityChange",
|
|
6287
|
+
"LayoutSubheader",
|
|
6299
6288
|
"LayoutTopbar"
|
|
6300
6289
|
],
|
|
6301
6290
|
"inputs": [
|
|
6291
|
+
"absolute",
|
|
6292
|
+
"autoHeight",
|
|
6302
6293
|
"autoscrollToTop",
|
|
6294
|
+
"block",
|
|
6295
|
+
"flex",
|
|
6303
6296
|
"layoutId",
|
|
6304
6297
|
"root"
|
|
6305
6298
|
],
|
|
6306
6299
|
"outputs": [],
|
|
6307
6300
|
"cssTokens": [
|
|
6308
|
-
"--ngs-layout-aside-width"
|
|
6301
|
+
"--ngs-layout-aside-width",
|
|
6302
|
+
"--ngs-layout-footer-height",
|
|
6303
|
+
"--ngs-layout-header-height",
|
|
6304
|
+
"--ngs-layout-subheader-height"
|
|
6309
6305
|
],
|
|
6310
6306
|
"example": null
|
|
6311
6307
|
},
|
|
@@ -7417,74 +7413,6 @@
|
|
|
7417
7413
|
],
|
|
7418
7414
|
"example": null
|
|
7419
7415
|
},
|
|
7420
|
-
{
|
|
7421
|
-
"name": "panel",
|
|
7422
|
-
"title": "Panel",
|
|
7423
|
-
"overviewName": "Panel",
|
|
7424
|
-
"category": "components",
|
|
7425
|
-
"package": "@ngstarter-ui/components",
|
|
7426
|
-
"importPath": "@ngstarter-ui/components/panel",
|
|
7427
|
-
"publicApi": "projects/components/panel/public-api.ts",
|
|
7428
|
-
"sourceRoot": "projects/components/panel/src",
|
|
7429
|
-
"docsPath": "/components/panel",
|
|
7430
|
-
"docsOverviewSource": "projects/docs/src/app/components/panel/overview/overview.html",
|
|
7431
|
-
"purpose": "Create a local structured work area with header, subheader, sidebar, scrollable content, aside, and footer regions.",
|
|
7432
|
-
"useWhen": "Use ngs-panel inside a page or workspace for admin modules, settings areas, editors, detail panes, inspectors, dashboard sections, and local surfaces that need their own header, footer, side columns, and scrollable body. Use ngs-panel-header for local title, toolbar, or actions; ngs-panel-subheader for filters or secondary status; ngs-panel-sidebar for a local left column; ngs-panel-content for the main scrollable area; ngs-panel-aside for a local right column; and ngs-panel-footer for local footer actions or status. Use absolute when the panel should fill the parent bounds. Use TailwindCSS classes for sizing, borders, spacing, and inner layout. Do not use Panel as the top-level application shell; use Layout. Do not use for small content blocks; use Card. Do not use for overlay side panels; use Drawer. Do not use as a generic spacing wrapper or form grid; use TailwindCSS grid/flex and FormField.",
|
|
7433
|
-
"exampleTopics": [
|
|
7434
|
-
"Basic panel",
|
|
7435
|
-
"Basic with extra columns (sidebar and aside)",
|
|
7436
|
-
"Panel with extra columns"
|
|
7437
|
-
],
|
|
7438
|
-
"minimalExample": "<div class=\"h-[500px]\">\n <ngs-panel class=\"border border-border\">\n <ngs-panel-header class=\"bg-surface-container flex items-center px-6\">Header</ngs-panel-header>\n <ngs-panel-content>\n <ngs-scrollbar-area>\n <div class=\"p-6 h-[1000px]\">Body</div>\n </ngs-scrollbar-area>\n </ngs-panel-content>\n <ngs-panel-footer class=\"bg-surface-container-low flex items-center px-6\">Footer</ngs-panel-footer>\n </ngs-panel>\n</div>",
|
|
7439
|
-
"exampleFiles": [
|
|
7440
|
-
{
|
|
7441
|
-
"name": "basic-panel-example",
|
|
7442
|
-
"title": "Basic panel",
|
|
7443
|
-
"file": "projects/docs/src/app/components/panel/_examples/basic-panel-example/basic-panel-example.html",
|
|
7444
|
-
"source": "<div class=\"h-[500px]\">\n <ngs-panel class=\"border border-border\">\n <ngs-panel-header class=\"bg-surface-container flex items-center px-6\">Header</ngs-panel-header>\n <ngs-panel-content>\n <ngs-scrollbar-area>\n <div class=\"p-6 h-[1000px]\">Body</div>\n </ngs-scrollbar-area>\n </ngs-panel-content>\n <ngs-panel-footer class=\"bg-surface-container-low flex items-center px-6\">Footer</ngs-panel-footer>\n </ngs-panel>\n</div>"
|
|
7445
|
-
},
|
|
7446
|
-
{
|
|
7447
|
-
"name": "panel-with-extra-columns-example",
|
|
7448
|
-
"title": "Panel with extra columns",
|
|
7449
|
-
"file": "projects/docs/src/app/components/panel/_examples/panel-with-extra-columns-example/panel-with-extra-columns-example.html",
|
|
7450
|
-
"source": "<div class=\"h-[500px]\">\n <ngs-panel class=\"border border-border\">\n <ngs-panel-header class=\"bg-surface-container flex items-center px-6\">Header</ngs-panel-header>\n <ngs-panel-sidebar class=\"border-r border-e-muted w-[200px]\">\n <ngs-scrollbar-area>\n <div class=\"p-6 h-[1000px]\" [style.width.px]=\"width()\" (click)=\"setSidebarLongWidth()\">Sidebar</div>\n </ngs-scrollbar-area>\n </ngs-panel-sidebar>\n <ngs-panel-content>\n <ngs-scrollbar-area>\n <div class=\"p-6 h-[1000px] w-[1000px]\">Body</div>\n </ngs-scrollbar-area>\n </ngs-panel-content>\n <ngs-panel-aside class=\"border-s border-s-muted w-[120px]\">\n <div class=\"p-6\">Aside</div>\n </ngs-panel-aside>\n <ngs-panel-footer class=\"bg-surface-container-low flex items-center px-6\">Footer</ngs-panel-footer>\n </ngs-panel>\n</div>"
|
|
7451
|
-
}
|
|
7452
|
-
],
|
|
7453
|
-
"previewAsset": "projects/components/panel/preview.svg",
|
|
7454
|
-
"selectors": [
|
|
7455
|
-
"ngs-panel",
|
|
7456
|
-
"ngs-panel-aside",
|
|
7457
|
-
"ngs-panel-content",
|
|
7458
|
-
"ngs-panel-footer",
|
|
7459
|
-
"ngs-panel-header",
|
|
7460
|
-
"ngs-panel-sidebar",
|
|
7461
|
-
"ngs-panel-subheader"
|
|
7462
|
-
],
|
|
7463
|
-
"exportedSymbols": [
|
|
7464
|
-
"Panel",
|
|
7465
|
-
"PANEL_CONTENT",
|
|
7466
|
-
"PanelAside",
|
|
7467
|
-
"PanelContent",
|
|
7468
|
-
"PanelContentInterface",
|
|
7469
|
-
"PanelFooter",
|
|
7470
|
-
"PanelHeader",
|
|
7471
|
-
"PanelSidebar",
|
|
7472
|
-
"PanelSubheader"
|
|
7473
|
-
],
|
|
7474
|
-
"inputs": [
|
|
7475
|
-
"absolute",
|
|
7476
|
-
"autoHeight",
|
|
7477
|
-
"block",
|
|
7478
|
-
"flex"
|
|
7479
|
-
],
|
|
7480
|
-
"outputs": [],
|
|
7481
|
-
"cssTokens": [
|
|
7482
|
-
"--ngs-panel-footer-height",
|
|
7483
|
-
"--ngs-panel-header-height",
|
|
7484
|
-
"--ngs-panel-subheader-height"
|
|
7485
|
-
],
|
|
7486
|
-
"example": null
|
|
7487
|
-
},
|
|
7488
7416
|
{
|
|
7489
7417
|
"name": "password-strength",
|
|
7490
7418
|
"title": "Password Strength",
|
|
@@ -8563,7 +8491,7 @@
|
|
|
8563
8491
|
"docsPath": null,
|
|
8564
8492
|
"docsOverviewSource": null,
|
|
8565
8493
|
"purpose": "Provide in-page navigation for sections inside a long scrollable page or local scroll container.",
|
|
8566
|
-
"useWhen": "Use ScrollSpy when a long page or panel has stable section ids and needs a table-of-contents style navigation that highlights the active section while scrolling and smooth-scrolls to sections on click. Use ngs-scroll-spy-nav as the nav container, ngs-scroll-spy-on with targetId matching a section id, ngs-scroll-spy-title for the nav heading, and ngs-scroll-spy-back-to-top for a top shortcut. It uses ngs-layout-content
|
|
8494
|
+
"useWhen": "Use ScrollSpy when a long page or panel has stable section ids and needs a table-of-contents style navigation that highlights the active section while scrolling and smooth-scrolls to sections on click. Use ngs-scroll-spy-nav as the nav container, ngs-scroll-spy-on with targetId matching a section id, ngs-scroll-spy-title for the nav heading, and ngs-scroll-spy-back-to-top for a top shortcut. It uses ngs-layout-content as the scroll container when present, otherwise document body. Good for docs pages, long settings pages, profile or detail pages with many sections, policy/help pages, long form review pages, and article-like admin pages. Do not use for primary product navigation; use Navigation, Sidebar, Sidenav, or RailNav. Do not use for tabs between views; use Tabs. Do not use for route breadcrumbs; use Breadcrumbs. Do not use for wizard steps; use Stepper or HeadlessStepper. Do not use on short pages without real scrolling or without stable section ids.",
|
|
8567
8495
|
"exampleTopics": [],
|
|
8568
8496
|
"minimalExample": null,
|
|
8569
8497
|
"exampleFiles": [],
|
|
@@ -8612,7 +8540,7 @@
|
|
|
8612
8540
|
"docsPath": null,
|
|
8613
8541
|
"docsOverviewSource": null,
|
|
8614
8542
|
"purpose": "Provide a styled scroll container for bounded UI regions.",
|
|
8615
|
-
"useWhen": "Use ngs-scrollbar-area when a sized panel, grid body, editor sidebar, asset list, menu, or similar surface needs consistent NgStarter scrollbars instead of native browser scrollbars. It hides native scrollbars, renders vertical and horizontal thumbs, supports auto-hide, thumb dragging, resize and mutation tracking, scrollbarWidth, autoHide, absolute fill mode, and scrolled output. Use [absolute]=\"true\" when the scroll area should fill a positioned parent region such as ngs-
|
|
8543
|
+
"useWhen": "Use ngs-scrollbar-area when a sized panel, grid body, editor sidebar, asset list, menu, or similar surface needs consistent NgStarter scrollbars instead of native browser scrollbars. It hides native scrollbars, renders vertical and horizontal thumbs, supports auto-hide, thumb dragging, resize and mutation tracking, scrollbarWidth, autoHide, absolute fill mode, and scrolled output. Use [absolute]=\"true\" when the scroll area should fill a positioned parent region such as ngs-layout-content or a DataView viewport; make sure the parent already has a stable height and width. Do not use as a generic layout wrapper, spacing helper, page-level replacement for normal browser scrolling, carousel or scroll-snap component, virtualization engine, or a workaround for missing parent sizing.",
|
|
8616
8544
|
"exampleTopics": [],
|
|
8617
8545
|
"minimalExample": null,
|
|
8618
8546
|
"exampleFiles": [],
|
|
@@ -8949,17 +8877,17 @@
|
|
|
8949
8877
|
"docsPath": "/navigation/side-panel",
|
|
8950
8878
|
"docsOverviewSource": "projects/docs/src/app/navigation/side-panel/overview/overview.html",
|
|
8951
8879
|
"purpose": "Provide an embedded side utility panel with tabbed tools beside the main content.",
|
|
8952
|
-
"useWhen": "Use ngs-side-panel inside an app or workspace layout when the page needs persistent secondary tools or inspectors next to the primary content. Add ngs-side-panel-tab for each tab with tabId, label, and an optional Iconify icon name or custom icon TemplateRef. Good for info, outline, layers, activity, comments, assets, properties, preview settings, contextual inspectors, and quick tools in editors or admin workspaces. It can be positioned left or right and emits opened and closed. Do not use SidePanel as a temporary overlay; use Drawer. Do not use for modal workflows or confirmations; use Dialog or Confirm. Do not use as a generic page section; use
|
|
8880
|
+
"useWhen": "Use ngs-side-panel inside an app or workspace layout when the page needs persistent secondary tools or inspectors next to the primary content. Add ngs-side-panel-tab for each tab with tabId, label, and an optional Iconify icon name or custom icon TemplateRef. Good for info, outline, layers, activity, comments, assets, properties, preview settings, contextual inspectors, and quick tools in editors or admin workspaces. It can be positioned left or right and emits opened and closed. Do not use SidePanel as a temporary overlay; use Drawer. Do not use for modal workflows or confirmations; use Dialog or Confirm. Do not use as a generic page section; use Layout or Card. Do not use for primary app navigation; use Sidebar, Sidenav, Navigation, or RailNav. Do not use for tabs inside normal content; use Tabs. Do not use for simple action lists; use Menu.",
|
|
8953
8881
|
"exampleTopics": [
|
|
8954
8882
|
"Basic side panel"
|
|
8955
8883
|
],
|
|
8956
|
-
"minimalExample": "<div class=\"h-[700px] border border-border rounded-2xl overflow-hidden\">\n <ngs-layout>\n <ngs-layout-header>\n <div class=\"h-14 px-5 flex items-center border-b border-b-muted\">Header</div>\n </ngs-layout-header>\n <ngs-layout-content>\n <div class=\"absolute inset-y-5 start-5 end-0 p-5 border border-border rounded-2xl\"\n [class.end-5]=\"sidePanel.isOpen()\">\n Body content\n </div>\n </ngs-layout-content>\n <ngs-layout-aside>\n <ngs-side-panel #sidePanel class=\"overridable-side-panel\">\n <ngs-side-panel-tab tabId=\"info\" label=\"Info\" icon=\"fluent:info-24-regular\">\n <div class=\"p-5 border border-border rounded-2xl\">\n <p>This is the contents of the first tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"list\" label=\"List\" icon=\"fluent:text-bullet-list-ltr-24-regular\">\n <div class=\"p-5\">\n <p>This is the contents of the second tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"svg\" label=\"Custom\" [icon]=\"customIconTpl\">\n <div class=\"p-5\">\n <p>Tab with custom SVG icon.</p>\n </div>\n </ngs-side-panel-tab>\n </ngs-side-panel>\n </ngs-layout-aside>\n </ngs-layout>\n</div>\n<ng-template #customIconTpl>\n OP\n</ng-template>",
|
|
8884
|
+
"minimalExample": "<div class=\"h-[700px] border border-border rounded-2xl overflow-hidden\">\n <ngs-layout>\n <ngs-layout-header autoHeight>\n <div class=\"h-14 px-5 flex items-center border-b border-b-muted\">Header</div>\n </ngs-layout-header>\n <ngs-layout-content>\n <div class=\"absolute inset-y-5 start-5 end-0 p-5 border border-border rounded-2xl\"\n [class.end-5]=\"sidePanel.isOpen()\">\n Body content\n </div>\n </ngs-layout-content>\n <ngs-layout-aside>\n <ngs-side-panel #sidePanel class=\"overridable-side-panel\">\n <ngs-side-panel-tab tabId=\"info\" label=\"Info\" icon=\"fluent:info-24-regular\">\n <div class=\"p-5 border border-border rounded-2xl\">\n <p>This is the contents of the first tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"list\" label=\"List\" icon=\"fluent:text-bullet-list-ltr-24-regular\">\n <div class=\"p-5\">\n <p>This is the contents of the second tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"svg\" label=\"Custom\" [icon]=\"customIconTpl\">\n <div class=\"p-5\">\n <p>Tab with custom SVG icon.</p>\n </div>\n </ngs-side-panel-tab>\n </ngs-side-panel>\n </ngs-layout-aside>\n </ngs-layout>\n</div>\n<ng-template #customIconTpl>\n OP\n</ng-template>",
|
|
8957
8885
|
"exampleFiles": [
|
|
8958
8886
|
{
|
|
8959
8887
|
"name": "basic-side-panel-example",
|
|
8960
8888
|
"title": "Basic side panel",
|
|
8961
8889
|
"file": "projects/docs/src/app/navigation/side-panel/_examples/basic-side-panel-example/basic-side-panel-example.html",
|
|
8962
|
-
"source": "<div class=\"h-[700px] border border-border rounded-2xl overflow-hidden\">\n <ngs-layout>\n <ngs-layout-header>\n <div class=\"h-14 px-5 flex items-center border-b border-b-muted\">Header</div>\n </ngs-layout-header>\n <ngs-layout-content>\n <div class=\"absolute inset-y-5 start-5 end-0 p-5 border border-border rounded-2xl\"\n [class.end-5]=\"sidePanel.isOpen()\">\n Body content\n </div>\n </ngs-layout-content>\n <ngs-layout-aside>\n <ngs-side-panel #sidePanel class=\"overridable-side-panel\">\n <ngs-side-panel-tab tabId=\"info\" label=\"Info\" icon=\"fluent:info-24-regular\">\n <div class=\"p-5 border border-border rounded-2xl\">\n <p>This is the contents of the first tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"list\" label=\"List\" icon=\"fluent:text-bullet-list-ltr-24-regular\">\n <div class=\"p-5\">\n <p>This is the contents of the second tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"svg\" label=\"Custom\" [icon]=\"customIconTpl\">\n <div class=\"p-5\">\n <p>Tab with custom SVG icon.</p>\n </div>\n </ngs-side-panel-tab>\n </ngs-side-panel>\n </ngs-layout-aside>\n </ngs-layout>\n</div>\n<ng-template #customIconTpl>\n OP\n</ng-template>"
|
|
8890
|
+
"source": "<div class=\"h-[700px] border border-border rounded-2xl overflow-hidden\">\n <ngs-layout>\n <ngs-layout-header autoHeight>\n <div class=\"h-14 px-5 flex items-center border-b border-b-muted\">Header</div>\n </ngs-layout-header>\n <ngs-layout-content>\n <div class=\"absolute inset-y-5 start-5 end-0 p-5 border border-border rounded-2xl\"\n [class.end-5]=\"sidePanel.isOpen()\">\n Body content\n </div>\n </ngs-layout-content>\n <ngs-layout-aside>\n <ngs-side-panel #sidePanel class=\"overridable-side-panel\">\n <ngs-side-panel-tab tabId=\"info\" label=\"Info\" icon=\"fluent:info-24-regular\">\n <div class=\"p-5 border border-border rounded-2xl\">\n <p>This is the contents of the first tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"list\" label=\"List\" icon=\"fluent:text-bullet-list-ltr-24-regular\">\n <div class=\"p-5\">\n <p>This is the contents of the second tab.</p>\n </div>\n </ngs-side-panel-tab>\n <ngs-side-panel-tab tabId=\"svg\" label=\"Custom\" [icon]=\"customIconTpl\">\n <div class=\"p-5\">\n <p>Tab with custom SVG icon.</p>\n </div>\n </ngs-side-panel-tab>\n </ngs-side-panel>\n </ngs-layout-aside>\n </ngs-layout>\n</div>\n<ng-template #customIconTpl>\n OP\n</ng-template>"
|
|
8963
8891
|
}
|
|
8964
8892
|
],
|
|
8965
8893
|
"previewAsset": "projects/components/side-panel/preview.svg",
|
|
@@ -9007,7 +8935,7 @@
|
|
|
9007
8935
|
"docsPath": "/navigation/sidebar",
|
|
9008
8936
|
"docsOverviewSource": "projects/docs/src/app/navigation/sidebar/overview/overview.html",
|
|
9009
8937
|
"purpose": "Provide a complete vertical app or workspace sidebar with its own navigation system.",
|
|
9010
|
-
"useWhen": "Use ngs-sidebar as the content inside a shell sidebar region, usually inside Sidenav or LayoutSidebar, when an admin app or workspace needs persistent sidebar navigation and supporting sidebar content. Compose it with ngs-sidebar-header, ngs-sidebar-body, ngs-sidebar-footer, ngs-sidebar-nav, ngs-sidebar-nav-item, ngs-sidebar-nav-group, ngs-sidebar-nav-group-toggle, ngs-sidebar-nav-group-menu, ngs-sidebar-heading, ngs-sidebar-divider, ngsSidebarNavItemIcon, ngsSidebarNavItemBadge, and ngsSidebarNavGroupToggleIcon. Good for brand or workspace header, main app navigation, grouped routes, badges, active item state through activeKey, autoScrollToActiveItem, and data-driven nav templates. Sidebar owns navigation; when ngs-sidebar is not used and persistent navigation is needed, use Navigation. Do not use Sidebar as a generic left column, card, drawer content, inspector, page section, tabs, menu, or compact icon rail. Use Sidenav for responsive open, collapse, or overlay shell behavior, RailNav for compact icon navigation, SidePanel for secondary tabbed tools, Drawer for temporary overlay side content, and
|
|
8938
|
+
"useWhen": "Use ngs-sidebar as the content inside a shell sidebar region, usually inside Sidenav or LayoutSidebar, when an admin app or workspace needs persistent sidebar navigation and supporting sidebar content. Compose it with ngs-sidebar-header, ngs-sidebar-body, ngs-sidebar-footer, ngs-sidebar-nav, ngs-sidebar-nav-item, ngs-sidebar-nav-group, ngs-sidebar-nav-group-toggle, ngs-sidebar-nav-group-menu, ngs-sidebar-heading, ngs-sidebar-divider, ngsSidebarNavItemIcon, ngsSidebarNavItemBadge, and ngsSidebarNavGroupToggleIcon. Good for brand or workspace header, main app navigation, grouped routes, badges, active item state through activeKey, autoScrollToActiveItem, and data-driven nav templates. Sidebar owns navigation; when ngs-sidebar is not used and persistent navigation is needed, use Navigation. Do not use Sidebar as a generic left column, card, drawer content, inspector, page section, tabs, menu, or compact icon rail. Use Sidenav for responsive open, collapse, or overlay shell behavior, RailNav for compact icon navigation, SidePanel for secondary tabbed tools, Drawer for temporary overlay side content, and Layout or Card for content grouping.",
|
|
9011
8939
|
"exampleTopics": [
|
|
9012
8940
|
"Basic sidebar",
|
|
9013
8941
|
"Sidebar structure helpers",
|
|
@@ -9249,7 +9177,7 @@
|
|
|
9249
9177
|
"docsPath": "/components/sidenav",
|
|
9250
9178
|
"docsOverviewSource": "projects/docs/src/app/components/sidenav/overview/overview.html",
|
|
9251
9179
|
"purpose": "Provide a responsive shell container for side surfaces that can open, close, collapse, overlay, or push content.",
|
|
9252
|
-
"useWhen": "Use ngs-sidenav-container with ngs-sidenav and ngs-sidenav-content when a page or app shell needs a side region with behavior: opened state, open/close/toggle methods, mode over/push/side, position start/end, collapsed icon-width state, disableClose, backdrop and backdropClick, adaptive mobile mode through adaptive and adaptiveBreakpoint, fixedWidth, autosize, and autoFocus. Use ngsSidenavCollapsed and ngsSidenavExpanded templates to render different content while collapsed or expanded. In admin shells, put ngs-sidebar inside ngs-sidenav when the side region is primary navigation; Sidebar owns the actual navigation items. Do not use Sidenav as the navigation structure itself; use Sidebar or Navigation inside it. Do not use for temporary task panels; use Drawer. Do not use for persistent tabbed utility tools; use SidePanel. Do not use for static local columns or content sections; use LayoutSidebar,
|
|
9180
|
+
"useWhen": "Use ngs-sidenav-container with ngs-sidenav and ngs-sidenav-content when a page or app shell needs a side region with behavior: opened state, open/close/toggle methods, mode over/push/side, position start/end, collapsed icon-width state, disableClose, backdrop and backdropClick, adaptive mobile mode through adaptive and adaptiveBreakpoint, fixedWidth, autosize, and autoFocus. Use ngsSidenavCollapsed and ngsSidenavExpanded templates to render different content while collapsed or expanded. In admin shells, put ngs-sidebar inside ngs-sidenav when the side region is primary navigation; Sidebar owns the actual navigation items. Do not use Sidenav as the navigation structure itself; use Sidebar or Navigation inside it. Do not use for temporary task panels; use Drawer. Do not use for persistent tabbed utility tools; use SidePanel. Do not use for static local columns or content sections; use LayoutSidebar, Layout, or Tailwind layout. Do not use for modal workflows, confirmations, or action menus; use Dialog, Confirm, or Menu.",
|
|
9253
9181
|
"exampleTopics": [
|
|
9254
9182
|
"Basic sidenav"
|
|
9255
9183
|
],
|
|
@@ -9849,7 +9777,7 @@
|
|
|
9849
9777
|
"docsPath": "/components/split-pane",
|
|
9850
9778
|
"docsOverviewSource": "projects/docs/src/app/components/split-pane/overview/overview.html",
|
|
9851
9779
|
"purpose": "Create a resizable multi-pane layout with draggable gutters between panes.",
|
|
9852
|
-
"useWhen": "Use ngs-split with multiple ngs-split-pane regions when a workspace needs two or more panes that users can manually resize. Good for editors, IDE-like screens, analytics workspaces, master-detail-detail layouts, source and preview views, inspector plus canvas plus logs, and dense multi-pane tools. Supports horizontal or vertical direction, nested splits, unit percent or pixel, size, minSize, maxSize, lockSize, visible, order, withHandle dotted gutter affordance, restrictMove, disabled, gutterSize, gutterStep, dragStart, dragEnd, gutterClick, gutterDblClick, transitionEnd, getVisibleAreaSizes(), and setVisibleAreaSizes() for persistence. Do not use Split for ordinary responsive layout or static two-column admin pages; use TailwindCSS grid or flex. Do not use for one manually resized box; use ResizableContainer. Do not use for side navigation shells; use Sidenav or Sidebar. Do not use for temporary side overlays; use Drawer. Do not use for local structured page sections; use
|
|
9780
|
+
"useWhen": "Use ngs-split with multiple ngs-split-pane regions when a workspace needs two or more panes that users can manually resize. Good for editors, IDE-like screens, analytics workspaces, master-detail-detail layouts, source and preview views, inspector plus canvas plus logs, and dense multi-pane tools. Supports horizontal or vertical direction, nested splits, unit percent or pixel, size, minSize, maxSize, lockSize, visible, order, withHandle dotted gutter affordance, restrictMove, disabled, gutterSize, gutterStep, dragStart, dragEnd, gutterClick, gutterDblClick, transitionEnd, getVisibleAreaSizes(), and setVisibleAreaSizes() for persistence. Do not use Split for ordinary responsive layout or static two-column admin pages; use TailwindCSS grid or flex. Do not use for one manually resized box; use ResizableContainer. Do not use for side navigation shells; use Sidenav or Sidebar. Do not use for temporary side overlays; use Drawer. Do not use for local structured page sections; use Layout. Do not use for table column resizing or image resizing; use table features or ImageResizer. The parent must have a stable height and width.",
|
|
9853
9781
|
"exampleTopics": [
|
|
9854
9782
|
"Basic Split Pane",
|
|
9855
9783
|
"Split Pane with Handle",
|
|
@@ -10255,10 +10183,10 @@
|
|
|
10255
10183
|
"docsPath": "/navigation/tab-panel",
|
|
10256
10184
|
"docsOverviewSource": "projects/docs/src/app/navigation/tab-panel/overview/overview.html",
|
|
10257
10185
|
"purpose": "Create a compact vertical tool or navigation panel with a linked aside content area.",
|
|
10258
|
-
"useWhen": "Use ngs-tab-panel when a workspace or editor needs a vertical set of icon/text items that controls adjacent aside content. Use ngs-tab-panel-content with ngs-tab-panel-nav and ngs-tab-panel-item for the rail, bind items to content with matching for values and ngsTabPanelAsideContent ids inside ngs-tab-panel-aside, and use activeItemId to choose the active item. Good for image editors, design tools, asset panels, layers, inspectors, workspace switchers, tool palettes, and settings/tools inside dense work surfaces. Use compact for icon-only rails with tooltips, header/content/footer regions to group items, and ngs-tab-panel-custom-item for custom items such as avatars, workspaces, or add actions. Do not use TabPanel for ordinary horizontal page tabs; use Tabs. Do not use it for primary app navigation; use Sidebar, Navigation, Sidenav, or RailNav. Do not use it for temporary overlay side content; use Drawer. Do not use it for a structured page section; use
|
|
10186
|
+
"useWhen": "Use ngs-tab-panel when a workspace or editor needs a vertical set of icon/text items that controls adjacent aside content. Use ngs-tab-panel-content with ngs-tab-panel-nav and ngs-tab-panel-item for the rail, bind items to content with matching for values and ngsTabPanelAsideContent ids inside ngs-tab-panel-aside, and use activeItemId to choose the active item. Good for image editors, design tools, asset panels, layers, inspectors, workspace switchers, tool palettes, and settings/tools inside dense work surfaces. Use compact for icon-only rails with tooltips, header/content/footer regions to group items, and ngs-tab-panel-custom-item for custom items such as avatars, workspaces, or add actions. Do not use TabPanel for ordinary horizontal page tabs; use Tabs. Do not use it for primary app navigation; use Sidebar, Navigation, Sidenav, or RailNav. Do not use it for temporary overlay side content; use Drawer. Do not use it for a structured page section; use Layout. Do not use it for workflow steps; use Stepper. Do not use it for contextual command lists; use Menu.",
|
|
10259
10187
|
"exampleTopics": [
|
|
10260
10188
|
"Basic tab panel",
|
|
10261
|
-
"Tab panel with
|
|
10189
|
+
"Tab panel with a workspace layout inside",
|
|
10262
10190
|
"Tab panel compact state",
|
|
10263
10191
|
"Tab panel with panels inside",
|
|
10264
10192
|
"Tab panel compact"
|
|
@@ -10281,7 +10209,7 @@
|
|
|
10281
10209
|
"name": "tab-panel-with-panels-inside-example",
|
|
10282
10210
|
"title": "Tab panel with panels inside",
|
|
10283
10211
|
"file": "projects/docs/src/app/navigation/tab-panel/_examples/tab-panel-with-panels-inside-example/tab-panel-with-panels-inside-example.html",
|
|
10284
|
-
"source": "<div class=\"flex gap-10\">\n <ngs-tab-panel activeItemId=\"home\" class=\"h-[500px]\">\n <ngs-tab-panel-content>\n <ngs-tab-panel-nav>\n <ngs-tab-panel-item for=\"home\">\n <ngs-icon name=\"fluent:home-24-regular\" ngsTabPanelItemIcon/>\n <ngs-tab-panel-item-text>Home</ngs-tab-panel-item-text>\n </ngs-tab-panel-item>\n <ngs-tab-panel-item for=\"code\">\n <ngs-icon name=\"fluent:code-24-regular\" ngsTabPanelItemIcon/>\n <ngs-tab-panel-item-text>Code</ngs-tab-panel-item-text>\n </ngs-tab-panel-item>\n </ngs-tab-panel-nav>\n </ngs-tab-panel-content>\n <ngs-tab-panel-aside class=\"bg-surface-container-low rounded-xl\">\n <ng-template ngsTabPanelAsideContent=\"home\">\n <ngs-
|
|
10212
|
+
"source": "<div class=\"flex gap-10\">\n <ngs-tab-panel activeItemId=\"home\" class=\"h-[500px]\">\n <ngs-tab-panel-content>\n <ngs-tab-panel-nav>\n <ngs-tab-panel-item for=\"home\">\n <ngs-icon name=\"fluent:home-24-regular\" ngsTabPanelItemIcon/>\n <ngs-tab-panel-item-text>Home</ngs-tab-panel-item-text>\n </ngs-tab-panel-item>\n <ngs-tab-panel-item for=\"code\">\n <ngs-icon name=\"fluent:code-24-regular\" ngsTabPanelItemIcon/>\n <ngs-tab-panel-item-text>Code</ngs-tab-panel-item-text>\n </ngs-tab-panel-item>\n </ngs-tab-panel-nav>\n </ngs-tab-panel-content>\n <ngs-tab-panel-aside class=\"bg-surface-container-low rounded-xl\">\n <ng-template ngsTabPanelAsideContent=\"home\">\n <ngs-layout>\n <ngs-layout-header class=\"border-b border-b-border flex items-center px-4\">Home Header</ngs-layout-header>\n <ngs-layout-content class=\"p-4\">\n <div class=\"h-[1000px]\">Home Content</div>\n </ngs-layout-content>\n <ngs-layout-footer class=\"border-t border-t-border flex items-center px-4\">Footer</ngs-layout-footer>\n </ngs-layout>\n </ng-template>\n <ng-template ngsTabPanelAsideContent=\"code\">\n <ngs-layout>\n <ngs-layout-header class=\"border-b border-b-border flex items-center px-4\">Code Header</ngs-layout-header>\n <ngs-layout-content class=\"p-4\">\n <div class=\"h-[1000px]\">Code Content</div>\n </ngs-layout-content>\n <ngs-layout-footer class=\"border-t border-t-border flex items-center px-4\">Footer</ngs-layout-footer>\n </ngs-lay\n..."
|
|
10285
10213
|
}
|
|
10286
10214
|
],
|
|
10287
10215
|
"previewAsset": "projects/components/tab-panel/preview.svg",
|