Commit cd073169 authored by Nikolay Gromov's avatar Nikolay Gromov

Коррекция опечаток

parent d13d1878
...@@ -12,18 +12,18 @@ ...@@ -12,18 +12,18 @@
".html" ".html"
], ],
"dictionary": [ "dictionary": [
"микрошаблонизац.*\\B", "микрошаблонизац*",
"постпроцессинг.*\\B", "постпроцессинг*",
"контент.*\\B", "контент*",
"вьюпорт.*\\B", "вьюпорт*",
"радиокнопк.*\\B", "радиокнопк*",
"скролл.*\\B", "скролл*",
"селект.*\\B", "селект*",
"чекбокс.*\\B", "чекбокс*",
"псевдоселектор.*\\B", "псевдоселектор*",
"псевдоэлемент.*\\B", "псевдоэлемент*",
"коммит.*\\B", "коммит*",
"пиксел.*\\B", "пиксел*",
"пикс", "пикс",
"лид", "лид",
"ктулху", "ктулху",
......
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
<td>Проверка стилевой составляющей проекта <a href="https://stylelint.io/">stylelint</a></td> <td>Проверка стилевой составляющей проекта <a href="https://stylelint.io/">stylelint</a></td>
</tr> </tr>
<tr> <tr>
<td><code>npm run yaspeller</code></td> <td><code>npm run test:orpho</code></td>
<td>Проверка разметки и <code>./README.md</code> проекта <a href="https://github.com/hcodes/yaspeller">yaspeller</a></td> <td>Поиск ошибок и опечаток в <code>.html</code> и <code>.md</code> файлах в <code>./src</code> с помощью <a href="https://github.com/hcodes/yaspeller">yaspeller</a></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
}, },
"scripts": { "scripts": {
"test:style": "stylelint \"src/**/*.scss\" --syntax=scss", "test:style": "stylelint \"src/**/*.scss\" --syntax=scss",
"yaspeller": "yaspeller ./src/*.html ./README.md", "test:orpho": "yaspeller -e \".md,.html\" ./src/",
"start": "gulp", "start": "gulp",
"deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy", "deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy",
"build": "cross-env NODE_ENV=production npm start build", "build": "cross-env NODE_ENV=production npm start build",
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
}, },
"lint-staged": { "lint-staged": {
"*.scss": "stylelint --syntax=scss", "*.scss": "stylelint --syntax=scss",
"*.{html,md}": "yaspeller" "*.{html,md}": "yaspeller -e \".md,.html\""
}, },
"devDependencies": { "devDependencies": {
"autoprefixer": "^6.7.7", "autoprefixer": "^6.7.7",
......
...@@ -7,6 +7,14 @@ ...@@ -7,6 +7,14 @@
<meta name="description" content=""> <meta name="description" content="">
@@include('_include/page_head.html') @@include('_include/page_head.html')
<link rel="stylesheet" href="css/blocks-library.css"> <link rel="stylesheet" href="css/blocks-library.css">
<style>
.components-demo {
padding: 1em;
margin: auto;
max-width: 1200px;
font-family: sans-serif;
}
</style>
<script> <script>
document.addEventListener('DOMContentLoaded', function(){ document.addEventListener('DOMContentLoaded', function(){
...@@ -539,7 +547,7 @@ ...@@ -539,7 +547,7 @@
</section> </section>
<section class="blocks-library__item" id="btn" data-name=".btn"> <section class="blocks-library__item" id="to-top" data-name=".to-top">
<h2 class="blocks-library__item-title">Кнопка скролла вверх</h2> <h2 class="blocks-library__item-title">Кнопка скролла вверх</h2>
...@@ -612,7 +620,7 @@ ...@@ -612,7 +620,7 @@
<div class="dropdown"> <div class="dropdown">
<a id="dropdown-demo-3" href="#" class="dropdown__toggler" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Ссылка</a> <a id="dropdown-demo-3" href="#" class="dropdown__toggler" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Ссылка</a>
<div class="dropdown__menu" aria-labelledby="dropdown-demo-3"> <div class="dropdown__menu" aria-labelledby="dropdown-demo-3">
<form action=""> <form action="https://httpbin.org/post" method="post">
<input type="text"> <input type="text">
<select> <select>
<option>Название пункта</option> <option>Название пункта</option>
...@@ -682,7 +690,7 @@ ...@@ -682,7 +690,7 @@
<code> &lt;div class="dropdown"></code> <code> &lt;div class="dropdown"></code>
<code> &lt;a id="dropdown-demo-3" href="#" class="dropdown__toggler" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Ссылка&lt;/a></code> <code> &lt;a id="dropdown-demo-3" href="#" class="dropdown__toggler" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Ссылка&lt;/a></code>
<code> &lt;div class="dropdown__menu" aria-labelledby="dropdown-demo-3"></code> <code> &lt;div class="dropdown__menu" aria-labelledby="dropdown-demo-3"></code>
<code> &lt;form action=""></code> <code> &lt;form action="https://httpbin.org/post" method="post"></code>
<code> &lt;input type="text"></code> <code> &lt;input type="text"></code>
<code> &lt;select></code> <code> &lt;select></code>
<code> &lt;option>Название пункта&lt;/option></code> <code> &lt;option>Название пункта&lt;/option></code>
...@@ -1006,8 +1014,8 @@ ...@@ -1006,8 +1014,8 @@
<div class="field-file__name">Выбор файлов</div> <div class="field-file__name">Выбор файлов</div>
<label class="field-file__input-wrap"> <label class="field-file__input-wrap">
<input class="field-file__input" type="file" data-multiple-caption="файлов выбрано: {count}" multiple> <input class="field-file__input" type="file" data-multiple-caption="файлов выбрано: {count}" multiple>
<div class="field-file__name-text" data-button-text="Выбрать файл(ы)">Ничего не выбрано</div> <span class="field-file__name-text" data-button-text="Выбрать файл(ы)">Ничего не выбрано</span>
<div class="field-file__help-text">Отображение выбранного файла/файлов требует js. Стилизация — не требует.</div> <span class="field-file__help-text">Отображение выбранного файла/файлов требует js. Стилизация — не требует.</span>
</label> </label>
</div> </div>
...@@ -1015,9 +1023,13 @@ ...@@ -1015,9 +1023,13 @@
<span class="blocks-library__code-show-trigger" title="Показать код"><i class="blocks-library__code-icon"></i></span> <span class="blocks-library__code-show-trigger" title="Показать код"><i class="blocks-library__code-icon"></i></span>
<div class="blocks-library__code"> <div class="blocks-library__code">
<pre class="code"> <pre class="code">
<code>&lt;div class="field-actions"></code> <code>&lt;div class="field-file"></code>
<code> &lt;div class="field-actions__text">* — обязательные поля&lt;/div></code> <code> &lt;div class="field-file__name">Выбор файлов&lt;/div></code>
<code> &lt;button class="btn">Отправить&lt;/button></code> <code> &lt;label class="field-file__input-wrap"></code>
<code> &lt;input class="field-file__input" type="file" data-multiple-caption="файлов выбрано: {count}" multiple></code>
<code> &lt;span class="field-file__name-text" data-button-text="Выбрать файл(ы)">Ничего не выбрано&lt;/span></code>
<code> &lt;span class="field-file__help-text">Отображение выбранного файла/файлов требует js. Стилизация — не требует.&lt;/span></code>
<code> &lt;/label></code>
<code>&lt;/div></code> <code>&lt;/div></code>
</pre> </pre>
</div> </div>
...@@ -1059,8 +1071,8 @@ ...@@ -1059,8 +1071,8 @@
<h2 class="blocks-library__item-title">Селект</h2> <h2 class="blocks-library__item-title">Селект</h2>
<label class="field-select"> <label class="field-select">
<div class="field-select__name">Селект</div> <span class="field-select__name">Селект</span>
<div class="field-select__select-wrap"> <span class="field-select__select-wrap">
<select class="field-select__select"> <select class="field-select__select">
<optgroup label="Группа"> <optgroup label="Группа">
<option>Значение 1</option> <option>Значение 1</option>
...@@ -1069,8 +1081,8 @@ ...@@ -1069,8 +1081,8 @@
</optgroup> </optgroup>
<option>Значение 10</option> <option>Значение 10</option>
</select> </select>
<div class="field-select__help-text">Обёртка — <code>&lt;label&gt;</code>.</div> <span class="field-select__help-text">Обёртка — <code>&lt;label&gt;</code>.</span>
</div> </span>
</label> </label>
<div class="blocks-library__code-wrapper"> <div class="blocks-library__code-wrapper">
...@@ -1078,8 +1090,8 @@ ...@@ -1078,8 +1090,8 @@
<div class="blocks-library__code"> <div class="blocks-library__code">
<pre class="code"> <pre class="code">
<code>&lt;label class="field-select"></code> <code>&lt;label class="field-select"></code>
<code> &lt;div class="field-select__name">Селект&lt;/div></code> <code> &lt;span class="field-select__name">Селект&lt;/span></code>
<code> &lt;div class="field-select__select-wrap"></code> <code> &lt;span class="field-select__select-wrap"></code>
<code> &lt;select class="field-select__select"></code> <code> &lt;select class="field-select__select"></code>
<code> &lt;optgroup label="Группа"></code> <code> &lt;optgroup label="Группа"></code>
<code> &lt;option>Значение 1&lt;/option></code> <code> &lt;option>Значение 1&lt;/option></code>
...@@ -1088,8 +1100,8 @@ ...@@ -1088,8 +1100,8 @@
<code> &lt;/optgroup></code> <code> &lt;/optgroup></code>
<code> &lt;option>Значение 10&lt;/option></code> <code> &lt;option>Значение 10&lt;/option></code>
<code> &lt;/select></code> <code> &lt;/select></code>
<code> &lt;div class="field-select__help-text">Обёртка — &lt;code>&lt;label&gt;&lt;/code>.&lt;/div></code> <code> &lt;span class="field-select__help-text">Обёртка — &lt;code>&lt;label&gt;&lt;/code>.&lt;/span></code>
<code> &lt;/div></code> <code> &lt;/span></code>
<code>&lt;/label></code> <code>&lt;/label></code>
</pre> </pre>
</div> </div>
...@@ -1429,15 +1441,6 @@ ...@@ -1429,15 +1441,6 @@
</div> </div>
<style>
.components-demo {
padding: 1em;
margin: auto;
max-width: 1200px;
font-family: sans-serif;
}
</style>
<a href="#" class="to-top" id="toTop"></a> <a href="#" class="to-top" id="toTop"></a>
@@include('_include/page_bottom.html') @@include('_include/page_bottom.html')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment