@jamadd/react-native-template-ui 0.8.3 → 0.8.4

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 (41) hide show
  1. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +2 -0
  2. package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
  3. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js +1 -0
  4. package/lib/module/components/overlay/actionSheet/ActionSheetListViewContent.js.map +1 -1
  5. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +2 -0
  6. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -1
  7. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +2 -0
  8. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -1
  9. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts +1 -0
  10. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -1
  11. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +1 -0
  12. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -1
  13. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts +2 -0
  14. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts.map +1 -1
  15. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts +2 -0
  16. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map +1 -1
  17. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts +2 -0
  18. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts.map +1 -1
  19. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +2 -0
  20. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -1
  21. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +2 -0
  22. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -1
  23. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +2 -0
  24. package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -1
  25. package/lib/typescript/src/components/view/AnimatedView.d.ts +2 -0
  26. package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
  27. package/lib/typescript/src/hooks/overlay.d.ts +27 -0
  28. package/lib/typescript/src/hooks/overlay.d.ts.map +1 -1
  29. package/lib/typescript/src/hooks/switch.d.ts +20 -1
  30. package/lib/typescript/src/hooks/switch.d.ts.map +1 -1
  31. package/lib/typescript/src/types/list.d.ts +10 -1
  32. package/lib/typescript/src/types/list.d.ts.map +1 -1
  33. package/lib/typescript/src/types/overlay.d.ts +31 -1
  34. package/lib/typescript/src/types/overlay.d.ts.map +1 -1
  35. package/lib/typescript/src/utils/overlay/const.d.ts +33 -0
  36. package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
  37. package/lib/typescript/src/utils/reanimated/func.d.ts +5 -1
  38. package/lib/typescript/src/utils/reanimated/func.d.ts.map +1 -1
  39. package/lib/typescript/src/utils/switch/const.d.ts +2 -1
  40. package/lib/typescript/src/utils/switch/const.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
 
3
+ /** @internal */
4
+
3
5
  import { useActionSheetListView, useActionSheetVisible } from "../../../hooks/overlay.js";
4
6
  import { ActionSheetContext } from "../../../utils/overlay/const.js";
5
7
  import ActionSheetHeader from "./ActionSheetHeader.js";
