@kenlo/kdls-design-system 2.11.0 → 2.12.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.
@@ -35,6 +35,8 @@ type BaseInputProps = {
35
35
  iconRight?: IconElement;
36
36
  /** Callback when clicking iconRight — makes the icon interactive with stopPropagation */
37
37
  onClickIconRight?: () => void;
38
+ /** Accessible name of iconRight when it is clickable — say what the click does (e.g. "Buscar" for a magnifier that applies the search). Default: "Limpar" */
39
+ iconRightLabel?: string;
38
40
  /** Count badge shown before the right icon (used as a Popover Trigger) */
39
41
  notificationCount?: number;
40
42
  /** Shows a custom incrementer (+/−) for type="number". The browser's native spinner is always hidden via CSS. */
@@ -14,6 +14,8 @@ interface PillBase {
14
14
  width?: 'hug' | 'fill';
15
15
  /** @internal Callback fired when clicking iconRight — prevents propagation to onClick */
16
16
  onClickIconRight?: () => void;
17
+ /** @internal Accessible name of iconRight when onClickIconRight is set — say what the click does. Default: "Limpar" */
18
+ iconRightLabel?: string;
17
19
  /** @internal Shows a notification badge (size 24px) */
18
20
  showNotification?: boolean;
19
21
  /** @internal Number shown in the notification badge (requires showNotification=true) */