Skip to content

Commit

Permalink
Merge branch 'next' into feat/_last
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored Nov 2, 2022
2 parents fa2c4be + 0c17280 commit 62a5459
Show file tree
Hide file tree
Showing 60 changed files with 741 additions and 533 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"nanoservice",
"preconnect",
"preload",
"roundot",
"Superfast",
"tnum",
"tsbuildinfo",
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,28 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01)

### Bug Fixes

- **font:** review ([a371bf2](https://github.com/AliMD/alwatr/commit/a371bf2bcf6477487ceeadeaa596919066f5c468))
- Import error in webpack ([1a52f67](https://github.com/AliMD/alwatr/commit/1a52f67ff2788c51abd13126f34353c26aa669c3))
- **publish-container:** ignore tdlib ([edd6729](https://github.com/AliMD/alwatr/commit/edd672974702d237699caa508d34b2cd9eb7d025))

### Features

- **`alwatr-icon`:** `url-prefix` attr ([3af2dd4](https://github.com/AliMD/alwatr/commit/3af2dd4ba4a6451d54db7577badce9b279509265))
- **`alwatr-icon`:** define styles & proprties ([fa0e7c7](https://github.com/AliMD/alwatr/commit/fa0e7c7c22bd9d45e7c3bde7ddb1323875223f63))
- **`alwatr-icon`:** reflect property ([b1ce3df](https://github.com/AliMD/alwatr/commit/b1ce3df4dc28c3e32cb02c5efcf518c406ebfa82))
- **`alwatr-icon`:** svg content ([26752bf](https://github.com/AliMD/alwatr/commit/26752bf34376634eac531e066f4a98437fe60b90))
- **`demo`:** improve icon demo ([6519f6f](https://github.com/AliMD/alwatr/commit/6519f6f05567b8a4ce3db0bd3a442139902a01d4))
- **alwatr-icon:** improve ([8522864](https://github.com/AliMD/alwatr/commit/85228649e1d3c8d179e3fbb5c5d2eb606bc7be3a))
- **demo:** improve demo dark mode ([b89217e](https://github.com/AliMD/alwatr/commit/b89217eb2bd271e1d62ebe29b41ac2599852d7da))
- **demo:** seprate fonts ([222e014](https://github.com/AliMD/alwatr/commit/222e014d488416042bf1d8575bfc0eb84d6009e8))
- **element:** add to tsconfig ([89ec9b6](https://github.com/AliMD/alwatr/commit/89ec9b6f672e96b2424b81465d118f6338ad5524))
- **font:** rename font files ([eb76649](https://github.com/AliMD/alwatr/commit/eb76649be6b7eee14660664a037b2b535ce52805))
- **font:** seprate stylesheets ([fafa726](https://github.com/AliMD/alwatr/commit/fafa726d887ddddda31042651e58d5180e4d5a97))

# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22)

### Bug Fixes
Expand Down
12 changes: 12 additions & 0 deletions demo/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01)

### Bug Fixes

- **font:** review ([a371bf2](https://github.com/AliMD/alwatr/commit/a371bf2bcf6477487ceeadeaa596919066f5c468))

### Features

- **`demo`:** improve icon demo ([6519f6f](https://github.com/AliMD/alwatr/commit/6519f6f05567b8a4ce3db0bd3a442139902a01d4))
- **demo:** improve demo dark mode ([b89217e](https://github.com/AliMD/alwatr/commit/b89217eb2bd271e1d62ebe29b41ac2599852d7da))
- **demo:** seprate fonts ([222e014](https://github.com/AliMD/alwatr/commit/222e014d488416042bf1d8575bfc0eb84d6009e8))

# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22)

### Features
Expand Down
26 changes: 16 additions & 10 deletions demo/font/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,28 @@
<html lang="fa" dir="rtl">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/font</title>
<link rel="stylesheet" href="/node_modules/@alwatr/font/font.css" fetchpriority="high" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link rel="stylesheet" href="/node_modules/@alwatr/font/vazirmatn.css" />
<link rel="stylesheet" href="/node_modules/@alwatr/font/vazirmatn-roundot.css" />
<link rel="stylesheet" href="/node_modules/@alwatr/font/sahel.css" />

<style>
html {
color-scheme: light dark;
}

body {
font-family: var(--font-system);
font-family: system-ui;
}

h1 {
text-align: center;
}

section {
max-width: 500px;
max-width: 520px;
margin: 2em auto;
}

Expand All @@ -31,15 +37,15 @@
}

.vazirmatn {
font-family: var(--font-vazirmatn), var(--font-system);
font-family: var(--font-vazirmatn), system-ui;
}

.vazirmatn-rd {
font-family: var(--font-vazirmatn-rd), var(--font-system);
.vazirmatn-roundot {
font-family: var(--font-vazirmatn-roundot), system-ui;
}

.sahel {
font-family: var(--font-sahel), var(--font-system);
font-family: var(--font-sahel), system-ui;
}
</style>
</head>
Expand All @@ -64,7 +70,7 @@ <h3>فونت وزیر‌متن</h3>
</p>
</section>

<section class="vazirmatn-rd">
<section class="vazirmatn-roundot">
<h3>فونت وزیر‌متن نقطه‌گرد</h3>
<p></p>
</section>
Expand Down
5 changes: 5 additions & 0 deletions demo/icon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/icon</title>
<script type="module" src="./index.js"></script>
<style>
html {
color-scheme: light dark;
}
</style>
</head>

<body>
Expand Down
37 changes: 21 additions & 16 deletions demo/index.html
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>One</title>
</head>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Alwatr</title>
<style>
html {
color-scheme: light dark;
}
</style>
</head>

<body>
<ol>
<li><a href="./logger/">Logger</a></li>
<li><a href="./fetch/">Fetch</a></li>
<li><a href="./signal/">Signal</a></li>
<li><a href="./router/">Router</a></li>
<li><a href="./font/">Font</a></li>
<li><a href="./math/">Math</a></li>
</ol>
</body>
<body>
<ol>
<li><a href="./logger/">Logger</a></li>
<li><a href="./fetch/">Fetch</a></li>
<li><a href="./signal/">Signal</a></li>
<li><a href="./router/">Router</a></li>
<li><a href="./font/">Font</a></li>
<li><a href="./math/">Math</a></li>
</ol>
</body>
</html>
25 changes: 15 additions & 10 deletions demo/logger/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/logger</title>
<script type="module" src="./index.js"></script>
</head>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/logger</title>
<script type="module" src="./index.js"></script>
<style>
html {
color-scheme: light dark;
}
</style>
</head>

<body>
<h3>Check the console</h3>
</body>
<body>
<h3>Check the console</h3>
</body>
</html>
25 changes: 15 additions & 10 deletions demo/math/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/math</title>
<script type="module" src="./translate-unicode-digits.js"></script>
</head>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/math</title>
<script type="module" src="./translate-unicode-digits.js"></script>
<style>
html {
color-scheme: light dark;
}
</style>
</head>

<body>
<h3>Check the console</h3>
</body>
<body>
<h3>Check the console</h3>
</body>
</html>
4 changes: 2 additions & 2 deletions demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alwatr/demo",
"version": "0.18.0",
"version": "0.19.0",
"main": "index.js",
"author": "S. Ali Mihandoost <[email protected]> (https://ali.mihandoost.com)",
"type": "module",
Expand All @@ -9,7 +9,7 @@
"MohammadMahdi Zamanian <[email protected]>"
],
"dependencies": {
"@alwatr/logger": "^0.18.0",
"@alwatr/logger": "^0.19.0",
"tslib": "^2.4.1"
}
}
63 changes: 34 additions & 29 deletions demo/router/index.html
Original file line number Diff line number Diff line change
@@ -1,34 +1,39 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/router</title>
<script type="module" src="./index.js"></script>
</head>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/router</title>
<script type="module" src="./index.js"></script>
<style>
html {
color-scheme: light dark;
}
</style>
</head>

<body>
<h3>Check the console</h3>
<ol>
<ul>
<a href="/home">Home</a>
</ul>
<ul>
<a href="/about">About</a>
</ul>
<ul>
<a href="/product-list">Products</a>
</ul>
<ul>
<a href="/product/1">Product 1</a>
</ul>
<ul>
<a href="/contact">Contact</a>
</ul>
</ol>
<body>
<h3>Check the console</h3>
<ol>
<ul>
<a href="/home">Home</a>
</ul>
<ul>
<a href="/about">About</a>
</ul>
<ul>
<a href="/product-list">Products</a>
</ul>
<ul>
<a href="/product/1">Product 1</a>
</ul>
<ul>
<a href="/contact">Contact</a>
</ul>
</ol>

<div class="render"></div>
<div class="render"></div>

<textarea cols="50" rows="10"></textarea>
</body>
<textarea cols="50" rows="10"></textarea>
</body>
</html>
29 changes: 17 additions & 12 deletions demo/signal/index.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/signal</title>
<script type="module" src="./index.js"></script>
</head>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@alwatr/signal</title>
<script type="module" src="./index.js"></script>
<style>
html {
color-scheme: light dark;
}
</style>
</head>

<body>
<h3>Check the console</h3>
<button id="requestButton">Request Signal</button>
<button id="requestButton2">3x Request Signal</button>
</body>
<body>
<h3>Check the console</h3>
<button id="requestButton">Request Signal</button>
<button id="requestButton2">3x Request Signal</button>
</body>
</html>
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.18.0",
"version": "0.19.0",
"npmClient": "yarn",
"useWorkspaces": true,
"package": ["demo", "packages/*/*"],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
"devDependencies": {
"@microsoft/eslint-formatter-sarif": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@web/dev-server": "^0.1.35",
"eslint": "^8.26.0",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/element/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [0.19.0](https://github.com/AliMD/alwatr/compare/v0.18.0...v0.19.0) (2022-11-01)

### Bug Fixes

- Import error in webpack ([1a52f67](https://github.com/AliMD/alwatr/commit/1a52f67ff2788c51abd13126f34353c26aa669c3))

# [0.18.0](https://github.com/AliMD/alwatr/compare/v0.17.0...v0.18.0) (2022-10-22)

**Note:** Version bump only for package @alwatr/element
Expand Down
4 changes: 2 additions & 2 deletions packages/core/element/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alwatr/element",
"version": "0.18.0",
"version": "0.19.0",
"description": "Elegant powerful web component (lit-element) helper mixins written in tiny TypeScript module.",
"keywords": [
"element",
Expand Down Expand Up @@ -33,7 +33,7 @@
"url": "https://github.com/AliMD/alwatr/issues"
},
"dependencies": {
"@alwatr/logger": "^0.18.0",
"@alwatr/logger": "^0.19.0",
"lit": "^2.4.0",
"tslib": "^2.4.1"
}
Expand Down
Loading

0 comments on commit 62a5459

Please sign in to comment.