skillgrid 0.0.60 → 0.0.62

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.
@@ -21,9 +21,14 @@ export type TabsSize = 'md' | 'sm' | 'xs';
21
21
  */
22
22
  export interface TabsItem {
23
23
  /**
24
- * label - текстовый ярлык вкладки
24
+ * label - содержимое вкладки
25
25
  */
26
- label: string;
26
+ label: ReactNode;
27
+ /**
28
+ * ariaLabel - текстовое имя вкладки для screen reader
29
+ * рекомендуется для icon-only или составных label
30
+ */
31
+ ariaLabel?: string;
27
32
  /**
28
33
  * value - значение вкладки (используется для сравнения с activeTab)
29
34
  */
@@ -46,7 +51,7 @@ export interface TabsItem {
46
51
  /**
47
52
  * prefix - дополнительный ReactNode, например иконка или текст перед label
48
53
  */
49
- prefix?: Nullable<React.ReactNode>;
54
+ prefix?: Nullable<ReactNode>;
50
55
  /**
51
56
  * prefixWrapperProps - дополнительные пропсы для обертки prefix
52
57
  */
@@ -54,7 +59,7 @@ export interface TabsItem {
54
59
  /**
55
60
  * postfix - дополнительный ReactNode, например иконка или текст после label
56
61
  */
57
- postfix?: Nullable<React.ReactNode>;
62
+ postfix?: Nullable<ReactNode>;
58
63
  /**
59
64
  * postfixWrapperProps - дополнительные пропсы для обертки postfix
60
65
  */