@cuby-ui/icons 0.0.622 → 0.0.624

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/README.md CHANGED
@@ -32,6 +32,15 @@ const icon: CuiIcon = 'cuiIconCheck';
32
32
  if (cuiIsIcon(value)) { ... }
33
33
  ```
34
34
 
35
+ ### Feature: cuiIconHelmet
36
+
37
+ Каска размером 24×24, доступная через `CUI_ICONS.cuiIconHelmet` и тип `CuiIcon`.
38
+ Заливка использует `currentColor`; при использовании `cui-svg` цвет можно задать входом `color`.
39
+ Номер участника добавляет потребитель отдельным слоем поверх иконки.
40
+ Для совмещения с SVG-текстом используйте `viewBox="0 0 24 24"`, группу
41
+ `transform="translate(12 12) scale(0.85) translate(-23 -19)"` и текст
42
+ `x="23" y="22" text-anchor="middle"`. Номер остаётся динамическим, SVG-строка его не содержит.
43
+
35
44
  ## Линт и форматирование
36
45
  - Явных конфигураций ESLint/Prettier в репозитории нет. Ориентируйтесь на текущий стиль файлов и типичные правила Angular/TypeScript.
37
46
 
@@ -319,6 +319,7 @@ declare const CUI_ICONS_REGISTRY: {
319
319
  cuiIconSewerSm: string;
320
320
  cuiIconRoad: string;
321
321
  cuiIconRoadSm: string;
322
+ cuiIconHelmet: string;
322
323
  };
323
324
  type CuiIconsTypedMap = {
324
325
  readonly [K in keyof typeof CUI_ICONS_REGISTRY]: K;