@fabio.caffarello/react-design-system 1.23.6 → 1.23.8

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.
@@ -14,7 +14,15 @@ export interface SliderProps extends Omit<HTMLAttributes<HTMLDivElement>, "onCha
14
14
  marks?: number[];
15
15
  onChange?: (value: number | [number, number]) => void;
16
16
  onValueChange?: (value: number | [number, number]) => void;
17
- label?: string;
17
+ /**
18
+ * Required label for the slider. Becomes the accessible name via
19
+ * aria-labelledby — single variant references the rendered <label>
20
+ * element directly; range variant references the same label plus a
21
+ * sr-only qualifier ("minimum" / "maximum") so AT users can tell
22
+ * which handle has focus. Make this a real domain term ("Volume",
23
+ * "Price range"), not the element type ("slider").
24
+ */
25
+ label: string;
18
26
  }
19
27
  /**
20
28
  * Slider Component
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fabio.caffarello/react-design-system",
3
3
  "private": false,
4
- "version": "1.23.6",
4
+ "version": "1.23.8",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.js",