sit-onyx 1.3.0-dev-20251028122841 → 1.3.0-dev-20251028164321
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/dist/components/OnyxSlider/types.d.ts +1 -8
- package/dist/i18n/locales/de-DE.json +4 -0
- package/dist/i18n/locales/en-US.json +4 -0
- package/dist/i18n/locales/en-US.json.d.ts +4 -0
- package/dist/index.esm-bundler.js +120 -218
- package/dist/index.esm-bundler.js.map +1 -1
- package/dist/index.js +3014 -3077
- package/dist/style.css +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CustomValidityProp } from '../../composables/useFormElementError.js';
|
|
2
2
|
import { SkeletonInjected } from '../../composables/useSkeletonState.js';
|
|
3
|
-
import { Orientation } from '../../types/index.js';
|
|
4
3
|
import { OnyxFormElementProps } from '../OnyxFormElement/types.js';
|
|
5
4
|
export declare const SLIDER_CONTROLS: readonly ["icon", "value", "input"];
|
|
6
5
|
export type SliderControl = (typeof SLIDER_CONTROLS)[number];
|
|
@@ -54,7 +53,7 @@ export type OnyxSliderProps<TSliderMode extends SliderMode> = CustomValidityProp
|
|
|
54
53
|
/**
|
|
55
54
|
* Step size when holding shift key or using Page Up/Page Down keys.
|
|
56
55
|
*
|
|
57
|
-
*
|
|
56
|
+
* @default 10% of the total range (max - min) multiplied by the step size.
|
|
58
57
|
* This provides intuitive behavior that automatically scales with different slider ranges.
|
|
59
58
|
*/
|
|
60
59
|
shiftStep?: number;
|
|
@@ -75,12 +74,6 @@ export type OnyxSliderProps<TSliderMode extends SliderMode> = CustomValidityProp
|
|
|
75
74
|
* - `icon`: shows icon buttons to increment/decrement the value. The buttons increment/decrement by the shiftStep value. Available only for `single` mode.
|
|
76
75
|
*/
|
|
77
76
|
control?: SliderControl;
|
|
78
|
-
/**
|
|
79
|
-
* Orientation of the slider.
|
|
80
|
-
*
|
|
81
|
-
* @default "horizontal"
|
|
82
|
-
*/
|
|
83
|
-
orientation?: Orientation;
|
|
84
77
|
/**
|
|
85
78
|
* When to show the tooltip with the current value over the thumb.
|
|
86
79
|
*
|
|
@@ -236,5 +236,9 @@
|
|
|
236
236
|
"click": "Klicken, um die Sichtbarkeit der Aktionen umzuschalten",
|
|
237
237
|
"hover": "Mit der Maus darüberfahren/fokussieren, um die Sichtbarkeit der Aktionen umzuschalten"
|
|
238
238
|
}
|
|
239
|
+
},
|
|
240
|
+
"slider": {
|
|
241
|
+
"decreaseValue": "Wert um {n} verringern",
|
|
242
|
+
"increaseValue": "Wert um {n} erhöhen"
|
|
239
243
|
}
|
|
240
244
|
}
|
|
@@ -239,6 +239,10 @@ declare const _default: {
|
|
|
239
239
|
"click": "Click to toggle action visibility",
|
|
240
240
|
"hover": "Hover/Focus to toggle action visibility"
|
|
241
241
|
}
|
|
242
|
+
},
|
|
243
|
+
"slider": {
|
|
244
|
+
"decreaseValue": "Decrease value by {n}",
|
|
245
|
+
"increaseValue": "Increase value by {n}"
|
|
242
246
|
}
|
|
243
247
|
}
|
|
244
248
|
;
|