@reillymc/react-native-components 0.11.2 → 0.11.3

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 (63) hide show
  1. package/lib/components/alert/AlertIndicator.js +1 -0
  2. package/lib/components/alert/index.js +1 -0
  3. package/lib/components/avatar/Avatar.js +1 -0
  4. package/lib/components/avatar/index.js +1 -0
  5. package/lib/components/container/Panel.js +1 -0
  6. package/lib/components/container/index.js +1 -1
  7. package/lib/components/index.js +1 -1
  8. package/lib/components/input/InputRowContainer.js +1 -1
  9. package/lib/components/listItem/ListItem.js +1 -1
  10. package/lib/components/swipe/SwipeAction.js +1 -0
  11. package/lib/components/swipe/SwipeableContainer.js +1 -0
  12. package/lib/components/swipe/index.js +1 -0
  13. package/lib/components/toast/Toast.js +1 -0
  14. package/lib/components/toast/index.js +1 -0
  15. package/lib/hooks/index.js +1 -1
  16. package/lib/hooks/useThemedStyles.js +1 -1
  17. package/lib/types/components/alert/AlertIndicator.d.ts.map +1 -0
  18. package/lib/types/components/alert/index.d.ts +2 -0
  19. package/lib/types/components/alert/index.d.ts.map +1 -0
  20. package/lib/types/components/avatar/Avatar.d.ts.map +1 -0
  21. package/lib/types/components/avatar/index.d.ts +2 -0
  22. package/lib/types/components/avatar/index.d.ts.map +1 -0
  23. package/lib/types/components/container/Panel.d.ts.map +1 -0
  24. package/lib/types/components/container/index.d.ts +1 -1
  25. package/lib/types/components/container/index.d.ts.map +1 -1
  26. package/lib/types/components/index.d.ts +6 -7
  27. package/lib/types/components/index.d.ts.map +1 -1
  28. package/lib/types/components/listItem/ListItem.d.ts +1 -1
  29. package/lib/types/components/listItem/ListItem.d.ts.map +1 -1
  30. package/lib/types/components/{SwipeAction.d.ts → swipe/SwipeAction.d.ts} +2 -2
  31. package/lib/types/components/swipe/SwipeAction.d.ts.map +1 -0
  32. package/lib/types/components/swipe/SwipeableContainer.d.ts.map +1 -0
  33. package/lib/types/components/swipe/index.d.ts +3 -0
  34. package/lib/types/components/swipe/index.d.ts.map +1 -0
  35. package/lib/types/components/toast/Toast.d.ts.map +1 -0
  36. package/lib/types/components/toast/index.d.ts +2 -0
  37. package/lib/types/components/toast/index.d.ts.map +1 -0
  38. package/lib/types/hooks/index.d.ts +1 -1
  39. package/lib/types/hooks/index.d.ts.map +1 -1
  40. package/lib/types/hooks/useThemedStyles.d.ts +11 -2
  41. package/lib/types/hooks/useThemedStyles.d.ts.map +1 -1
  42. package/lib/types/theme/icons.d.ts +6 -6
  43. package/package.json +31 -6
  44. package/lib/components/AlertIndicator.js +0 -1
  45. package/lib/components/Avatar.js +0 -1
  46. package/lib/components/Panel.js +0 -1
  47. package/lib/components/SwipeAction.js +0 -1
  48. package/lib/components/Toast.js +0 -1
  49. package/lib/components/container/SwipeableContainer.js +0 -1
  50. package/lib/index.js +0 -1
  51. package/lib/types/components/AlertIndicator.d.ts.map +0 -1
  52. package/lib/types/components/Avatar.d.ts.map +0 -1
  53. package/lib/types/components/Panel.d.ts.map +0 -1
  54. package/lib/types/components/SwipeAction.d.ts.map +0 -1
  55. package/lib/types/components/Toast.d.ts.map +0 -1
  56. package/lib/types/components/container/SwipeableContainer.d.ts.map +0 -1
  57. package/lib/types/index.d.ts +0 -8
  58. package/lib/types/index.d.ts.map +0 -1
  59. /package/lib/types/components/{AlertIndicator.d.ts → alert/AlertIndicator.d.ts} +0 -0
  60. /package/lib/types/components/{Avatar.d.ts → avatar/Avatar.d.ts} +0 -0
  61. /package/lib/types/components/{Panel.d.ts → container/Panel.d.ts} +0 -0
  62. /package/lib/types/components/{container → swipe}/SwipeableContainer.d.ts +0 -0
  63. /package/lib/types/components/{Toast.d.ts → toast/Toast.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/alert/AlertIndicator.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{Text}from"../text";import{jsx as _jsx}from"react/jsx-runtime";export var AlertIndicator=t0=>{var $=_c(11);var t1=t0.label,t2=t0.variant,style=t0.style;var label=t1===undefined?"":t1;var variant=t2===undefined?"primary":t2;var t3;if($[0]!==variant){t3={props:{variant}};$[0]=variant;$[1]=t3;}else{t3=$[1];}var _useThemedStyles=useThemedStyles("alertIndicator",createStyles,t3),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t4;if($[2]!==style||$[3]!==styles.container){t4=[styles.container,style];$[2]=style;$[3]=styles.container;$[4]=t4;}else{t4=$[4];}var t5;if($[5]!==label||$[6]!==styles.text){t5=_jsx(Text,{numberOfLines:1,style:styles.text,children:label});$[5]=label;$[6]=styles.text;$[7]=t5;}else{t5=$[7];}var t6;if($[8]!==t4||$[9]!==t5){t6=_jsx(View,{style:t4,children:t5});$[8]=t4;$[9]=t5;$[10]=t6;}else{t6=$[10];}return t6;};AlertIndicator.displayName="AlertIndicator";var createStyles=({styles:{alertIndicator}},{variant="primary"})=>{var styles=StyleSheet.create({container:{display:"flex",alignItems:"center",justifyContent:"center",height:alertIndicator.size,width:alertIndicator.size,borderRadius:alertIndicator.borderRadius,backgroundColor:alertIndicator.backgroundColor[variant]},text:{color:alertIndicator.color[variant],fontWeight:"600"}});return styles;};
@@ -0,0 +1 @@
1
+ export{AlertIndicator}from"./AlertIndicator";
@@ -0,0 +1 @@
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/avatar/Avatar.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{Image,StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{Text}from"../text";import{jsx as _jsx,Fragment as _Fragment,jsxs as _jsxs}from"react/jsx-runtime";var getBackgroundColor=(colors,firstName,lastName)=>{var hash=(firstName||lastName||"").split("").reduce((acc,char)=>acc+char.charCodeAt(0),0)%colors.length;return colors[hash]??colors[0]??{background:"#fff",foreground:"#000"};};export var Avatar=t0=>{var $=_c(35);var t1=t0.firstName,t2=t0.lastName,imageUri=t0.imageUri,t3=t0.size,action=t0.action,style=t0.style,containerStyle=t0.containerStyle;var firstName=t1===undefined?"":t1;var lastName=t2===undefined?"":t2;var size=t3===undefined?"regular":t3;var t4;if($[0]!==style){t4={avatar:style};$[0]=style;$[1]=t4;}else{t4=$[1];}var t5;if($[2]!==firstName||$[3]!==lastName||$[4]!==size){t5={size,firstName,lastName};$[2]=firstName;$[3]=lastName;$[4]=size;$[5]=t5;}else{t5=$[5];}var t6;if($[6]!==t4||$[7]!==t5){t6={styles:t4,props:t5};$[6]=t4;$[7]=t5;$[8]=t6;}else{t6=$[8];}var _useThemedStyles=useThemedStyles("avatar",createStyles,t6),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t7;if($[9]!==firstName){t7=firstName.charAt(0);$[9]=firstName;$[10]=t7;}else{t7=$[10];}var t8;if($[11]!==lastName){t8=lastName.charAt(0);$[11]=lastName;$[12]=t8;}else{t8=$[12];}var t9=`${t7}${t8}`;var t10;if($[13]!==t9){t10=t9.toUpperCase();$[13]=t9;$[14]=t10;}else{t10=$[14];}var initials=t10;var t11;if($[15]!==containerStyle||$[16]!==styles.container){t11=[styles.container,containerStyle];$[15]=containerStyle;$[16]=styles.container;$[17]=t11;}else{t11=$[17];}var t12;if($[18]!==firstName||$[19]!==imageUri||$[20]!==initials||$[21]!==lastName||$[22]!==size||$[23]!==styles.image||$[24]!==styles.initials||$[25]!==styles.label){t12=imageUri?_jsx(Image,{source:{uri:imageUri},style:styles.image}):_jsxs(_Fragment,{children:[_jsx(Text,{style:styles.initials,children:initials}),size==="large"&&_jsx(Text,{numberOfLines:3,style:[styles.label],children:`${firstName} ${lastName}`})]});$[18]=firstName;$[19]=imageUri;$[20]=initials;$[21]=lastName;$[22]=size;$[23]=styles.image;$[24]=styles.initials;$[25]=styles.label;$[26]=t12;}else{t12=$[26];}var t13;if($[27]!==action||$[28]!==size||$[29]!==styles.action){t13=action&&size!=="small"&&_jsx(View,{style:styles.action,children:action});$[27]=action;$[28]=size;$[29]=styles.action;$[30]=t13;}else{t13=$[30];}var t14;if($[31]!==t11||$[32]!==t12||$[33]!==t13){t14=_jsxs(View,{style:t11,children:[t12,t13]});$[31]=t11;$[32]=t12;$[33]=t13;$[34]=t14;}else{t14=$[34];}return t14;};Avatar.displayName="Avatar";var createStyles=({styles:{avatar},theme:{spacing}},{size="regular",firstName,lastName})=>{var _getBackgroundColor=getBackgroundColor(avatar.colors,firstName,lastName),background=_getBackgroundColor.background,foreground=_getBackgroundColor.foreground;var styles=StyleSheet.create({container:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:background,height:avatar.size[size],width:avatar.size[size],borderRadius:avatar.size[size]/2},image:{height:avatar.size[size],width:avatar.size[size],borderRadius:avatar.size[size]/2},initials:{fontWeight:avatar.initials.fontWeight,fontSize:avatar.initials.fontSize[size],color:foreground},label:{fontSize:avatar.label.fontSize,fontWeight:avatar.label.fontWeight,paddingHorizontal:spacing.small,textAlign:"center",color:foreground},action:{position:"absolute",top:-spacing.tiny,right:-spacing.small}});return styles;};
@@ -0,0 +1 @@
1
+ export{Avatar}from"./Avatar";
@@ -0,0 +1 @@
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/container/Panel.tsx";import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import Animated,{Easing,LinearTransition}from"react-native-reanimated";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var Panel=t0=>{var $=_c(11);var collapsed=t0.collapsed,style=t0.style,header=t0.header,children=t0.children;var t1;if($[0]!==collapsed){t1=createStyles({collapsed});$[0]=collapsed;$[1]=t1;}else{t1=$[1];}var styles=t1;var t2;if($[2]===Symbol.for("react.memo_cache_sentinel")){t2=LinearTransition.easing(Easing.inOut(Easing.cubic)).mass(0.3).springify();$[2]=t2;}else{t2=$[2];}var t3;if($[3]===Symbol.for("react.memo_cache_sentinel")){t3=LinearTransition.easing(Easing.inOut(Easing.cubic)).mass(0.3).springify();$[3]=t3;}else{t3=$[3];}var t4;if($[4]!==children||$[5]!==styles.collapsible){t4=_jsx(Animated.View,{layout:t3,style:styles.collapsible,children:children});$[4]=children;$[5]=styles.collapsible;$[6]=t4;}else{t4=$[6];}var t5;if($[7]!==header||$[8]!==style||$[9]!==t4){t5=_jsxs(Animated.View,{layout:t2,style:style,children:[header,t4]});$[7]=header;$[8]=style;$[9]=t4;$[10]=t5;}else{t5=$[10];}return t5;};var createStyles=({collapsed})=>{var styles=StyleSheet.create({collapsible:{overflow:"hidden",height:collapsed?0:undefined}});return styles;};
@@ -1 +1 @@
1
- export{CollapsibleContainer}from"./CollapsibleContainer";export{FloatingContainer}from"./FloatingContainer";export{FormContainer}from"./FormContainer";export{FormRow}from"./FormRow";export{SwipeableContainer}from"./SwipeableContainer";
1
+ export{CollapsibleContainer}from"./CollapsibleContainer";export{FloatingContainer}from"./FloatingContainer";export{FormContainer}from"./FormContainer";export{FormRow}from"./FormRow";export{Panel}from"./Panel";
@@ -1 +1 @@
1
- export{AlertIndicator}from"./AlertIndicator";export{Avatar}from"./Avatar";export{Action,ActionBase,IconAction,IconActionBase}from"./action";export{Button,ButtonBase,IconButton,IconButtonBase}from"./button";export{CollapsibleContainer,FloatingContainer,FormContainer,FormRow,SwipeableContainer}from"./container";export{Icon,IconBase,withIcon}from"./icon";export{CounterInput,DropdownInput,DropdownInputBase,InputAction,InputBase,InputRowContainer,InputScaffold,NumberInput,RatingInput,SelectionInput,TextInput,TimeInput,ToggleInput}from"./input";export{ListItem,ListItemAlert,ListItemAvatar,ListItemFooter,ListItemRow}from"./listItem";export{Menu,MenuItem}from"./menu";export{Panel}from"./Panel";export{getRatingIcons,Rating,ratingToValue,valueToRating}from"./rating";export{SwipeAction}from"./SwipeAction";export{Toast}from"./Toast";export{Tag,TagIcon}from"./tag";export{HighlightedText,Text}from"./text";
1
+ export{Action,ActionBase,IconAction,IconActionBase}from"./action";export{AlertIndicator}from"./alert";export{Avatar}from"./avatar";export{Button,ButtonBase,IconButton,IconButtonBase}from"./button";export{CollapsibleContainer,FloatingContainer,FormContainer,FormRow,Panel}from"./container";export{Icon,IconBase,withIcon}from"./icon";export{CounterInput,DropdownInput,DropdownInputBase,InputAction,InputBase,InputRowContainer,InputScaffold,NumberInput,RatingInput,SelectionInput,TextInput,TimeInput,ToggleInput}from"./input";export{ListItem,ListItemAlert,ListItemAvatar,ListItemFooter,ListItemRow}from"./listItem";export{Menu,MenuItem}from"./menu";export{getRatingIcons,Rating,ratingToValue,valueToRating}from"./rating";export{SwipeAction,SwipeableContainer}from"./swipe";export{Tag,TagIcon}from"./tag";export{HighlightedText,Text}from"./text";export{Toast}from"./toast";
@@ -1 +1 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/InputRowContainer.tsx";import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStylesExternal}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var InputRowContainer=t0=>{var $=_c(8);var t1=t0.disabled,style=t0.style,children=t0.children;var disabled=t1===undefined?false:t1;var t2;if($[0]!==disabled){t2={props:{disabled}};$[0]=disabled;$[1]=t2;}else{t2=$[1];}var styles=useThemedStylesExternal(createStyles,t2);var t3;if($[2]!==style||$[3]!==styles.container){t3=[styles.container,style];$[2]=style;$[3]=styles.container;$[4]=t3;}else{t3=$[4];}var t4;if($[5]!==children||$[6]!==t3){t4=_jsx(View,{style:t3,children:children});$[5]=children;$[6]=t3;$[7]=t4;}else{t4=$[7];}return t4;};var createStyles=({styles:{inputBase}},{disabled})=>{var borderRadius=inputBase.container.borderRadius;return StyleSheet.create({container:{flexDirection:"row",overflow:"hidden",borderRadius,backgroundColor:inputBase.container.backgroundColor[disabled?"disabled":"enabled"]}});};
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/InputRowContainer.tsx";import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../../hooks";import{jsx as _jsx}from"react/jsx-runtime";export var InputRowContainer=t0=>{var $=_c(8);var t1=t0.disabled,style=t0.style,children=t0.children;var disabled=t1===undefined?false:t1;var t2;if($[0]!==disabled){t2={props:{disabled}};$[0]=disabled;$[1]=t2;}else{t2=$[1];}var styles=useThemedStyles(createStyles,t2);var t3;if($[2]!==style||$[3]!==styles.container){t3=[styles.container,style];$[2]=style;$[3]=styles.container;$[4]=t3;}else{t3=$[4];}var t4;if($[5]!==children||$[6]!==t3){t4=_jsx(View,{style:t3,children:children});$[5]=children;$[6]=t3;$[7]=t4;}else{t4=$[7];}return t4;};var createStyles=({styles:{inputBase}},{disabled})=>{var borderRadius=inputBase.container.borderRadius;return StyleSheet.create({container:{flexDirection:"row",overflow:"hidden",borderRadius,backgroundColor:inputBase.container.backgroundColor[disabled?"disabled":"enabled"]}});};
@@ -1 +1 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/listItem/ListItem.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{Pressable,StyleSheet,View}from"react-native";import{Undefined}from"@reillymc/es-utils";import{useThemedStyles}from"../../hooks";import{SwipeableContainer}from"../container";import{Text}from"../text";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var ListItem=t0=>{var $=_c(41);var avatar=t0.avatar,alert=t0.alert,heading=t0.heading,footer=t0.footer,header=t0.header,t1=t0.variant,t2=t0.contentRows,swipeActions=t0.swipeActions,style=t0.style,contentContainerStyle=t0.contentContainerStyle,onPress=t0.onPress;var variant=t1===undefined?"default":t1;var t3;if($[0]!==t2){t3=t2===undefined?[]:t2;$[0]=t2;$[1]=t3;}else{t3=$[1];}var contentRows=t3;var t4;if($[2]!==contentRows){t4=contentRows.filter(Undefined);$[2]=contentRows;$[3]=t4;}else{t4=$[3];}var filteredRows=t4;var t5;if($[4]!==swipeActions){t5=swipeActions?.filter(Undefined);$[4]=swipeActions;$[5]=t5;}else{t5=$[5];}var filteredActions=t5;var t6;if($[6]!==variant){t6={props:{variant}};$[6]=variant;$[7]=t6;}else{t6=$[7];}var _useThemedStyles=useThemedStyles("listItem",createStyles,t6),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t7;if($[8]!==style||$[9]!==styles.pressableContainer){t7=[styles.pressableContainer,style];$[8]=style;$[9]=styles.pressableContainer;$[10]=t7;}else{t7=$[10];}var t8;if($[11]!==contentContainerStyle||$[12]!==styles.contentContainer){t8=[styles.contentContainer,contentContainerStyle];$[11]=contentContainerStyle;$[12]=styles.contentContainer;$[13]=t8;}else{t8=$[13];}var t9;if($[14]!==heading){t9=!!heading&&typeof heading==="string"?_jsx(Text,{variant:"heading",numberOfLines:2,children:heading}):heading;$[14]=heading;$[15]=t9;}else{t9=$[15];}var t10;if($[16]!==filteredRows||$[17]!==t8||$[18]!==t9){t10=_jsxs(View,{style:t8,children:[t9,filteredRows]});$[16]=filteredRows;$[17]=t8;$[18]=t9;$[19]=t10;}else{t10=$[19];}var t11;if($[20]!==avatar||$[21]!==styles.innerContainer||$[22]!==t10){t11=_jsxs(View,{style:styles.innerContainer,children:[avatar,t10]});$[20]=avatar;$[21]=styles.innerContainer;$[22]=t10;$[23]=t11;}else{t11=$[23];}var t12;if($[24]!==alert||$[25]!==styles.bodyContainer||$[26]!==t11){t12=_jsxs(View,{style:styles.bodyContainer,children:[t11,alert]});$[24]=alert;$[25]=styles.bodyContainer;$[26]=t11;$[27]=t12;}else{t12=$[27];}var t13;if($[28]!==footer||$[29]!==header||$[30]!==onPress||$[31]!==t12||$[32]!==t7){t13=_jsxs(Pressable,{onPress:onPress,style:t7,children:[header,t12,footer]});$[28]=footer;$[29]=header;$[30]=onPress;$[31]=t12;$[32]=t7;$[33]=t13;}else{t13=$[33];}var innerContent=t13;var t14;if($[34]!==filteredActions?.length||$[35]!==innerContent||$[36]!==swipeActions){t14=filteredActions?.length?_jsx(SwipeableContainer,{rightActions:swipeActions,children:_jsx(View,{children:innerContent})}):innerContent;$[34]=filteredActions?.length;$[35]=innerContent;$[36]=swipeActions;$[37]=t14;}else{t14=$[37];}var t15;if($[38]!==styles.container||$[39]!==t14){t15=_jsx(View,{style:styles.container,children:t14});$[38]=styles.container;$[39]=t14;$[40]=t15;}else{t15=$[40];}return t15;};var createStyles=({styles:{listItem},theme},{variant})=>StyleSheet.create({container:{backgroundColor:theme.color.background,borderRadius:variant==="compact"?undefined:listItem.borderRadius,overflow:"hidden",width:"100%"},pressableContainer:{display:"flex",flexDirection:"column",backgroundColor:theme.color.foreground,borderRadius:variant==="compact"?undefined:listItem.borderRadius},bodyContainer:{flexDirection:"row",justifyContent:"space-between"},innerContainer:{flexDirection:"row",flexShrink:1},contentContainer:{flexShrink:1,flexDirection:"column",alignItems:"flex-start",justifyContent:"center",width:"100%",padding:listItem.internalSpacing}});
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/listItem/ListItem.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{Pressable,StyleSheet,View}from"react-native";import{Undefined}from"@reillymc/es-utils";import{useThemedStyles}from"../../hooks";import{SwipeableContainer}from"../swipe";import{Text}from"../text";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var ListItem=t0=>{var $=_c(41);var avatar=t0.avatar,alert=t0.alert,heading=t0.heading,footer=t0.footer,header=t0.header,t1=t0.variant,t2=t0.contentRows,swipeActions=t0.swipeActions,style=t0.style,contentContainerStyle=t0.contentContainerStyle,onPress=t0.onPress;var variant=t1===undefined?"default":t1;var t3;if($[0]!==t2){t3=t2===undefined?[]:t2;$[0]=t2;$[1]=t3;}else{t3=$[1];}var contentRows=t3;var t4;if($[2]!==contentRows){t4=contentRows.filter(Undefined);$[2]=contentRows;$[3]=t4;}else{t4=$[3];}var filteredRows=t4;var t5;if($[4]!==swipeActions){t5=swipeActions?.filter(Undefined);$[4]=swipeActions;$[5]=t5;}else{t5=$[5];}var filteredActions=t5;var t6;if($[6]!==variant){t6={props:{variant}};$[6]=variant;$[7]=t6;}else{t6=$[7];}var _useThemedStyles=useThemedStyles("listItem",createStyles,t6),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t7;if($[8]!==style||$[9]!==styles.pressableContainer){t7=[styles.pressableContainer,style];$[8]=style;$[9]=styles.pressableContainer;$[10]=t7;}else{t7=$[10];}var t8;if($[11]!==contentContainerStyle||$[12]!==styles.contentContainer){t8=[styles.contentContainer,contentContainerStyle];$[11]=contentContainerStyle;$[12]=styles.contentContainer;$[13]=t8;}else{t8=$[13];}var t9;if($[14]!==heading){t9=!!heading&&typeof heading==="string"?_jsx(Text,{variant:"heading",numberOfLines:2,children:heading}):heading;$[14]=heading;$[15]=t9;}else{t9=$[15];}var t10;if($[16]!==filteredRows||$[17]!==t8||$[18]!==t9){t10=_jsxs(View,{style:t8,children:[t9,filteredRows]});$[16]=filteredRows;$[17]=t8;$[18]=t9;$[19]=t10;}else{t10=$[19];}var t11;if($[20]!==avatar||$[21]!==styles.innerContainer||$[22]!==t10){t11=_jsxs(View,{style:styles.innerContainer,children:[avatar,t10]});$[20]=avatar;$[21]=styles.innerContainer;$[22]=t10;$[23]=t11;}else{t11=$[23];}var t12;if($[24]!==alert||$[25]!==styles.bodyContainer||$[26]!==t11){t12=_jsxs(View,{style:styles.bodyContainer,children:[t11,alert]});$[24]=alert;$[25]=styles.bodyContainer;$[26]=t11;$[27]=t12;}else{t12=$[27];}var t13;if($[28]!==footer||$[29]!==header||$[30]!==onPress||$[31]!==t12||$[32]!==t7){t13=_jsxs(Pressable,{onPress:onPress,style:t7,children:[header,t12,footer]});$[28]=footer;$[29]=header;$[30]=onPress;$[31]=t12;$[32]=t7;$[33]=t13;}else{t13=$[33];}var innerContent=t13;var t14;if($[34]!==filteredActions?.length||$[35]!==innerContent||$[36]!==swipeActions){t14=filteredActions?.length?_jsx(SwipeableContainer,{rightActions:swipeActions,children:_jsx(View,{children:innerContent})}):innerContent;$[34]=filteredActions?.length;$[35]=innerContent;$[36]=swipeActions;$[37]=t14;}else{t14=$[37];}var t15;if($[38]!==styles.container||$[39]!==t14){t15=_jsx(View,{style:styles.container,children:t14});$[38]=styles.container;$[39]=t14;$[40]=t15;}else{t15=$[40];}return t15;};var createStyles=({styles:{listItem},theme},{variant})=>StyleSheet.create({container:{backgroundColor:theme.color.background,borderRadius:variant==="compact"?undefined:listItem.borderRadius,overflow:"hidden",width:"100%"},pressableContainer:{display:"flex",flexDirection:"column",backgroundColor:theme.color.foreground,borderRadius:variant==="compact"?undefined:listItem.borderRadius},bodyContainer:{flexDirection:"row",justifyContent:"space-between"},innerContainer:{flexDirection:"row",flexShrink:1},contentContainer:{flexShrink:1,flexDirection:"column",alignItems:"flex-start",justifyContent:"center",width:"100%",padding:listItem.internalSpacing}});
@@ -0,0 +1 @@
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/swipe/SwipeAction.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{StyleSheet}from"react-native";import{useThemedStyles}from"../../hooks";import{IconButton}from"../button";import{withIcon}from"../icon";import{jsx as _jsx}from"react/jsx-runtime";export var SwipeAction=withIcon(props=>{var _useThemedStyles=useThemedStyles("swipeAction",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];return _jsx(IconButton,{...props,containerStyle:styles.actionButton});});var createStyles=({styles:{swipeAction}})=>StyleSheet.create({actionButton:{height:"100%",alignItems:"center",justifyContent:"center",borderRadius:0,width:swipeAction.width}});
@@ -0,0 +1 @@
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/swipe/SwipeableContainer.tsx";import{c as _c}from"react/compiler-runtime";import{useMemo,useRef}from"react";import{StyleSheet,View}from"react-native";import Swipeable from"react-native-gesture-handler/ReanimatedSwipeable";import{jsx as _jsx}from"react/jsx-runtime";export var SwipeableContainer=t0=>{var $=_c(12);var t1=t0.rightActions,containerStyle=t0.containerStyle,children=t0.children;var t2;if($[0]!==t1){t2=t1===undefined?[]:t1;$[0]=t1;$[1]=t2;}else{t2=$[1];}var rightActions=t2;var swipeableRef=useRef(null);var t3;if($[2]!==rightActions){t3=rightActions.reverse();$[2]=rightActions;$[3]=t3;}else{t3=$[3];}var actions=t3;var t4;if($[4]===Symbol.for("react.memo_cache_sentinel")){t4=()=>{swipeableRef.current?.close();};$[4]=t4;}else{t4=$[4];}var handleActionsPress=t4;var t5;if($[5]!==actions){t5=()=>_jsx(View,{style:styles.actionsContainer,onTouchEnd:handleActionsPress,children:actions});$[5]=actions;$[6]=t5;}else{t5=$[6];}var renderRightActions=t5;var t6;if($[7]===Symbol.for("react.memo_cache_sentinel")){t6={left:-20};$[7]=t6;}else{t6=$[7];}var t7;if($[8]!==children||$[9]!==containerStyle||$[10]!==renderRightActions){t7=_jsx(Swipeable,{hitSlop:t6,ref:swipeableRef,renderRightActions:renderRightActions,enableTrackpadTwoFingerGesture:true,friction:1.5,overshootRight:false,containerStyle:containerStyle,children:children});$[8]=children;$[9]=containerStyle;$[10]=renderRightActions;$[11]=t7;}else{t7=$[11];}return t7;};var styles=StyleSheet.create({actionsContainer:{display:"flex",flexDirection:"row"}});
@@ -0,0 +1 @@
1
+ export{SwipeAction}from"./SwipeAction";export{SwipeableContainer}from"./SwipeableContainer";
@@ -0,0 +1 @@
1
+ var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/toast/Toast.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import Animated,{LinearTransition,SlideInDown,SlideOutDown}from"react-native-reanimated";import{useThemedStyles}from"../../hooks";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var Toast=t0=>{var $=_c(20);var action=t0.action,containerStyle=t0.containerStyle,children=t0.children;var _useThemedStyles=useThemedStyles("toast",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==containerStyle||$[1]!==styles.container){t1=[styles.container,containerStyle];$[0]=containerStyle;$[1]=styles.container;$[2]=t1;}else{t1=$[2];}var t2;var t3;var t4;if($[3]===Symbol.for("react.memo_cache_sentinel")){t2=SlideInDown.springify().mass(0.5);t3=SlideOutDown.springify().mass(0.5);t4=LinearTransition.springify().mass(0.5);$[3]=t2;$[4]=t3;$[5]=t4;}else{t2=$[3];t3=$[4];t4=$[5];}var t5;if($[6]!==children||$[7]!==styles.contentContainer){t5=_jsx(View,{style:styles.contentContainer,children:children});$[6]=children;$[7]=styles.contentContainer;$[8]=t5;}else{t5=$[8];}var t6;if($[9]!==action||$[10]!==styles.actionContainer||$[11]!==styles.separator){t6=action&&_jsxs(View,{style:styles.actionContainer,children:[_jsx(Animated.View,{layout:LinearTransition.springify().mass(0.5),style:styles.separator}),action]});$[9]=action;$[10]=styles.actionContainer;$[11]=styles.separator;$[12]=t6;}else{t6=$[12];}var t7;if($[13]!==styles.innerContainer||$[14]!==t5||$[15]!==t6){t7=_jsxs(View,{style:styles.innerContainer,children:[t5,t6]});$[13]=styles.innerContainer;$[14]=t5;$[15]=t6;$[16]=t7;}else{t7=$[16];}var t8;if($[17]!==t1||$[18]!==t7){t8=_jsx(Animated.View,{style:t1,entering:t2,exiting:t3,layout:t4,children:t7});$[17]=t1;$[18]=t7;$[19]=t8;}else{t8=$[19];}return t8;};var createStyles=({theme:{color,spacing,border},styles:{toast}})=>StyleSheet.create({container:{position:"absolute",bottom:toast.bottomInset,left:toast.horizontalInset,right:toast.horizontalInset,backgroundColor:color.backgroundHighlight,padding:spacing.medium,borderRadius:border.radius.loose},innerContainer:{flexDirection:"row",justifyContent:"space-between"},contentContainer:{flex:1},actionContainer:{flex:0,alignItems:"center",flexDirection:"row",height:"100%"},separator:{borderLeftWidth:StyleSheet.hairlineWidth,borderLeftColor:color.textSecondary,height:"100%",marginHorizontal:spacing.medium}});
@@ -0,0 +1 @@
1
+ export{Toast}from"./Toast";
@@ -1 +1 @@
1
- export{useForwardedRef}from"./useForwardedRef";export{useKeyboardHeight}from"./useKeyboardHeight";export{usePersistentKeyboardHeight}from"./usePersistentKeyboardHeight";export{useTheme}from"./useTheme";export{useStyles,useThemedStyles,useThemedStylesExternal}from"./useThemedStyles";
1
+ export{useForwardedRef}from"./useForwardedRef";export{useKeyboardHeight}from"./useKeyboardHeight";export{usePersistentKeyboardHeight}from"./usePersistentKeyboardHeight";export{useTheme}from"./useTheme";export{useStyles,useThemedStyles}from"./useThemedStyles";
@@ -1 +1 @@
1
- import{c as _c}from"react/compiler-runtime";import{useMemo}from"react";import{MergeStyles}from"../theme";import{useTheme}from"./useTheme";function hasKey(obj,key){return key in obj;}export var useThemedStyles=(componentName,generator,...t0)=>{var $=_c(15);var t1=t0[0];var t2;if($[0]!==t1){t2=t1===undefined?{}:t1;$[0]=t1;$[1]=t2;}else{t2=$[1];}var options=t2;var componentProps="props"in options?options.props:undefined;var componentStyles="styles"in options?options.styles:undefined;var _useTheme=useTheme(),theme=_useTheme.theme,originalStyles=_useTheme.styles,icons=_useTheme.icons;var generated;var t3;if($[2]!==componentName||$[3]!==componentProps||$[4]!==componentStyles||$[5]!==generator||$[6]!==icons||$[7]!==options||$[8]!==originalStyles||$[9]!==theme){var styles=MergeStyles(originalStyles,componentStyles);generated="props"in options?generator({theme,styles,icons},componentProps):generator({theme,styles,icons});t3=hasKey(styles,componentName)?hasKey(icons,componentName)?{style:styles[componentName],icons:icons[componentName]}:{style:styles[componentName]}:hasKey(icons,componentName)?{icons:icons[componentName]}:{};$[2]=componentName;$[3]=componentProps;$[4]=componentStyles;$[5]=generator;$[6]=icons;$[7]=options;$[8]=originalStyles;$[9]=theme;$[10]=generated;$[11]=t3;}else{generated=$[10];t3=$[11];}var componentResult=t3;var t4;if($[12]!==componentResult||$[13]!==generated){t4=[generated,componentResult];$[12]=componentResult;$[13]=generated;$[14]=t4;}else{t4=$[14];}var themedStyles=t4;return themedStyles;};export var useThemedStylesExternal=(generator,...t0)=>{var $=_c(10);var t1=t0[0];var t2;if($[0]!==t1){t2=t1===undefined?{}:t1;$[0]=t1;$[1]=t2;}else{t2=$[1];}var options=t2;var componentProps="props"in options?options.props:undefined;var componentStyles="styles"in options?options.styles:undefined;var _useTheme2=useTheme(),theme=_useTheme2.theme,originalStyles=_useTheme2.styles,icons=_useTheme2.icons;var t3;if($[2]!==componentProps||$[3]!==componentStyles||$[4]!==generator||$[5]!==icons||$[6]!==options||$[7]!==originalStyles||$[8]!==theme){var styles=MergeStyles(originalStyles,componentStyles);t3="props"in options?generator({theme,styles,icons},componentProps):generator({theme,styles,icons});$[2]=componentProps;$[3]=componentStyles;$[4]=generator;$[5]=icons;$[6]=options;$[7]=originalStyles;$[8]=theme;$[9]=t3;}else{t3=$[9];}var generated=t3;var themedStyles=generated;return themedStyles;};export var useStyles=componentStyles=>{var $=_c(3);var _useTheme3=useTheme(),originalStyles=_useTheme3.styles;var t0;if($[0]!==componentStyles||$[1]!==originalStyles){t0=MergeStyles(originalStyles,componentStyles);$[0]=componentStyles;$[1]=originalStyles;$[2]=t0;}else{t0=$[2];}var themedStyles=t0;return themedStyles;};
1
+ import{c as _c}from"react/compiler-runtime";import{useMemo}from"react";import{MergeStyles}from"../theme";import{useTheme}from"./useTheme";function hasKey(obj,key){return key in obj;}var EMPTY_OPTIONS={};export function useThemedStyles(...t0){var $=_c(13);var args=t0;var first=args[0];var isComponent=typeof first==="string";var componentName=isComponent?first:undefined;var generator=isComponent?args[1]:first;var options=(isComponent?args[2]:args[1])??EMPTY_OPTIONS;var hasProps="props"in options;var componentProps=hasProps?options.props:undefined;var componentStyles="styles"in options?options.styles:undefined;var _useTheme=useTheme(),theme=_useTheme.theme,originalStyles=_useTheme.styles,icons=_useTheme.icons;var t1;if($[0]!==componentName||$[1]!==componentProps||$[2]!==componentStyles||$[3]!==generator||$[4]!==hasProps||$[5]!==icons||$[6]!==isComponent||$[7]!==originalStyles||$[8]!==theme){bb0:{var styles=MergeStyles(originalStyles,componentStyles);var _generated=hasProps?generator({theme,styles,icons},componentProps):generator({theme,styles,icons});if(!isComponent){t1=_generated;break bb0;}var name=componentName;var componentResult=hasKey(styles,name)?hasKey(icons,name)?{style:styles[name],icons:icons[name]}:{style:styles[name]}:hasKey(icons,name)?{icons:icons[name]}:{};var t2;if($[10]!==componentResult||$[11]!==_generated){t2=[_generated,componentResult];$[10]=componentResult;$[11]=_generated;$[12]=t2;}else{t2=$[12];}t1=t2;}$[0]=componentName;$[1]=componentProps;$[2]=componentStyles;$[3]=generator;$[4]=hasProps;$[5]=icons;$[6]=isComponent;$[7]=originalStyles;$[8]=theme;$[9]=t1;}else{t1=$[9];}var themedStyles=t1;return themedStyles;}export var useStyles=componentStyles=>{var $=_c(3);var _useTheme2=useTheme(),originalStyles=_useTheme2.styles;var t0;if($[0]!==componentStyles||$[1]!==originalStyles){t0=MergeStyles(originalStyles,componentStyles);$[0]=componentStyles;$[1]=originalStyles;$[2]=t0;}else{t0=$[2];}var themedStyles=t0;return themedStyles;};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AlertIndicator.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/AlertIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,KAAK,UAAU,EACf,KAAK,SAAS,EAGd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,WAAW,CAAC;AAEnD,MAAM,MAAM,oBAAoB,GAAG;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;IACxC,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,UAAU,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgBxD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { AlertIndicator, type AlertIndicatorProps, type AlertIndicatorStyles, } from "./AlertIndicator";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,KAAK,UAAU,EAEf,KAAK,SAAS,EAEd,KAAK,SAAS,EAEd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAoBtD,KAAK,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEhD,MAAM,MAAM,YAAY,GAAG;IACvB,IAAI,EAAE;SAAG,GAAG,IAAI,UAAU,GAAG,MAAM;KAAE,CAAC;IACtC,QAAQ,EAAE;QACN,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;KACxC,CAAC;IACF,KAAK,EAAE;QACH,UAAU,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;QACpC,QAAQ,EAAE,MAAM,CAAC;KACpB,CAAC;IACF,MAAM,EAAE,KAAK,CAAC;QAAE,UAAU,EAAE,UAAU,CAAC;QAAC,UAAU,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CACrE,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAElC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoCxC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Avatar, type AvatarProps, type AvatarStyles } from "./Avatar";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../../src/components/container/Panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1E,MAAM,WAAW,UAAU;IACvB,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CA0BrD,CAAC"}
@@ -2,5 +2,5 @@ export { CollapsibleContainer, type CollapsibleContainerProps, } from "./Collaps
2
2
  export { FloatingContainer, type FloatingContainerProps, type FloatingContainerStyles, } from "./FloatingContainer";