@@ -1 +1 @@
1
- {"version":3,"names":["useActionSheetListView","useActionSheetVisible","ActionSheetContext","ActionSheetHeader","ActionSheetListViewContent","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetListView","title","expandable","listProps","onDismiss","dismissable","wrapViewProps","headerShowIcon","headerWrapProps","headerTextProps","headerIconButtonProps","visible","actionSheetVisible","actionSheetContextVal","Provider","value","children"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetListView.tsx"],"mappings":";;AACA,SACEA,sBAAsB,EACtBC,qBAAqB,QAChB,2BAAwB;AAE/B,SAASC,kBAAkB,QAAQ,iCAA8B;AACjE,OAAOC,iBAAiB,MAAM,wBAAqB;AACnD,OAAOC,0BAA0B,MAAM,iCAA8B;AACrE,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,mBAAiD,GAAGA,CAAC;EACzDC,KAAK;EACLC,UAAU;EACVC,SAAS;EACTC,SAAS;EACTC,WAAW;EACXC,aAAa;EACbC,cAAc;EACdC,eAAe;EACfC,eAAe;EACfC,qBAAqB;EACrBC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAmB,CAAC,GAAGrB,qBAAqB,CAACoB,OAAO,CAAC;EAC7D,MAAME,qBAAqB,GAAGvB,sBAAsB,CAClDW,KAAK,EACLC,UAAU,EACVC,SAAS,EACTC,SAAS,EACTC,WAAW,EACXO,kBACF,CAAC;EAED,oBACEf,IAAA,CAACL,kBAAkB,CAACsB,QAAQ;IAACC,KAAK,EAAEF,qBAAsB;IAAAG,QAAA,eACxDjB,KAAA,CAACJ,eAAe;MACdgB,OAAO,EAAEC,kBAAmB;MAC5BN,aAAa,EAAEA,aAAc;MAAAU,QAAA,gBAE7BnB,IAAA,CAACJ,iBAAiB;QAChBc,cAAc,EAAEA,cAAe;QAC/BC,eAAe,EAAEA,eAAgB;QACjCC,eAAe,EAAEA,eAAgB;QACjCC,qBAAqB,EAAEA;MAAsB,CAC9C,CAAC,eACFb,IAAA,CAACH,0BAA0B;QAACS,SAAS,EAAEA;MAAU,CAAE,CAAC;IAAA,CACrC;EAAC,CACS,CAAC;AAElC,CAAC;AAED,eAAeH,mBAAmB","ignoreList":[]}
1
+ {"version":3,"names":["useActionSheetListView","useActionSheetVisible","ActionSheetContext","ActionSheetHeader","ActionSheetListViewContent","ActionSheetWrap","jsx","_jsx","jsxs","_jsxs","ActionSheetListView","title","expandable","listProps","onDismiss","dismissable","wrapViewProps","headerShowIcon","headerWrapProps","headerTextProps","headerIconButtonProps","visible","actionSheetVisible","actionSheetContextVal","Provider","value","children"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetListView.tsx"],"mappings":";;AAAA;;AAEA,SACEA,sBAAsB,EACtBC,qBAAqB,QAChB,2BAAwB;AAE/B,SAASC,kBAAkB,QAAQ,iCAA8B;AACjE,OAAOC,iBAAiB,MAAM,wBAAqB;AACnD,OAAOC,0BAA0B,MAAM,iCAA8B;AACrE,OAAOC,eAAe,MAAM,sBAAmB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhD,MAAMC,mBAAiD,GAAGA,CAAC;EACzDC,KAAK;EACLC,UAAU;EACVC,SAAS;EACTC,SAAS;EACTC,WAAW;EACXC,aAAa;EACbC,cAAc;EACdC,eAAe;EACfC,eAAe;EACfC,qBAAqB;EACrBC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAmB,CAAC,GAAGrB,qBAAqB,CAACoB,OAAO,CAAC;EAC7D,MAAME,qBAAqB,GAAGvB,sBAAsB,CAClDW,KAAK,EACLC,UAAU,EACVC,SAAS,EACTC,SAAS,EACTC,WAAW,EACXO,kBACF,CAAC;EAED,oBACEf,IAAA,CAACL,kBAAkB,CAACsB,QAAQ;IAACC,KAAK,EAAEF,qBAAsB;IAAAG,QAAA,eACxDjB,KAAA,CAACJ,eAAe;MACdgB,OAAO,EAAEC,kBAAmB;MAC5BN,aAAa,EAAEA,aAAc;MAAAU,QAAA,gBAE7BnB,IAAA,CAACJ,iBAAiB;QAChBc,cAAc,EAAEA,cAAe;QAC/BC,eAAe,EAAEA,eAAgB;QACjCC,eAAe,EAAEA,eAAgB;QACjCC,qBAAqB,EAAEA;MAAsB,CAC9C,CAAC,eACFb,IAAA,CAACH,0BAA0B;QAACS,SAAS,EAAEA;MAAU,CAAE,CAAC;IAAA,CACrC;EAAC,CACS,CAAC;AAElC,CAAC;AAED,eAAeH,mBAAmB","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ /** @internal */
3
4
  import { useLayoutEffect } from 'react';
4
5
  import { getActionSheetContext } from "../../../utils/overlay/func.js";
5
6
  import List from "../../list/List.js";
@@ -1 +1 @@
1
- {"version":3,"names":["useLayoutEffect","getActionSheetContext","List","ActionSheetContentGesture","jsx","_jsx","ActionSheetListViewContent","listProps","contentAnimatedRefObj","setContentHeight","contentHeight","current","getChildContainerDimensions","height","children","ref"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetListViewContent.tsx"],"mappings":";;AAAA,SAASA,eAAe,QAAiB,OAAO;AAKhD,SAASC,qBAAqB,QAAQ,gCAA6B;AACnE,OAAOC,IAAI,MAAM,oBAAiB;AAClC,OAAOC,yBAAyB,MAAM,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpE,MAAMC,0BAEL,GAAGA,CAAC;EAAEC;AAAU,CAAC,KAAK;EACrB,MAAM;IAAEC,qBAAqB;IAAEC;EAAiB,CAAC,GAAGR,qBAAqB,CAAC,CAAC;EAC3ED,eAAe,CAAC,MAAM;IACpB,MAAMU,aAAa,GACjBF,qBAAqB,CACrBG,OAAO,EAAEC,2BAA2B,CAAC,CAAC,CAACC,MAAM;IAC/CJ,gBAAgB,GAAGC,aAAa,IAAI,CAAC,CAAC;EACxC,CAAC,CAAC;EAEF,oBACEL,IAAA,CAACF,yBAAyB;IAAAW,QAAA,eACxBT,IAAA,CAACH,IAAI;MACHa,GAAG,EAAEP,qBAAuD;MAAA,GACxDD;IAAS,CACd;EAAC,CACuB,CAAC;AAEhC,CAAC;AAED,eAAeD,0BAA0B","ignoreList":[]}
1
+ {"version":3,"names":["useLayoutEffect","getActionSheetContext","List","ActionSheetContentGesture","jsx","_jsx","ActionSheetListViewContent","listProps","contentAnimatedRefObj","setContentHeight","contentHeight","current","getChildContainerDimensions","height","children","ref"],"sourceRoot":"../../../../../src","sources":["components/overlay/actionSheet/ActionSheetListViewContent.tsx"],"mappings":";;AAAA;AACA,SAASA,eAAe,QAAiB,OAAO;AAKhD,SAASC,qBAAqB,QAAQ,gCAA6B;AACnE,OAAOC,IAAI,MAAM,oBAAiB;AAClC,OAAOC,yBAAyB,MAAM,gCAA6B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpE,MAAMC,0BAEL,GAAGA,CAAC;EAAEC;AAAU,CAAC,KAAK;EACrB,MAAM;IAAEC,qBAAqB;IAAEC;EAAiB,CAAC,GAAGR,qBAAqB,CAAC,CAAC;EAC3ED,eAAe,CAAC,MAAM;IACpB,MAAMU,aAAa,GACjBF,qBAAqB,CACrBG,OAAO,EAAEC,2BAA2B,CAAC,CAAC,CAACC,MAAM;IAC/CJ,gBAAgB,GAAGC,aAAa,IAAI,CAAC,CAAC;EACxC,CAAC,CAAC;EAEF,oBACEL,IAAA,CAACF,yBAAyB;IAAAW,QAAA,eACxBT,IAAA,CAACH,IAAI;MACHa,GAAG,EAAEP,qBAAuD;MAAA,GACxDD;IAAS,CACd;EAAC,CACuB,CAAC;AAEhC,CAAC;AAED,eAAeD,0BAA0B","ignoreList":[]}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import type { FC } from 'react';
1
3
  import type { PropsWithRequiredChildren } from '../../../types/view';
2
4
  declare const ActionSheetContentGesture: FC<PropsWithRequiredChildren>;
3
5
  export default ActionSheetContentGesture;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetContentGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetContentGesture.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAErE,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,yBAAyB,CAM5D,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"ActionSheetContentGesture.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetContentGesture.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAqB,CAAC;AAErE,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,yBAAyB,CAM5D,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import type { FC } from 'react';
1
3
  import type { ActionSheetHeaderProps } from '../../../types/overlay';
2
4
  declare const ActionSheetHeader: FC<ActionSheetHeaderProps>;
3
5
  export default ActionSheetHeader;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetHeader.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAerE,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6CjD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ActionSheetHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetHeader.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAQhC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAerE,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6CjD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
+ /** @internal */
1
2
  import { type FC } from 'react';
2
3
  import type { ActionSheetListViewProps } from '../../../types/overlay';
3
4
  declare const ActionSheetListView: FC<ActionSheetListViewProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetListView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAMvE,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAuCrD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ActionSheetListView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListView.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAMvE,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,wBAAwB,CAuCrD,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
@@ -1,3 +1,4 @@
1
+ /** @internal */
1
2
  import { type FC } from 'react';
2
3
  import type { ActionSheetListViewProps } from '../../../types/overlay';
3
4
  declare const ActionSheetListViewContent: FC<Pick<ActionSheetListViewProps, 'listProps'>>;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetListViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListViewContent.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,wBAAwB,CAAC;AAKhC,QAAA,MAAM,0BAA0B,EAAE,EAAE,CAClC,IAAI,CAAC,wBAAwB,EAAE,WAAW,CAAC,CAkB5C,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"ActionSheetListViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetListViewContent.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,EAAmB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,wBAAwB,CAAC;AAKhC,QAAA,MAAM,0BAA0B,EAAE,EAAE,CAClC,IAAI,CAAC,wBAAwB,EAAE,WAAW,CAAC,CAkB5C,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import { type FC } from 'react';
1
3
  import type { ActionSheetOptionsProps } from '../../../types/overlay';
2
4
  declare const ActionSheetOptionList: FC<Pick<ActionSheetOptionsProps, 'options' | 'optionListProps' | 'optionListItemProps'>>;
3
5
  export default ActionSheetOptionList;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetOptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionList.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAIV,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAMhC,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAC7B,IAAI,CACF,uBAAuB,EACvB,SAAS,GAAG,iBAAiB,GAAG,qBAAqB,CACtD,CA0BF,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ActionSheetOptionList.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionList.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAMhC,OAAO,KAAK,EAIV,uBAAuB,EACxB,MAAM,wBAAwB,CAAC;AAMhC,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAC7B,IAAI,CACF,uBAAuB,EACvB,SAAS,GAAG,iBAAiB,GAAG,qBAAqB,CACtD,CA0BF,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import type { FC } from 'react';
1
3
  import type { ListItemProps } from '../../../types/list';
2
4
  import type { ActionSheetOption } from '../../../types/overlay';
3
5
  declare const ActionSheetOptionListItem: FC<ListItemProps<ActionSheetOption>>;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetOptionListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionListItem.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAOhC,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC,CA0BnE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
1
+ {"version":3,"file":"ActionSheetOptionListItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptionListItem.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACzD,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAOhC,QAAA,MAAM,yBAAyB,EAAE,EAAE,CAAC,aAAa,CAAC,iBAAiB,CAAC,CA0BnE,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import type { FC } from 'react';
1
3
  import type { ActionSheetOptionsProps } from '../../../types/overlay';
2
4
  declare const ActionSheetOptions: FC<ActionSheetOptionsProps>;
3
5
  export default ActionSheetOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptions.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMtE,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA8CnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"ActionSheetOptions.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetOptions.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wBAAwB,CAAC;AAMtE,QAAA,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA8CnD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import type { FC } from 'react';
1
3
  import type { ActionSheetScrollViewProps } from '../../../types/overlay';
2
4
  declare const ActionSheetScrollView: FC<ActionSheetScrollViewProps>;
3
5
  export default ActionSheetScrollView;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetScrollView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollView.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAMzE,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA0CzD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"ActionSheetScrollView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollView.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAMzE,QAAA,MAAM,qBAAqB,EAAE,EAAE,CAAC,0BAA0B,CA0CzD,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import { type FC } from 'react';
1
3
  import type { ActionSheetScrollViewProps } from '../../../types/overlay';
2
4
  import type { PropsWithRequiredChildren } from '../../../types/view';
3
5
  declare const ActionSheetScrollViewContent: FC<PropsWithRequiredChildren<Pick<ActionSheetScrollViewProps, 'scrollViewProps'>>>;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetScrollViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollViewContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAEV,yBAAyB,EAE1B,MAAM,qBAAqB,CAAC;AAK7B,QAAA,MAAM,4BAA4B,EAAE,EAAE,CACpC,yBAAyB,CAAC,IAAI,CAAC,0BAA0B,EAAE,iBAAiB,CAAC,CAAC,CAsB/E,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
1
+ {"version":3,"file":"ActionSheetScrollViewContent.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetScrollViewContent.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AACzE,OAAO,KAAK,EAEV,yBAAyB,EAE1B,MAAM,qBAAqB,CAAC;AAK7B,QAAA,MAAM,4BAA4B,EAAE,EAAE,CACpC,yBAAyB,CAAC,IAAI,CAAC,0BAA0B,EAAE,iBAAiB,CAAC,CAAC,CAsB/E,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import { type FC } from 'react';
1
3
  import type { ActionSheetWrapProps } from '../../../types/overlay';
2
4
  declare const ActionSheetWrap: FC<ActionSheetWrapProps>;
3
5
  export default ActionSheetWrap;
@@ -1 +1 @@
1
- {"version":3,"file":"ActionSheetWrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetWrap.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAQhC,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAyD7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"ActionSheetWrap.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/actionSheet/ActionSheetWrap.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,wBAAwB,CAAC;AAQhC,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CAyD7C,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,3 +1,5 @@
1
+ /** @internal */
2
+ import { View } from 'react-native';
1
3
  declare const AnimatedView: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<import("react-native").ViewProps>, typeof View>;
2
4
  export default AnimatedView;
3
5
  //# sourceMappingURL=AnimatedView.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnimatedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedView.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,YAAY,yJAAyC,CAAC;AAE5D,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"AnimatedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedView.tsx"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,QAAA,MAAM,YAAY,yJAAyC,CAAC;AAE5D,eAAe,YAAY,CAAC"}
@@ -1,6 +1,17 @@
1
1
  import type { ScrollView } from 'react-native';
2
2
  import type { ListAnimatedRefObj, ListRef } from '../types/list';
3
+ import type { ActionSheetContextVal, ActionSheetListViewProps, ActionSheetOptionListProps, ActionSheetOptions, ActionSheetScrollViewProps, OverlayDismissActionSheetResult, OverlayOnDismiss } from '../types/overlay';
3
4
  import type { ScrollViewAnimatedRefObj } from '../types/view';
5
+ /** @internal */
6
+ export declare function useActionSheetContext(): Partial<ActionSheetContextVal>;
7
+ /** @internal */
8
+ export declare function useActionSheetOnDismiss(force?: boolean): (text?: string) => void;
9
+ /** @internal */
10
+ export declare function useActionSheetGesture(contentGesture?: boolean): import("react-native-gesture-handler/lib/typescript/handlers/gestures/panGesture").PanGesture;
11
+ /** @internal */
12
+ export declare function useActionSheetHeaderMinHeight(): number;
13
+ /** @internal */
14
+ export declare function useActionSheetContentGesture(): import("react-native-gesture-handler/lib/typescript/handlers/gestures/gestureComposition").SimultaneousGesture;
4
15
  export declare function useActionSheetListViewAnimatedRef<T>(): import("react-native-reanimated").AnimatedRef<ListRef<T>>;
5
16
  export declare function useActionSheetScrollViewAnimatedRef(): import("react-native-reanimated").AnimatedRef<ScrollView>;
6
17
  /** @interal */
@@ -13,4 +24,20 @@ export declare function useActionSheetScrollViewRefAndOffset(refObj?: ScrollView
13
24
  scrollViewAnimatedRefObj: ScrollViewAnimatedRefObj;
14
25
  contentOffsetSharedVal: import("react-native-reanimated").SharedValue<number>;
15
26
  };
27
+ /** @internal */
28
+ export declare function useActionSheetVisible(visible?: boolean): {
29
+ actionSheetVisible: boolean;
30
+ setActionSheetVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
31
+ };
32
+ /** @internal */
33
+ export declare function useActionSheetOpts(title: string | undefined, expandable: boolean | undefined, options: ActionSheetOptions, optionListProps: ActionSheetOptionListProps | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissable: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
34
+ /** @internal */
35
+ export declare function useActionSheetOptItemSize({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }?: ActionSheetOptionListProps): {
36
+ itemSize: number;
37
+ insetsStyle: Pick<import("react-native").ViewStyle, "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft">;
38
+ };
39
+ /** @internal */
40
+ export declare function useActionSheetScrollView(title: string | undefined, expandable: boolean | undefined, scrollViewProps: ActionSheetScrollViewProps['scrollViewProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissable: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
41
+ /** @internal */
42
+ export declare function useActionSheetListView(title: string | undefined, expandable: boolean | undefined, listProps: ActionSheetListViewProps['listProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissable: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
16
43
  //# sourceMappingURL=overlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/overlay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAU/C,OAAO,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAWjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,eAAe,CAAC;AA+L9D,wBAAgB,iCAAiC,CAAC,CAAC,+DAElD;AAED,wBAAgB,mCAAmC,8DAElD;AAED,eAAe;AACf,wBAAgB,kCAAkC,CAAC,CAAC,EAClD,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,CAAC;;;EAa/B;AAED,eAAe;AACf,wBAAgB,oCAAoC,CAClD,MAAM,CAAC,EAAE,wBAAwB;;;EAalC"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,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,kBAAkB,EAAE,OAAO,yBA0C5B;AAED,gBAAgB;AAChB,wBAAgB,yBAAyB,CACvC,EACE,MAAM,EACN,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,GAClB,GAAE,0BAGF;;;EAyBF;AAED,gBAAgB;AAChB,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,eAAe,EAAE,0BAA0B,CAAC,iBAAiB,CAAC,GAAG,SAAS,EAC1E,SAAS,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,GAAG,SAAS,EACxE,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,kBAAkB,EAAE,OAAO,yBA+C5B;AAED,gBAAgB;AAChB,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC,GAAG,SAAS,EAC5D,SAAS,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,GAAG,SAAS,EACxE,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,kBAAkB,EAAE,OAAO,yBA+C5B"}
@@ -1,2 +1,21 @@
1
- export {};
1
+ import type { PressableOnPress } from '../types/button';
2
+ import type { ThemedSwitchProps } from '../types/switch';
3
+ import { BorderSize } from '../utils/theme/const';
4
+ /** @internal */
5
+ export declare function useThemedSwitch(onPress: ThemedSwitchProps['onPress'], enabled?: ThemedSwitchProps['enabled'], size?: ThemedSwitchProps['size'], onPressDelayConfig?: ThemedSwitchProps['onPressDelayConfig'], customEnableAnimation?: ThemedSwitchProps['customEnableAnimation'], customDisableAnimation?: ThemedSwitchProps['customDisableAnimation'], customColors?: ThemedSwitchProps['customColors']): {
6
+ toggleSwitch: PressableOnPress;
7
+ trackAnimatedStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
8
+ width: number;
9
+ padding: import("..").Spacing;
10
+ borderWidth: BorderSize;
11
+ borderColor: string;
12
+ backgroundColor: string;
13
+ }>;
14
+ thumbAnimatedStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{
15
+ backgroundColor: string;
16
+ transform: {
17
+ translateX: number;
18
+ }[];
19
+ }>;
20
+ };
2
21
  //# sourceMappingURL=switch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/hooks/switch.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../../src/hooks/switch.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAExD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAGzD,OAAO,EAAE,UAAU,EAAc,MAAM,sBAAsB,CAAC;AAK9D,gBAAgB;AAChB,wBAAgB,eAAe,CAC7B,OAAO,EAAE,iBAAiB,CAAC,SAAS,CAAC,EACrC,OAAO,GAAE,iBAAiB,CAAC,SAAS,CAAS,EAC7C,IAAI,GAAE,iBAAiB,CAAC,MAAM,CAAgB,EAC9C,kBAAkB,CAAC,EAAE,iBAAiB,CAAC,oBAAoB,CAAC,EAC5D,qBAAqB,CAAC,EAAE,iBAAiB,CAAC,uBAAuB,CAAC,EAClE,sBAAsB,CAAC,EAAE,iBAAiB,CAAC,wBAAwB,CAAC,EACpE,YAAY,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;EA6FjD"}
@@ -1,5 +1,5 @@
1
1
  import type { FlashListProps, FlashListRef, ListRenderItemInfo } from '@shopify/flash-list';
2
- import type { ComponentType, RefObject } from 'react';
2
+ import type { ComponentType, FC, RefObject } from 'react';
3
3
  import type { ViewStyle } from 'react-native';
4
4
  import type { AnimatedRef } from 'react-native-reanimated';
5
5
  import type { ThemedSeparatorProps } from './separator';
@@ -22,6 +22,15 @@ export type ListItemSeparatorProps = Partial<Pick<ThemedSeparatorProps, 'size' |
22
22
  backgroundColor: ThemeColors;
23
23
  style: Omit<ThemedSeparatorProps, 'size' | 'vertical' | 'backgroundColor' | 'bg'>;
24
24
  }>;
25
+ /** @internal */
26
+ export type ListItemSeparatorComponent = FC<{
27
+ leadingItem?: {
28
+ type: string;
29
+ };
30
+ trailingItem?: {
31
+ type: string;
32
+ };
33
+ }>;
25
34
  export type ListCellRendererComponentProps = PropsWithRequiredChildren<{
26
35
  onLayout: () => void;
27
36
  index: number;
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/types/list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACZ,kBAAkB,EACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,aAAa,EAAM,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,QAAQ,CAAC;AAExD,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC;AAEzC,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC;AAEzD,MAAM,MAAM,kBAAkB,CAA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cAAc,CAAC,CAAC,CAAC,EACjB,MAAM,GAAG,YAAY,GAAG,cAAc,CACvC,GACC,iBAAiB,GAAG;IAClB,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC;IAC5C,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,IAAI,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IACtC,YAAY,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC;CACnC,CAAC;AAEJ,MAAM,MAAM,sBAAsB,GAAG,OAAO,CAC1C,IAAI,CAAC,oBAAoB,EAAE,MAAM,GAAG,UAAU,CAAC,GAAG;IAChD,eAAe,EAAE,WAAW,CAAC;IAC7B,KAAK,EAAE,IAAI,CACT,oBAAoB,EACpB,MAAM,GAAG,UAAU,GAAG,iBAAiB,GAAG,IAAI,CAC/C,CAAC;CACH,CACF,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC;IAC1C,WAAW,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/B,YAAY,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;CACjC,CAAC,CAAC;AAEH,MAAM,MAAM,8BAA8B,GAAG,yBAAyB,CAAC;IACrE,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,SAAS,CAAC;CAClB,CAAC,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import type { ModalProps, ViewStyle } from 'react-native';
2
+ import type { SharedValue } from 'react-native-reanimated';
2
3
  import type { AlertButtonType, OverlayDismissResultType, ToastDuration, ToastType } from '../utils/overlay/const';
3
4
  import type { ThemedButtonProps } from './button';
4
5
  import type { ListAnimatedRefObj, ListProps } from './list';
5
6
  import type { CustomThemedLoadingProps } from './loading';
7
+ import type { SetState } from './react';
6
8
  import type { CustomAnimation } from './reanimated';
7
9
  import type { InsetsStyleConfig } from './style';
8
10
  import type { CustomThemedTextProps, ThemedTextProps } from './text';
9
- import type { AnimatedThemedViewProps, PropsWithRequiredChildren, ScrollViewAnimatedRefObj, ScrollViewProps, ThemedViewProps } from './view';
11
+ import type { AnimatedThemedViewProps, PropsWithRequiredChildren, ScrollViewAnimatedRefObj, ScrollViewProps, ThemedViewProps, ViewRefObj } from './view';
10
12
  type OverlayProps = {
11
13
  onDismiss: () => void;
12
14
  dismissable?: boolean;
@@ -21,6 +23,10 @@ type OverlayDismissToastResult = OverlayDismissBaseResult & Pick<ThemedToastProp
21
23
  export type OverlayDismissAlertResult = OverlayDismissBaseResult & Pick<AlertProps, 'title' | 'description'> & Pick<AlertButtonProps, 'text' | 'type'> & {
22
24
  resultType: OverlayDismissResultType.Alert;
23
25
  };
26
+ /** @internal */
27
+ export type OverlayDismissActionSheetResult = OverlayDismissBaseResult & Pick<ActionSheetProps, 'title'> & Pick<ActionSheetOption, 'text'> & {
28
+ resultType: OverlayDismissResultType.ActionSheet;
29
+ };
24
30
  export type ThemedToastProps = Omit<OverlayProps, 'onDismiss'> & Omit<AnimatedThemedViewProps, 'children'> & CustomThemedTextProps & Pick<InsetsStyleConfig, 'insetsPadding' | 'insetPaddingTop' | 'insetPaddingBottom' | 'insetPaddingLeft' | 'insetPaddingRight'> & {
25
31
  type?: ToastType;
26
32
  duration?: ToastDuration;
@@ -92,15 +98,39 @@ export type ActionSheetHeaderProps = {
92
98
  headerTextProps?: Omit<ThemedTextProps, 'children'>;
93
99
  headerIconButtonProps?: Omit<ThemedButtonProps, 'onPress'>;
94
100
  };
101
+ /** @internal */
102
+ export type ActionSheetContextVal = Pick<ActionSheetProps, 'title' | 'expandable' | 'onDismiss' | 'dismissable'> & {
103
+ headerViewRef: ViewRefObj;
104
+ contentAnimatedRefObj: ListAnimatedRefObj<any> | ScrollViewAnimatedRefObj;
105
+ height: number;
106
+ setContentHeight?: SetState<number>;
107
+ translateYSharedVal: SharedValue<number>;
108
+ heightSharedVal: SharedValue<number>;
109
+ expandableHeightSharedVal: SharedValue<number>;
110
+ contentOffsetSharedVal: SharedValue<number>;
111
+ };
112
+ /** @internal */
113
+ export type ActionSheetOptionsProps = ActionSheetProps & Required<Pick<ActionSheetProps, 'options'>>;
95
114
  export type ActionSheetOptionListProps = Omit<ListProps<ActionSheetOption>, 'ref' | 'data' | 'Item' | 'keyExtractor' | 'extraData'> & {
96
115
  ref?: ActionSheetOptionListRefObj;
97
116
  };
98
117
  export type ActionSheetOptionListItemProps = Omit<ThemedButtonProps, 'onPress' | 'text'>;
99
118
  export type ActionSheetOptionListRefObj = ListAnimatedRefObj<ActionSheetOption>;
119
+ /** @internal */
120
+ export type ActionSheetOptionListExtraData = {
121
+ optionListItemProps?: ActionSheetOptionListItemProps;
122
+ onDismiss: (text?: string) => void;
123
+ };
100
124
  export type ActionSheetOption = Partial<Pick<ThemedButtonProps, 'onPress'>> & {
101
125
  text: string;
102
126
  props?: ActionSheetOptionListItemProps;
103
127
  };
104
128
  export type ActionSheetOptions = ActionSheetOption[];
129
+ /** @internal */
130
+ export type ActionSheetScrollViewProps = ActionSheetProps & Required<Pick<ActionSheetProps, 'children'>>;
131
+ /** @internal */
132
+ export type ActionSheetListViewProps = ActionSheetProps & Required<Pick<ActionSheetProps, 'listProps'>>;
133
+ /** @internal */
134
+ export type ActionSheetListViewListRefObj = ListAnimatedRefObj<any>;
105
135
  export {};
106
136
  //# sourceMappingURL=overlay.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/types/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,KAAK,EACV,eAAe,EACf,wBAAwB,EACxB,aAAa,EACb,SAAS,EACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,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ChB,MAAM,MAAM,6BAA6B,GAAG,kBAAkB,CAAC,GAAG,CAAC,CAAC"}
@@ -1,3 +1,8 @@
1
+ import { IconSize } from '@jamadd/react-native-template-icons';
2
+ import type { ActionSheetContextVal } from '../../types/overlay';
3
+ import type { ThemeSpacing, ThemeTextVariants } from '../../types/theme';
4
+ /** @internal */
5
+ export declare const overlayMaxWidthPercent = "80%";
1
6
  export declare enum OverlayDismissResultType {
2
7
  Toast = "toast",
3
8
  Alert = "alert",
@@ -16,9 +21,37 @@ export declare enum ToastDuration {
16
21
  Short = 3000,
17
22
  Long = 5000
18
23
  }
24
+ /** @internal */
25
+ export declare const AlertContext: import("react").Context<Partial<Pick<import("../..").AlertProps, "buttonProps"> & {
26
+ onDismiss: (result?: Partial<import("../..").OverlayDismissAlertResult>) => void;
27
+ }>>;
19
28
  export declare enum AlertButtonType {
20
29
  Primary = "primary",
21
30
  Secondary = "secondary",
22
31
  Destructive = "destructive"
23
32
  }
33
+ /** @internal */
34
+ export declare const ActionSheetContext: import("react").Context<Partial<ActionSheetContextVal>>;
35
+ /** @internal */
36
+ export declare const actionSheetOpenDuration = 300;
37
+ /** @internal */
38
+ export declare const actionSheetSnapDuration = 300;
39
+ /** @internal */
40
+ export declare const actionSheetDismissDuration = 150;
41
+ /** @internal */
42
+ export declare const actionSheetMaxHeightRatio = 0.6;
43
+ /** @internal */
44
+ export declare enum ActionSheetExpandableHeightRatio {
45
+ Top = 0.9,
46
+ Middle = 0.6,
47
+ Bottom = 0.3
48
+ }
49
+ /** @internal */
50
+ export declare const actionSheetHeaderIconSize: IconSize;
51
+ /** @internal */
52
+ export declare const actionSheetHeaderPadding: ThemeSpacing;
53
+ /** @internal */
54
+ export declare const actionSheetOptionListItemPadding: ThemeSpacing;
55
+ /** @internal */
56
+ export declare const actionSheetOptionListItemTextVariant: ThemeTextVariants;
24
57
  //# sourceMappingURL=const.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/const.ts"],"names":[],"mappings":"AAWA,oBAAY,wBAAwB;IAClC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,WAAW,gBAAgB;CAC5B;AAED,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,aAAa;IACvB,KAAK,OAAO;IACZ,IAAI,OAAO;CACZ;AAKD,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,WAAW,gBAAgB;CAC5B"}
1
+ {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAE5C,oBAAY,wBAAwB;IAClC,KAAK,UAAU;IACf,KAAK,UAAU;IACf,WAAW,gBAAgB;CAC5B;AAED,eAAO,MAAM,+BAA+B,iBAAiB,CAAC;AAE9D,oBAAY,SAAS;IACnB,GAAG,QAAQ;IACX,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,WAAW,gBAAgB;CAC5B;AAED,oBAAY,aAAa;IACvB,KAAK,OAAO;IACZ,IAAI,OAAO;CACZ;AAED,gBAAgB;AAChB,eAAO,MAAM,YAAY;sBA2CsmB,CAAC;GA3ClkB,CAAC;AAE/D,oBAAY,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;IACvB,WAAW,gBAAgB;CAC5B;AAED,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,yDAE9B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,gBAAgB;AAChB,eAAO,MAAM,0BAA0B,MAAM,CAAC;AAE9C,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAE7C,gBAAgB;AAChB,oBAAY,gCAAgC;IAC1C,GAAG,MAAM;IACT,MAAM,MAAM;IACZ,MAAM,MAAM;CACb;AAED,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,QAAqB,CAAC;AAE9D,gBAAgB;AAChB,eAAO,MAAM,wBAAwB,EAAE,YAAkB,CAAC;AAE1D,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,YAAkB,CAAC;AAElE,gBAAgB;AAChB,eAAO,MAAM,oCAAoC,EAAE,iBAA2B,CAAC"}
@@ -1,2 +1,6 @@
1
- export {};
1
+ import type { SharedValue, WithSpringConfig, WithTimingConfig } from 'react-native-reanimated';
2
+ /** @internal */
3
+ export declare function updateSharedValWithTiming(sharedVal: SharedValue<number>, toVal: number, userConfig?: WithTimingConfig, cb?: () => void): void;
4
+ /** @internal */
5
+ export declare function updateSharedValWithSpring(sharedVal: SharedValue<number>, toVal: number, userConfig?: WithSpringConfig, cb?: () => void): void;
2
6
  //# sourceMappingURL=func.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/reanimated/func.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/reanimated/func.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EACjB,MAAM,yBAAyB,CAAC;AAIjC,gBAAgB;AAChB,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,EAC9B,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,gBAAgB,EAC7B,EAAE,CAAC,EAAE,MAAM,IAAI,QAShB;AAED,gBAAgB;AAChB,wBAAgB,yBAAyB,CACvC,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,EAC9B,KAAK,EAAE,MAAM,EACb,UAAU,CAAC,EAAE,gBAAgB,EAC7B,EAAE,CAAC,EAAE,MAAM,IAAI,QAShB"}
@@ -1,2 +1,3 @@
1
- export {};
1
+ /** @internal */
2
+ export declare const switchAnimationDuration = 250;
2
3
  //# sourceMappingURL=const.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/switch/const.ts"],"names":[],"mappings":""}
1
+ {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/switch/const.ts"],"names":[],"mappings":"AAAA,gBAAgB;AAChB,eAAO,MAAM,uBAAuB,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamadd/react-native-template-ui",
3
- "version": "0.8.3",
3
+ "version": "0.8.4",
4
4
  "description": "React Native Template UI is a collection of UI components designed by JaMa D&D.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",