@draftbit/core 47.0.1-2935a8.2 → 47.0.1-2aab54.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 (80) hide show
  1. package/lib/commonjs/components/Checkbox/CheckboxGroup.js +17 -2
  2. package/lib/commonjs/index.js +25 -82
  3. package/lib/commonjs/mappings/FlashList.js +2 -38
  4. package/lib/commonjs/mappings/FlatList.js +0 -9
  5. package/lib/commonjs/mappings/NativeBase/AlertDialog.js +93 -0
  6. package/lib/commonjs/mappings/NativeBase/Button.js +84 -0
  7. package/lib/commonjs/mappings/NativeBase/DataDisplay.js +48 -0
  8. package/lib/commonjs/mappings/NativeBase/Feedback.js +74 -0
  9. package/lib/commonjs/mappings/NativeBase/Layout.js +114 -0
  10. package/lib/commonjs/mappings/NativeBase/Media.js +49 -0
  11. package/lib/commonjs/mappings/NativeBase/Menu.js +111 -0
  12. package/lib/commonjs/mappings/NativeBase/Modal.js +93 -0
  13. package/lib/commonjs/mappings/NativeBase/Other.js +94 -0
  14. package/lib/commonjs/mappings/NativeBase/Popover.js +99 -0
  15. package/lib/module/index.js +121 -31
  16. package/lib/module/mappings/FlashList.js +3 -39
  17. package/lib/module/mappings/FlatList.js +1 -10
  18. package/lib/module/mappings/NativeBase/AlertDialog.js +86 -0
  19. package/lib/module/mappings/NativeBase/Button.js +86 -0
  20. package/lib/module/mappings/NativeBase/DataDisplay.js +41 -0
  21. package/lib/module/mappings/NativeBase/Feedback.js +67 -0
  22. package/lib/module/mappings/NativeBase/Layout.js +107 -0
  23. package/lib/module/mappings/NativeBase/Media.js +42 -0
  24. package/lib/module/mappings/NativeBase/Menu.js +104 -0
  25. package/lib/module/mappings/NativeBase/Modal.js +86 -0
  26. package/lib/module/mappings/NativeBase/Other.js +87 -0
  27. package/lib/module/mappings/NativeBase/Popover.js +92 -0
  28. package/lib/typescript/src/index.d.ts +102 -29
  29. package/lib/typescript/src/index.d.ts.map +1 -1
  30. package/lib/typescript/src/mappings/FlashList.d.ts +2 -130
  31. package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -1
  32. package/lib/typescript/src/mappings/FlatList.d.ts +0 -51
  33. package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -1
  34. package/lib/typescript/src/mappings/NativeBase/AlertDialog.d.ts +134 -0
  35. package/lib/typescript/src/mappings/NativeBase/AlertDialog.d.ts.map +1 -0
  36. package/lib/typescript/src/mappings/NativeBase/Button.d.ts +1 -0
  37. package/lib/typescript/src/mappings/NativeBase/Button.d.ts.map +1 -0
  38. package/lib/typescript/src/mappings/NativeBase/DataDisplay.d.ts +70 -0
  39. package/lib/typescript/src/mappings/NativeBase/DataDisplay.d.ts.map +1 -0
  40. package/lib/typescript/src/mappings/NativeBase/Feedback.d.ts +2 -0
  41. package/lib/typescript/src/mappings/NativeBase/Feedback.d.ts.map +1 -0
  42. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +146 -0
  43. package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +1 -0
  44. package/lib/typescript/src/mappings/NativeBase/Media.d.ts +48 -0
  45. package/lib/typescript/src/mappings/NativeBase/Media.d.ts.map +1 -0
  46. package/lib/typescript/src/mappings/NativeBase/Menu.d.ts +227 -0
  47. package/lib/typescript/src/mappings/NativeBase/Menu.d.ts.map +1 -0
  48. package/lib/typescript/src/mappings/NativeBase/Modal.d.ts +133 -0
  49. package/lib/typescript/src/mappings/NativeBase/Modal.d.ts.map +1 -0
  50. package/lib/typescript/src/mappings/NativeBase/Other.d.ts +179 -0
  51. package/lib/typescript/src/mappings/NativeBase/Other.d.ts.map +1 -0
  52. package/lib/typescript/src/mappings/NativeBase/Popover.d.ts +136 -0
  53. package/lib/typescript/src/mappings/NativeBase/Popover.d.ts.map +1 -0
  54. package/package.json +3 -3
  55. package/src/index.js +112 -31
  56. package/src/index.tsx +123 -43
  57. package/src/mappings/FlashList.js +31 -75
  58. package/src/mappings/FlashList.ts +30 -77
  59. package/src/mappings/FlatList.js +1 -15
  60. package/src/mappings/FlatList.ts +0 -16
  61. package/src/mappings/NativeBase/AlertDialog.js +103 -0
  62. package/src/mappings/NativeBase/AlertDialog.ts +118 -0
  63. package/src/mappings/NativeBase/Button.js +84 -0
  64. package/src/mappings/NativeBase/Button.ts +83 -0
  65. package/src/mappings/NativeBase/DataDisplay.js +54 -0
  66. package/src/mappings/NativeBase/DataDisplay.ts +64 -0
  67. package/src/mappings/NativeBase/Feedback.js +89 -0
  68. package/src/mappings/NativeBase/Feedback.ts +100 -0
  69. package/src/mappings/NativeBase/Layout.js +140 -0
  70. package/src/mappings/NativeBase/Layout.ts +152 -0
  71. package/src/mappings/NativeBase/Media.js +56 -0
  72. package/src/mappings/NativeBase/Media.ts +65 -0
  73. package/src/mappings/NativeBase/Menu.js +134 -0
  74. package/src/mappings/NativeBase/Menu.ts +150 -0
  75. package/src/mappings/NativeBase/Modal.js +103 -0
  76. package/src/mappings/NativeBase/Modal.ts +118 -0
  77. package/src/mappings/NativeBase/Other.js +123 -0
  78. package/src/mappings/NativeBase/Other.ts +139 -0
  79. package/src/mappings/NativeBase/Popover.js +123 -0
  80. package/src/mappings/NativeBase/Popover.ts +136 -0