3
3
  export { FormContainer, type FormContainerProps } from "./FormContainer";
4
4
  export { FormRow, type FormRowProps } from "./FormRow";
5
- export { SwipeableContainer, type SwipeableContainerProps, } from "./SwipeableContainer";
5
+ export { Panel, type PanelProps } from "./Panel";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACpB,KAAK,yBAAyB,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EACH,kBAAkB,EAClB,KAAK,uBAAuB,GAC/B,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,oBAAoB,EACpB,KAAK,yBAAyB,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -1,11 +1,11 @@
1
- export { AlertIndicator, type AlertIndicatorProps, type AlertIndicatorStyles, } from "./AlertIndicator";
2
- export { Avatar, type AvatarProps, type AvatarStyles } from "./Avatar";
3
1
  export type { ActionBaseProps, ActionProps, ActionStyles, IconActionBaseProps, IconActionBaseStyles, IconActionProps, IconActionStyles, } from "./action";
4
2
  export { Action, ActionBase, IconAction, IconActionBase, } from "./action";
3
+ export { AlertIndicator, type AlertIndicatorProps, type AlertIndicatorStyles, } from "./alert";
4
+ export { Avatar, type AvatarProps, type AvatarStyles } from "./avatar";
5
5
  export type { ButtonBaseProps, ButtonBaseStyles, ButtonProps, ButtonStyles, IconButtonBaseProps, IconButtonBaseStyles, IconButtonProps, IconButtonStyles, } from "./button";
