@factoringplus/pl-components-pack-v3 1.9.5-pre-09-banner → 1.9.5-pre-10-banner

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.
@@ -2,44 +2,61 @@ import { TIcon } from '../../../shared/pl-icon';
2
2
 
3
3
  /**
4
4
  * Интерфейс для задания пользовательских цветов различных элементов UI.
5
- *
6
- * @property backgroundBanner - Цвет фона баннера
7
- * @property backgroundButton - Цвет фона кнопки
8
- * @property borderButton - Цвет обводки кнопки
9
- * @property textButton - Цвет текста кнопки
10
- * @property icon - Цвет иконки
11
5
  */
12
6
  export declare interface ICustomColors {
7
+ /**
8
+ * @property backgroundBanner - Цвет фона баннера
9
+ */
13
10
  backgroundBanner?: string;
11
+ /**
12
+ * @property backgroundButton - Цвет фона кнопки
13
+ */
14
14
  backgroundButton?: string;
15
+ /**
16
+ * @property borderButton - Цвет обводки кнопки
17
+ */
15
18
  borderButton?: string;
19
+ /**
20
+ * @property textButton - Цвет текста кнопки
21
+ */
16
22
  textButton?: string;
23
+ /**
24
+ * @property icon - Цвет иконки
25
+ */
17
26
  icon?: string;
18
27
  }
19
- /**
20
- * Свойства баннера.
21
- *
22
- * @property type - Тип баннера: определяет стиль отображения. Может быть:
23
- * 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom'
24
- * @property title - Заголовок баннера
25
- * @property description - Описание или дополнительный текст баннера
26
- * @property buttonText - Текст кнопки действия
27
- * @property icon - Иконка, отображаемая в баннере
28
- * @property width - Ширина баннера (CSS-значение, например '100%', '400px')
29
- * @property closeButton - Показывать ли кнопку закрытия (крестик)
30
- * @property customColors - Пользовательские цвета для баннера (используется, если тип 'custom')
31
- */
32
28
  export declare interface TBannerProps {
33
29
  /**
34
30
  * @property type - Тип баннера: определяет стиль отображения. Может быть:
35
31
  * 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom'
36
32
  */
37
33
  type?: 'info' | 'interactive' | 'success' | 'warning' | 'critical' | 'custom';
34
+ /**
35
+ * @property title - Заголовок баннера
36
+ */
38
37
  title?: string;
38
+ /**
39
+ * @property description - Описание или дополнительный текст баннера
40
+ */
39
41
  description?: string;
42
+ /**
43
+ * @property buttonText - Текст кнопки действия
44
+ */
40
45
  buttonText?: string;
46
+ /**
47
+ * @property icon - Иконка, отображаемая в баннере
48
+ */
41
49
  icon?: TIcon;
50
+ /**
51
+ * @property width - Ширина баннера (CSS-значение, например '100%', '400px')
52
+ */
42
53
  width?: string;
54
+ /**
55
+ * @property closeButton - Показывать ли кнопку закрытия (крестик)
56
+ */
43
57
  closeButton?: boolean;
58
+ /**
59
+ * @property customColors - Пользовательские цвета для баннера (используется, если тип 'custom')
60
+ */
44
61
  customColors?: ICustomColors;
45
62
  }
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "require": "./dist/pl-components-pack-v3.cjs.js"
16
16
  }
17
17
  },
18
- "version": "1.9.5-pre-09-banner",
18
+ "version": "1.9.5-pre-10-banner",
19
19
  "scripts": {
20
20
  "dev": "vite",
21
21
  "build": "vite build",