@@ -0,0 +1,42 @@
1
+ import { COMPONENT_TYPES, StylesPanelSections, createImageProp, createTextEnumProp, createTextProp } from "@draftbit/types";
2
+ const NB_MEDIA_PROPS = {
3
+ category: COMPONENT_TYPES.NBLayout,
4
+ packageName: "native-base",
5
+ doc_link: "https://www.npmjs.com/package/@expo/html-elements",
6
+ code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
7
+ stylesPanelSections: [StylesPanelSections.LayoutFlexItems, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.LayoutContent, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
8
+ layout: {},
9
+ triggers: {}
10
+ };
11
+ const AVATAR_PROPS = {
12
+ props: {
13
+ source: createImageProp(),
14
+ size: createTextEnumProp({
15
+ label: "Size",
16
+ description: "The size of the avatar.",
17
+ options: ["xs", "sm", "md", "lg", "xl", "2xl"]
18
+ }),
19
+ wrapperRef: createTextProp({
20
+ label: "Reference",
21
+ description: "Reference to be attached to the Avatar wrapper.",
22
+ defaultValue: "User Avatar"
23
+ })
24
+ }
25
+ };
26
+ export const SEED_DATA = [{
27
+ name: "Avatar",
28
+ tag: "Avatar",
29
+ description: "An image that represents the user",
30
+ ...NB_MEDIA_PROPS,
31
+ ...AVATAR_PROPS
32
+ }, {
33
+ name: "Avatar Badge",
34
+ tag: "AvatarBadge",
35
+ description: "A wrapper that displays its content on the bottom right corner of the avatar.",
36
+ ...NB_MEDIA_PROPS
37
+ }, {
38
+ name: "Avatar Group",
39
+ tag: "AvatarGroup",
40
+ description: "A wrapper to stack multiple avatars together",
41
+ ...NB_MEDIA_PROPS
42
+ }];
@@ -0,0 +1,104 @@
1
+ import { COMPONENT_TYPES, createActionProp, createStaticBoolProp, createTextEnumProp, StylesPanelSections, Triggers, createStaticNumberProp, createDisabledProp, createTextProp } from "@draftbit/types";
2
+ const SHARED_SEED_DATA = {
3
+ category: COMPONENT_TYPES.NBMenu,
4
+ packageName: "native-base",
5
+ stylesPanelSections: [StylesPanelSections.LayoutFlexItems, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.LayoutContent, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
6
+ layout: {},
7
+ allowChildren: true
8
+ };
9
+ export const SEED_DATA = [{
10
+ name: "Menu",
11
+ tag: "Menu",
12
+ description: "Menu generates a dropdown menu along with the menu button design pattern.",
13
+ ...SHARED_SEED_DATA,
14
+ triggers: [Triggers.OnOpen, Triggers.OnClose],
15
+ props: {
16
+ onOpen: createActionProp(),
17
+ onClose: createActionProp(),
18
+ closeOnSelect: createStaticBoolProp({
19
+ label: "Close on Select",
20
+ description: "Close the menu when an item is selected",
21
+ defaultValue: true
22
+ }),
23
+ defaultIsOpen: createStaticBoolProp({
24
+ label: "Default Is Open",
25
+ description: "Whether the menu is open by default",
26
+ defaultValue: false
27
+ }),
28
+ placement: createTextEnumProp({
29
+ label: "Placement",
30
+ description: "The placement of the menu",
31
+ options: ["bottom", "top", "left", "right", "top left", "top right", "bottom left", "bottom right", "right bottom", "right top", "left bottom", "left top"],
32
+ defaultValue: "bottom left"
33
+ }),
34
+ offset: createStaticNumberProp({
35
+ label: "Offset",
36
+ description: "The distance applied along the main axis between the trigger and the menu."
37
+ }),
38
+ crossOffset: createStaticNumberProp({
39
+ label: "Cross Offset",
40
+ description: "The distance applied along the cross axis between the trigger and the menu."
41
+ }),
42
+ shouldFlip: createStaticBoolProp({
43
+ label: "Should Flip",
44
+ description: "Whether popover should flip when it reaches the edge of the screen.",
45
+ defaultValue: true
46
+ })
47
+ }
48
+ }, {
49
+ name: "Menu Item",
50
+ tag: "Menu.Item",
51
+ description: "An individual item in the menu.",
52
+ ...SHARED_SEED_DATA,
53
+ props: {
54
+ isDisabled: createDisabledProp(),
55
+ textValue: createTextProp({
56
+ label: "Text Value",
57
+ description: "The text value available for the typeahead menu feature."
58
+ })
59
+ }
60
+ }, {
61
+ name: "Menu Group",
62
+ tag: "Menu.Group",
63
+ description: "A wrapper to group related menu items.",
64
+ ...SHARED_SEED_DATA,
65
+ props: {
66
+ title: createTextProp({
67
+ label: "Title",
68
+ description: "The title of the menu group."
69
+ })
70
+ }
71
+ }, {
72
+ name: "Menu Option Group",
73
+ tag: "Menu.OptionGroup",
74
+ description: "A wrapper for checkable menu items (radio and checkbox).",
75
+ ...SHARED_SEED_DATA,
76
+ triggers: [Triggers.OnChange],
77
+ props: {
78
+ type: createTextEnumProp({
79
+ label: "Type",
80
+ description: "The type of the menu option group.",
81
+ options: ["checkbox", "radio"],
82
+ defaultValue: "checkbox"
83
+ }),
84
+ onChange: createActionProp()
85
+ }
86
+ }, {
87
+ name: "Menu Item Option",
88
+ tag: "Menu.ItemOption",
89
+ description: "The checkable menu item to be used with Menu Option Group.",
90
+ ...SHARED_SEED_DATA,
91
+ props: {
92
+ isDisabled: createDisabledProp(),
93
+ textValue: createTextProp({
94
+ label: "Text Value",
95
+ description: "The text value available for the typeahead menu feature."
96
+ })
97
+ }
98
+ }, {
99
+ name: "Menu Trigger",
100
+ tag: "Menu.Trigger",
101
+ description: "Used to wrap the reference (or trigger) element.",
102
+ ...SHARED_SEED_DATA,
103
+ props: {}
104
+ }];
@@ -0,0 +1,86 @@
1
+ import { COMPONENT_TYPES, createActionProp, createBoolProp, createStaticBoolProp, createTextEnumProp, StylesPanelSections, Triggers } from "@draftbit/types";
2
+ const SHARED_SEED_DATA = {
3
+ category: COMPONENT_TYPES.NBModal,
4
+ packageName: "native-base",
5
+ stylesPanelSections: [StylesPanelSections.LayoutFlexItems, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.LayoutContent, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects]
6
+ };
7
+ export const SEED_DATA = [{
8
+ name: "Modal",
9
+ tag: "Modal",
10
+ description: "A Modal is an overlay on the primary window or another dialog window. Content behind the modal dialog remains inert and users cannot interact with it.",
11
+ ...SHARED_SEED_DATA,
12
+ layout: {},
13
+ triggers: [Triggers.OnClose, Triggers.OnOpen],
14
+ props: {
15
+ isOpen: createBoolProp({
16
+ label: "Is Open",
17
+ description: "If true, the modal will open. Useful for controllable state behavior."
18
+ }),
19
+ defaultIsOpen: createStaticBoolProp({
20
+ label: "Default Is Open",
21
+ description: "If true, the modal will be opened by default."
22
+ }),
23
+ avoidKeyboard: createStaticBoolProp({
24
+ label: "Avoid Keyboard",
25
+ description: "If true and the keyboard is opened, the modal will move up equivalent to the keyboard height.",
26
+ defaultValue: false
27
+ }),
28
+ closeOnOverlayClick: createStaticBoolProp({
29
+ label: "Close on Overlay Click",
30
+ description: "If true, the modal will close when the overlay is clicked.",
31
+ defaultValue: true
32
+ }),
33
+ isKeyboardDismissable: createStaticBoolProp({
34
+ label: "Is Keyboard Dismissable",
35
+ description: "If true, the modal will close when the keyboard is dismissed.",
36
+ defaultValue: true
37
+ }),
38
+ backdropVisible: createStaticBoolProp({
39
+ label: "Backdrop Visible",
40
+ description: "If true, the backdrop element is visible.",
41
+ defaultValue: true
42
+ }),
43
+ animationPreset: createTextEnumProp({
44
+ label: "Animation Preset",
45
+ description: "The animation preset to use for the modal.",
46
+ options: ["slide", "fade", "none"],
47
+ defaultValue: "fade"
48
+ }),
49
+ useRNModal: createStaticBoolProp({
50
+ label: "Use RN Modal",
51
+ description: "If true, the modal will use the RN Modal component."
52
+ }),
53
+ onOpen: createActionProp(),
54
+ onClose: createActionProp()
55
+ }
56
+ }, {
57
+ name: "Modal Content",
58
+ tag: "Modal.Content",
59
+ description: "The container for the modal dialog's content.",
60
+ ...SHARED_SEED_DATA,
61
+ props: {}
62
+ }, {
63
+ name: "Modal Header",
64
+ tag: "Modal.Header",
65
+ description: "The header that labels the modal dialog.",
66
+ ...SHARED_SEED_DATA,
67
+ props: {}
68
+ }, {
69
+ name: "Modal Footer",
70
+ tag: "Modal.Footer",
71
+ description: "The footer that houses the modal actions.",
72
+ ...SHARED_SEED_DATA,
73
+ props: {}
74
+ }, {
75
+ name: "Modal Body",
76
+ tag: "Modal.Body",
77
+ description: "A wrapper that houses the modal's main content",
78
+ ...SHARED_SEED_DATA,
79
+ props: {}
80
+ }, {
81
+ name: "Modal Close Button",
82
+ tag: "Modal.CloseButton",
83
+ description: "The button that closes the modal.",
84
+ ...SHARED_SEED_DATA,
85
+ props: {}
86
+ }];
@@ -0,0 +1,87 @@
1
+ import { COMPONENT_TYPES, StylesPanelSections, createTextEnumProp, createTextProp, createIconProp, createBoolProp, createDisabledProp, createStaticNumberProp, createStaticBoolProp, Triggers, createActionProp } from "@draftbit/types";
2
+ export const SEED_DATA = [{
3
+ name: "FAB",
4
+ tag: "Fab",
5
+ description: "A floating action button (FAB) is a circular icon button that hovers over content to execute a primary action in the application.",
6
+ category: COMPONENT_TYPES.NBForms,
7
+ packageName: "native-base",
8
+ doc_link: "https://www.npmjs.com/package/@expo/html-elements",
9
+ code_link: "https://github.com/expo/expo/tree/master/packages/html-elements",
10
+ stylesPanelSections: [StylesPanelSections.LayoutFlexItems, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.LayoutContent, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
11
+ layout: {},
12
+ triggers: {},
13
+ props: {
14
+ placement: createTextEnumProp({
15
+ label: "Placement",
16
+ description: "The placement of the Fab relative to the device.",
17
+ options: ["bottom-right", "top-right", "top-left", "bottom-left"],
18
+ defaultValue: "bottom-right"
19
+ }),
20
+ label: createTextProp({
21
+ label: "Label",
22
+ description: "The Text to be displayed in Fab."
23
+ }),
24
+ icon: createIconProp({
25
+ label: "Icon",
26
+ description: "Icon to be displayed in Fab. "
27
+ })
28
+ }
29
+ }, {
30
+ name: "Tooltip",
31
+ tag: "Tooltip",
32
+ description: "A tooltip provides a brief, informative message when a user interacts with an element. Methods of tooltip initiation include: through a mouse-hover gesture or a keyboard-hover gesture.",
33
+ category: COMPONENT_TYPES.NBOther,
34
+ packageName: "native-base",
35
+ allowChildren: true,
36
+ stylesPanelSections: [StylesPanelSections.LayoutFlexItems, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.LayoutContent, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
37
+ layout: {},
38
+ triggers: [Triggers.OnOpen, Triggers.OnClose],
39
+ props: {
40
+ label: createTextProp({
41
+ label: "Label",
42
+ description: "The Text to be displayed in Tooltip."
43
+ }),
44
+ isOpen: createBoolProp({
45
+ label: "Is Open",
46
+ description: "Whether the tooltip is open or not."
47
+ }),
48
+ isDisabled: createDisabledProp(),
49
+ defaultIsOpen: createStaticBoolProp({
50
+ label: "Default Is Open",
51
+ description: "Whether the tooltip is open by default",
52
+ defaultValue: false
53
+ }),
54
+ onOpen: createActionProp(),
55
+ onClose: createActionProp(),
56
+ openDelay: createStaticNumberProp({
57
+ label: "Open Delay",
58
+ description: "Delay in ms before tooltip opens",
59
+ defaultValue: 0
60
+ }),
61
+ closeDelay: createStaticNumberProp({
62
+ label: "Close Delay",
63
+ description: "Delay in ms before tooltip closes",
64
+ defaultValue: 0
65
+ }),
66
+ placement: createTextEnumProp({
67
+ label: "Placement",
68
+ description: "The placement of the menu",
69
+ options: ["bottom", "top", "left", "right", "top left", "top right", "bottom left", "bottom right", "right bottom", "right top", "left bottom", "left top"],
70
+ defaultValue: "bottom"
71
+ }),
72
+ arrowSize: createStaticNumberProp({
73
+ label: "Arrow Size",
74
+ description: "The size of the arrow",
75
+ defaultValue: 12
76
+ }),
77
+ hasArrow: createStaticBoolProp({
78
+ label: "Has Arrow",
79
+ description: "Whether the tooltip has an arrow",
80
+ defaultValue: false
81
+ }),
82
+ offset: createStaticNumberProp({
83
+ label: "Offset",
84
+ description: "The distance between the triggere and the tooltip."
85
+ })
86
+ }
87
+ }];
@@ -0,0 +1,92 @@
1
+ import { COMPONENT_TYPES, createActionProp, createBoolProp, createStaticBoolProp, createTextEnumProp, StylesPanelSections } from "@draftbit/types";
2
+ const SHARED_SEED_DATA = {
3
+ category: COMPONENT_TYPES.NBPopover,
4
+ packageName: "native-base",
5
+ stylesPanelSections: [StylesPanelSections.LayoutFlexItems, StylesPanelSections.LayoutSelectedItem, StylesPanelSections.LayoutContent, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Borders, StylesPanelSections.Effects],
6
+ layout: {},
7
+ triggers: {}
8
+ };
9
+ export const SEED_DATA = [{
10
+ name: "Popover",
11
+ tag: "Popover",
12
+ description: "Popover floats around a trigger. It is a non-modal dialog used to provide contextual information to the user. It should be paired with a pressable trigger element.",
13
+ ...SHARED_SEED_DATA,
14
+ allowChildren: true,
15
+ props: {
16
+ isOpen: createBoolProp({
17
+ label: "Is Open",
18
+ description: "If true, the popover is open. Useful for controlling the open state."
19
+ }),
20
+ defaultIsOpen: createStaticBoolProp({
21
+ label: "Default Is Open",
22
+ description: "If true, the popover will be opened by default."
23
+ }),
24
+ trapFocus: createStaticBoolProp({
25
+ label: "Trap Focus",
26
+ description: "Whether popover should trap focus."
27
+ }),
28
+ shouldFlip: createStaticBoolProp({
29
+ label: "Should Flip",
30
+ description: "Whether popover should flip when it reaches the edge of the screen.",
31
+ defaultValue: true
32
+ }),
33
+ shouldOverlapWithTrigger: createStaticBoolProp({
34
+ label: "Should Overlap With Trigger",
35
+ description: "Whether popover should overlap with trigger.",
36
+ defaultValue: false
37
+ }),
38
+ isKeyboardDismissable: createStaticBoolProp({
39
+ label: "Is Keyboard Dismissable",
40
+ description: "If true, the popover will close when the keyboard is dismissed.",
41
+ defaultValue: true
42
+ }),
43
+ placement: createTextEnumProp({
44
+ label: "Placement",
45
+ description: "The placement of the popover",
46
+ options: ["bottom", "top", "left", "right", "top left", "top right", "bottom left", "bottom right", "right bottom", "right top", "left bottom", "left top"],
47
+ defaultValue: "bottom left"
48
+ }),
49
+ useRNModal: createStaticBoolProp({
50
+ label: "Use RN Modal",
51
+ description: "If true, the popover will use the RN Modal component."
52
+ }),
53
+ onOpen: createActionProp(),
54
+ onClose: createActionProp()
55
+ }
56
+ }, {
57
+ name: "Popover Arrow",
58
+ tag: "Popover.Arrow",
59
+ description: "The popover arrow.",
60
+ ...SHARED_SEED_DATA,
61
+ props: {}
62
+ }, {
63
+ name: "Popover Body",
64
+ tag: "Popover.Body",
65
+ description: "The body of the popover.",
66
+ ...SHARED_SEED_DATA,
67
+ props: {}
68
+ }, {
69
+ name: "Popover Content",
70
+ tag: "Popover.Content",
71
+ description: "The popover itself.",
72
+ ...SHARED_SEED_DATA,
73
+ props: {}
74
+ }, {
75
+ name: "Popover Close Button",
76
+ tag: "Popover.CloseButton",
77
+ description: "The button that closes the popover.",
78
+ ...SHARED_SEED_DATA,
79
+ props: {}
80
+ }, {
81
+ name: "Popover Header",
82
+ tag: "Popover.Header",
83
+ description: "The header of the popover.",
84
+ ...SHARED_SEED_DATA,
85
+ props: {}
86
+ }, {
87
+ name: "Popover Trigger",
88
+ tag: "Popover.Trigger",
89
+ description: "Used to wrap the reference (or trigger) element.",
90
+ ...SHARED_SEED_DATA,
91
+ props: {}
92
+ }];
@@ -2,50 +2,123 @@ export { injectIcon } from "./interfaces/Icon";
2
2
  export { withTheme, ThemeProvider } from "./theming";
3
3
  export { default as Provider } from "./Provider";
4
4
  export { default as DefaultTheme } from "./styles/DefaultTheme";
5
- export { Link } from "./components/Text";
5
+ /** Replaced By NativeBase
6
+ * export { default as Avatar } from "./components/CircleImage";
7
+ * export { default as Container } from "./components/Container";
8
+ * export { default as FAB } from "./components/FAB";
9
+ * export {
10
+ Center,
11
+ Circle,
12
+ Square,
13
+ Row,
14
+ Stack,
15
+ Spacer,
16
+ } from "./components/Layout";
17
+ */
18
+ export { default as ScreenContainer } from "./components/ScreenContainer";
6
19
  export { default as Banner } from "./components/Banner";
7
20
  export { Button, ButtonSolid, ButtonOutline } from "./components/Button";
8
- export { default as Avatar } from "./components/CircleImage";
9
- export { default as AvatarEdit } from "./components/AvatarEdit";
10
- export { default as Card } from "./components/Card";
11
- export { default as Carousel } from "./components/Carousel";
12
- export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
13
- export { default as CircleImage } from "./components/CircleImage";
14
- export { default as Container } from "./components/Container";
15
- export { default as Divider } from "./components/Divider";
16
- export { default as FAB } from "./components/FAB";
17
- export { default as FieldSearchBarFull } from "./components/FieldSearchBarFull";
21
+ export { Link } from "./components/Text";
18
22
  export { default as IconButton } from "./components/IconButton";
19
- export { default as Image } from "./components/Image";
20
- export { default as SVG } from "./components/SVG";
23
+ export { default as Touchable } from "./components/Touchable";
24
+ export { default as ToggleButton } from "./components/ToggleButton";
25
+ export { default as DatePicker } from "./components/DatePicker/DatePicker";
21
26
  export { default as NumberInput } from "./components/NumberInput";
22
- export { default as ScreenContainer } from "./components/ScreenContainer";
27
+ export { default as TextField } from "./components/TextField";
28
+ export { default as FieldSearchBarFull } from "./components/FieldSearchBarFull";
29
+ export { default as Picker } from "./components/Picker/Picker";
30
+ export { Checkbox, CheckboxGroup, CheckboxRow } from "./components/Checkbox";
31
+ export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
32
+ export { default as Slider } from "./components/Slider";
33
+ export { default as Stepper } from "./components/Stepper";
23
34
  export { default as StarRating } from "./components/StarRating";
24
- export { default as Surface } from "./components/Surface";
25
35
  export { default as Switch, SwitchRow } from "./components/Switch";
26
- export { default as TextField } from "./components/TextField";
27
- export { default as ToggleButton } from "./components/ToggleButton";
28
- export { default as Touchable } from "./components/Touchable";
36
+ export { default as SVG } from "./components/SVG";
37
+ export { default as Image } from "./components/Image";
38
+ export { default as AvatarEdit } from "./components/AvatarEdit";
39
+ export { default as CircleImage } from "./components/CircleImage";
40
+ export { Swiper, SwiperItem } from "./components/Swiper";
29
41
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
42
+ export { default as Surface } from "./components/Surface";
30
43
  export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/ActionSheet";
31
- export { Swiper, SwiperItem } from "./components/Swiper";
32
- export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
33
- export { RadioButton, RadioButtonGroup, RadioButtonRow, RadioButtonFieldGroup, } from "./components/RadioButton/index";
34
- export { default as CardBlock } from "./components/CardBlock";
35
- export { default as CardContainer } from "./components/CardContainer";
36
- export { default as CardContainerRating } from "./components/CardContainerRating";
37
- export { default as CardInline } from "./components/CardInline";
38
- export { default as DatePicker } from "./components/DatePicker/DatePicker";
44
+ export { default as Carousel } from "./components/Carousel";
45
+ export { default as Divider } from "./components/Divider";
39
46
  export { default as HeaderLarge } from "./components/HeaderLarge";
40
47
  export { default as HeaderMedium } from "./components/HeaderMedium";
41
48
  export { default as HeaderOverline } from "./components/HeaderOverline";
42
- export { default as Picker } from "./components/Picker/Picker";
43
49
  export { default as ProgressBar } from "./components/ProgressBar";
44
50
  export { default as ProgressCircle } from "./components/ProgressCircle";
45
51
  export { default as RowBodyIcon } from "./components/RowBodyIcon";
46
52
  export { default as RowHeadlineImageCaption } from "./components/RowHeadlineImageCaption";
47
53
  export { default as RowHeadlineImageIcon } from "./components/RowHeadlineImageIcon";
48
- export { default as Slider } from "./components/Slider";
49
- export { default as Stepper } from "./components/Stepper";
54
+ export { default as Card } from "./components/Card";
55
+ export { default as CardBlock } from "./components/CardBlock";
56
+ export { default as CardContainer } from "./components/CardContainer";
57
+ export { default as CardContainerRating } from "./components/CardContainerRating";
58
+ export { default as CardInline } from "./components/CardInline";
50
59
  export { useAuthState } from "./components/useAuthState";
60
+ /**
61
+ * NativeBase Components Jan 2023
62
+ *
63
+ * ALERT
64
+ * - AlertDialog
65
+ * - AlertDialog.Header
66
+ * - AlertDialog.Body
67
+ * - AlertDialog.Footer
68
+ * - AlertDialog.Content
69
+ * - AlertDialog.CloseButton
70
+ *
71
+ * FORMS
72
+ * - Button -- COMMENTED OUT
73
+ * - Button.Group -- COMMENTED OUT
74
+ * - Fab
75
+ *
76
+ * DATA DISPLAY
77
+ * - Badge
78
+ * - Divider
79
+ *
80
+ * FEEDBACK
81
+ * - Alert
82
+ * - Alert.Icon
83
+ * - Progress
84
+ *
85
+ * LAYOUT
86
+ * - AspectRatio
87
+ * - Box
88
+ * - Center
89
+ * - Square
90
+ * - Circle
91
+ * - Column
92
+ * - Container
93
+ * - Flex
94
+ * - Spacer
95
+ * - Row
96
+ * - Stack
97
+ * - ZStack
98
+ *
99
+ * MEDIA
100
+ * - Avatar
101
+ * - Avatar.Badge
102
+ * - Avatar.Group
103
+ *
104
+ * MENU
105
+ * - Menu
106
+ * - Menu.Item
107
+ * - Menu.Group
108
+ * - Menu.OptionGroup
109
+ * - Menu.ItemOption
110
+ * - Menu.Trigger
111
+ *
112
+ * MODAL
113
+ * - Modal
114
+ * - Modal.Content
115
+ * - Modal.Header
116
+ * - Modal.Footer
117
+ * - Modal.Body
118
+ * - Modal.CloseButton
119
+ *
120
+ * OTHER
121
+ * - Tooltip
122
+ *
123
+ * */
51
124
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEhE,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,SAAS,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