From 3c107286975cf719d4d3c4af1649fe3d3d035dcc Mon Sep 17 00:00:00 2001 From: Haba Kudzaev Date: Tue, 26 Jul 2022 12:42:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D1=8F=D0=B5=D1=82=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=83=20?= =?UTF-8?q?=D0=BC=D0=B8=D0=BA=D1=81=D0=B8=D0=BD=D0=BE=D0=B2=20`position-*`?= =?UTF-8?q?=20#25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * добавляет в shadows.scss еще теней * удаляет пакет `sassdoc` * обновляет файл README.md * небольшие правки * добавляет миксин `check()` * удаляет карту `$shadows` * обновление до 4.1.1 * обновляет README.md * исправляет работу миксинов `position-*` * обновление до 4.1.2 --- CHANGELOG.md | 4 ++++ README.md | 7 +++++-- modules/position/_index.scss | 27 ++++++++++++++++++--------- package.json | 2 +- package.scss | 2 +- 5 files changed, 29 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1eab89..f8ff818 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## v4.1.2 +- [`0058a61`](https://github.com/rx1310/kalium19/commit/0058a613684a60b9670f39e0aa83ee6c46f25ce8) [@rx1310](https://github.com/rx1310): исправляет работу миксинов `position-*` +- [`ad704ad`](https://github.com/rx1310/kalium19/commit/ad704ad465c1fb0459f82280e819d7aab4532e39) [@rx1310](https://github.com/rx1310): обновляет README.md + ## v4.1.1 - [`394646d`](https://github.com/rx1310/kalium19/commit/394646d50114da7d315b651065850d40c4de557d) [@rx1310](https://github.com/rx1310): удаляет карту `$shadows` - [`7d4a03a`](https://github.com/rx1310/kalium19/commit/7d4a03af2537cc64fd97bc2a15d3f1f356ab1e84) [@rx1310](https://github.com/rx1310): добавляет миксин `check()` diff --git a/README.md b/README.md index c3f9031..5f4c968 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ ====== :package: Набор утилит, миксинов, расширений на языке препроцессора [SASS](https://github.com/sass) для помощи в ускорении и упрощении написания CSS-стилей. -![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rx1310/kalium19/npm%20publisher?label=npm%20publisher&style=flat-square) -![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rx1310/kalium19/GitHub%20Packages%20publisher?label=github%20package%20publisher&style=flat-square) +[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rx1310/kalium19/npm%20publisher?label=npm%20publisher&style=flat-square)](https://npmjs.com/package/@rx1310/kalium19) +[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rx1310/kalium19/GitHub%20Packages%20publisher?label=github%20package%20publisher&style=flat-square)](https://github.com/rx1310/kalium19/packages/1547304) ![GitHub](https://img.shields.io/github/license/rx1310/kalium19?style=flat-square) ![GitHub language count](https://img.shields.io/github/languages/count/rx1310/kalium19?style=flat-square) @@ -109,6 +109,9 @@ git submodule add https://github.com/rx1310/kalium19 > ``` > Данные команды скачают архив версии с ветки [`main`](https://github.com/rx1310/kalium19/tree/main). +## Документация +На данный момент документация формируется средствами утилиты [sassdoc](http://sassdoc.com/) и доступна по [этой ссылке](https://rx1310.github.io/kalium19). + ## Лицензия Проект [Kalium19](https://github.com/rx1310/kalium19) распространяется совершенно бесплатно и находится под защитой лицензии [MIT](LICENSE). diff --git a/modules/position/_index.scss b/modules/position/_index.scss index bb64dab..3a8bef1 100644 --- a/modules/position/_index.scss +++ b/modules/position/_index.scss @@ -18,25 +18,34 @@ /// @access public /// @since 4.0.0 /// @require {mixin} position -/// @param {int | string} $args... -@mixin position-absolute($args...) { - @include position(absolute, $args); +/// @param {int} $top [null] +/// @param {int} $right [null] +/// @param {int} $bottom [null] +/// @param {int} $left [null] +@mixin position-absolute($top: null, $right: null, $bottom: null, $left: null) { + @include position(absolute, $top: $top, $right: $right, $bottom: $bottom, $left: $left); } /// @name position-relative /// @access public /// @since 4.0.0 /// @require {mixin} position -/// @param {int | string} $args... -@mixin position-relative($args...) { - @include position(relative, $args); +/// @param {int} $top [null] +/// @param {int} $right [null] +/// @param {int} $bottom [null] +/// @param {int} $left [null] +@mixin position-relative($top: null, $right: null, $bottom: null, $left: null) { + @include position(relative, $top: $top, $right: $right, $bottom: $bottom, $left: $left); } /// @name position-fixed /// @access public /// @since 4.0.0 /// @require {mixin} position -/// @param {int | string} $args... -@mixin position-fixed($args...) { - @include position(fixed, $args); +/// @param {int} $top [null] +/// @param {int} $right [null] +/// @param {int} $bottom [null] +/// @param {int} $left [null] +@mixin position-fixed($top: null, $right: null, $bottom: null, $left: null) { + @include position(fixed, $top: $top, $right: $right, $bottom: $bottom, $left: $left); } diff --git a/package.json b/package.json index 697d13c..5690f87 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rx1310/kalium19", - "version": "4.1.1", + "version": "4.1.2", "description": "📦 Набор утилит, миксинов, расширений на языке препроцессора @sass для помощи в ускорении, упрощении и улучщения процесса написания CSS-стилей.", "main": "index.scss", "publishConfig": { diff --git a/package.scss b/package.scss index 66a7582..0b25189 100644 --- a/package.scss +++ b/package.scss @@ -7,7 +7,7 @@ $package: ( version: ( major: 4, minor: 1, - patch: 1 + patch: 2 ), repository: (