Skip to content

Commit d587333

Browse files
committed
Merge branch 'main' of github.com:exadel-inc/esl into main-beta
2 parents 6ae13a9 + 396f103 commit d587333

32 files changed

Lines changed: 994 additions & 534 deletions

.github/workflows/pages.yml

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,29 @@ on:
99
env:
1010
node-version: 18.x
1111

12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allows only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
20+
concurrency:
21+
group: "pages"
22+
cancel-in-progress: false
23+
1224
jobs:
13-
deploy-gh-pages:
14-
name: Build and Deploy
25+
# Build job
26+
build-gh-pages:
27+
name: Build
1528
runs-on: ubuntu-latest
16-
1729
steps:
18-
- uses: actions/checkout@v3
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
- name: Setup Pages
33+
id: pages
34+
uses: actions/configure-pages@v3
1935
- name: Use Node v${{ env.node-version }}
2036
uses: actions/setup-node@v3
2137
with:
@@ -27,8 +43,23 @@ jobs:
2743
run: npm run build
2844
- name: Build Site
2945
run: npm run build -w pages
30-
- name: Deploy
31-
uses: JamesIves/github-pages-deploy-action@v4
46+
env:
47+
SITE_BASE_URL: ${{ steps.pages.outputs.base_url }}
48+
BUILD_VERSION: ${{ github.run_number }}
49+
- name: Upload artifact
50+
uses: actions/upload-pages-artifact@v2
3251
with:
33-
branch: gh-pages
34-
folder: pages/dist
52+
path: ./pages/dist
53+
54+
# Deployment job
55+
deploy-gh-pages:
56+
name: Deploy
57+
environment:
58+
name: github-pages
59+
url: ${{ steps.deployment.outputs.page_url }}
60+
runs-on: ubuntu-latest
61+
needs: build-gh-pages
62+
steps:
63+
- name: Deploy to GitHub Pages
64+
id: deployment
65+
uses: actions/deploy-pages@v2

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
inputs:
66
dryRun:
77
type: boolean
8+
default: true
89
required: false
910
description: 'Run in dry-run mode (no actual release)'
1011

.releaserc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ plugins:
4949
- BREAKING CHANGE
5050
- BREAKING CHANGES
5151
- BREAKING-CHANGE
52-
- BREAKING
5352

5453
- - "@semantic-release/changelog"
5554
- changelogFile: CHANGELOG.md
@@ -62,6 +61,7 @@ plugins:
6261
- CHANGELOG.md
6362
- package.json
6463
- package-lock.json
64+
- pages/package.json
6565
message: "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
6666

