Skip to content
Merged
Show file tree
Hide file tree
Changes from 14 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
4e398c8
feat(dock-manager): add split pane fixed size sample
igdmdimitrov Nov 20, 2024
cb8f8aa
Merge branch 'vnext' into dmdimitrov/dock-manager-split-pane-fixed-size
igdmdimitrov Nov 20, 2024
8a5014d
Merge branch 'vnext' into dmdimitrov/dock-manager-split-pane-fixed-size
gedinakova Nov 26, 2024
d0fdb9d
Merge branch 'vnext' into dmdimitrov/dock-manager-split-pane-fixed-size
gedinakova Dec 5, 2024
318edc6
samples(dock-manager): update layout for new sample and version for a…
igdmdimitrov Dec 9, 2024
e697b46
Merge branch 'dmdimitrov/dock-manager-split-pane-fixed-size' of https…
igdmdimitrov Dec 9, 2024
a8e8c2b
Merge branch 'vnext' into dmdimitrov/dock-manager-split-pane-fixed-size
igdmdimitrov Jan 14, 2025
19a9100
Merge branch 'vnext' into dmdimitrov/dock-manager-split-pane-fixed-size
gedinakova Feb 5, 2025
e208331
Update samples/layouts/dock-manager/add-content-runtime/package.json
gedinakova Feb 5, 2025
d7bdcdb
Update samples/layouts/dock-manager/contained-in-boundaries/package.json
gedinakova Feb 5, 2025
7765af6
Update samples/layouts/dock-manager/customize-buttons/package.json
gedinakova Feb 5, 2025
47e1fd7
Update samples/layouts/dock-manager/focus-panes/package.json
gedinakova Feb 5, 2025
d79e52e
Update samples/layouts/dock-manager/proximity-dock/package.json
gedinakova Feb 5, 2025
64afe34
Update samples/layouts/dock-manager/split-pane-fixed-size/package.json
gedinakova Feb 5, 2025
7d748a0
Update samples/layouts/dock-manager/toggle-inner-dock/package.json
gedinakova Feb 5, 2025
abfc81e
Update samples/layouts/dock-manager/hide-pane-headers/package.json
gedinakova Feb 5, 2025
7f373a1
chore(*): Update to 1.16.0
gedinakova Feb 5, 2025
f2e5778
fix(DockManager): Add an empty floating panes array to the layouts
gedinakova Feb 5, 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
1 change: 1 addition & 0 deletions browser/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,7 @@
<a class="nav-link" href="#" data-nav="/samples/layouts/dock-manager/hiding-panes">─<span>Hiding Panes</span></a>
<a class="nav-link" href="#" data-nav="/samples/layouts/dock-manager/overview">─<span>Overview</span></a>
<a class="nav-link" href="#" data-nav="/samples/layouts/dock-manager/proximity-dock">─<span>Proximity Dock</span></a>
<a class="nav-link" href="#" data-nav="/samples/layouts/dock-manager/split-pane-fixed-size">─<span>Split Pane Fixed Size</span></a>
<a class="nav-link" href="#" data-nav="/samples/layouts/dock-manager/styling">─<span>Styling</span></a>
<a class="nav-link" href="#" data-nav="/samples/layouts/dock-manager/toggle-inner-dock">─<span>Toggle Inner Dock</span></a>
<a class="nav-link" href="#" data-nav="/samples/layouts/dock-manager/updating-panes">─<span>Updating Panes</span></a>
Expand Down
65 changes: 4 additions & 61 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 @@ -40,7 +40,7 @@
"@webcomponents/webcomponentsjs": "2.3.0",
"core-js": "^3.6.5",
"file-saver": "^2.0.2",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"igniteui-webcomponents": "5.2.1",
"igniteui-webcomponents-charts": "5.2.0",
"igniteui-webcomponents-core": "5.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion samples/layouts/dock-manager/embedding-frames/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"igniteui-webcomponents-core": "5.2.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion samples/layouts/dock-manager/focus-panes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0-beta.7",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion samples/layouts/dock-manager/hiding-panes/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"igniteui-webcomponents-core": "5.2.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion samples/layouts/dock-manager/overview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"igniteui-webcomponents-core": "5.2.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion samples/layouts/dock-manager/proximity-dock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.15.2",
"igniteui-dockmanager": "1.16.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
},
Expand Down
11 changes: 11 additions & 0 deletions samples/layouts/dock-manager/split-pane-fixed-size/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"printWidth": 250,
"tabWidth": 4,
"useTabs": false,
"semi": true,
"singleQuote": false,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"fluid": false
}
56 changes: 56 additions & 0 deletions samples/layouts/dock-manager/split-pane-fixed-size/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
<!-- https://github.com/IgniteUI/igniteui-wc-examples/tree/vnext/templates/browser/sample/ReadMe.md -->

This folder contains implementation of Web Components application with example of Split Pane Fixed Size feature using [Dock Manager](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.


<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<body>
<a target="_blank" href="https://infragistics.com/webcomponentssite/components/general-getting-started.html" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem" alt="View Docs" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-docs.png"/>
</a>
<a target="_blank" href="./src/index.ts" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="View Code" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-code.png"/>
</a>
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/layouts/dock-manager/split-pane-fixed-size" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-run.png"/>
</a>
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/layouts/dock-manager/split-pane-fixed-size?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
<img height="40px" style="border-radius: 0rem; max-width: 100%;" alt="Run Sample" src="https://github.com/IgniteUI/igniteui-blazor-examples/raw/vnext/templates/sample/images/button-sandbox.png"/>
</a>
</body>
</html>

## Branches

> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-angular-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-angular-examples/tree/vnext) branch only when you want to contribute new samples to this repository.

