@draftbit/ui 51.0.1-e56277.2 → 51.0.1-e67e91.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/ui",
3
- "version": "51.0.1-e56277.2+e562773",
3
+ "version": "51.0.1-e67e91.2+e67e913",
4
4
  "description": "Draftbit UI Library",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "types": "lib/typescript/src/index.d.ts",
@@ -43,9 +43,9 @@
43
43
  },
44
44
  "homepage": "https://github.com/draftbit/react-native-jigsaw#readme",
45
45
  "dependencies": {
46
- "@draftbit/core": "^51.0.1-e56277.2+e562773",
47
- "@draftbit/native": "^51.0.1-e56277.2+e562773",
48
- "@draftbit/theme": "^51.0.1-e56277.2+e562773",
46
+ "@draftbit/core": "^51.0.1-e67e91.2+e67e913",
47
+ "@draftbit/native": "^51.0.1-e67e91.2+e67e913",
48
+ "@draftbit/theme": "^51.0.1-e67e91.2+e67e913",
49
49
  "react-native-reanimated": "~3.10.1"
50
50
  },
51
51
  "jest": {
@@ -58,5 +58,5 @@
58
58
  "__mocks__"
59
59
  ]
60
60
  },
61
- "gitHead": "e562773bbaadf4a9ad9c8650d09286ae73568b63"
61
+ "gitHead": "e67e91363c34a158ba92ffe2ff3225b12eaf8283"
62
62
  }
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "./polyfillReanimatedWorkletInit";
2
2
  import { Icon } from "@draftbit/native";
3
3
  export { Icon, LinearGradient, WebView } from "@draftbit/native";
4
- export { flattenReactFragments, useDeepCompareEffect, useDeepCompareMemo, AudioPlayer, Avatar, Center, Circle, CircleImage, Container, CheckboxGroup, Divider, Provider, RadioButtonFieldGroup, RadioButtonGroup, Row, ScreenContainer, Spacer, Square, Stack, Surface, SVG, Switch, SwitchRow, NumberInput, Touchable, Pressable, useAuthState, DeckSwiper, DeckSwiperCard, Shadow, TabViewItem, Markdown, BottomSheet, YoutubePlayer, Table, TableRow, TableCell, SwipeableItemButton, SwipeableList, ProgressBar, ProgressCircle, RowHeadlineImageCaption, ActionSheet, ActionSheetItem, ActionSheetCancel, Swiper, SwiperItem, SectionList, SectionHeader, LinearProgress, CircularProgress, TextInput, VideoPlayer, PinInput, CustomPinInputCell, CustomPinInputText, AspectRatio, HStack, VStack, ZStack, PickerItem, AvoidKeyboardView, KeyboardAvoidingView, SimpleStyleFlashList, SimpleStyleFlatList, SimpleStyleKeyboardAwareScrollView, SimpleStyleMasonryFlashList, SimpleStyleScrollView, SimpleStyleSectionList, SimpleStyleSwipeableList, LoadingIndicator, LottieAnimation, Timer, } from "@draftbit/core";
4
+ export { flattenReactFragments, useDeepCompareEffect, useDeepCompareMemo, AudioPlayer, Avatar, Center, Circle, CircleImage, Container, CheckboxGroup, Divider, Provider, RadioButtonFieldGroup, RadioButtonGroup, Row, ScreenContainer, Spacer, Square, Stack, Surface, SVG, Switch, SwitchRow, NumberInput, Touchable, Pressable, useAuthState, DeckSwiper, DeckSwiperCard, Shadow, TabViewItem, Markdown, BottomSheet, YoutubePlayer, Table, TableRow, TableCell, SwipeableItemButton, SwipeableList, ProgressBar, ProgressCircle, RowHeadlineImageCaption, ActionSheet, ActionSheetItem, ActionSheetCancel, Swiper, SwiperItem, SectionList, SectionHeader, LinearProgress, CircularProgress, TextInput, VideoPlayer, PinInput, CustomPinInputCell, CustomPinInputText, AspectRatio, HStack, VStack, ZStack, PickerItem, AvoidKeyboardView, KeyboardAvoidingView, SimpleStyleFlashList, SimpleStyleFlatList, SimpleStyleKeyboardAwareScrollView, SimpleStyleMasonryFlashList, SimpleStyleScrollView, SimpleStyleSectionList, SimpleStyleSwipeableList, LoadingIndicator, LottieAnimation, Timer, ExpoImage, } from "@draftbit/core";
5
5
  export { DefaultTheme, withTheme, useChangeTheme, useTheme, createTheme, } from "@draftbit/theme";
