Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/docs/internal-page-anchors' into…
Browse files Browse the repository at this point in the history
… docs/internal-page-anchors
  • Loading branch information
HenadzV committed Jul 24, 2023
2 parents 8813dfb + 83e39f1 commit b504ec1
Show file tree
Hide file tree
Showing 37 changed files with 2,596 additions and 3 deletions.
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@

* **esl-footnotes:** remove the possibility of setup esl-note anchor markup conditionally ([a26a3ed](https://github.com/exadel-inc/esl/commit/a26a3eda139eabc5db2094b89028b4c3cd0db8cb))

# [4.10.0-beta.1](https://github.com/exadel-inc/esl/compare/v4.9.1...v4.10.0-beta.1) (2023-07-11)


### Features

* **esl-carousel:** complete support of the drag (touch) for ESLCarousel ([94bc18f](https://github.com/exadel-inc/esl/commit/94bc18f7f16d2cbff8aa8132ee6ed87dd6cce556))
* **esl-carousel:** complete support of the navigation plugins for ESLCarousel ([19bd241](https://github.com/exadel-inc/esl/commit/19bd241ef58dd96c3787324ac0157ab138fe3f0e))
* **esl-carousel:** new `esl-carousel` component introduced according to spec [#1282](https://github.com/exadel-inc/esl/issues/1282) ([5b6fc64](https://github.com/exadel-inc/esl/commit/5b6fc646ed86e1985e6f3b4ebb5e227846566702))
* **esl-carousel:** support for autoplay mixin plugin for ESLCarousel component ([1deea71](https://github.com/exadel-inc/esl/commit/1deea718bc89264f992ac7a05b5b4b85f796bfb2))
* **esl-carousel:** support for relation mixin plugin for ESLCarousel component ([77cbbd9](https://github.com/exadel-inc/esl/commit/77cbbd9a93de0b149ec484d7dae35409a7897926))
* **esl-utils:** introduce `promisifyTransition` utility ([9dbabfc](https://github.com/exadel-inc/esl/commit/9dbabfc982f97c8fe3ef04f9f35e66877ab04531))
* **esl-utils:** utility to postpone execution to microtask ([2a4c8c5](https://github.com/exadel-inc/esl/commit/2a4c8c59cbdc36a31c7dc370944abce1713b21b2))

## [4.9.1](https://github.com/exadel-inc/esl/compare/v4.9.0...v4.9.1) (2023-07-07)


Expand Down Expand Up @@ -63,6 +76,34 @@
* **esl-animate:** default esl-animate module class `esl-animate-slide-left` replaced with `esl-animate-slide left`
* **esl-animate:** default esl-animate module class `esl-animate-slide-right` replaced with `esl-animate-slide right`


# [4.9.0-beta.1](https://github.com/exadel-inc/esl/compare/v4.8.0...v4.9.0-beta.1) (2023-06-26)


### Features

* **esl-carousel:** complete support of the drag (touch) for ESLCarousel ([94bc18f](https://github.com/exadel-inc/esl/commit/94bc18f7f16d2cbff8aa8132ee6ed87dd6cce556))
* **esl-carousel:** complete support of the navigation plugins for ESLCarousel ([19bd241](https://github.com/exadel-inc/esl/commit/19bd241ef58dd96c3787324ac0157ab138fe3f0e))
* **esl-carousel:** new `esl-carousel` component introduced according to spec [#1282](https://github.com/exadel-inc/esl/issues/1282) ([5b6fc64](https://github.com/exadel-inc/esl/commit/5b6fc646ed86e1985e6f3b4ebb5e227846566702))
* **esl-carousel:** support for autoplay mixin plugin for ESLCarousel component ([1deea71](https://github.com/exadel-inc/esl/commit/1deea718bc89264f992ac7a05b5b4b85f796bfb2))
* **esl-carousel:** support for relation mixin plugin for ESLCarousel component ([77cbbd9](https://github.com/exadel-inc/esl/commit/77cbbd9a93de0b149ec484d7dae35409a7897926))
* **esl-utils:** introduce `promisifyTransition` utility ([9dbabfc](https://github.com/exadel-inc/esl/commit/9dbabfc982f97c8fe3ef04f9f35e66877ab04531))
* **esl-utils:** utility to postpone execution to microtask ([2a4c8c5](https://github.com/exadel-inc/esl/commit/2a4c8c59cbdc36a31c7dc370944abce1713b21b2))

# [4.8.0-beta.1](https://github.com/exadel-inc/esl/compare/v4.7.1...v4.8.0-beta.1) (2023-06-19)


### Features

* **esl-carousel:** complete support of the drag (touch) for ESLCarousel ([94bc18f](https://github.com/exadel-inc/esl/commit/94bc18f7f16d2cbff8aa8132ee6ed87dd6cce556))
* **esl-carousel:** complete support of the navigation plugins for ESLCarousel ([19bd241](https://github.com/exadel-inc/esl/commit/19bd241ef58dd96c3787324ac0157ab138fe3f0e))
* **esl-carousel:** new `esl-carousel` component introduced according to spec [#1282](https://github.com/exadel-inc/esl/issues/1282) ([5b6fc64](https://github.com/exadel-inc/esl/commit/5b6fc646ed86e1985e6f3b4ebb5e227846566702))
* **esl-carousel:** support for autoplay mixin plugin for ESLCarousel component ([1deea71](https://github.com/exadel-inc/esl/commit/1deea718bc89264f992ac7a05b5b4b85f796bfb2))
* **esl-carousel:** support for relation mixin plugin for ESLCarousel component ([77cbbd9](https://github.com/exadel-inc/esl/commit/77cbbd9a93de0b149ec484d7dae35409a7897926))
* **esl-utils:** introduce `promisifyTransition` utility ([9dbabfc](https://github.com/exadel-inc/esl/commit/9dbabfc982f97c8fe3ef04f9f35e66877ab04531))
* **esl-utils:** utility to postpone execution to microtask ([2a4c8c5](https://github.com/exadel-inc/esl/commit/2a4c8c59cbdc36a31c7dc370944abce1713b21b2))


# [4.8.0](https://github.com/exadel-inc/esl/compare/v4.7.1...v4.8.0) (2023-06-26)


Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@
"modules/lib.js",
"src/modules/lib.ts",
"modules/esl-media/providers/**/*.js",
"modules/esl-share/actions/**/*.js",
"src/modules/esl-media/providers/**/*.ts",
"modules/esl-share/actions/**/*.js",
"src/modules/esl-share/actions/**/*.ts",
"modules/esl-carousel/core.js",
"src/modules/esl-carousel/core.ts",
"modules/esl-carousel/renderers/**/*.js",
"src/modules/esl-carousel/renderers/**/*.ts",
"polyfills/**/*.js",
"src/polyfills/**/*.ts",
"pages/src/**/*.ts"
Expand Down
15 changes: 15 additions & 0 deletions pages/src/common/card.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.card {
display: flex;
width: 100%;
height: 100%;
flex-direction: column;
background: #fff;
box-shadow: 1px 1px 4px 2px rgba(0, 0, 0, 0.3);

&-image {
flex: 0 0 auto;
}
&-content {
flex: 1 1 auto;
}
}
2 changes: 1 addition & 1 deletion pages/src/common/helpers.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
.hide {
@media @xs {
&-xs {
display: none;
display: none !important;
}
}
}
Expand Down
76 changes: 76 additions & 0 deletions pages/src/esl-carousel-demo/test-carousel.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
@import (reference) '../common/variables.less';

.marquee-carousel [esl-carousel-container] {
esl-carousel {
margin: 0;
padding: 0;
}
.img-container {
width: 100%;
height: 100%;
}

button.arrow-prev {
left: 0;
&::before {
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' fill='%23fff'%3E%3Cpath d='M31 40 16 25l15-15 2 2-13 13 13 13z'/%3E%3C/svg%3E");
}
}
button.arrow-next {
right: 0;
&::before {
background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50' fill='%23fff'%3E%3Cpath d='M31 40 16 25l15-15 2 2-13 13 13 13z'/%3E%3C/svg%3E");
}
}
button.arrow-prev::before,
button.arrow-next::before {
width: 60px;
height: 60px;
}
.carousel-dots-wrapper {
position: absolute;
bottom: 50px;
left: 50%;
margin-right: -50%;
transform: translate(-50%, 0%);
@media @lg-xl {
display: none;
}
}

&.main-carousel {
div[data-slides-area] {
min-height: 500px;
gap: 0;
}
esl-carousel-slide {
padding: 0;
}
button.arrow-prev,
button.arrow-next {
@media @lg-xl {
display: none;
}
}
}

&.marquee-nav-carousel {
padding: 0 60px;
esl-carousel-slide {
margin: 10px 0;
}
&::before {
position: absolute;
content: '';
background: black;
height: 100%;
width: 100%;
top: 0;
left: 0;
overflow: hidden;
}
@media @xs-md {
display: none;
}
}
}
3 changes: 3 additions & 0 deletions pages/src/localdev.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@import './common/badge.less';
@import './common/buttons.less';
@import './common/code.less';
@import './common/card.less';
@import './common/links.less';
@import './common/close.less';
@import './common/containers.less';
Expand Down Expand Up @@ -37,6 +38,8 @@

@import '../../src/modules/all.less';

@import './esl-carousel-demo/test-carousel.less';

@import './back-link/back-link';

@import (inline) '../../node_modules/prismjs/themes/prism.css';
18 changes: 17 additions & 1 deletion pages/src/localdev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,15 @@ import {
ESLAnimate,
ESLAnimateMixin,
ESLShare,
ESLRelatedTarget
ESLRelatedTarget,

ESLCarousel,
ESLCarouselNavDots,
ESLCarouselNavMixin,
ESLCarouselTouchMixin,
ESLCarouselKeyboardMixin,
ESLCarouselRelateToMixin,
ESLCarouselAutoplayMixin
} from '../../src/modules/all';

import '../../src/modules/esl-media/providers/iframe-provider';
Expand Down Expand Up @@ -106,6 +114,14 @@ ESLTooltip.register();
ESLAnimate.register();
ESLAnimateMixin.register();

ESLCarousel.register();
ESLCarouselNavDots.register();
ESLCarouselNavMixin.register();
ESLCarouselTouchMixin.register();
ESLCarouselKeyboardMixin.register();
ESLCarouselRelateToMixin.register();
ESLCarouselAutoplayMixin.register();

ESLShare.config(() => fetch('/assets/share/config.json').then((response) => response.json()));
ESLShare.register();

Expand Down
Loading

0 comments on commit b504ec1

Please sign in to comment.