6
6
  export { Button, ButtonBase, IconButton, IconButtonBase, } from "./button";
7
- export type { CollapsibleContainerProps, FloatingContainerProps, FloatingContainerStyles, FormContainerProps, FormRowProps, SwipeableContainerProps, } from "./container";
8
- export { CollapsibleContainer, FloatingContainer, FormContainer, FormRow, SwipeableContainer, } from "./container";
7
+ export type { CollapsibleContainerProps, FloatingContainerProps, FloatingContainerStyles, FormContainerProps, FormRowProps, PanelProps, } from "./container";
8
+ export { CollapsibleContainer, FloatingContainer, FormContainer, FormRow, Panel, } from "./container";
9
9
  export type { IconBaseProps, IconBaseStyles, IconComponentProps, IconProps, IconStyles, InteractiveIconStyles, } from "./icon";
10
10
  export { Icon, IconBase, withIcon, } from "./icon";
11
11
  export type { CounterInputIcons, CounterInputProps, DropdownInputProps, DropdownInputStyles, FractionValue, InputActionProps, InputActionStyles, InputBaseProps, InputBaseStyles, InputRowContainerProps, InputScaffoldIcons, InputScaffoldProps, InputScaffoldStyles, NumberInputIcons, NumberInputProps, NumberInputValue, NumberValue, RangeValue, RatingInputIcons, RatingInputProps, RatingInputStyles, SelectionInputIcons, SelectionInputProps, SelectionInputStyles, TextInputProps, TextInputStyles, TimeInputIcons, TimeInputProps, TimeInputValue, ToggleInputIcons, ToggleInputProps, ToggleInputStyles, } from "./input";
