@wistia/vhs 5.0.2-beta.03e366fb.00227d2 → 5.0.2-beta.0b86b4aa.8a8d58d

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/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v5.0.2-beta.03e366fb.00227d2
3
+ * @license @wistia/vhs v5.0.2-beta.0b86b4aa.8a8d58d
4
4
  *
5
5
  * Copyright (c) 2021-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -13376,10 +13376,13 @@ var Slider = ({
13376
13376
  children: /* @__PURE__ */ jsx209(
13377
13377
  ReactSlider,
13378
13378
  {
13379
- ariaLabel: isString8(ariaLabel) || isNonEmptyArray(ariaLabel) ? ariaLabel : void 0,
13380
- ariaLabelledby: isString8(ariaLabelledby) || isNonEmptyArray(ariaLabelledby) ? ariaLabelledby : void 0,
13381
- ariaValuetext: isFunction4(ariaValuetext) ? (state) => ariaValuetext(state) : ariaValuetext,
13382
- defaultValue: isNumber(initialValue) || isNonEmptyArray(initialValue) ? initialValue : void 0,
13379
+ ...isString8(ariaLabel) || isNonEmptyArray(ariaLabel) ? { ariaLabel } : {},
13380
+ ...isString8(ariaLabelledby) || isNonEmptyArray(ariaLabelledby) ? { ariaLabelledby } : {},
13381
+ ...isFunction4(ariaValuetext) && {
13382
+ ariaValuetext: (state) => ariaValuetext(state)
13383
+ },
13384
+ ...isString8(ariaValuetext) && { ariaValuetext },
13385
+ ...isNumber(initialValue) || isNonEmptyArray(initialValue) ? { defaultValue: initialValue } : {},
13383
13386
  disabled,
13384
13387
  marks: step,
13385
13388
  max,
@@ -13422,7 +13425,7 @@ var Slider = ({
13422
13425
  );
13423
13426
  },
13424
13427
  step,
13425
- value: isNumber(value) || isNonEmptyArray(value) ? value : void 0
13428
+ ...isNumber(value) || isNonEmptyArray(value) ? { value } : {}
13426
13429
  }
13427
13430
  )
13428
13431
  }