Skip to content

Commit e697b46

Browse files
committed
Merge branch 'dmdimitrov/dock-manager-split-pane-fixed-size' of https://github.com/IgniteUI/igniteui-wc-examples into dmdimitrov/dock-manager-split-pane-fixed-size
2 parents 318edc6 + d0fdb9d commit e697b46

File tree

15 files changed

+87
-62
lines changed

15 files changed

+87
-62
lines changed
File renamed without changes.

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,20 @@ Next, follow these steps:
170170
- submit your pull request
171171

172172

173+
## Updating Packages in Samples
174+
175+
NOTE Do NOT find replace version of packages in package.json files.
176+
177+
- open this repo in VS Code
178+
- open [./browser/tasks/gulp-samples.js](./browser/tasks/gulp-samples.js) file
179+
- navigate to the `updateIG` function
180+
- update version of packages in `packageUpgrades` array
181+
- open terminal window
182+
- run `cd browser` command
183+
- run the `gulp updateIG` command
184+
- run `npm install --legacy-peer-deps` command
185+
- create AND merge a pull request with changes in all package.json files in this repository
186+
- create 2nd pull request with similar changes in `/editor-templates/WebComponents/main-template/package.json` of the [igniteui-xplat-examples](https://github.com/IgniteUI/igniteui-xplat-examples) repository.
173187

174188
## Learn More
175189

browser/config-overrides.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
//note: I suspect this was copied over from the react browser, and isn't needed here.
23
module.exports = function override(config, env) {
34
console.log("Running config-overrides.js");
45
const paths = require('./node_modules/react-scripts/config/paths');
@@ -41,16 +42,21 @@ module.exports = function override(config, env) {
4142
name: 'igniteui-webcomponents-grids',
4243
chunks: 'all',
4344
},
44-
igniteuiMaps: {
45+
igniteuiInputs: {
4546
test: /[\\/]node_modules[\\/](igniteui-webcomponents-inputs)[\\/]/,
4647
name: 'igniteui-webcomponents-inputs',
4748
chunks: 'all',
4849
},
49-
igniteuiMaps: {
50+
igniteuiLayouts: {
5051
test: /[\\/]node_modules[\\/](igniteui-webcomponents-layouts)[\\/]/,
5152
name: 'igniteui-webcomponents-layouts',
5253
chunks: 'all',
5354
},
55+
igniteuiDashboards: {
56+
test: /[\\/]node_modules[\\/](igniteui-webcomponents-dashboards)[\\/]/,
57+
name: 'igniteui-webcomponents-dashboards',
58+
chunks: 'all',
59+
},
5460
igniteuiMaps: {
5561
test: /[\\/]node_modules[\\/](igniteui-webcomponents-maps)[\\/]/,
5662
name: 'igniteui-webcomponents-maps',

browser/tasks/gulp-samples.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -972,30 +972,30 @@ function updateIG(cb) {
972972
del.sync("./samples/**/node_modules", {force:true});
973973

974974
// NOTE: change this array with new version of packages and optionally use "@infragistics/" proget prefix, e.g.
975-
// { name: "@infragistics/igniteui-webcomponents-core", version: "22.1.62" }, // LOCAL PROGET
976-
// { name: "igniteui-webcomponents-core", version: "3.2.2" }, // PUBLIC NPM
975+
// { version: "22.1.62", name: "@infragistics/igniteui-webcomponents-core" }, // LOCAL PROGET
976+
// { version: "3.2.12", name: "igniteui-webcomponents-core" }, // PUBLIC NPM
977977
let packageUpgrades = [
978978
// these IG packages are often updated:
979-
{ name: "igniteui-webcomponents-core" , version: "5.1.0" },
980-
{ name: "igniteui-webcomponents-charts" , version: "5.1.0" },
981-
{ name: "igniteui-webcomponents-excel" , version: "5.1.0" },
982-
{ name: "igniteui-webcomponents-gauges" , version: "5.1.0" },
983-
{ name: "igniteui-webcomponents-grids" , version: "5.1.0" },
984-
{ name: "igniteui-webcomponents-inputs" , version: "5.1.0" },
985-
{ name: "igniteui-webcomponents-layouts" , version: "5.1.0" },
986-
{ name: "igniteui-webcomponents-maps" , version: "5.1.0" },
987-
{ name: "igniteui-webcomponents-spreadsheet-chart-adapter", version: "5.1.0" },
988-
{ name: "igniteui-webcomponents-spreadsheet" , version: "5.1.0" },
989-
{ name: "igniteui-webcomponents-datasources" , version: "5.1.0" },
979+
{ version: "5.1.0", name: "igniteui-webcomponents-core" },
980+
{ version: "5.1.0", name: "igniteui-webcomponents-charts" },
981+
{ version: "5.1.0", name: "igniteui-webcomponents-excel" },
982+
{ version: "5.1.0", name: "igniteui-webcomponents-gauges" },
983+
{ version: "5.1.0", name: "igniteui-webcomponents-grids" },
984+
{ version: "5.1.0", name: "igniteui-webcomponents-inputs" },
985+
{ version: "5.1.0", name: "igniteui-webcomponents-layouts" },
986+
{ version: "5.1.0", name: "igniteui-webcomponents-maps" },
987+
{ version: "5.1.0", name: "igniteui-webcomponents-spreadsheet-chart-adapter" },
988+
{ version: "5.1.0", name: "igniteui-webcomponents-spreadsheet" },
989+
{ version: "5.1.0", name: "igniteui-webcomponents-datasources" },
990990
// these IG packages are sometimes updated:
991-
{ name: "igniteui-webcomponents", version: "5.1.2" },
992-
{ name: "igniteui-dockmanager", version: "1.15.2" },
991+
{ version: "5.1.2" , name: "igniteui-webcomponents" },
992+
{ version: "1.15.2", name: "igniteui-dockmanager" },
993993
// other packages:
994-
{ name: "webpack", version: "^5.96.1" },
995-
{ name: "webpack-cli", version: "^4.10.0" },
996-
{ name: "webpack-dev-server", version: "^4.11.1" },
997-
{ name: "lit", version: "^3.2.0" },
998-
{ name: "lit-html", version: "^3.2.0" },
994+
{ version: "^5.96.1", name: "webpack" },
995+
{ version: "^4.10.0", name: "webpack-cli" },
996+
{ version: "^4.11.1", name: "webpack-dev-server" },
997+
{ version: "^3.2.0", name: "lit" },
998+
{ version: "^3.2.0", name: "lit-html" },
999999
];
10001000

10011001
var packagePaths = [

samples/editors/x-date-picker/date-limits/ReadMe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
22
<!-- https://github.com/IgniteUI/igniteui-wc-examples/tree/vnext/templates/browser/sample/ReadMe.md -->
33

4-
This folder contains implementation of Web Components application with example of Date Limits feature using [Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
4+
This folder contains implementation of Web Components application with example of XDate Picker Date Limits feature using [X Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
55

66

77
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
@@ -12,10 +12,10 @@ This folder contains implementation of Web Components application with example o
1212
<a target="_blank" href="./src/index.ts" rel="noopener noreferrer">
1313
<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"/>
1414
</a>
15-
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/date-picker/date-limits" rel="noopener noreferrer">
15+
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/x-date-picker/date-limits" rel="noopener noreferrer">
1616
<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"/>
1717
</a>
18-
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/date-picker/date-limits?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
18+
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/x-date-picker/date-limits?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
1919
<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"/>
2020
</a>
2121
</body>
@@ -33,7 +33,7 @@ To set up this project locally, execute these commands:
3333
git clone https://github.com/IgniteUI/igniteui-wc-examples.git
3434
git checkout master
3535
cd ./igniteui-wc-examples
36-
cd ./samples/editors/date-picker/date-limits
36+
cd ./samples/editors/x-date-picker/date-limits
3737
```
3838

3939
open above folder in VS Code or type:

samples/editors/x-date-picker/editing/ReadMe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
22
<!-- https://github.com/IgniteUI/igniteui-wc-examples/tree/vnext/templates/browser/sample/ReadMe.md -->
33

4-
This folder contains implementation of Web Components application with example of Editing feature using [Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
4+
This folder contains implementation of Web Components application with example of XDate Picker Editing feature using [X Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
55

66

77
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
@@ -12,10 +12,10 @@ This folder contains implementation of Web Components application with example o
1212
<a target="_blank" href="./src/index.ts" rel="noopener noreferrer">
1313
<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"/>
1414
</a>
15-
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/date-picker/editing" rel="noopener noreferrer">
15+
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/x-date-picker/editing" rel="noopener noreferrer">
1616
<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"/>
1717
</a>
18-
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/date-picker/editing?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
18+
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/x-date-picker/editing?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
1919
<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"/>
2020
</a>
2121
</body>
@@ -33,7 +33,7 @@ To set up this project locally, execute these commands:
3333
git clone https://github.com/IgniteUI/igniteui-wc-examples.git
3434
git checkout master
3535
cd ./igniteui-wc-examples
36-
cd ./samples/editors/date-picker/editing
36+
cd ./samples/editors/x-date-picker/editing
3737
```
3838

3939
open above folder in VS Code or type:

samples/editors/x-date-picker/format/ReadMe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
22
<!-- https://github.com/IgniteUI/igniteui-wc-examples/tree/vnext/templates/browser/sample/ReadMe.md -->
33

4-
This folder contains implementation of Web Components application with example of Format feature using [Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
4+
This folder contains implementation of Web Components application with example of XDate Picker Format feature using [X Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
55

66

77
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
@@ -12,10 +12,10 @@ This folder contains implementation of Web Components application with example o
1212
<a target="_blank" href="./src/index.ts" rel="noopener noreferrer">
1313
<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"/>
1414
</a>
15-
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/date-picker/format" rel="noopener noreferrer">
15+
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/x-date-picker/format" rel="noopener noreferrer">
1616
<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"/>
1717
</a>
18-
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/date-picker/format?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
18+
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/x-date-picker/format?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
1919
<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"/>
2020
</a>
2121
</body>
@@ -33,7 +33,7 @@ To set up this project locally, execute these commands:
3333
git clone https://github.com/IgniteUI/igniteui-wc-examples.git
3434
git checkout master
3535
cd ./igniteui-wc-examples
36-
cd ./samples/editors/date-picker/format
36+
cd ./samples/editors/x-date-picker/format
3737
```
3838

3939
open above folder in VS Code or type:

samples/editors/x-date-picker/overview/ReadMe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
22
<!-- https://github.com/IgniteUI/igniteui-wc-examples/tree/vnext/templates/browser/sample/ReadMe.md -->
33

4-
This folder contains implementation of Web Components application with example of Overview feature using [Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
4+
This folder contains implementation of Web Components application with example of XDate Picker Overview feature using [X Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
55

66

77
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
@@ -12,10 +12,10 @@ This folder contains implementation of Web Components application with example o
1212
<a target="_blank" href="./src/index.ts" rel="noopener noreferrer">
1313
<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"/>
1414
</a>
15-
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/date-picker/overview" rel="noopener noreferrer">
15+
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/x-date-picker/overview" rel="noopener noreferrer">
1616
<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"/>
1717
</a>
18-
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/date-picker/overview?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
18+
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/x-date-picker/overview?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
1919
<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"/>
2020
</a>
2121
</body>
@@ -33,7 +33,7 @@ To set up this project locally, execute these commands:
3333
git clone https://github.com/IgniteUI/igniteui-wc-examples.git
3434
git checkout master
3535
cd ./igniteui-wc-examples
36-
cd ./samples/editors/date-picker/overview
36+
cd ./samples/editors/x-date-picker/overview
3737
```
3838

3939
open above folder in VS Code or type:

samples/editors/x-date-picker/range/ReadMe.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- NOTE: do not change this file because it's auto re-generated from template: -->
22
<!-- https://github.com/IgniteUI/igniteui-wc-examples/tree/vnext/templates/browser/sample/ReadMe.md -->
33

4-
This folder contains implementation of Web Components application with example of Range feature using [Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
4+
This folder contains implementation of Web Components application with example of XDate Picker Range feature using [X Date Picker](https://infragistics.com/webcomponentssite/components/general-getting-started.html) component.
55

66

77
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
@@ -12,10 +12,10 @@ This folder contains implementation of Web Components application with example o
1212
<a target="_blank" href="./src/index.ts" rel="noopener noreferrer">
1313
<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"/>
1414
</a>
15-
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/date-picker/range" rel="noopener noreferrer">
15+
<a target="_blank" href="https://www.infragistics.com/webcomponents-demos/samples/editors/x-date-picker/range" rel="noopener noreferrer">
1616
<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"/>
1717
</a>
18-
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/date-picker/range?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
18+
<a target="_blank" href="https://codesandbox.io/s/github/IgniteUI/igniteui-wc-examples/tree/master/samples/editors/x-date-picker/range?fontsize=14&hidenavigation=1&theme=dark&view=preview&file=/src/{SampleFile}" rel="noopener noreferrer">
1919
<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"/>
2020
</a>
2121
</body>
@@ -33,7 +33,7 @@ To set up this project locally, execute these commands:
3333
git clone https://github.com/IgniteUI/igniteui-wc-examples.git
3434
git checkout master
3535
cd ./igniteui-wc-examples
36-
cd ./samples/editors/date-picker/range
36+
cd ./samples/editors/x-date-picker/range
3737
```
3838

3939
open above folder in VS Code or type:

0 commit comments

Comments
 (0)