6767
- - "@semantic-release/github"

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
# [4.12.0](https://github.com/exadel-inc/esl/compare/v4.11.0...v4.12.0) (2023-09-22)
2+
3+
4+
### Bug Fixes
5+
6+
* **esl-tabs:** observe element resize instead of window using `ESLResizeObserverTarget` ([9dd4639](https://github.com/exadel-inc/esl/commit/9dd4639c6d937758725c5a4e9e444c6c78d31215))
7+
8+
9+
### Code Refactoring
10+
11+
* **esl-event-listener:** restructure `esl-event-listener/core/targets` ([fbdb6c3](https://github.com/exadel-inc/esl/commit/fbdb6c335e9863fddb6a817a66689cc127356335))
12+
13+
14+
### Features
15+
16+
* **esl-event-listener:** `ESLEventUtils.unsubscribe` implementation moved to internal `ESLEventListener.unsubscribe` ([eaa4204](https://github.com/exadel-inc/esl/commit/eaa42045c39f3cbb5f07568aab93b9bd2a6fba98))
17+
* **esl-event-listener:** add `SwipeEventTarget` to subscribe `swipe` events using `ESLEventListener` ([e7e69a2](https://github.com/exadel-inc/esl/commit/e7e69a257b74f985be0c191b8e722dcb124bc74c)), closes [#1809](https://github.com/exadel-inc/esl/issues/1809)
18+
* **esl-media:** support for lazy initialization by `lazy` attribute for `ESLMedia` ([f83d65a](https://github.com/exadel-inc/esl/commit/f83d65a91e064e6f8aa2ddc7f9cc4e8b49eacba5))
19+
20+
21+
### BREAKING CHANGES
22+
23+
* **esl-event-listener:** (if there is references to internal files) `resize.adapter.ts`/`resize.adapter.event.ts` renamed to `resize.target.ts`/`resize.target.event.ts`
24+
125
# [4.11.0](https://github.com/exadel-inc/esl/compare/v4.10.0...v4.11.0) (2023-09-01)
226

327

build/bump.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const fs = require('fs');
2+
const path = require('path');
3+
const root = require('../package.json');
4+
5+
const packagePath = path.resolve(process.cwd(), 'package.json');
6+
7+
try {
8+
const content = fs.readFileSync(packagePath, 'utf8');
9+
10+
const result = content.replace(
11+
/"version": "(\d+)\.(\d+)\.(\d+)"/,
12+
`"version": "${root.version}"`
13+
);
14+
15+
fs.writeFileSync(packagePath, result, 'utf8');
16+
console.log('Submodule version bumped to', root.version);
17+
} catch (err) {
18+
console.error("Can not bump version: ", err);
19+
}

docs/COMMIT_CONVENTION.md

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ to be sure that you are following the commit convention.
2020
- allows categorizing commits by importance and goals
2121

2222
## FAQ
23-
- Why do ESL use commit convention?
23+
- Why does ESL use the commit convention?
2424
- It's important for us to have an automated process of RELEASE NOTES and CHANGELOG creation.
2525
- What if incorrect commits were added to my branch?
2626
- Try to reword your commit messages using
2727
[git rebase](https://google.gprivate.com/search.php?search?q=git+rebase+reword)
2828
- You can also squash (concat into one commit) your commits but that's not necessary,
2929
the most important point is that your final commit messages correctly define the
3030
type and have a detailed and clear description of the changes
31-
- Just in case you can't fix up your git history, provide a noticeable comment
32-
to use GitHub Squash Merge. It's also will be nice if you write a commit summary
33-
to make have the ability to make a result commit faster.
34-
- Do I need to define a type for each of the commits in my feature?
31+
- In case you can't fix your Git history, please add a conspicuous comment indicating
32+
the use of GitHub Squash Merge. Additionally, it would be helpful if you could provide a commit summary
33+
to expedite the process of creating a final commit.
34+
- Do I need to define a type for each commit in my feature?
3535
- Yes, you will need a type for each commit. But, be careful with the following situations:
3636
- **If the feature or bug changes are not released and already described by the first message -
3737
make sure you are using style or refactor change type. Even, if you are fixing your previous commit,
@@ -71,11 +71,11 @@ Type is a required part of the message, and it is limited by the following value
7171
| ci | Continuous integration and deployment related changes |
7272
| perf | Backward-compatible performance improvements |
7373

74-
Type should be in a lowercase.
74+
The type should be in lowercase.
7575

7676
### Force minor version update
7777

78-
You can increase importance of the patch changes to the minor using the `MINOR VERSION` marker in the message.
78+
You can increase the importance of the patch changes to the minor using the `MINOR VERSION` marker in the message.
7979

8080
### BREAKING CHANGES
8181

@@ -99,11 +99,11 @@ BREAKING CHANGES:
9999

100100
Scope is an optional but "nice to have" part of your commit message.
101101

102-
Use scope to clarify changes area (module, component, feature or epic).
102+
Use a scope to clarify changes area (module, component, feature or epic).
103103

104104
Scope should be placed in parentheses after type but before `:`.
105105

106-
Scope should be compatibly short and in a lowercase.
106+
The scope should be compatibly short and in lowercase.
107107

108108
```text
109109
fix(esl-component): IE compatibility
@@ -113,12 +113,12 @@ fix(esl-component): IE compatibility
113113

114114
### \<subject\>
115115

116-
Subject is the main part of commit message where you should describe your changes.
116+
The subject is the main part of the commit message where you should describe your changes.
117117

118118
Subject text rules:
119119
- be informative
120120
- use imperative, present tense: “change” not “changed” nor “changes”
121-
- don't capitalize first letter
121+
- don't capitalize the first letter
122122
- no dot (.) at the end
123123

124124
**NOT**:
@@ -131,26 +131,27 @@ feat: Component updated to the new base class.
131131

132132
**BUT**
133133
```text
134-
fix (esl-utils): IE compatibility for scroll type detection
134+
fix(esl-utils): IE compatibility for scroll type detection
135135
```
136136
```text
137-
feat (esl-popup): esl-popup component base structure
137+
feat(esl-popup): esl-popup component base structure
138138
```
139139

140140
---
141141

142142
### \<body\>
143143

144-
The body is optional part of commit message.
145-
Body part can be used to provide details of commit changes or clarify the motivation for changes.
144+
The body is an optional part of a commit message.
145+
It can be used to provide details about the changes made in the commit or to clarify the motivation behind the changes.
146146

147-
The header and body are supposed to be separated by a blank line.
147+
The header and body should be separated by a blank line.
148148

149149
---
150150

151151
### \<footer\>
152152

153-
The footer is optional lines to provide additional details like linking closed issues, mentioning contributors and so on.
153+
The footer is optional lines to provide additional details like linking closed issues, mentioning contributors, and so
154+
on.
154155

155156
The body and footer are also should be separated by a blank line.
156157

docs/PRIVACY_POLICY.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Privacy Policy
2+
3+
<a name="content"></a>
4+
5+
This privacy policy covers Exadel Smart Library Website and its associated mirrors. We respect and protect the privacy of our users. This privacy policy tells you how we collect and use information.
6+
7+
## What information do we collect?
8+
9+
We do not collect any personal information from you that you do not volunteer. Users may visit and use our Website anonymously.
10+
11+
## Do we use cookies?
12+
13+
Yes. Cookies are small files that a site or its service provider transfers to your computer's hard drive through your browser (if you allow). These cookies enable the site to recognize your browser. You may refuse the use of cookies by selecting the appropriate settings on your browser however please note that if you do this you may not be able to use the full functionality offered here at our Website.
14+
15+
We use cookies to understand and save your preferences for future visits and compile aggregate data about site traffic and site interaction so that we can offer better site experiences and tools in the future. We may contract with third-party service providers to assist us in better understanding our site visitors. These service providers are not permitted to use the information collected on our behalf except to help us conduct and improve our business.
16+
17+
## Do we disclose any information to outside parties?
18+
19+
We do not sell, trade, or otherwise transfer to outside parties any information.
20+
21+
## What about website analytics and social media?
22+
23+
Our website uses Google Analytics, a service that transmits website traffic data to Google servers in the United States. Google Analytics does not identify individual users or associate your IP address with any other data held by Google. We use reports provided by Google Analytics to help us understand website traffic and webpage usage.
24+
25+
By using the Exadel Smart Library Website, you consent to the processing of data about you by Google in the manner described in [Google's Privacy Policy](https://policies.google.com/privacy) and for the purposes set out above. You can opt out of Google Analytics if you disable or refuse the cookie, disable JavaScript, or use the opt-out service provided by Google. Be aware that if you disable JavaScript completely you will impact the normal functionality of our Website. You can disable JavaScript selectively for Google Analytics with extensions to your browser.
26+
27+
Exadel Smart Library Website also uses interfaces with social media sites such as Facebook and LinkedIn. If you choose to "share" information from this Website through these services, you should review the privacy policy of that service. If you are a member of a social media site, the interfaces may allow the social media site to connect your visits to this site with other personal information.
28+
29+
## Are there any third-party links?
30+
31+
Occasionally, at our discretion, we may include or offer third-party products or services on our site. These third-party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our Website and welcome any feedback about these sites.
32+
33+
## Children's Online Privacy Protection Act Compliance
34+
35+
Our site, products, and services are all directed to people who are at least 13 years old or older. If this server is in the USA, and you are under the age of 13, per the requirements of COPPA (Children's Online Privacy Protection Act), do not use this site.
36+
37+
## Changes to this privacy policy
38+
39+
We have the discretion to update this privacy policy at any time. When we do, we will revise the updated date at the bottom of this page. We encourage Users to frequently check this page for any changes to stay informed about how we are helping to protect the personal information we collect. You acknowledge and agree that it is your responsibility to review this privacy policy periodically and become aware of modifications.
40+
41+
## Your acceptance of these terms
42+
43+
By using our Website, you signify your acceptance of this policy and terms of service. If you do not agree to this policy, please do not use our Website. Your continued use of the Website following the posting of changes to this policy will be deemed your acceptance of those changes.
44+
45+
## Contacting us
46+
47+
If you have any questions about this privacy policy, the practices of our Website, or your dealings with our Website, please contact us.
48+
49+
<time datetime="2023-09-15">09/15/23</time>

0 commit comments

Comments
 (0)