react-native-hold-menu-actions 0.1.13 → 0.1.14
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA","sourcesContent":["export { default as HoldItem } from './components/holdItem';\nexport { default as HoldMenuProvider } from './components/provider';\nexport { default as HoldMenuFlatList } from './components/flatList';\nexport { default as HoldMenuIcon } from './components/icon';\n"]}
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AACA;;AACA;;AACA","sourcesContent":["export { default as HoldItem } from './components/holdItem';\nexport { default as HoldMenuProvider } from './components/provider';\nexport { default as HoldMenuFlatList } from './components/flatList';\nexport { default as HoldMenuIcon } from './components/icon';\n\nexport type { HoldItemProps } from './components/holdItem/types';\nexport type {\n MenuItemProps,\n CustomViewProps,\n RenderCustomView,\n} from './components/menu/types';\n"]}
|
package/lib/module/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":["default","HoldItem","HoldMenuProvider","HoldMenuFlatList","HoldMenuIcon"],"mappings":"AAAA,SAASA,OAAO,IAAIC,QAApB,QAAoC,uBAApC;AACA,SAASD,OAAO,IAAIE,gBAApB,QAA4C,uBAA5C;AACA,SAASF,OAAO,IAAIG,gBAApB,QAA4C,uBAA5C;AACA,SAASH,OAAO,IAAII,YAApB,QAAwC,mBAAxC","sourcesContent":["export { default as HoldItem } from './components/holdItem';\nexport { default as HoldMenuProvider } from './components/provider';\nexport { default as HoldMenuFlatList } from './components/flatList';\nexport { default as HoldMenuIcon } from './components/icon';\n"]}
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":["default","HoldItem","HoldMenuProvider","HoldMenuFlatList","HoldMenuIcon"],"mappings":"AAAA,SAASA,OAAO,IAAIC,QAApB,QAAoC,uBAApC;AACA,SAASD,OAAO,IAAIE,gBAApB,QAA4C,uBAA5C;AACA,SAASF,OAAO,IAAIG,gBAApB,QAA4C,uBAA5C;AACA,SAASH,OAAO,IAAII,YAApB,QAAwC,mBAAxC","sourcesContent":["export { default as HoldItem } from './components/holdItem';\nexport { default as HoldMenuProvider } from './components/provider';\nexport { default as HoldMenuFlatList } from './components/flatList';\nexport { default as HoldMenuIcon } from './components/icon';\n\nexport type { HoldItemProps } from './components/holdItem/types';\nexport type {\n MenuItemProps,\n CustomViewProps,\n RenderCustomView,\n} from './components/menu/types';\n"]}
|
|
@@ -135,15 +135,7 @@ type HoldItemBaseProps = {
|
|
|
135
135
|
longPressMinDurationMs?: number;
|
|
136
136
|
};
|
|
137
137
|
|
|
138
|
-
export type
|
|
139
|
-
items: MenuItemProps[];
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export type HoldItemWithCustomView = HoldItemBaseProps & {
|
|
143
|
-
renderCustomView: RenderCustomView;
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
export type HoldItemProps = HoldItemWithItems | HoldItemWithCustomView;
|
|
138
|
+
export type HoldItemProps = HoldItemBaseProps;
|
|
147
139
|
|
|
148
140
|
export type GestureHandlerProps = {
|
|
149
141
|
children: React.ReactElement | React.ReactElement[];
|
|
@@ -2,3 +2,5 @@ export { default as HoldItem } from './components/holdItem';
|
|
|
2
2
|
export { default as HoldMenuProvider } from './components/provider';
|
|
3
3
|
export { default as HoldMenuFlatList } from './components/flatList';
|
|
4
4
|
export { default as HoldMenuIcon } from './components/icon';
|
|
5
|
+
export type { HoldItemProps } from './components/holdItem/types';
|
|
6
|
+
export type { MenuItemProps, CustomViewProps, RenderCustomView, } from './components/menu/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-hold-menu-actions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.14",
|
|
4
4
|
"description": "A performant, easy to use hold to open context menu for React Native powered by Reanimated.",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -135,15 +135,7 @@ type HoldItemBaseProps = {
|
|
|
135
135
|
longPressMinDurationMs?: number;
|
|
136
136
|
};
|
|
137
137
|
|
|
138
|
-
export type
|
|
139
|
-
items: MenuItemProps[];
|
|
140
|
-
};
|
|
141
|
-
|
|
142
|
-
export type HoldItemWithCustomView = HoldItemBaseProps & {
|
|
143
|
-
renderCustomView: RenderCustomView;
|
|
144
|
-
};
|
|
145
|
-
|
|
146
|
-
export type HoldItemProps = HoldItemWithItems | HoldItemWithCustomView;
|
|
138
|
+
export type HoldItemProps = HoldItemBaseProps;
|
|
147
139
|
|
|
148
140
|
export type GestureHandlerProps = {
|
|
149
141
|
children: React.ReactElement | React.ReactElement[];
|
package/src/index.ts
CHANGED
|
@@ -2,3 +2,10 @@ export { default as HoldItem } from './components/holdItem';
|
|
|
2
2
|
export { default as HoldMenuProvider } from './components/provider';
|
|
3
3
|
export { default as HoldMenuFlatList } from './components/flatList';
|
|
4
4
|
export { default as HoldMenuIcon } from './components/icon';
|
|
5
|
+
|
|
6
|
+
export type { HoldItemProps } from './components/holdItem/types';
|
|
7
|
+
export type {
|
|
8
|
+
MenuItemProps,
|
|
9
|
+
CustomViewProps,
|
|
10
|
+
RenderCustomView,
|
|
11
|
+
} from './components/menu/types';
|