@@ -13,11 +13,10 @@ export { CounterInput, DropdownInput, DropdownInputBase, InputAction, InputBase,
13
13
  export { ListItem, ListItemAlert, ListItemAvatar, ListItemFooter, type ListItemProps, ListItemRow, type ListItemStyles, } from "./listItem";
14
14
  export type { MenuItemProps, MenuItemStyles, MenuProps, MenuStyles, } from "./menu";
15
15
  export { Menu, MenuItem, } from "./menu";
16
- export { Panel, type PanelProps } from "./Panel";
17
16
  export { getRatingIcons, Rating, type RatingIcons, type RatingProps, type RatingStyles, ratingToValue, valueToRating, } from "./rating";
18
- export { SwipeAction, type SwipeActionProps, type SwipeActionStyles, } from "./SwipeAction";
19
- export { Toast, type ToastProps, type ToastStyles } from "./Toast";
17
+ export { SwipeAction, type SwipeActionProps, type SwipeActionStyles, SwipeableContainer, type SwipeableContainerProps, } from "./swipe";
20
18
  export { Tag, TagIcon, type TagProps, type TagStyles } from "./tag";
21
19
  export type { HighlightedTextProps, HighlightedTextStyles, InteractiveTextStyles, TextProps, TextStyles, } from "./text";
22
20
  export { HighlightedText, Text, } from "./text";
21
+ export { Toast, type ToastProps, type ToastStyles } from "./toast";
23
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,UAAU,CAAC;AACvE,YAAY,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,MAAM,EACN,UAAU,EACV,UAAU,EACV,cAAc,GACjB,MAAM,UAAU,CAAC;AAClB,YAAY,EACR,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GACn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ACX,KAAK,cAAc,GACtB,MAAM,YAAY,CAAC;AACpB,YAAY,EACR,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,IAAI,EACJ,QAAQ,GACX,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EACH,cAAc,EACd,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,aAAa,EACb,aAAa,GAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,YAAY,EACR,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,SAAS,EACT,UAAU,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,eAAe,EACf,IAAI,GACP,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,mBAAmB,EACnB,oBAAoB,EACpB,eAAe,EACf,gBAAgB,GACnB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,MAAM,EACN,UAAU,EACV,UAAU,EACV,cAAc,GACjB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC5B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAA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T,SAAS,EACT,WAAW,GACd,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,QAAQ,EACR,aAAa,EACb,cAAc,EACd,cAAc,EACd,KAAK,aAAa,EAClB,WAAW,EACX,KAAK,cAAc,GACtB,MAAM,YAAY,CAAC;AACpB,YAAY,EACR,aAAa,EACb,cAAc,EACd,SAAS,EACT,UAAU,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,IAAI,EACJ,QAAQ,GACX,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,cAAc,EACd,MAAM,EACN,KAAK,WAAW,EAChB,KAAK,WAAW,EAChB,KAAK,YAAY,EACjB,aAAa,EACb,aAAa,GAChB,MAAM,UAAU,CAAC;AAClB,OAAO,EACH,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,kBAAkB,EAClB,KAAK,uBAAuB,GAC/B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,YAAY,EACR,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,SAAS,EACT,UAAU,GACb,MAAM,QAAQ,CAAC;AAChB,OAAO,EACH,eAAe,EACf,IAAI,GACP,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { FC, ReactNode } from "react";
2
2
  import { type StyleProp, type ViewStyle } from "react-native";
3
- import { type SwipeableContainerProps } from "../container";
3
+ import { type SwipeableContainerProps } from "../swipe";
4
4
  type ListItemVariant = "default" | "compact";
5
5
  export interface ListItemStyles {
6
6
  spacingMargin: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../../../src/components/listItem/ListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA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d,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAItB,OAAO,EAAsB,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAC;AAG5E,KAAK,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AAE7C,MAAM,WAAW,cAAc;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAAC;CAC9B;AAED,MAAM,WAAW,aAAa;IAC1B,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAE/B;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IAEnB,YAAY,CAAC,EAAE,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACvD,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,qBAAqB,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,aAAa,CAyDtC,CAAC"}
@@ -1,8 +1,8 @@
1
- import { type IconButtonProps } from "./button";
1
+ import { type IconButtonProps } from "../button";
2
2
  export type SwipeActionStyles = {
3
3
  width: number;
4
4
  };
5
5
  export interface SwipeActionProps extends Pick<IconButtonProps, "onPress" | "variant"> {
6
6
  }
7
- export declare const SwipeAction: <G extends string>(props: SwipeActionProps & import("./icon").IconComponentProps<G>) => import("react").ReactNode;
7
+ export declare const SwipeAction: <G extends string>(props: SwipeActionProps & import("..").IconComponentProps<G>) => import("react").ReactNode;
8
8
  //# sourceMappingURL=SwipeAction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwipeAction.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/SwipeAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,WAAW,CAAC;AAG7D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,CAAC;CAAG;AAE3D,eAAO,MAAM,WAAW,+GAGtB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SwipeableContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/SwipeableContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AAChF,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhE,MAAM,WAAW,uBAAuB;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,uBAAuB,CAoCzE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SwipeAction, type SwipeActionProps, type SwipeActionStyles, } from "./SwipeAction";
2
+ export { SwipeableContainer, type SwipeableContainerProps, } from "./SwipeableContainer";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/swipe/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EACH,kBAAkB,EAClB,KAAK,uBAAuB,GAC/B,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAShF,MAAM,WAAW,WAAW;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CA4BrD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Toast, type ToastProps, type ToastStyles } from "./Toast";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC"}
@@ -2,5 +2,5 @@ export { useForwardedRef } from "./useForwardedRef";
2
2
  export { useKeyboardHeight } from "./useKeyboardHeight";
3
3
  export { usePersistentKeyboardHeight } from "./usePersistentKeyboardHeight";
4
4
  export { useTheme } from "./useTheme";
5
- export { type ThemedStyles, useStyles, useThemedStyles, useThemedStylesExternal, } from "./useThemedStyles";
5
+ export { type ThemedStyles, useStyles, useThemedStyles, } from "./useThemedStyles";
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EACH,KAAK,YAAY,EACjB,SAAS,EACT,eAAe,EACf,uBAAuB,GAC1B,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EACH,KAAK,YAAY,EACjB,SAAS,EACT,eAAe,GAClB,MAAM,mBAAmB,CAAC"}
@@ -34,7 +34,16 @@ type UseStylesOptions<G extends AnyGenerator> = [GeneratorProps<G>] extends [
34
34
  props: GeneratorProps<G>;
35
35
  }
36
36
  ];
