@streamscloud/kit 0.10.7-1781528212938 → 0.10.7-1781528892980
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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<script lang="ts">import { CONTROL_ICON_SIZE, Icon } from '../icon';
|
|
1
|
+
<script lang="ts">import { CONTROL_ICON_SIZE, Icon, scaleUp } from '../icon';
|
|
2
2
|
import { ToolbarValueStepperLocalization } from './toolbar-value-stepper-localization';
|
|
3
3
|
import IconChevronLeft from '@fluentui/svg-icons/icons/chevron_left_16_regular.svg?raw';
|
|
4
4
|
import IconChevronRight from '@fluentui/svg-icons/icons/chevron_right_16_regular.svg?raw';
|
|
5
5
|
const { value, min = 0, max = 100, step = 1, valueSuffix = '', size = 'sm', on } = $props();
|
|
6
6
|
const localization = new ToolbarValueStepperLocalization();
|
|
7
|
-
const iconSize = $derived(CONTROL_ICON_SIZE[size]);
|
|
7
|
+
const iconSize = $derived(scaleUp(CONTROL_ICON_SIZE[size]));
|
|
8
8
|
const atMin = $derived(value <= min);
|
|
9
9
|
const atMax = $derived(value >= max);
|
|
10
10
|
const decrease = () => {
|