Skip to content

Commit

Permalink
исправляет работу миксинов position-* #25
Browse files Browse the repository at this point in the history
* добавляет в shadows.scss еще теней

* удаляет пакет `sassdoc`

* обновляет файл README.md

* небольшие правки

* добавляет миксин `check()`

* удаляет карту `$shadows`

* обновление до 4.1.1

* обновляет README.md

* исправляет работу миксинов `position-*`

* обновление до 4.1.2
  • Loading branch information
Haba Kudzaev authored Jul 26, 2022
1 parent 75a5006 commit 3c10728
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 13 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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()`
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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).

Expand Down
27 changes: 18 additions & 9 deletions modules/position/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rx1310/kalium19",
"version": "4.1.1",
"version": "4.1.2",
"description": "📦 Набор утилит, миксинов, расширений на языке препроцессора @sass для помощи в ускорении, упрощении и улучщения процесса написания CSS-стилей.",
"main": "index.scss",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion package.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $package: (
version: (
major: 4,
minor: 1,
patch: 1
patch: 2
),

repository: (
Expand Down

0 comments on commit 3c10728

Please sign in to comment.