@draftbit/core 44.1.12-ee6c2c.1 → 44.1.13-3bb0d0.0

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.
Files changed (38) hide show
  1. package/lib/commonjs/components/Picker/Picker.js +53 -55
  2. package/lib/commonjs/components/Picker/Picker.js.map +1 -1
  3. package/lib/commonjs/components/Picker/PickerComponent.android.js +59 -0
  4. package/lib/commonjs/components/Picker/PickerComponent.android.js.map +1 -0
  5. package/lib/commonjs/components/Picker/PickerComponent.ios.js +92 -0
  6. package/lib/commonjs/components/Picker/PickerComponent.ios.js.map +1 -0
  7. package/lib/commonjs/components/Picker/PickerComponent.web.js +59 -0
  8. package/lib/commonjs/components/Picker/PickerComponent.web.js.map +1 -0
  9. package/lib/commonjs/mappings/KeyboardAwareScrollView.js +6 -0
  10. package/lib/commonjs/mappings/KeyboardAwareScrollView.js.map +1 -1
  11. package/lib/commonjs/mappings/RadioButtonRow.js.map +1 -1
  12. package/lib/module/components/AspectRatio.js +17 -2
  13. package/lib/module/components/AspectRatio.js.map +1 -1
  14. package/lib/module/components/Picker/Picker.js +55 -49
  15. package/lib/module/components/Picker/Picker.js.map +1 -1
  16. package/lib/module/components/Picker/PickerComponent.android.js +41 -0
  17. package/lib/module/components/Picker/PickerComponent.android.js.map +1 -0
  18. package/lib/module/components/Picker/PickerComponent.ios.js +69 -0
  19. package/lib/module/components/Picker/PickerComponent.ios.js.map +1 -0
  20. package/lib/module/components/Picker/PickerComponent.web.js +41 -0
  21. package/lib/module/components/Picker/PickerComponent.web.js.map +1 -0
  22. package/lib/module/mappings/KeyboardAwareScrollView.js +7 -1
  23. package/lib/module/mappings/KeyboardAwareScrollView.js.map +1 -1
  24. package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +13 -0
  25. package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +13 -0
  26. package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +13 -0
  27. package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +11 -0
  28. package/package.json +3 -3
  29. package/src/components/Picker/Picker.js +40 -20
  30. package/src/components/Picker/Picker.tsx +56 -18
  31. package/src/components/Picker/PickerComponent.android.js +20 -0
  32. package/src/components/Picker/PickerComponent.android.tsx +59 -0
  33. package/src/components/Picker/PickerComponent.ios.js +43 -0
  34. package/src/components/Picker/PickerComponent.ios.tsx +89 -0
  35. package/src/components/Picker/PickerComponent.web.js +20 -0
  36. package/src/components/Picker/PickerComponent.web.tsx +59 -0
  37. package/src/mappings/KeyboardAwareScrollView.js +7 -1
  38. package/src/mappings/KeyboardAwareScrollView.ts +8 -0
@@ -2,6 +2,7 @@ import {
2
2
  COMPONENT_TYPES,
3
3
  createStaticBoolProp,
4
4
  createStaticNumberProp,
5
+ createTextEnumProp,
5
6
  } from "@draftbit/types";
6
7
 
7
8
  export const SEED_DATA = {
@@ -49,5 +50,12 @@ export const SEED_DATA = {
49
50
  description: "Show or hide the vertical scroll indicator",
50
51
  defaultValue: true,
51
52
  }),
53
+ keyboardShouldPersistTaps: createTextEnumProp({
54
+ label: "Allow Touch Events",
55
+ description:
56
+ "Allows touch events on visible components to be processed while the keyboard is open",
57
+ defaultValue: "never",
58
+ options: ["never", "always"],
59
+ }),
52
60
  },
53
61
  };