6
6
  /**
7
7
  * Components with Injected Dependencies
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,iCAAiC,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAIjE,OAAO,EACL,qBAAqB,EACrB,oBAAoB,EACpB,kBAAkB,EAClB,WAAW,EACX,MAAM,EACN,MAAM,EACN,MAAM,EACN,WAAW,EACX,SAAS,EACT,aAAa,EACb,OAAO,EACP,QAAQ,EACR,qBAAqB,EACrB,gBAAgB,EAChB,GAAG,EACH,eAAe,EACf,MAAM,EACN,MAAM,EACN,KAAK,EACL,OAAO,EACP,GAAG,EACH,MAAM,EACN,SAAS,EACT,WAAW,EACX,SAAS,EACT,SAAS,EACT,YAAY,EACZ,UAAU,EACV,cAAc,EACd,MAAM,EACN,WAAW,EACX,QAAQ,EACR,WAAW,EACX,aAAa,EACb,KAAK,EACL,QAAQ,EACR,SAAS,EACT,mBAAmB,EACnB,aAAa,EACb,WAAW,EACX,cAAc,EACd,uBAAuB,EACvB,WAAW,EACX,eAAe,EACf,iBAAiB,EACjB,MAAM,EACN,UAAU,EACV,WAAW,EACX,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,SAAS,EACT,WAAW,EACX,QAAQ,EACR,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,EACX,MAAM,EACN,MAAM,EACN,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,kCAAkC,EAClC,2BAA2B,EAC3B,qBAAqB,EACrB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EACf,KAAK,GACN,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,YAAY,EACZ,SAAS,EACT,cAAc,EACd,QAAQ,EAIR,WAAW,GACZ,MAAM,iBAAiB,CAAC;AAEz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
81
82
  } from "@draftbit/core";
82
83
 
83
84
  export {
package/README.md DELETED
@@ -1,38 +0,0 @@
1
- # @draftbit/ui
2
-
3
- The user interface library that powers [Draftbit](https://draftbit.com) Apps.
4
-
5
- `@draftbit/ui` is based on [React Native Paper](https://github.com/callstack/react-native-paper) but allows us to extend
6
- components to empower our users with more features ⚡️
7
-
8
- ## Differences between React Native Paper and Jigsaw
9
-
10
- - Embedded themes. Jigsaw has a very robust theming system that is directly
11
- integrated into our builder. React Native Paper is based on Material Design
12
- where ours is more generalized for both iOS and Android. That doesn't make it
13
- any better or worse, it just means ours is directly integrated into our
14
- product and by controlling the library we can make changes as often as we need
15
-
16
- - Different components & use cases. React Native Paper is really great for
17
- building Material-style apps where we use Jigsaw to build any type of app.
18
- You'll find a different series of components for different use cases.
19
-
20
- We love React Native Paper and even plan on supporting it one day as a different
21
- component library, Jigsaw just allows us to deeply embed components, props,
22
- themes directly into the Draftbit platform
23
-
24
- ## Installation
25
-
26
- ```console
27
- npm install @draftbit/ui
28
- ```
29
-
30
- ## Contributing
31
-
32
- This package is developed in a monorepository. See the
33
- [root readme](https://github.com/draftbit/react-native-jigsaw) for details on
34
- contributing.
35
-
36
- ## License
37
-
38
- MIT