@recursica/mui-adapter 0.30.0 → 0.31.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @recursica/mui-adapter
2
2
 
3
+ ## 0.31.0
4
+
5
+ ### Minor Changes
6
+
7
+ - e4759d1: Slider: fixed the raw numeric value duplicating next to the track when `tooltipLabel` is a formatter (now reuses the same formatter), added `minLabel`/`maxLabel` overrides for the track's end labels, and added a `trailingIcon` prop alongside the existing leading `icon`.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [e4759d1]
12
+ - @recursica/adapter-common@0.22.0
13
+
3
14
  ## 0.30.0
4
15
 
5
16
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -2271,10 +2271,16 @@ declare interface RecursicaSliderProps_2 {
2271
2271
  tooltipLabel?: default_2.ReactNode | ((value: number) => default_2.ReactNode);
2272
2272
  /** Icon shown to the left of the slider track */
2273
2273
  icon?: default_2.ReactNode;
2274
+ /** Icon shown to the right of the slider track */
2275
+ trailingIcon?: default_2.ReactNode;
2274
2276
  /** Render numeric input side-by-side or stacked */
2275
2277
  showInput?: boolean;
2276
2278
  /** Show min and max labels below track */
2277
2279
  showMinMaxLabels?: boolean;
2280
+ /** Override the label shown at the minimum end of the track. Defaults to the numeric `min`. */
2281
+ minLabel?: default_2.ReactNode;
2282
+ /** Override the label shown at the maximum end of the track. Defaults to the numeric `max`. */
2283
+ maxLabel?: default_2.ReactNode;
2278
2284
  }
2279
2285
 
2280
2286
  /**
@@ -2698,7 +2704,8 @@ export declare const Slider: typeof rawComponents.Slider;
2698
2704
  * Recursica Slider component wrapping Mui's Slider.
2699
2705
  *
2700
2706
  * Implements a bidirectional text input field next to the slider track, responsive layouts,
2701
- * custom typography-bound min/max labels, an optional leading icon, and an explicit read-only layout.
2707
+ * custom typography-bound min/max labels (optionally overridden via `minLabel`/`maxLabel`),
2708
+ * optional leading/trailing icons, and an explicit read-only layout.
2702
2709
  */
2703
2710
  declare const Slider_2: default_2.ForwardRefExoticComponent<(Omit<Omit<WithRecursicaSpacing<RecursicaSliderProps>, BlockedStylingKeys> & ForbiddenStyles & {
2704
2711
  overStyled?: false | undefined;