react-native-ui-lib 8.4.0-snapshot.7854 → 8.4.0-snapshot.7862

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-ui-lib",
3
- "version": "8.4.0-snapshot.7854",
3
+ "version": "8.4.0-snapshot.7862",
4
4
  "main": "src/index.js",
5
5
  "types": "src/index.d.ts",
6
6
  "author": "Ethan Sharabi <ethan.shar@gmail.com>",
@@ -5,6 +5,8 @@ export declare enum ChipsInputChangeReason {
5
5
  Added = "added",
6
6
  Removed = "removed"
7
7
  }
8
+ type ChipsInputChangeReasonUnion = `${ChipsInputChangeReason}`;
9
+ export type ChipsInputChangeReasonProps = ChipsInputChangeReasonUnion | ChipsInputChangeReason;
8
10
  export type ChipsInputChipProps = ChipProps & {
9
11
  invalid?: boolean;
10
12
  };
@@ -40,7 +40,7 @@ const Thumb = props => {
40
40
  height: THUMB_SIZE
41
41
  });
42
42
  const lastOffset = useSharedValue(0);
43
- const gesture = Gesture.Pan().onBegin(() => {
43
+ const gesture = Gesture.Pan().hitSlop(hitSlop).onBegin(() => {
44
44
  onSeekStart?.();
45
45
  isPressed.value = true;
46
46
  lastOffset.value = offset.value;
package/src/index.d.ts CHANGED
@@ -23,7 +23,7 @@ export { default as Button, ButtonProps, ButtonSize, ButtonAnimationDirection }
23
23
  export { default as Card, CardProps, CardSectionProps, CardSelectionOptions } from './components/card';
24
24
  export { default as Carousel, CarouselProps, PageControlPosition } from './components/carousel';
25
25
  export { default as Checkbox, CheckboxProps, CheckboxRef } from './components/checkbox';
26
- export { default as ChipsInput, ChipsInputProps, ChipsInputChipProps } from './components/chipsInput';
26
+ export { default as ChipsInput, ChipsInputProps, ChipsInputChipProps, ChipsInputChangeReason, ChipsInputChangeReasonProps } from './components/chipsInput';
27
27
  export { default as Chip, ChipProps } from './components/chip';
28
28
  export { default as ColorPicker, ColorPickerProps } from './components/colorPicker';
29
29
  export { default as ColorPalette, ColorPaletteProps } from './components/colorPalette';
package/src/index.js CHANGED
@@ -61,6 +61,8 @@ var _exportNames = {
61
61
  ChipsInput: true,
62
62
  ChipsInputProps: true,
63
63
  ChipsInputChipProps: true,
64
+ ChipsInputChangeReason: true,
65
+ ChipsInputChangeReasonProps: true,
64
66
  Chip: true,
65
67
  ChipProps: true,
66
68
  ColorPicker: true,
@@ -432,6 +434,18 @@ Object.defineProperty(exports, "ChipsInput", {
432
434
  return _chipsInput().default;
433
435
  }
434
436
  });
437
+ Object.defineProperty(exports, "ChipsInputChangeReason", {
438
+ enumerable: true,
439
+ get: function () {
440
+ return _chipsInput().ChipsInputChangeReason;
441
+ }
442
+ });
443
+ Object.defineProperty(exports, "ChipsInputChangeReasonProps", {
444
+ enumerable: true,
445
+ get: function () {
446
+ return _chipsInput().ChipsInputChangeReasonProps;
447
+ }
448
+ });
435
449
  Object.defineProperty(exports, "ChipsInputChipProps", {
436
450
  enumerable: true,
437
451
  get: function () {