@particle-network/ui-react 0.4.5-beta.21 → 0.4.5-beta.22

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.
@@ -49,7 +49,7 @@ const slider = tv({
49
49
  sm: {
50
50
  label: 'text-small',
51
51
  value: 'text-small',
52
- thumb: 'w-3 h-3 after:w-2 after:h-2',
52
+ thumb: 'w-3 h-3 after:w-0 after:h-0',
53
53
  step: 'h-1 w-1 data-[in-range=false]:bg-default-200',
54
54
  mark: 'text-[10px]'
55
55
  },
@@ -48,7 +48,7 @@ interface Props extends HTMLHeroUIProps {
48
48
  showSteps?: boolean;
49
49
  /**
50
50
  * Whether to show step indicators at mark positions.
51
- * @default false
51
+ * @default true
52
52
  */
53
53
  showMarksSteps?: boolean;
54
54
  /**
@@ -11,7 +11,7 @@ import { slider } from "./slider-theme.js";
11
11
  function use_slider_useSlider(originalProps) {
12
12
  const globalContext = useProviderContext();
13
13
  const [props, variantProps] = mapPropsVariants(originalProps, slider.variantKeys);
14
- const { ref, as, name, label, formatOptions, value: valueProp, maxValue = 100, minValue = 0, step = 1, showSteps = false, showMarksSteps = false, showTooltip = false, orientation = 'horizontal', marks = [], startContent, endContent, fillOffset, className, classNames, renderThumb, renderLabel, renderValue, onChange, onChangeEnd, getValue, getTooltipValue, tooltipValueFormatOptions = formatOptions, tooltipProps: userTooltipProps = {}, ...otherProps } = props;
14
+ const { ref, as, name, label, formatOptions, value: valueProp, maxValue = 100, minValue = 0, step = 1, showSteps = false, showMarksSteps = true, showTooltip = false, orientation = 'horizontal', marks = [], startContent, endContent, fillOffset, className, classNames, renderThumb, renderLabel, renderValue, onChange, onChangeEnd, getValue, getTooltipValue, tooltipValueFormatOptions = formatOptions, tooltipProps: userTooltipProps = {}, ...otherProps } = props;
15
15
  const isFixedValue = minValue === maxValue;
16
16
  if (isFixedValue) warn('Min and max values should not be the same. This may cause unexpected behavior.');
17
17
  const Component = as || 'div';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-network/ui-react",
3
- "version": "0.4.5-beta.21",
3
+ "version": "0.4.5-beta.22",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -38,8 +38,8 @@
38
38
  "@rslib/core": "^0.12.3",
39
39
  "@types/react": "^19.1.10",
40
40
  "react": "^19.1.0",
41
- "@particle-network/lintstaged-config": "0.1.0",
42
- "@particle-network/eslint-config": "0.3.0"
41
+ "@particle-network/eslint-config": "0.3.0",
42
+ "@particle-network/lintstaged-config": "0.1.0"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=16.9.0",