37
- export declare const useThemedStyles: <C extends ComponentKey, G extends (...args: any[]) => any>(componentName: C, generator: G, ...[options]: UseStylesOptions<G>) => UseStylesReturn<C, GeneratorResult<G>>;
38
- export declare const useThemedStylesExternal: <G extends (...args: any[]) => any>(generator: G, ...[options]: UseStylesOptions<G>) => GeneratorResult<G>;
37
+ /**
38
+ * Reads themed styles.
39
+ *
40
+ * Two call forms:
41
+ * - `useThemedStyles(componentName, generator, options?)` — component form.
42
+ * Returns `[generated, { style, icons }]` for the named component.
43
+ * - `useThemedStyles(generator, options?)` — external form.
44
+ * Returns just the generated styles.
45
+ */
46
+ export declare function useThemedStyles<C extends ComponentKey, G extends AnyGenerator>(componentName: C, generator: G, ...options: UseStylesOptions<G>): UseStylesReturn<C, GeneratorResult<G>>;
47
+ export declare function useThemedStyles<G extends AnyGenerator>(generator: G, ...options: UseStylesOptions<G>): GeneratorResult<G>;
39
48
  export declare const useStyles: (componentStyles: StyleOverrides) => Styles;
40
49
  //# sourceMappingURL=useThemedStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useThemedStyles.d.ts","sourceRoot":"","sources":["../../../src/hooks/useThemedStyles.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,sBAAsB,IAAI,YAAY,EAAE,MAAM,cAAc,CAAC;AAC3E,OAAO,EACH,KAAK,KAAK,EAEV,KAAK,cAAc,EACnB,KAAK,MAAM,EACd,MAAM,UAAU,CAAC;AAGlB,YAAY,EAAE,YAAY,EAAE,CAAC;AAS7B,KAAK,YAAY,GAAG,MAAM,MAAM,CAAC;AACjC,KAAK,WAAW,GAAG,MAAM,KAAK,CAAC;AAC/B,KAAK,YAAY,GAAG,YAAY,GAAG,WAAW,CAAC;AAE/C,KAAK,iBAAiB,GAAG;KACpB,CAAC,IAAI,MAAM,MAAM,GAAG,MAAM,KAAK,GAAG,CAAC,SAAS,MAAM,MAAM,GACnD,CAAC,SAAS,MAAM,KAAK,GACjB;QACI,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;KACnB,GACD;QACI,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC;KACpB,GACL,CAAC,SAAS,MAAM,KAAK,GACnB;QACI,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;KACnB,GACD,KAAK;CAChB,CAAC;AAEF,KAAK,WAAW,CAAC,CAAC,SAAS,MAAM,iBAAiB,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAE3E,KAAK,eAAe,CAAC,CAAC,SA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AC,CAAC,CAAC;AAE7D,KAAK,cAAc,CAAC,CAAC,SAAS,YAAY,IACtC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;AAE9D,KAAK,gBAAgB,CAAC,CAAC,SAAS,YAAY,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,SAAS;IACxE,KAAK;CACR,GACK;IACI,OAAO,CAAC,EAAE;QACN,MAAM,CAAC,EAAE,cAAc,CAAC;KAC3B;CACJ,GACD;IACI,OAAO,EAAE;QACL,MAAM,CAAC,EAAE,cAAc,CAAC;QACxB,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;KAC5B;CACJ,CAAC;AAOR;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,YAAY,EAAE,CAAC,SAAS,YAAY,EAC1E,aAAa,EAAE,CAAC,EAChB,SAAS,EAAE,CAAC,EACZ,GAAG,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAChC,eAAe,CAAC,CAAC,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1C,wBAAgB,eAAe,CAAC,CAAC,SAAS,YAAY,EAClD,SAAS,EAAE,CAAC,EACZ,GAAG,OAAO,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAChC,eAAe,CAAC,CAAC,CAAC,CAAC;AAyDtB,eAAO,MAAM,SAAS,GAAI,iBAAiB,cAAc,WASxD,CAAC"}