## Instructions

To set up this project locally, execute these commands:

```
git clone https://github.com/IgniteUI/igniteui-wc-examples.git
git checkout master
cd ./igniteui-wc-examples
cd ./samples/layouts/dock-manager/split-pane-fixed-size
```

open above folder in VS Code or type:
```
code .
```

In terminal window, run:

```
npm install
npm run start
```

Then open http://localhost:4200/ in your browser


## Learn More

To learn more about **Ignite UI for Web Components**, check out the [Web Components documentation](https://infragistics.com/webcomponentssite/components/general-getting-started.html).
30 changes: 30 additions & 0 deletions samples/layouts/dock-manager/split-pane-fixed-size/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<title>DockManagerSplitPaneFixedSize</title>
<meta charset="UTF-8" />

<link rel="shortcut icon" href="https://static.infragistics.com/xplatform/images/browsers/wc.png" >
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Kanit&display=swap" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Titillium Web" />
<link rel="stylesheet" href="https://static.infragistics.com/xplatform/css/samples/shared.v8.css" type="text/css" />
</head>

<body>
<div id="root">
<div class="container sample">
<igc-dockmanager id="dockManager">
<div slot="content1">Relative size: 400</div>
<div slot="content2">Relative size: 200</div>
<div slot="content3">Fixed size: 400 px</div>
<div slot="content4">Fixed size: 200 px</div>
<div slot="content5">Floating pane</div>
</igc-dockmanager>
</div>
</div>

<!-- This script is needed only for parcel and it will be excluded for webpack -->
<% if (false) { %><script src="src/index.ts"></script><% } %>
</body>
</html>
58 changes: 58 additions & 0 deletions samples/layouts/dock-manager/split-pane-fixed-size/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"name": "wc-dock-manager-split-pane-fixed-size",
"version": "1.0.0",
"description": "This project provides example of Dock Manager Split Pane Fixed Size using IgniteUI for Web Components",
"main": "src/index.ts",
"scripts": {
"build": "npm run build:prod",
"build:dev": "webpack --mode development --config ./webpack.config.js --progress --color --display-error-details",
"build:prod": "webpack --env.NODE_ENV=production --mode production --config ./webpack.config.js --progress --color --display-error-details --bail",
"serve:dev": "node --max-old-space-size=8192 node_modules/webpack-dev-server/bin/webpack-dev-server.js --mode development --config ./webpack.config.js --hot --progress --open",
"serve:prod": "webpack-dev-server --env.NODE_ENV=production --mode production --config ./webpack.config.js --port 3000 --host 0.0.0.0 --hot --progress --open --content-base dist/",
"start": "npm run serve:dev",
"build:legacy": "npm run build:prod:legacy",
"build:dev:legacy": "webpack --env.legacy=true --mode development --config ./webpack.config.js --progress --color --display-error-details",
"build:prod:legacy": "webpack --env.NODE_ENV=production --env.legacy=true --mode production --config ./webpack.config.js --progress --color --display-error-details --bail",
"serve:dev:legacy": "node --max-old-space-size=8192 node_modules/webpack-dev-server/bin/webpack-dev-server.js --env.legacy=true --mode development --config ./webpack.config.js --hot --progress --open",
"serve:prod:legacy": "webpack-dev-server --env.NODE_ENV=production --env.legacy=true --mode production --config ./webpack.config.js --port 3000 --host 0.0.0.0 --hot --progress --open --content-base dist/",
"start:legacy": "npm run serve:dev:legacy"
},
"author": "Infragistics",
"dependencies": {
"@webcomponents/custom-elements": "^1.4.1",
"@webcomponents/template": "^1.4.2",
"babel-runtime": "^6.26.0",
"core-js": "^3.6.5",
"igniteui-dockmanager": "1.16.0",
"lit-html": "^3.2.0",
"tslib": "^2.0.0"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.10.0",
"@babel/preset-env": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@types/source-map": "^0.5.7",
"babel-loader": "^8.1.0",
"babel-plugin-transform-custom-element-classes": "^0.1.0",
"css-loader": "^1.0.0",
"csv-loader": "^3.0.2",
"file-loader": "^4.2.0",
"fork-ts-checker-webpack-plugin": "^4.1.5",
"html-webpack-plugin": "^4.3.0",
"parcel-bundler": "^1.6.1",
"source-map": "^0.7.3",
"style-loader": "^0.22.1",
"tsconfig-paths-webpack-plugin": "^4.0.0",
"typescript": "^4.4.4",
"webpack": "^5.96.1",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1",
"worker-loader": "^3.0.8",
"xml-loader": "^1.2.1"
},
"license": "",
"homepage": "."
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"infiniteLoopProtection": false,
"hardReloadOnChange": false,
"view": "browser",
"template": "parcel"
}

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

igc-dockmanager > div {
padding: 0.5rem;
height: calc(100% - 1rem);
width: calc(100% - 1rem);
display: flex;
flex-direction: column;
/* background: orange; */
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* shared styles are loaded from: */
/* https://static.infragistics.com/xplatform/css/samples */
Loading
Loading