Skip to content

Commit 7396f31

Browse files
committed
fix(carousel): change properties' names;
update lit and ig versions
1 parent 39bc4a2 commit 7396f31

File tree

9 files changed

+24
-28
lines changed

9 files changed

+24
-28
lines changed

samples/layouts/carousel/animations/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<igc-switch label-position="before">Vertical alignment</igc-switch>
2828
</div>
2929
</div>
30-
<igc-carousel skip-indicator>
30+
<igc-carousel hide-indicators>
3131
<igc-carousel-slide>
3232
<div class="slide-wrapper">
3333
<igc-card>

samples/layouts/carousel/animations/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wc-carousel-animations",
33
"version": "1.0.0",
4-
"description": "This project provides example of button group using IgniteUI for Web Components",
4+
"description": "This project provides example of carousel animations using IgniteUI for Web Components",
55
"main": "src/index.ts",
66
"scripts": {
77
"build": "npm run build:prod",
@@ -23,9 +23,9 @@
2323
"@webcomponents/template": "^1.4.2",
2424
"babel-runtime": "^6.26.0",
2525
"core-js": "^3.6.5",
26-
"igniteui-webcomponents": "4.11.1",
27-
"lit": "^2.0.2",
28-
"lit-html": "^2.2.0",
26+
"igniteui-webcomponents": "5.1.1",
27+
"lit": "^3.2.1",
28+
"lit-html": "^3.2.1",
2929
"tslib": "^2.6.3"
3030
},
3131
"devDependencies": {

samples/layouts/carousel/components/index.html

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
<igc-input type="password" placeholder="Password">
2626
<igc-icon slot="prefix" name="password"></igc-icon>
2727
</igc-input>
28-
<div class="btn">
29-
<igc-button type="reset">Sign In</igc-button>
30-
</div>
28+
<igc-button type="reset">Sign In</igc-button>
3129
</form>
3230
</div>
3331
</igc-carousel-slide>
@@ -38,9 +36,7 @@
3836
<igc-input type="text" placeholder="Search">
3937
<igc-icon slot="prefix" name="search"></igc-icon>
4038
</igc-input>
41-
<div class="btn">
42-
<igc-button type="reset">Search</igc-button>
43-
</div>
39+
<igc-button type="reset">Search</igc-button>
4440
</form>
4541
</div>
4642
</igc-carousel-slide>

samples/layouts/carousel/components/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wc-carousel-with-components",
33
"version": "1.0.0",
4-
"description": "This project provides example of button group using IgniteUI for Web Components",
4+
"description": "This project provides example of carousel with components using IgniteUI for Web Components",
55
"main": "src/index.ts",
66
"scripts": {
77
"build": "npm run build:prod",
@@ -23,9 +23,9 @@
2323
"@webcomponents/template": "^1.4.2",
2424
"babel-runtime": "^6.26.0",
2525
"core-js": "^3.6.5",
26-
"igniteui-webcomponents": "4.11.1",
27-
"lit": "^2.0.2",
28-
"lit-html": "^2.2.0",
26+
"igniteui-webcomponents": "5.1.1",
27+
"lit": "^3.2.1",
28+
"lit-html": "^3.2.1",
2929
"tslib": "^2.6.3"
3030
},
3131
"devDependencies": {

samples/layouts/carousel/components/src/index.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ igc-carousel {
1313
height: 500px;
1414
}
1515

16-
igc-carousel-slide::part(base) {
16+
igc-carousel-slide {
1717
display: flex;
1818
justify-content: center;
1919
align-items: center;
2020
}
2121

2222
igc-carousel-slide div {
2323
text-align: center;
24+
max-width: 40%;
25+
margin-inline: auto;
2426
}
2527

2628
igc-carousel-slide div * {

samples/layouts/carousel/overview/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wc-carousel-overview",
33
"version": "1.0.0",
4-
"description": "This project provides example of button group using IgniteUI for Web Components",
4+
"description": "This project provides example of carousel overview using IgniteUI for Web Components",
55
"main": "src/index.ts",
66
"scripts": {
77
"build": "npm run build:prod",
@@ -23,9 +23,9 @@
2323
"@webcomponents/template": "^1.4.2",
2424
"babel-runtime": "^6.26.0",
2525
"core-js": "^3.6.5",
26-
"igniteui-webcomponents": "4.11.1",
27-
"lit": "^2.0.2",
28-
"lit-html": "^2.2.0",
26+
"igniteui-webcomponents": "5.1.1",
27+
"lit": "^3.2.1",
28+
"lit-html": "^3.2.1",
2929
"tslib": "^2.6.3"
3030
},
3131
"devDependencies": {

samples/layouts/carousel/thumbnail/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515
<div id="root">
1616
<div class="container sample">
1717
<igc-carousel
18-
skip-pause-on-interaction
19-
skip-navigation
18+
disable-pause-on-interaction
19+
hide-navigation
2020
interval="2000"
21-
animation-type="fade"
2221
vertical
2322
>
2423
<igc-carousel-indicator>

samples/layouts/carousel/thumbnail/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wc-carousel-thumbnail",
33
"version": "1.0.0",
4-
"description": "This project provides example of button group using IgniteUI for Web Components",
4+
"description": "This project provides example of carousel advanced example using IgniteUI for Web Components",
55
"main": "src/index.ts",
66
"scripts": {
77
"build": "npm run build:prod",
@@ -23,9 +23,9 @@
2323
"@webcomponents/template": "^1.4.2",
2424
"babel-runtime": "^6.26.0",
2525
"core-js": "^3.6.5",
26-
"igniteui-webcomponents": "4.11.1",
27-
"lit": "^2.0.2",
28-
"lit-html": "^2.2.0",
26+
"igniteui-webcomponents": "5.1.1",
27+
"lit": "^3.2.1",
28+
"lit-html": "^3.2.1",
2929
"tslib": "^2.6.3"
3030
},
3131
"devDependencies": {

samples/layouts/carousel/thumbnail/src/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
/* https://static.infragistics.com/xplatform/css/samples */
33

44
igc-carousel {
5-
65
width: 60%
76
}
87

0 commit comments

Comments
 (0)