@@ -3432,29 +3432,29 @@ export declare const DefaultIcons: {
3432
3432
  };
3433
3433
  rating: {
3434
3434
  empty: {
3435
- iconSet: IconSet<import("..").StarsIconName>;
3435
+ iconSet: IconSet<import("../icons").StarsIconName>;
3436
3436
  iconName: string;
3437
3437
  };
3438
3438
  full: {
3439
- iconSet: IconSet<import("..").StarsIconName>;
3439
+ iconSet: IconSet<import("../icons").StarsIconName>;
3440
3440
  iconName: string;
3441
3441
  };
3442
3442
  half: {
3443
- iconSet: IconSet<import("..").StarsIconName>;
3443
+ iconSet: IconSet<import("../icons").StarsIconName>;
3444
3444
  iconName: string;
3445
3445
  };
3446
3446
  };
3447
3447
  ratingInput: {
3448
3448
  empty: {
3449
- iconSet: IconSet<import("..").StarsIconName>;
3449
+ iconSet: IconSet<import("../icons").StarsIconName>;
3450
3450
  iconName: string;
3451
3451
  };
3452
3452
  full: {
3453
- iconSet: IconSet<import("..").StarsIconName>;
3453
+ iconSet: IconSet<import("../icons").StarsIconName>;
3454
3454
  iconName: string;
3455
3455
  };
3456
3456
  half: {
3457
- iconSet: IconSet<import("..").StarsIconName>;
3457
+ iconSet: IconSet<import("../icons").StarsIconName>;
3458
3458
  iconName: string;
3459
3459
  };
3460
3460
  };
