@draftbit/core 46.6.0 → 46.6.5-427e0d.2

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 (55) hide show
  1. package/lib/commonjs/components/Accordion/AccordionItem.js +4 -23
  2. package/lib/commonjs/components/Banner.js +4 -23
  3. package/lib/commonjs/components/Button.js +10 -33
  4. package/lib/commonjs/components/CardContainer.js +4 -13
  5. package/lib/commonjs/components/CardContainerShortImage.js +4 -15
  6. package/lib/commonjs/components/Checkbox/Checkbox.js +4 -22
  7. package/lib/commonjs/components/Checkbox/CheckboxGroup.js +2 -17
  8. package/lib/commonjs/components/Container.js +4 -15
  9. package/lib/commonjs/components/DeprecatedCardWrapper.js +1 -15
  10. package/lib/commonjs/components/Elevation.js +2 -14
  11. package/lib/commonjs/components/FAB.js +4 -18
  12. package/lib/commonjs/components/FieldSearchBarFull.js +2 -1
  13. package/lib/commonjs/components/Image.js +2 -17
  14. package/lib/commonjs/components/Layout.js +19 -40
  15. package/lib/commonjs/components/Picker/Picker.js +4 -9
  16. package/lib/commonjs/components/Picker/PickerComponent.ios.js +11 -36
  17. package/lib/commonjs/components/Picker/PickerComponent.web.js +3 -20
  18. package/lib/commonjs/components/Portal/PortalManager.js +8 -34
  19. package/lib/commonjs/components/Pressable.js +2 -15
  20. package/lib/commonjs/components/ProgressBar.js +7 -37
  21. package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +1 -9
  22. package/lib/commonjs/components/ScreenContainer.js +4 -20
  23. package/lib/commonjs/components/StepIndicator.js +18 -57
  24. package/lib/commonjs/components/Surface.js +2 -14
  25. package/lib/commonjs/components/Switch.js +10 -19
  26. package/lib/commonjs/components/TextField.js +28 -76
  27. package/lib/commonjs/components/ToggleButton.js +2 -15
  28. package/lib/commonjs/components/Touchable.js +2 -15
  29. package/lib/module/components/AvatarEdit.js +4 -15
  30. package/lib/module/components/Button.js +10 -33
  31. package/lib/module/components/Carousel.js +8 -32
  32. package/lib/module/components/Checkbox/Checkbox.js +4 -25
  33. package/lib/module/components/Checkbox/CheckboxGroup.js +2 -16
  34. package/lib/module/components/Checkbox/CheckboxGroupRow.js +5 -24
  35. package/lib/module/components/CircularProgress.js +8 -28
  36. package/lib/module/components/DatePicker/DatePicker.js +13 -27
  37. package/lib/module/components/DeprecatedButton.js +3 -21
  38. package/lib/module/components/Elevation.js +2 -14
  39. package/lib/module/components/FieldSearchBarFull.js +2 -1
  40. package/lib/module/components/Image.js +2 -18
  41. package/lib/module/components/Layout.js +21 -42
  42. package/lib/module/components/NumberInput.js +3 -12
  43. package/lib/module/components/Picker/Picker.js +4 -10
  44. package/lib/module/components/Picker/PickerComponent.ios.js +11 -36
  45. package/lib/module/components/Picker/PickerComponent.web.js +3 -21
  46. package/lib/module/components/Portal/PortalConsumer.js +7 -22
  47. package/lib/module/components/RadioButton/RadioButtonRow.js +5 -24
  48. package/lib/module/components/ScreenContainer.js +4 -21
  49. package/lib/module/components/Switch.js +10 -21
  50. package/lib/module/components/Text.js +4 -50
  51. package/lib/module/components/TextField.js +28 -78
  52. package/lib/module/constants.js +2 -1
  53. package/lib/module/mappings/FieldSearchBarFull.js +1 -4
  54. package/lib/module/mappings/StarRating.js +2 -7
  55. package/package.json +3 -3
@@ -17,7 +17,9 @@ export const SEED_DATA = {
17
17
  }),
18
18
  fieldName: createFieldNameProp({
19
19
  defaultValue: "ratingValue",
20
+ // this is the name of the variable declared on the screen in Draftbit
20
21
  handlerPropName: "onPress",
22
+ // the change handler prop in this component
21
23
  valuePropName: "rating" // the value prop in this component
22
24
  }),
23
25
 
@@ -41,11 +43,4 @@ export const SEED_DATA = {
41
43
  defaultValue: "divider"
42
44
  })
43
45
  }
44
- };primary"
45
- }),
46
- inactiveColor: createColorProp({
47
- label: "Inactive Color",
48
- defaultValue: "divider"
49
- })
50
- }
51
46
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "46.6.0",
3
+ "version": "46.6.5-427e0d.2+427e0db",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@date-io/date-fns": "^1.3.13",
43
43
  "@draftbit/react-theme-provider": "^2.1.1",
44
- "@draftbit/types": "^46.6.0",
44
+ "@draftbit/types": "^46.6.5-427e0d.2+427e0db",
45
45
  "@material-ui/core": "^4.11.0",
46
46
  "@material-ui/pickers": "^3.2.10",
47
47
  "@react-native-community/slider": "4.2.3",
@@ -91,5 +91,5 @@
91
91
  ]
92
92
  ]
93
93
  },
94
- "gitHead": "4403cb452dfeff35e782f2eca66e87831b92473f"
94
+ "gitHead": "427e0dbd70a5afc4843e2b1fbe72ba415f0abbe9"
95
95
  }