@rotcetihra/c2c 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json ADDED
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "@rotcetihra/c2c",
3
+ "version": "1.0.0",
4
+ "description": "Атомарный CSS-компилятор на Sass, работающий на основе конфигурационных файлов по принципу AOT.",
5
+ "main": "src/_index.scss",
6
+ "sass": "src/_index.scss",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/rotcetihra/c2c.git"
10
+ },
11
+ "keywords": [
12
+ "sass",
13
+ "scss",
14
+ "compiler",
15
+ "utility-first",
16
+ "atomic-css",
17
+ "tailwind-inspired"
18
+ ],
19
+ "author": "Arhitector <rotcetihra@gmail.com>",
20
+ "license": "MIT",
21
+ "bugs": {
22
+ "url": "https://github.com/rotcetihra/c2c/issues"
23
+ },
24
+ "homepage": "https://github.com/rotcetihra/c2c#readme",
25
+ "devDependencies": {
26
+ "sass": "^1.101.0"
27
+ }
28
+ }
@@ -0,0 +1,18 @@
1
+ /// Системный валидатор ядра фреймворка.
2
+ /// Прерывает компиляцию через @error, формируя лаконичный и структурированный
3
+ /// четырехуровневый путь к пропущенному полю в конфигурации модуля.
4
+ ///
5
+ /// @group Error
6
+ /// @access public
7
+ ///
8
+ /// @param {String} $config-name - Имя родительского модуля (напр., 'grid', 'padding').
9
+ /// @param {String} $group-name - Имя генератора утилит (напр., 'properties', 'steps', 'fractions').
10
+ /// @param {Number} $config-index - Порядковый номер (индекс) блока конфигурации внутри группы.
11
+ /// @param {String} $parameter-name - Имя пропущенного обязательного параметра (обычно 'values').
12
+ ///
13
+ /// @example scss - Пример вызова утилиты
14
+ /// @include error.required-field-is-missing("grid", "steps", 1, "values");
15
+ /// // Вывод в консоли сборщика: Error: "Отсутствует обязательное поле 'grid::steps::1::values'."
16
+ @mixin required-field-is-missing($config-name, $group-name, $config-index, $parameter-name) {
17
+ @error "Отсутствует обязательное поле '#{$config-name}::#{$group-name}::#{$config-index}::#{$parameter-name}'.";
18
+ }