package/package.json CHANGED
@@ -1,17 +1,42 @@
1
1
  {
2
2
  "name": "@reillymc/react-native-components",
3
- "version": "0.11.2",
3
+ "version": "0.11.3",
4
4
  "description": "A collection of React Native components and resources",
5
- "module": "lib/index.js",
6
- "react-native": "lib/index.js",
7
- "source": "lib/index.js",
8
- "types": "lib/types/index.d.ts",
5
+ "type": "module",
6
+ "sideEffects": false,
7
+ "exports": {
8
+ "./components": {
9
+ "types": "./lib/types/components/index.d.ts",
10
+ "default": "./lib/components/index.js"
11
+ },
12
+ "./hooks": {
13
+ "types": "./lib/types/hooks/index.d.ts",
14
+ "default": "./lib/hooks/index.js"
15
+ },
16
+ "./icons": {
17
+ "types": "./lib/types/icons/index.d.ts",
18
+ "default": "./lib/icons/index.js"
19
+ },
20
+ "./providers": {
21
+ "types": "./lib/types/providers/index.d.ts",
22
+ "default": "./lib/providers/index.js"
23
+ },
24
+ "./theme": {
25
+ "types": "./lib/types/theme/index.d.ts",
26
+ "default": "./lib/theme/index.js"
27
+ },
28
+ "./common": {
29
+ "types": "./lib/types/common/index.d.ts",
30
+ "default": "./lib/common/index.js"
31
+ },
32
+ "./package.json": "./package.json"
33
+ },
9
34
  "files": [
10
35
  "lib/**/*"
11
36
  ],
12
37
  "scripts": {
13
38
  "clean": "rm -rf ./lib",
14
- "build": "npm run clean && tsc -p ./tsconfig.build.json && babel --config-file ./babel.config.build.js --extensions .ts,.tsx ./src -d ./lib",
39
+ "build": "npm run clean && tsc -p ./tsconfig.build.json && babel --config-file ./babel.config.build.cjs --extensions .ts,.tsx ./src -d ./lib",
15
40
  "lint": "biome check --error-on-warnings",
16
41
  "lint:fix": "biome check --fix",
17
42
  "prepare": "npm run build",
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/AlertIndicator.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import{useThemedStyles}from"../hooks";import{Text}from"./text";import{jsx as _jsx}from"react/jsx-runtime";export var AlertIndicator=t0=>{var $=_c(11);var t1=t0.label,t2=t0.variant,style=t0.style;var label=t1===undefined?"":t1;var variant=t2===undefined?"primary":t2;var t3;if($[0]!==variant){t3={props:{variant}};$[0]=variant;$[1]=t3;}else{t3=$[1];}var _useThemedStyles=useThemedStyles("alertIndicator",createStyles,t3),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t4;if($[2]!==style||$[3]!==styles.container){t4=[styles.container,style];$[2]=style;$[3]=styles.container;$[4]=t4;}else{t4=$[4];}var t5;if($[5]!==label||$[6]!==styles.text){t5=_jsx(Text,{numberOfLines:1,style:styles.text,children:label});$[5]=label;$[6]=styles.text;$[7]=t5;}else{t5=$[7];}var t6;if($[8]!==t4||$[9]!==t5){t6=_jsx(View,{style:t4,children:t5});$[8]=t4;$[9]=t5;$[10]=t6;}else{t6=$[10];}return t6;};AlertIndicator.displayName="AlertIndicator";var createStyles=({styles:{alertIndicator}},{variant="primary"})=>{var styles=StyleSheet.create({container:{display:"flex",alignItems:"center",justifyContent:"center",height:alertIndicator.size,width:alertIndicator.size,borderRadius:alertIndicator.borderRadius,backgroundColor:alertIndicator.backgroundColor[variant]},text:{color:alertIndicator.color[variant],fontWeight:"600"}});return styles;};
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/Avatar.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{Image,StyleSheet,View}from"react-native";import{useThemedStyles}from"../hooks";import{Text}from"./text";import{jsx as _jsx,Fragment as _Fragment,jsxs as _jsxs}from"react/jsx-runtime";var getBackgroundColor=(colors,firstName,lastName)=>{var hash=(firstName||lastName||"").split("").reduce((acc,char)=>acc+char.charCodeAt(0),0)%colors.length;return colors[hash]??colors[0]??{background:"#fff",foreground:"#000"};};export var Avatar=t0=>{var $=_c(35);var t1=t0.firstName,t2=t0.lastName,imageUri=t0.imageUri,t3=t0.size,action=t0.action,style=t0.style,containerStyle=t0.containerStyle;var firstName=t1===undefined?"":t1;var lastName=t2===undefined?"":t2;var size=t3===undefined?"regular":t3;var t4;if($[0]!==style){t4={avatar:style};$[0]=style;$[1]=t4;}else{t4=$[1];}var t5;if($[2]!==firstName||$[3]!==lastName||$[4]!==size){t5={size,firstName,lastName};$[2]=firstName;$[3]=lastName;$[4]=size;$[5]=t5;}else{t5=$[5];}var t6;if($[6]!==t4||$[7]!==t5){t6={styles:t4,props:t5};$[6]=t4;$[7]=t5;$[8]=t6;}else{t6=$[8];}var _useThemedStyles=useThemedStyles("avatar",createStyles,t6),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t7;if($[9]!==firstName){t7=firstName.charAt(0);$[9]=firstName;$[10]=t7;}else{t7=$[10];}var t8;if($[11]!==lastName){t8=lastName.charAt(0);$[11]=lastName;$[12]=t8;}else{t8=$[12];}var t9=`${t7}${t8}`;var t10;if($[13]!==t9){t10=t9.toUpperCase();$[13]=t9;$[14]=t10;}else{t10=$[14];}var initials=t10;var t11;if($[15]!==containerStyle||$[16]!==styles.container){t11=[styles.container,containerStyle];$[15]=containerStyle;$[16]=styles.container;$[17]=t11;}else{t11=$[17];}var t12;if($[18]!==firstName||$[19]!==imageUri||$[20]!==initials||$[21]!==lastName||$[22]!==size||$[23]!==styles.image||$[24]!==styles.initials||$[25]!==styles.label){t12=imageUri?_jsx(Image,{source:{uri:imageUri},style:styles.image}):_jsxs(_Fragment,{children:[_jsx(Text,{style:styles.initials,children:initials}),size==="large"&&_jsx(Text,{numberOfLines:3,style:[styles.label],children:`${firstName} ${lastName}`})]});$[18]=firstName;$[19]=imageUri;$[20]=initials;$[21]=lastName;$[22]=size;$[23]=styles.image;$[24]=styles.initials;$[25]=styles.label;$[26]=t12;}else{t12=$[26];}var t13;if($[27]!==action||$[28]!==size||$[29]!==styles.action){t13=action&&size!=="small"&&_jsx(View,{style:styles.action,children:action});$[27]=action;$[28]=size;$[29]=styles.action;$[30]=t13;}else{t13=$[30];}var t14;if($[31]!==t11||$[32]!==t12||$[33]!==t13){t14=_jsxs(View,{style:t11,children:[t12,t13]});$[31]=t11;$[32]=t12;$[33]=t13;$[34]=t14;}else{t14=$[34];}return t14;};Avatar.displayName="Avatar";var createStyles=({styles:{avatar},theme:{spacing}},{size="regular",firstName,lastName})=>{var _getBackgroundColor=getBackgroundColor(avatar.colors,firstName,lastName),background=_getBackgroundColor.background,foreground=_getBackgroundColor.foreground;var styles=StyleSheet.create({container:{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:background,height:avatar.size[size],width:avatar.size[size],borderRadius:avatar.size[size]/2},image:{height:avatar.size[size],width:avatar.size[size],borderRadius:avatar.size[size]/2},initials:{fontWeight:avatar.initials.fontWeight,fontSize:avatar.initials.fontSize[size],color:foreground},label:{fontSize:avatar.label.fontSize,fontWeight:avatar.label.fontWeight,paddingHorizontal:spacing.small,textAlign:"center",color:foreground},action:{position:"absolute",top:-spacing.tiny,right:-spacing.small}});return styles;};
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/Panel.tsx";import{c as _c}from"react/compiler-runtime";import{StyleSheet}from"react-native";import Animated,{Easing,LinearTransition}from"react-native-reanimated";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var Panel=t0=>{var $=_c(11);var collapsed=t0.collapsed,style=t0.style,header=t0.header,children=t0.children;var t1;if($[0]!==collapsed){t1=createStyles({collapsed});$[0]=collapsed;$[1]=t1;}else{t1=$[1];}var styles=t1;var t2;if($[2]===Symbol.for("react.memo_cache_sentinel")){t2=LinearTransition.easing(Easing.inOut(Easing.cubic)).mass(0.3).springify();$[2]=t2;}else{t2=$[2];}var t3;if($[3]===Symbol.for("react.memo_cache_sentinel")){t3=LinearTransition.easing(Easing.inOut(Easing.cubic)).mass(0.3).springify();$[3]=t3;}else{t3=$[3];}var t4;if($[4]!==children||$[5]!==styles.collapsible){t4=_jsx(Animated.View,{layout:t3,style:styles.collapsible,children:children});$[4]=children;$[5]=styles.collapsible;$[6]=t4;}else{t4=$[6];}var t5;if($[7]!==header||$[8]!==style||$[9]!==t4){t5=_jsxs(Animated.View,{layout:t2,style:style,children:[header,t4]});$[7]=header;$[8]=style;$[9]=t4;$[10]=t5;}else{t5=$[10];}return t5;};var createStyles=({collapsed})=>{var styles=StyleSheet.create({collapsible:{overflow:"hidden",height:collapsed?0:undefined}});return styles;};
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/SwipeAction.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{StyleSheet}from"react-native";import{useThemedStyles}from"../hooks";import{IconButton}from"./button";import{withIcon}from"./icon";import{jsx as _jsx}from"react/jsx-runtime";export var SwipeAction=withIcon(props=>{var _useThemedStyles=useThemedStyles("swipeAction",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];return _jsx(IconButton,{...props,containerStyle:styles.actionButton});});var createStyles=({styles:{swipeAction}})=>StyleSheet.create({actionButton:{height:"100%",alignItems:"center",justifyContent:"center",borderRadius:0,width:swipeAction.width}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/Toast.tsx";function _slicedToArray(r,e){return _arrayWithHoles(r)||_iterableToArrayLimit(r,e)||_unsupportedIterableToArray(r,e)||_nonIterableRest();}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return _arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(r,a):void 0;}}function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n;}function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1;}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r;}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return;}finally{if(o)throw n;}}return a;}}function _arrayWithHoles(r){if(Array.isArray(r))return r;}import{c as _c}from"react/compiler-runtime";import{StyleSheet,View}from"react-native";import Animated,{LinearTransition,SlideInDown,SlideOutDown}from"react-native-reanimated";import{useThemedStyles}from"../hooks";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";export var Toast=t0=>{var $=_c(20);var action=t0.action,containerStyle=t0.containerStyle,children=t0.children;var _useThemedStyles=useThemedStyles("toast",createStyles),_useThemedStyles2=_slicedToArray(_useThemedStyles,1),styles=_useThemedStyles2[0];var t1;if($[0]!==containerStyle||$[1]!==styles.container){t1=[styles.container,containerStyle];$[0]=containerStyle;$[1]=styles.container;$[2]=t1;}else{t1=$[2];}var t2;var t3;var t4;if($[3]===Symbol.for("react.memo_cache_sentinel")){t2=SlideInDown.springify().mass(0.5);t3=SlideOutDown.springify().mass(0.5);t4=LinearTransition.springify().mass(0.5);$[3]=t2;$[4]=t3;$[5]=t4;}else{t2=$[3];t3=$[4];t4=$[5];}var t5;if($[6]!==children||$[7]!==styles.contentContainer){t5=_jsx(View,{style:styles.contentContainer,children:children});$[6]=children;$[7]=styles.contentContainer;$[8]=t5;}else{t5=$[8];}var t6;if($[9]!==action||$[10]!==styles.actionContainer||$[11]!==styles.separator){t6=action&&_jsxs(View,{style:styles.actionContainer,children:[_jsx(Animated.View,{layout:LinearTransition.springify().mass(0.5),style:styles.separator}),action]});$[9]=action;$[10]=styles.actionContainer;$[11]=styles.separator;$[12]=t6;}else{t6=$[12];}var t7;if($[13]!==styles.innerContainer||$[14]!==t5||$[15]!==t6){t7=_jsxs(View,{style:styles.innerContainer,children:[t5,t6]});$[13]=styles.innerContainer;$[14]=t5;$[15]=t6;$[16]=t7;}else{t7=$[16];}var t8;if($[17]!==t1||$[18]!==t7){t8=_jsx(Animated.View,{style:t1,entering:t2,exiting:t3,layout:t4,children:t7});$[17]=t1;$[18]=t7;$[19]=t8;}else{t8=$[19];}return t8;};var createStyles=({theme:{color,spacing,border},styles:{toast}})=>StyleSheet.create({container:{position:"absolute",bottom:toast.bottomInset,left:toast.horizontalInset,right:toast.horizontalInset,backgroundColor:color.backgroundHighlight,padding:spacing.medium,borderRadius:border.radius.loose},innerContainer:{flexDirection:"row",justifyContent:"space-between"},contentContainer:{flex:1},actionContainer:{flex:0,alignItems:"center",flexDirection:"row",height:"100%"},separator:{borderLeftWidth:StyleSheet.hairlineWidth,borderLeftColor:color.textSecondary,height:"100%",marginHorizontal:spacing.medium}});
@@ -1 +0,0 @@
1
- var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/container/SwipeableContainer.tsx";import{c as _c}from"react/compiler-runtime";import{useMemo,useRef}from"react";import{StyleSheet,View}from"react-native";import Swipeable from"react-native-gesture-handler/ReanimatedSwipeable";import{jsx as _jsx}from"react/jsx-runtime";export var SwipeableContainer=t0=>{var $=_c(12);var t1=t0.rightActions,containerStyle=t0.containerStyle,children=t0.children;var t2;if($[0]!==t1){t2=t1===undefined?[]:t1;$[0]=t1;$[1]=t2;}else{t2=$[1];}var rightActions=t2;var swipeableRef=useRef(null);var t3;if($[2]!==rightActions){t3=rightActions.reverse();$[2]=rightActions;$[3]=t3;}else{t3=$[3];}var actions=t3;var t4;if($[4]===Symbol.for("react.memo_cache_sentinel")){t4=()=>{swipeableRef.current?.close();};$[4]=t4;}else{t4=$[4];}var handleActionsPress=t4;var t5;if($[5]!==actions){t5=()=>_jsx(View,{style:styles.actionsContainer,onTouchEnd:handleActionsPress,children:actions});$[5]=actions;$[6]=t5;}else{t5=$[6];}var renderRightActions=t5;var t6;if($[7]===Symbol.for("react.memo_cache_sentinel")){t6={left:-20};$[7]=t6;}else{t6=$[7];}var t7;if($[8]!==children||$[9]!==containerStyle||$[10]!==renderRightActions){t7=_jsx(Swipeable,{hitSlop:t6,ref:swipeableRef,renderRightActions:renderRightActions,enableTrackpadTwoFingerGesture:true,friction:1.5,overshootRight:false,containerStyle:containerStyle,children:children});$[8]=children;$[9]=containerStyle;$[10]=renderRightActions;$[11]=t7;}else{t7=$[11];}return t7;};var styles=StyleSheet.create({actionsContainer:{display:"flex",flexDirection:"row"}});
package/lib/index.js DELETED
@@ -1 +0,0 @@
1
- export*from"./components";export{useTheme,useThemedStylesExternal as useThemedStyles}from"./hooks";export{Stars}from"./icons";export*from"./providers";export*from"./theme";
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/AlertIndicator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,KAAK,UAAU,EACf,KAAK,SAAS,EAGd,KAAK,SAAS,EACjB,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,W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,CAAC;QAAC,UAAU,EAAE,UAAU,CAAA;KAAE,CAAC,CAAC;CACrE,CAAC;AAEF,MAAM,WAAW,WAAW;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,IAAI,CAAC,EAAE,UAAU,CAAC;IAElB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzB,KAAK,CAAC,EAAE,WAAW,CAAC,YAAY,CAAC,CAAC;IAElC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAoCxC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Panel.d.ts","sourceRoot":"","sources":["../../../src/components/Panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAc,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1E,MAAM,WAAW,UAAU;IACvB,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CA0BrD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwipeAction.d.ts","sourceRoot":"","sources":["../../../src/components/SwipeAction.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,UAAU,CAAC;AAG5D,MAAM,MAAM,iBAAiB,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,SAAS,CAAC;CAAG;AAE3D,eAAO,MAAM,WAAW,mHAGtB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Toast.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAShF,MAAM,WAAW,WAAW;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU;IACvB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAED,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,UAAU,CA4BrD,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SwipeableContainer.d.ts","sourceRoot":"","sources":["../../../../src/components/container/SwipeableContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAmB,MAAM,OAAO,CAAC;AAChF,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKhE,MAAM,WAAW,uBAAuB;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAChC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,iBAAiB,CAAC,uBAAuB,CAoCzE,CAAC"}
@@ -1,8 +0,0 @@
1
- /** biome-ignore-all lint/performance/noReExportAll: top level folder exports should all be exposed for simple package api */
2
- export type { ValueItem } from "./common";
3
- export * from "./components";
4
- export { type ThemedStyles, useTheme, useThemedStylesExternal as useThemedStyles, } from "./hooks";
5
- export { type IconSet, Stars, type StarsIconName, } from "./icons";
6
- export * from "./providers";
7
- export * from "./theme";
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,6HAA6H;AAC7H,YAAY,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,OAAO,EACH,KAAK,YAAY,EACjB,QAAQ,EACR,uBAAuB,IAAI,eAAe,GAC7C,MAAM,SAAS,CAAC;AACjB,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,EACL,KAAK,aAAa,GACrB,MAAM,SAAS,CAAC;AACjB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC"}