@reillymc/react-native-components 0.11.5 → 0.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES.md +38 -0
- package/lib/components/input/RatingInput.js +1 -1
- package/lib/types/icons/ui/ArrowBoth.d.ts.map +1 -1
- package/lib/types/icons/ui/ChevronDown.d.ts.map +1 -1
- package/lib/types/icons/ui/Circle.d.ts.map +1 -1
- package/lib/types/icons/ui/Clock.d.ts.map +1 -1
- package/lib/types/icons/ui/Dash.d.ts.map +1 -1
- package/lib/types/icons/ui/Exclamation.d.ts.map +1 -1
- package/lib/types/icons/ui/InfinityGlyph.d.ts.map +1 -1
- package/lib/types/icons/ui/NumberGlyph.d.ts.map +1 -1
- package/lib/types/icons/ui/Plus.d.ts.map +1 -1
- package/lib/types/icons/ui/StarBorder.d.ts.map +1 -1
- package/lib/types/icons/ui/StarFull.d.ts.map +1 -1
- package/lib/types/icons/ui/StarHalf.d.ts.map +1 -1
- package/lib/types/icons/ui/index.d.ts.map +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
This project bundles glyph path data derived from third-party icon sets. The
|
|
4
|
+
licenses and copyright notices for that artwork are reproduced below, as
|
|
5
|
+
required by their terms. They are independent of this project's own MIT license.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## GitHub Octicons
|
|
10
|
+
|
|
11
|
+
- Source: https://github.com/primer/octicons
|
|
12
|
+
- Package/version: `@primer/octicons` v19.38.0
|
|
13
|
+
- Vendored in: every glyph under `src/icons/ui/`.
|
|
14
|
+
- License: MIT
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
MIT License
|
|
18
|
+
|
|
19
|
+
Copyright (c) 2026 GitHub Inc.
|
|
20
|
+
|
|
21
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
23
|
+
in the Software without restriction, including without limitation the rights
|
|
24
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
25
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
26
|
+
furnished to do so, subject to the following conditions:
|
|
27
|
+
|
|
28
|
+
The above copyright notice and this permission notice shall be included in all
|
|
29
|
+
copies or substantial portions of the Software.
|
|
30
|
+
|
|
31
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
32
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
33
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
34
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
35
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
36
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
|
+
SOFTWARE.
|
|
38
|
+
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.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{useEffect,useEffectEvent,useState}from"react";import{StyleSheet,View}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{Easing,useAnimatedStyle,useSharedValue,withTiming}from"react-native-reanimated";import{scheduleOnRN}from"react-native-worklets";import{useTheme,useThemedStyles}from"../../hooks";import{IconBase}from"../icon";import{ratingToValue,valueToRating}from"../rating";import{InputScaffold}from"./InputScaffold";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";var animationConfig={easing:Easing.elastic(2),duration:300,scale:1.2};var _worklet_14202875755172_init_data={code:"function RatingInputTsx1(x,width,max){if(!width)return 0;return Math.max(0,Math.min(Math.round(x/width*max*2+0.2)/2,max));}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx1\",\"x\",\"width\",\"max\",\"Math\",\"min\",\"round\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AAkDwB,QAAC,CAAAA,eAAqCA,CAAAC,CAAK,CAAAC,KAAA,CAAAC,GAAA,EAG/D,GAAI,CAACD,KAAK,CAAE,MAAO,EAAC,CAEpB,MAAO,CAAAE,IAAI,CAACD,GAAG,CACX,CAAC,CACDC,IAAI,CAACC,GAAG,CAACD,IAAI,CAACE,KAAK,CAAEL,CAAC,CAAGC,KAAK,CAAIC,GAAG,CAAG,CAAC,CAAG,GAAG,CAAC,CAAG,CAAC,CAAEA,GAAG,CAC7D,CAAC,CACL\",\"ignoreList\":[]}"};var calculateRating=function RatingInputTsx1Factory({_worklet_14202875755172_init_data}){var _e=[new global.Error(),1,-27];var RatingInputTsx1=function(x,width,max){if(!width)return 0;return Math.max(0,Math.min(Math.round(x/width*max*2+0.2)/2,max));};RatingInputTsx1.__closure={};RatingInputTsx1.__workletHash=14202875755172;RatingInputTsx1.__pluginVersion="0.8.3";RatingInputTsx1.__initData=_worklet_14202875755172_init_data;RatingInputTsx1.__stackDetails=_e;return RatingInputTsx1;}({_worklet_14202875755172_init_data});var computeIconSize=(width,padding,gap,height,max)=>{if(!width||width<=0)return 0;var maxSizeForWidth=Math.floor((width-padding-gap*(max-1))/max);var maxSizeForHeight=height-padding-gap*2;return Math.max(0,Math.min(maxSizeForWidth,maxSizeForHeight));};var _worklet_15023595213969_init_data={code:"function RatingInputTsx2(){const{interacting}=this.__closure;interacting.value=0;}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx2\",\"interacting\",\"__closure\",\"value\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AAkIoB,SAAAA,eAAMA,CAAA,QAAAC,WAAA,OAAAC,SAAA,CACdD,WAAW,CAACE,KAAK,CAAG,CAAC,CACzB\",\"ignoreList\":[]}"};var _worklet_6867206115268_init_data={code:"function RatingInputTsx3(e_1){const{calculateRating,widthShared,max,ratingShared,scheduleOnRN,commitRating}=this.__closure;const nextRating_0=calculateRating(e_1.x,widthShared.value,max);ratingShared.value=nextRating_0;scheduleOnRN(commitRating,nextRating_0);}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx3\",\"e_1\",\"calculateRating\",\"widthShared\",\"max\",\"ratingShared\",\"scheduleOnRN\",\"commitRating\",\"__closure\",\"nextRating_0\",\"x\",\"value\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AA6HgB,SAAAA,eAAMA,CAAAC,GAAA,QAAAC,eAAA,CAAAC,WAAA,CAAAC,GAAA,CAAAC,YAAA,CAAAC,YAAA,CAAAC,YAAA,OAAAC,SAAA,CACV,KAAM,CAAAC,YAAU,CAAGP,eAAe,CAACD,GAAC,CAACS,CAAC,CAAEP,WAAW,CAACQ,KAAK,CAAEP,GAAG,CAAC,CAC/DC,YAAY,CAACM,KAAK,CAAGF,YAAU,CAC/BH,YAAY,CAACC,YAAY,CAAEE,YAAU,CAAC,CAC1C\",\"ignoreList\":[]}"};var _worklet_9555228706233_init_data={code:"function RatingInputTsx4(e_0){const{ratingShared,calculateRating,widthShared,max}=this.__closure;ratingShared.value=calculateRating(e_0.x,widthShared.value,max);}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx4\",\"e_0\",\"ratingShared\",\"calculateRating\",\"widthShared\",\"max\",\"__closure\",\"value\",\"x\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AA0HmB,SAAAA,eAAMA,CAAAC,GAAA,QAAAC,YAAA,CAAAC,eAAA,CAAAC,WAAA,CAAAC,GAAA,OAAAC,SAAA,CACbJ,YAAY,CAACK,KAAK,CAAGJ,eAAe,CAACF,GAAC,CAACO,CAAC,CAAEJ,WAAW,CAACG,KAAK,CAAEF,GAAG,CAAC,CACrE\",\"ignoreList\":[]}"};var _worklet_3067607389094_init_data={code:"function RatingInputTsx5(e){const{interacting,ratingShared,calculateRating,widthShared,max}=this.__closure;interacting.value=1;ratingShared.value=calculateRating(e.x,widthShared.value,max);}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx5\",\"e\",\"interacting\",\"ratingShared\",\"calculateRating\",\"widthShared\",\"max\",\"__closure\",\"value\",\"x\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AAsHkB,QAAC,CAAAA,eAAKA,CAAAC,CAAA,QAAAC,WAAA,CAAAC,YAAA,CAAAC,eAAA,CAAAC,WAAA,CAAAC,GAAA,OAAAC,SAAA,CACZL,WAAW,CAACM,KAAK,CAAG,CAAC,CACrBL,YAAY,CAACK,KAAK,CAAGJ,eAAe,CAACH,CAAC,CAACQ,CAAC,CAAEJ,WAAW,CAACG,KAAK,CAAEF,GAAG,CAAC,CACrE\",\"ignoreList\":[]}"};var _worklet_13451982528898_init_data={code:"function RatingInputTsx6(e_2){const{scheduleOnRN,commitRating,calculateRating,widthShared,max}=this.__closure;scheduleOnRN(commitRating,calculateRating(e_2.x,widthShared.value,max));}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx6\",\"e_2\",\"scheduleOnRN\",\"commitRating\",\"calculateRating\",\"widthShared\",\"max\",\"__closure\",\"x\",\"value\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AAsIqC,SAAAA,eAAMA,CAAAC,GAAA,QAAAC,YAAA,CAAAC,YAAA,CAAAC,eAAA,CAAAC,WAAA,CAAAC,GAAA,OAAAC,SAAA,CACnCL,YAAY,CACRC,YAAY,CACZC,eAAe,CAACH,GAAC,CAACO,CAAC,CAAEH,WAAW,CAACI,KAAK,CAAEH,GAAG,CAC/C,CAAC,CACL\",\"ignoreList\":[]}"};export var RatingInput=({value=0,max=5,disabled:disabledProp,variant="regular",scale,onChange,...props})=>{var disabled=disabledProp||!onChange;var _useTheme=useTheme(),theme=_useTheme.theme,_useTheme$styles=_useTheme.styles,inputBase=_useTheme$styles.inputBase,rating=_useTheme$styles.rating;var _useThemedStyles=useThemedStyles("ratingInput",createStyles,{props:{disabled,variant}}),_useThemedStyles2=_slicedToArray(_useThemedStyles,2),styles=_useThemedStyles2[0],icons=_useThemedStyles2[1].icons;var scaledRating=scale?valueToRating(value,max,scale):value;var _useState=useState(),_useState2=_slicedToArray(_useState,2),width=_useState2[0],setWidth=_useState2[1];var widthShared=useSharedValue(0);var ratingShared=useSharedValue(scaledRating);var interacting=useSharedValue(0);useEffect(()=>{ratingShared.value=scaledRating;},[scaledRating,ratingShared]);var commitRating=useEffectEvent(nextRating=>{if(disabled||nextRating===scaledRating)return;onChange?.(scale?ratingToValue(nextRating,max,scale):nextRating);});var pan=Gesture.Pan().enabled(!disabled).onBegin(function RatingInputTsx5Factory({_worklet_3067607389094_init_data,interacting,ratingShared,calculateRating,widthShared,max}){var _e=[new global.Error(),-6,-27];var RatingInputTsx5=function(e){interacting.value=1;ratingShared.value=calculateRating(e.x,widthShared.value,max);};RatingInputTsx5.__closure={interacting,ratingShared,calculateRating,widthShared,max};RatingInputTsx5.__workletHash=3067607389094;RatingInputTsx5.__pluginVersion="0.8.3";RatingInputTsx5.__initData=_worklet_3067607389094_init_data;RatingInputTsx5.__stackDetails=_e;return RatingInputTsx5;}({_worklet_3067607389094_init_data,interacting,ratingShared,calculateRating,widthShared,max})).onUpdate(function RatingInputTsx4Factory({_worklet_9555228706233_init_data,ratingShared,calculateRating,widthShared,max}){var _e=[new global.Error(),-5,-27];var RatingInputTsx4=function(e_0){ratingShared.value=calculateRating(e_0.x,widthShared.value,max);};RatingInputTsx4.__closure={ratingShared,calculateRating,widthShared,max};RatingInputTsx4.__workletHash=9555228706233;RatingInputTsx4.__pluginVersion="0.8.3";RatingInputTsx4.__initData=_worklet_9555228706233_init_data;RatingInputTsx4.__stackDetails=_e;return RatingInputTsx4;}({_worklet_9555228706233_init_data,ratingShared,calculateRating,widthShared,max})).onEnd(function RatingInputTsx3Factory({_worklet_6867206115268_init_data,calculateRating,widthShared,max,ratingShared,scheduleOnRN,commitRating}){var _e=[new global.Error(),-7,-27];var RatingInputTsx3=function(e_1){var nextRating_0=calculateRating(e_1.x,widthShared.value,max);ratingShared.value=nextRating_0;scheduleOnRN(commitRating,nextRating_0);};RatingInputTsx3.__closure={calculateRating,widthShared,max,ratingShared,scheduleOnRN,commitRating};RatingInputTsx3.__workletHash=6867206115268;RatingInputTsx3.__pluginVersion="0.8.3";RatingInputTsx3.__initData=_worklet_6867206115268_init_data;RatingInputTsx3.__stackDetails=_e;return RatingInputTsx3;}({_worklet_6867206115268_init_data,calculateRating,widthShared,max,ratingShared,scheduleOnRN,commitRating})).onFinalize(function RatingInputTsx2Factory({_worklet_15023595213969_init_data,interacting}){var _e=[new global.Error(),-2,-27];var RatingInputTsx2=function(){interacting.value=0;};RatingInputTsx2.__closure={interacting};RatingInputTsx2.__workletHash=15023595213969;RatingInputTsx2.__pluginVersion="0.8.3";RatingInputTsx2.__initData=_worklet_15023595213969_init_data;RatingInputTsx2.__stackDetails=_e;return RatingInputTsx2;}({_worklet_15023595213969_init_data,interacting}));var tap=Gesture.Tap().onEnd(function RatingInputTsx6Factory({_worklet_13451982528898_init_data,scheduleOnRN,commitRating,calculateRating,widthShared,max}){var _e=[new global.Error(),-6,-27];var RatingInputTsx6=function(e_2){scheduleOnRN(commitRating,calculateRating(e_2.x,widthShared.value,max));};RatingInputTsx6.__closure={scheduleOnRN,commitRating,calculateRating,widthShared,max};RatingInputTsx6.__workletHash=13451982528898;RatingInputTsx6.__pluginVersion="0.8.3";RatingInputTsx6.__initData=_worklet_13451982528898_init_data;RatingInputTsx6.__stackDetails=_e;return RatingInputTsx6;}({_worklet_13451982528898_init_data,scheduleOnRN,commitRating,calculateRating,widthShared,max}));var gesture=Gesture.Exclusive(pan,tap);var ratingIconSize=computeIconSize(width,inputBase.container.padding,theme.spacing.tiny,inputBase.container.height[variant],max);return _jsx(InputScaffold,{...props,children:_jsx(GestureDetector,{gesture:gesture,children:_jsx(View,{style:styles.container,onLayout:e_3=>{var nextWidth=e_3.nativeEvent.layout.width;if(nextWidth>0){setWidth(nextWidth);widthShared.value=nextWidth;}},children:Array.from({length:max},(_,index)=>_jsx(AnimatedStar,{index:index,rating:ratingShared,size:ratingIconSize,interacting:interacting,empty:_jsx(IconBase,{...icons.empty,size:ratingIconSize,color:rating.icon.color.empty}),half:_jsx(IconBase,{...icons.half,size:ratingIconSize,color:rating.icon.color.half}),full:_jsx(IconBase,{...icons.full,size:ratingIconSize,color:rating.icon.color.full})},index))})})});};var _worklet_1114956076381_init_data={code:"function RatingInputTsx7(){const{rating,index}=this.__closure;return{opacity:rating.value>=index+0.5?0:1};}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx7\",\"rating\",\"index\",\"__closure\",\"opacity\",\"value\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AA4NwC,SAAAA,gBAAA,QAAAC,MAAA,CAAAC,KAAA,OAAAC,SAAA,OAAO,CAAAC,OAAA,CAC9BH,MAAM,CAAAI,KAAM,EAAIH,KAAK,CAAG,GAAW,CAAnC,CAAmC,CAAnC,CACb,CAAC\",\"ignoreList\":[]}"};var _worklet_8537619109224_init_data={code:"function RatingInputTsx8(){const{rating,index}=this.__closure;return{opacity:rating.value>=index+0.5&&rating.value<index+1?1:0};}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx8\",\"rating\",\"index\",\"__closure\",\"opacity\",\"value\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AA+NuC,SAAAA,gBAAA,QAAAC,MAAA,CAAAC,KAAA,OAAAC,SAAA,OAAO,CAAAC,OAAA,CAElCH,MAAM,CAAAI,KAAM,EAAIH,KAAK,CAAG,GAA+B,EAAxBD,MAAM,CAAAI,KAAM,CAAGH,KAAK,CAAG,CAAS,CAA/D,CAA+D,CAA/D,CACR,CAAC\",\"ignoreList\":[]}"};var _worklet_652360677641_init_data={code:"function RatingInputTsx9(){const{rating,index}=this.__closure;return{opacity:rating.value>=index+1?1:0};}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx9\",\"rating\",\"index\",\"__closure\",\"opacity\",\"value\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AAmOuC,SAAAA,gBAAA,QAAAC,MAAA,CAAAC,KAAA,OAAAC,SAAA,OAAO,CAAAC,OAAA,CAC7BH,MAAM,CAAAI,KAAM,EAAIH,KAAK,CAAG,CAAS,CAAjC,CAAiC,CAAjC,CACb,CAAC\",\"ignoreList\":[]}"};var _worklet_15087537956389_init_data={code:"function RatingInputTsx10(){const{interacting,rating,index,withTiming,animationConfig}=this.__closure;const active=interacting.value===1&&Math.ceil(rating.value)-1===index;return{transform:[{scale:withTiming(active?animationConfig.scale:1,{duration:animationConfig.duration,easing:animationConfig.easing})}]};}",location:"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx",sourceMap:"{\"version\":3,\"names\":[\"RatingInputTsx10\",\"interacting\",\"rating\",\"index\",\"withTiming\",\"animationConfig\",\"__closure\",\"active\",\"value\",\"Math\",\"ceil\",\"transform\",\"scale\",\"duration\",\"easing\"],\"sources\":[\"/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.tsx\"],\"mappings\":\"AAsOwC,SAAAA,iBAAA,QAAAC,WAAA,CAAAC,MAAA,CAAAC,KAAA,CAAAC,UAAA,CAAAC,eAAA,OAAAC,SAAA,CAChC,MAAAC,MAAA,CACIN,WAAW,CAAAO,KAAM,GAAK,CAA0C,EAArCC,IAAI,CAAAC,IAAK,CAACR,MAAM,CAAAM,KAAM,CAAC,CAAG,CAAC,GAAKL,KAAK,CAAC,MAE9D,CAAAQ,SAAA,CACQ,CACP,CAAAC,KAAA,CACWR,UAAU,CAACG,MAAM,CAAGF,eAAe,CAAAO,KAAU,CAAlC,CAAkC,CAAE,CAAAC,QAAA,CACxCR,eAAe,CAAAQ,QAAS,CAAAC,MAAA,CAC1BT,eAAe,CAAAS,MAC3B,CAAC,CACL,CAAC,CAET,CAAC\",\"ignoreList\":[]}"};var AnimatedStar=t0=>{var $=_c(25);var index=t0.index,rating=t0.rating,size=t0.size,interacting=t0.interacting,empty=t0.empty,half=t0.half,full=t0.full;var emptyStyle=useAnimatedStyle(function RatingInputTsx7Factory({_worklet_1114956076381_init_data,rating,index}){var _e=[new global.Error(),-3,-27];var RatingInputTsx7=()=>({opacity:rating.value>=index+0.5?0:1});RatingInputTsx7.__closure={rating,index};RatingInputTsx7.__workletHash=1114956076381;RatingInputTsx7.__pluginVersion="0.8.3";RatingInputTsx7.__initData=_worklet_1114956076381_init_data;RatingInputTsx7.__stackDetails=_e;return RatingInputTsx7;}({_worklet_1114956076381_init_data,rating,index}));var halfStyle=useAnimatedStyle(function RatingInputTsx8Factory({_worklet_8537619109224_init_data,rating,index}){var _e=[new global.Error(),-3,-27];var RatingInputTsx8=()=>({opacity:rating.value>=index+0.5&&rating.value<index+1?1:0});RatingInputTsx8.__closure={rating,index};RatingInputTsx8.__workletHash=8537619109224;RatingInputTsx8.__pluginVersion="0.8.3";RatingInputTsx8.__initData=_worklet_8537619109224_init_data;RatingInputTsx8.__stackDetails=_e;return RatingInputTsx8;}({_worklet_8537619109224_init_data,rating,index}));var fullStyle=useAnimatedStyle(function RatingInputTsx9Factory({_worklet_652360677641_init_data,rating,index}){var _e=[new global.Error(),-3,-27];var RatingInputTsx9=()=>({opacity:rating.value>=index+1?1:0});RatingInputTsx9.__closure={rating,index};RatingInputTsx9.__workletHash=652360677641;RatingInputTsx9.__pluginVersion="0.8.3";RatingInputTsx9.__initData=_worklet_652360677641_init_data;RatingInputTsx9.__stackDetails=_e;return RatingInputTsx9;}({_worklet_652360677641_init_data,rating,index}));var scaleStyle=useAnimatedStyle(function RatingInputTsx10Factory({_worklet_15087537956389_init_data,interacting,rating,index,withTiming,animationConfig}){var _e=[new global.Error(),-6,-27];var RatingInputTsx10=function(){var active=interacting.value===1&&Math.ceil(rating.value)-1===index;return{transform:[{scale:withTiming(active?animationConfig.scale:1,{duration:animationConfig.duration,easing:animationConfig.easing})}]};};RatingInputTsx10.__closure={interacting,rating,index,withTiming,animationConfig};RatingInputTsx10.__workletHash=15087537956389;RatingInputTsx10.__pluginVersion="0.8.3";RatingInputTsx10.__initData=_worklet_15087537956389_init_data;RatingInputTsx10.__stackDetails=_e;return RatingInputTsx10;}({_worklet_15087537956389_init_data,interacting,rating,index,withTiming,animationConfig}));var t1;if($[0]!==size){t1={width:size,height:size,pointerEvents:"none"};$[0]=size;$[1]=t1;}else{t1=$[1];}var t2;if($[2]!==scaleStyle||$[3]!==t1){t2=[t1,scaleStyle];$[2]=scaleStyle;$[3]=t1;$[4]=t2;}else{t2=$[4];}var t3;if($[5]!==emptyStyle){t3=[StyleSheet.absoluteFill,emptyStyle];$[5]=emptyStyle;$[6]=t3;}else{t3=$[6];}var t4;if($[7]!==empty||$[8]!==t3){t4=_jsx(Animated.View,{style:t3,children:empty});$[7]=empty;$[8]=t3;$[9]=t4;}else{t4=$[9];}var t5;if($[10]!==halfStyle){t5=[StyleSheet.absoluteFill,halfStyle];$[10]=halfStyle;$[11]=t5;}else{t5=$[11];}var t6;if($[12]!==half||$[13]!==t5){t6=_jsx(Animated.View,{style:t5,children:half});$[12]=half;$[13]=t5;$[14]=t6;}else{t6=$[14];}var t7;if($[15]!==fullStyle){t7=[StyleSheet.absoluteFill,fullStyle];$[15]=fullStyle;$[16]=t7;}else{t7=$[16];}var t8;if($[17]!==full||$[18]!==t7){t8=_jsx(Animated.View,{style:t7,children:full});$[17]=full;$[18]=t7;$[19]=t8;}else{t8=$[19];}var t9;if($[20]!==t2||$[21]!==t4||$[22]!==t6||$[23]!==t8){t9=_jsxs(Animated.View,{style:t2,children:[t4,t6,t8]});$[20]=t2;$[21]=t4;$[22]=t6;$[23]=t8;$[24]=t9;}else{t9=$[24];}return t9;};var createStyles=({styles:{inputBase}},{disabled,variant})=>{var _inputBase$container=inputBase.container,borderRadius=_inputBase$container.borderRadius,padding=_inputBase$container.padding,height=_inputBase$container.height;return StyleSheet.create({container:{minHeight:height[variant],borderRadius,backgroundColor:inputBase.container.backgroundColor[disabled?"disabled":"enabled"],padding,flexDirection:"row",alignItems:"center",justifyContent:"space-evenly"}});};
|
|
1
|
+
var _jsxFileName="/home/runner/work/ReactNativeComponents/ReactNativeComponents/src/components/input/RatingInput.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{useEffect,useEffectEvent,useState}from"react";import{StyleSheet,View}from"react-native";import{Gesture,GestureDetector}from"react-native-gesture-handler";import Animated,{Easing,useAnimatedStyle,useSharedValue,withTiming}from"react-native-reanimated";import{scheduleOnRN}from"react-native-worklets";import{useTheme,useThemedStyles}from"../../hooks";import{IconBase}from"../icon";import{ratingToValue,valueToRating}from"../rating";import{InputScaffold}from"./InputScaffold";import{jsx as _jsx,jsxs as _jsxs}from"react/jsx-runtime";var animationConfig={easing:Easing.elastic(2),duration:300,scale:1.2};var calculateRating=(x,width,max)=>{"worklet";if(!width)return 0;return Math.max(0,Math.min(Math.round(x/width*max*2+0.2)/2,max));};var computeIconSize=(width,padding,gap,height,max)=>{if(!width||width<=0)return 0;var maxSizeForWidth=Math.floor((width-padding-gap*(max-1))/max);var maxSizeForHeight=height-padding-gap*2;return Math.max(0,Math.min(maxSizeForWidth,maxSizeForHeight));};export var RatingInput=({value=0,max=5,disabled:disabledProp,variant="regular",scale,onChange,...props})=>{var disabled=disabledProp||!onChange;var _useTheme=useTheme(),theme=_useTheme.theme,_useTheme$styles=_useTheme.styles,inputBase=_useTheme$styles.inputBase,rating=_useTheme$styles.rating;var _useThemedStyles=useThemedStyles("ratingInput",createStyles,{props:{disabled,variant}}),_useThemedStyles2=_slicedToArray(_useThemedStyles,2),styles=_useThemedStyles2[0],icons=_useThemedStyles2[1].icons;var scaledRating=scale?valueToRating(value,max,scale):value;var _useState=useState(),_useState2=_slicedToArray(_useState,2),width=_useState2[0],setWidth=_useState2[1];var widthShared=useSharedValue(0);var ratingShared=useSharedValue(scaledRating);var interacting=useSharedValue(0);useEffect(()=>{ratingShared.value=scaledRating;},[scaledRating,ratingShared]);var commitRating=useEffectEvent(nextRating=>{if(disabled||nextRating===scaledRating)return;onChange?.(scale?ratingToValue(nextRating,max,scale):nextRating);});var pan=Gesture.Pan().enabled(!disabled).onBegin(e=>{interacting.value=1;ratingShared.value=calculateRating(e.x,widthShared.value,max);}).onUpdate(e_0=>{ratingShared.value=calculateRating(e_0.x,widthShared.value,max);}).onEnd(e_1=>{var nextRating_0=calculateRating(e_1.x,widthShared.value,max);ratingShared.value=nextRating_0;scheduleOnRN(commitRating,nextRating_0);}).onFinalize(()=>{interacting.value=0;});var tap=Gesture.Tap().onEnd(e_2=>{scheduleOnRN(commitRating,calculateRating(e_2.x,widthShared.value,max));});var gesture=Gesture.Exclusive(pan,tap);var ratingIconSize=computeIconSize(width,inputBase.container.padding,theme.spacing.tiny,inputBase.container.height[variant],max);return _jsx(InputScaffold,{...props,children:_jsx(GestureDetector,{gesture:gesture,children:_jsx(View,{style:styles.container,onLayout:e_3=>{var nextWidth=e_3.nativeEvent.layout.width;if(nextWidth>0){setWidth(nextWidth);widthShared.value=nextWidth;}},children:Array.from({length:max},(_,index)=>_jsx(AnimatedStar,{index:index,rating:ratingShared,size:ratingIconSize,interacting:interacting,empty:_jsx(IconBase,{...icons.empty,size:ratingIconSize,color:rating.icon.color.empty}),half:_jsx(IconBase,{...icons.half,size:ratingIconSize,color:rating.icon.color.half}),full:_jsx(IconBase,{...icons.full,size:ratingIconSize,color:rating.icon.color.full})},index))})})});};var AnimatedStar=t0=>{var $=_c(25);var index=t0.index,rating=t0.rating,size=t0.size,interacting=t0.interacting,empty=t0.empty,half=t0.half,full=t0.full;var emptyStyle=useAnimatedStyle(()=>({opacity:rating.value>=index+0.5?0:1}));var halfStyle=useAnimatedStyle(()=>({opacity:rating.value>=index+0.5&&rating.value<index+1?1:0}));var fullStyle=useAnimatedStyle(()=>({opacity:rating.value>=index+1?1:0}));var scaleStyle=useAnimatedStyle(()=>{var active=interacting.value===1&&Math.ceil(rating.value)-1===index;return{transform:[{scale:withTiming(active?animationConfig.scale:1,{duration:animationConfig.duration,easing:animationConfig.easing})}]};});var t1;if($[0]!==size){t1={width:size,height:size,pointerEvents:"none"};$[0]=size;$[1]=t1;}else{t1=$[1];}var t2;if($[2]!==scaleStyle||$[3]!==t1){t2=[t1,scaleStyle];$[2]=scaleStyle;$[3]=t1;$[4]=t2;}else{t2=$[4];}var t3;if($[5]!==emptyStyle){t3=[StyleSheet.absoluteFill,emptyStyle];$[5]=emptyStyle;$[6]=t3;}else{t3=$[6];}var t4;if($[7]!==empty||$[8]!==t3){t4=_jsx(Animated.View,{style:t3,children:empty});$[7]=empty;$[8]=t3;$[9]=t4;}else{t4=$[9];}var t5;if($[10]!==halfStyle){t5=[StyleSheet.absoluteFill,halfStyle];$[10]=halfStyle;$[11]=t5;}else{t5=$[11];}var t6;if($[12]!==half||$[13]!==t5){t6=_jsx(Animated.View,{style:t5,children:half});$[12]=half;$[13]=t5;$[14]=t6;}else{t6=$[14];}var t7;if($[15]!==fullStyle){t7=[StyleSheet.absoluteFill,fullStyle];$[15]=fullStyle;$[16]=t7;}else{t7=$[16];}var t8;if($[17]!==full||$[18]!==t7){t8=_jsx(Animated.View,{style:t7,children:full});$[17]=full;$[18]=t7;$[19]=t8;}else{t8=$[19];}var t9;if($[20]!==t2||$[21]!==t4||$[22]!==t6||$[23]!==t8){t9=_jsxs(Animated.View,{style:t2,children:[t4,t6,t8]});$[20]=t2;$[21]=t4;$[22]=t6;$[23]=t8;$[24]=t9;}else{t9=$[24];}return t9;};var createStyles=({styles:{inputBase}},{disabled,variant})=>{var _inputBase$container=inputBase.container,borderRadius=_inputBase$container.borderRadius,padding=_inputBase$container.padding,height=_inputBase$container.height;return StyleSheet.create({container:{minHeight:height[variant],borderRadius,backgroundColor:inputBase.container.backgroundColor[disabled?"disabled":"enabled"],padding,flexDirection:"row",alignItems:"center",justifyContent:"space-evenly"}});};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowBoth.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/ArrowBoth.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArrowBoth.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/ArrowBoth.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,gBAAgB,CAO1C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronDown.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/ChevronDown.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChevronDown.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/ChevronDown.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAO5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Circle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Circle.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,MAAM,EAAE,EAAE,CAAC,gBAAgB,CAOvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Clock.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Clock.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Clock.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Clock.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,KAAK,EAAE,EAAE,CAAC,gBAAgB,CAOtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dash.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Dash.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Dash.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Dash.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,gBAAgB,CAOrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exclamation.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Exclamation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Exclamation.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Exclamation.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAO5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfinityGlyph.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/InfinityGlyph.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InfinityGlyph.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/InfinityGlyph.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,gBAAgB,CAO9C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberGlyph.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/NumberGlyph.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NumberGlyph.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/NumberGlyph.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAO5C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Plus.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Plus.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Plus.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/Plus.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,IAAI,EAAE,EAAE,CAAC,gBAAgB,CAOrC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarBorder.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/StarBorder.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StarBorder.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/StarBorder.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,UAAU,EAAE,EAAE,CAAC,gBAAgB,CAO3C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarFull.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/StarFull.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StarFull.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/StarFull.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CAOzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StarHalf.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/StarHalf.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StarHalf.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/StarHalf.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,EAAS,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,gBAAgB,CAqBzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/ui/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAmB,MAAM,SAAS,CAAC;AAcxD,MAAM,MAAM,UAAU,GAChB,aAAa,GACb,MAAM,GACN,MAAM,GACN,UAAU,GACV,QAAQ,GACR,YAAY,GACZ,cAAc,GACd,OAAO,GACP,QAAQ,GACR,YAAY,GACZ,WAAW,GACX,WAAW,CAAC;AAiBlB,eAAO,MAAM,OAAO,EAAE,OAAO,CAAC,UAAU,CAMvC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reillymc/react-native-components",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.6",
|
|
4
4
|
"description": "A collection of React Native components and resources",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"./package.json": "./package.json"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
|
-
"lib/**/*"
|
|
35
|
+
"lib/**/*",
|
|
36
|
+
"THIRD_PARTY_NOTICES.md"
|
|
36
37
|
],
|
|
37
38
|
"scripts": {
|
|
38
39
|
"clean": "rm -rf ./lib",
|