@jamadd/react-native-template-ui 0.16.2 → 0.18.0
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/lib/module/components/list/List.js +2 -2
- package/lib/module/components/list/List.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetListView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetOptions.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetScrollView.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +21 -13
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
- package/lib/module/components/overlay/alert/Alert.js +1 -1
- package/lib/module/components/overlay/alert/Alert.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertButton.js +2 -2
- package/lib/module/components/overlay/alert/AlertButton.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertWrap.js +13 -9
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
- package/lib/module/components/overlay/contextMenu/ContextMenu.js.map +1 -1
- package/lib/module/components/overlay/modal/ThemedModal.js +33 -19
- package/lib/module/components/overlay/modal/ThemedModal.js.map +1 -1
- package/lib/module/components/overlay/toast/ThemedToast.js +8 -4
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
- package/lib/module/components/provider/ToastProvider.js +71 -0
- package/lib/module/components/provider/ToastProvider.js.map +1 -0
- package/lib/module/components/slider/Slider.js +42 -24
- package/lib/module/components/slider/Slider.js.map +1 -1
- package/lib/module/components/view/ThemedScrollView.js +2 -2
- package/lib/module/components/view/ThemedScrollView.js.map +1 -1
- package/lib/module/hooks/button.js +36 -23
- package/lib/module/hooks/button.js.map +1 -1
- package/lib/module/hooks/overlay.js +16 -7
- package/lib/module/hooks/overlay.js.map +1 -1
- package/lib/module/hooks/style.js +1 -2
- package/lib/module/hooks/style.js.map +1 -1
- package/lib/module/hooks/switch.js +16 -10
- package/lib/module/hooks/switch.js.map +1 -1
- package/lib/module/hooks/textInput.js.map +1 -1
- package/lib/module/hooks/view.js +3 -4
- package/lib/module/hooks/view.js.map +1 -1
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/overlay/const.js +5 -0
- package/lib/module/utils/overlay/const.js.map +1 -1
- package/lib/module/utils/overlay/func.js +8 -4
- package/lib/module/utils/overlay/func.js.map +1 -1
- package/lib/module/utils/reanimated/func.js +8 -4
- package/lib/module/utils/reanimated/func.js.map +1 -1
- package/lib/module/utils/style/func.js.map +1 -1
- package/lib/typescript/src/components/button/AnimatedPressable.d.ts +7 -1
- package/lib/typescript/src/components/button/AnimatedPressable.d.ts.map +1 -1
- package/lib/typescript/src/components/list/List.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -1
- package/lib/typescript/src/components/provider/ToastProvider.d.ts +5 -0
- package/lib/typescript/src/components/provider/ToastProvider.d.ts.map +1 -0
- package/lib/typescript/src/components/text/Text.d.ts +6 -6
- package/lib/typescript/src/components/view/AnimatedView.d.ts +7 -3
- package/lib/typescript/src/components/view/AnimatedView.d.ts.map +1 -1
- package/lib/typescript/src/components/view/Box.d.ts +22 -106
- package/lib/typescript/src/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -1
- package/lib/typescript/src/hooks/button.d.ts +2 -4
- package/lib/typescript/src/hooks/button.d.ts.map +1 -1
- package/lib/typescript/src/hooks/overlay.d.ts +13 -3
- package/lib/typescript/src/hooks/overlay.d.ts.map +1 -1
- package/lib/typescript/src/hooks/style.d.ts +4 -4
- package/lib/typescript/src/hooks/style.d.ts.map +1 -1
- package/lib/typescript/src/hooks/textInput.d.ts +2 -3
- package/lib/typescript/src/hooks/textInput.d.ts.map +1 -1
- package/lib/typescript/src/hooks/view.d.ts +5 -7
- package/lib/typescript/src/hooks/view.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +1 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/types/overlay.d.ts +3 -0
- package/lib/typescript/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/src/types/style.d.ts +2 -2
- package/lib/typescript/src/types/style.d.ts.map +1 -1
- package/lib/typescript/src/types/textInput.d.ts +3 -2
- package/lib/typescript/src/types/textInput.d.ts.map +1 -1
- package/lib/typescript/src/types/view.d.ts +4 -4
- package/lib/typescript/src/types/view.d.ts.map +1 -1
- package/lib/typescript/src/utils/overlay/const.d.ts +3 -1
- package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/overlay/func.d.ts +4 -3
- package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/style/func.d.ts +6 -5
- package/lib/typescript/src/utils/style/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/theme/restyle.d.ts +828 -689
- package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
- package/package.json +23 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["use","reactUse","getWindowDimensionsHeight","ActionSheetContext","ActionSheetExpandableHeightRatio","actionSheetMaxHeightRatio","AlertContext","AlertWrapContext","
|
|
1
|
+
{"version":3,"names":["use","reactUse","getWindowDimensionsHeight","ActionSheetContext","ActionSheetExpandableHeightRatio","actionSheetMaxHeightRatio","AlertContext","AlertWrapContext","ToastContext","getToastContext","getInternalAlertContext","getAlertContext","getActionSheetExpandableHeightByRatio","ratio","getActionSheetMaxHeight","expandable","Top","getActionSheetHeight","height","Math","min","getActionSheetExpandableHeight","getActionSheetExpandableInitialHeight","Middle","getActionSheetDismiss","currentHeight","getActionSheetExpandableDismiss","Bottom","getActionSheetSnapHeight","forceDismiss","dismissible","getActionSheetExpandableSnapHeight","topHeight","middleHeight","bottomHeight","getActionSheetContext"],"sourceRoot":"../../../../src","sources":["utils/overlay/func.ts"],"mappings":";;AAAA,SAASA,GAAG,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SAASC,yBAAyB,QAAQ,kBAAe;AACzD,SACEC,kBAAkB,EAClBC,gCAAgC,EAChCC,yBAAyB,EACzBC,YAAY,EACZC,gBAAgB,EAChBC,YAAY,QACP,YAAS;AAEhB,OAAO,SAASC,eAAeA,CAAA,EAAG;EAChC,OAAOR,QAAQ,CAACO,YAAY,CAAC;AAC/B;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,uBAAuBA,CAAA,EAAG;EACxC,OAAOT,QAAQ,CAACK,YAAY,CAAC;AAC/B;AAEA,OAAO,SAASK,eAAeA,CAAA,EAAG;EAChC,OAAOV,QAAQ,CAACM,gBAAgB,CAAC;AACnC;;AAEA;AACA,SAASK,qCAAqCA,CAC5CC,KAAuC,EACvC;EACA,OAAOX,yBAAyB,CAAC,CAAC,GAAGW,KAAK;AAC5C;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACC,UAAmB,GAAG,KAAK,EAAE;EACnE,OAAOA,UAAU,GACbH,qCAAqC,CACnCR,gCAAgC,CAACY,GACnC,CAAC,GACDd,yBAAyB,CAAC,CAAC,GAAGG,yBAAyB;AAC7D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASY,oBAAoBA,CAACC,MAAc,EAAE;EACnD,OAAOC,IAAI,CAACC,GAAG,CAACF,MAAM,EAAEJ,uBAAuB,CAAC,CAAC,CAAC;AACpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASO,8BAA8BA,CAAA,EAAG;EAC/C,OAAOP,uBAAuB,CAAC,I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IAAIF,aAAa,GAAGQ,YAAY,EAAE;IAChC,OAAOR,aAAa,GACjBP,MAAM,IACJd,gCAAgC,CAACY,GAAG,GACnCZ,gCAAgC,CAACmB,MAAM,CAAC,GAC1C,CAAC,GACDS,SAAS,GACTC,YAAY;EAClB,CAAC,MAAM,IAAIR,aAAa,GAAGS,YAAY,EAAE;IACvC,OAAOT,aAAa,GACjBP,MAAM,IACJd,gCAAgC,CAACmB,MAAM,GACtCnB,gCAAgC,CAACuB,MAAM,CAAC,GAC1C,CAAC,GACDM,YAAY,GACZC,YAAY;EAClB,CAAC,MAAM;IACL,OAAOA,YAAY;EACrB;AACF;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,qBAAqBA,CAAA,EAAG;EACtC,OAAOlC,QAAQ,CAACE,kBAAkB,CAAC;AACrC","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ import { scheduleOnRN } from 'react-native-worklets';
|
|
|
7
7
|
const _worklet_6209316550952_init_data = {
|
|
8
8
|
code: "(function funcTs1(){const{cb,scheduleOnRN}=this.__closure;if(cb){scheduleOnRN(cb);}})",
|
|
9
9
|
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts",
|
|
10
|
-
sourceMap: "{\"version\":3,\"names\":[\"funcTs1\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgBkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,
|
|
10
|
+
sourceMap: "{\"version\":3,\"names\":[\"funcTs1\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgBkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,IAAAF,EAAA,E,iBAClC,C\",\"ignoreList\":[]}"
|
|
11
11
|
};
|
|
12
12
|
export function updateSharedValWithTiming(sharedVal, toVal, userConfig, cb) {
|
|
13
13
|
sharedVal.set(withTiming(toVal, userConfig, function funcTs1Factory({
|
|
@@ -17,6 +17,8 @@ export function updateSharedValWithTiming(sharedVal, toVal, userConfig, cb) {
|
|
|
17
17
|
}) {
|
|
18
18
|
const _e = [new global.Error(), -3, -27];
|
|
19
19
|
const funcTs1 = function () {
|
|
20
|
+
"use no memo";
|
|
21
|
+
|
|
20
22
|
if (cb) {
|
|
21
23
|
scheduleOnRN(cb);
|
|
22
24
|
}
|
|
@@ -26,7 +28,7 @@ export function updateSharedValWithTiming(sharedVal, toVal, userConfig, cb) {
|
|
|
26
28
|
scheduleOnRN
|
|
27
29
|
};
|
|
28
30
|
funcTs1.__workletHash = 6209316550952;
|
|
29
|
-
funcTs1.__pluginVersion = "0.
|
|
31
|
+
funcTs1.__pluginVersion = "0.12.2";
|
|
30
32
|
funcTs1.__initData = _worklet_6209316550952_init_data;
|
|
31
33
|
funcTs1.__stackDetails = _e;
|
|
32
34
|
return funcTs1;
|
|
@@ -41,7 +43,7 @@ export function updateSharedValWithTiming(sharedVal, toVal, userConfig, cb) {
|
|
|
41
43
|
const _worklet_4951892304043_init_data = {
|
|
42
44
|
code: "(function funcTs2(){const{cb,scheduleOnRN}=this.__closure;if(cb){scheduleOnRN(cb);}})",
|
|
43
45
|
location: "/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts",
|
|
44
|
-
sourceMap: "{\"version\":3,\"names\":[\"funcTs2\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgCkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,
|
|
46
|
+
sourceMap: "{\"version\":3,\"names\":[\"funcTs2\",\"cb\",\"scheduleOnRN\",\"__closure\"],\"sources\":[\"/home/runner/work/react-native-template-ui/react-native-template-ui/src/utils/reanimated/func.ts\"],\"mappings\":\"AAgCkC,SAAAA,OAAMA,CAAA,QAAAC,EAAA,CAAAC,YAAA,OAAAC,SAAA,IAAAF,EAAA,E,iBAClC,C\",\"ignoreList\":[]}"
|
|
45
47
|
};
|
|
46
48
|
export function updateSharedValWithSpring(sharedVal, toVal, userConfig, cb) {
|
|
47
49
|
sharedVal.set(withSpring(toVal, userConfig, function funcTs2Factory({
|
|
@@ -51,6 +53,8 @@ export function updateSharedValWithSpring(sharedVal, toVal, userConfig, cb) {
|
|
|
51
53
|
}) {
|
|
52
54
|
const _e = [new global.Error(), -3, -27];
|
|
53
55
|
const funcTs2 = function () {
|
|
56
|
+
"use no memo";
|
|
57
|
+
|
|
54
58
|
if (cb) {
|
|
55
59
|
scheduleOnRN(cb);
|
|
56
60
|
}
|
|
@@ -60,7 +64,7 @@ export function updateSharedValWithSpring(sharedVal, toVal, userConfig, cb) {
|
|
|
60
64
|
scheduleOnRN
|
|
61
65
|
};
|
|
62
66
|
funcTs2.__workletHash = 4951892304043;
|
|
63
|
-
funcTs2.__pluginVersion = "0.
|
|
67
|
+
funcTs2.__pluginVersion = "0.12.2";
|
|
64
68
|
funcTs2.__initData = _worklet_4951892304043_init_data;
|
|
65
69
|
funcTs2.__stackDetails = _e;
|
|
66
70
|
return funcTs2;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["withSpring","withTiming","scheduleOnRN","_worklet_6209316550952_init_data","code","location","sourceMap","updateSharedValWithTiming","sharedVal","toVal","userConfig","cb","set","funcTs1Factory","_e","global","Error","funcTs1","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_4951892304043_init_data","updateSharedValWithSpring","funcTs2Factory","funcTs2"],"sourceRoot":"../../../../src","sources":["utils/reanimated/func.ts"],"mappings":";;AAKA,SAASA,UAAU,EAAEC,UAAU,QAAQ,yBAAyB;AACh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EAAE;MACJT;IAAY;IAAAwB,OAAA,CAAAP,aAAA;IAAAO,OAAA,CAAAN,eAAA;IAAAM,OAAA,CAAAL,UAAA,GAAAE,gCAAA;IAAAG,OAAA,CAAAJ,cAAA,GAAAR,EAAA;IAAA,OAAAY,OAAA;EAAA,CAFc;IAAAH,gCAAA;IACxBZ,EAAE;IACJT;EAAY,EAEf,CACH,CAAC;AACH","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["withSpring","withTiming","scheduleOnRN","_worklet_6209316550952_init_data","code","location","sourceMap","updateSharedValWithTiming","sharedVal","toVal","userConfig","cb","set","funcTs1Factory","_e","global","Error","funcTs1","__closure","__workletHash","__pluginVersion","__initData","__stackDetails","_worklet_4951892304043_init_data","updateSharedValWithSpring","funcTs2Factory","funcTs2"],"sourceRoot":"../../../../src","sources":["utils/reanimated/func.ts"],"mappings":";;AAKA,SAASA,UAAU,EAAEC,UAAU,QAAQ,yBAAyB;AAChE,SAASC,YAAY,QAAQ,uBAAuB;;AAEpD;AAAA,MAAAC,gCAAA;EAAAC,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AACA,OAAO,SAASC,yBAAyBA,CACvCC,SAA8B,EAC9BC,KAAa,EACbC,UAA6B,EAC7BC,EAAe,EACf;EACAH,SAAS,CAACI,GAAG,CACXX,UAAU,CAACQ,KAAK,EAAEC,UAAU,EAAE,SAAAG,eAAA;IAAAV,gCAAA;IACxBQ,EAAE;IACJT;EAAY;IAAA,MAAAY,EAAA,QAAAC,MAAA,CAAAC,KAAA;IAAA,MAAAC,OAAA,YAAAA,CAAA,EAFoB;MAAA;;MAClC,IAAIN,EAAE,EAAE;QACNT,YAAY,CAACS,EAAE,CAAC;MAClB;IACF,CAAC;IAAAM,OAAA,CAAAC,SAAA;MAHKP,EAAE;MACJT;IAAY;IAAAe,OAAA,CAAAE,aAAA;IAAAF,OAAA,CAAAG,eAAA;IAAAH,OAAA,CAAAI,UAAA,GAAAlB,gCAAA;IAAAc,OAAA,CAAAK,cAAA,GAAAR,EAAA;IAAA,OAAAG,OAAA;EAAA,CAFc;IAAAd,gCAAA;IACxBQ,EAAE;IACJT;EAAY,EAEf,CACH,CAAC;AACH;;AAEA;AAAA,MAAAqB,gCAAA;EAAAnB,IAAA;EAAAC,QAAA;EAAAC,SAAA;AAAA;AACA,OAAO,SAASkB,yBAAyBA,CACvChB,SAA8B,EAC9BC,KAAa,EACbC,UAA6B,EAC7BC,EAAe,EACf;EACAH,SAAS,CAACI,GAAG,CACXZ,UAAU,CAACS,KAAK,EAAEC,UAAU,EAAE,SAAAe,eAAA;IAAAF,gCAAA;IACxBZ,EAAE;IACJT;EAAY;IAAA,MAAAY,EAAA,QAAAC,MAAA,CAAAC,KAAA;IAAA,MAAAU,OAAA,YAAAA,CAAA,EAFoB;MAAA;;MAClC,IAAIf,EAAE,EAAE;QACNT,YAAY,CAACS,EAAE,CAAC;MAClB;IACF,CAAC;IAAAe,OAAA,CAAAR,SAAA;MAHKP,EAAE;MACJT;IAAY;IAAAwB,OAAA,CAAAP,aAAA;IAAAO,OAAA,CAAAN,eAAA;IAAAM,OAAA,CAAAL,UAAA,GAAAE,gCAAA;IAAAG,OAAA,CAAAJ,cAAA,GAAAR,EAAA;IAAA,OAAAY,OAAA;EAAA,CAFc;IAAAH,gCAAA;IACxBZ,EAAE;IACJT;EAAY,EAEf,CACH,CAAC;AACH","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Dimensions","StyleSheet","elementDefaultDOMRect","createStyleSheet","styles","create","composeStyles","style1","style2","compose","flattenStyle","style","flatten","getWindowDimensions","get","getWindowDimensionsWidth","width","getWindowDimensionsHeight","height","getWindowDimensionsScale","scale","getWindowDimensionsFontScale","fontScale","getElementBoundingClientRect","ref","current","getBoundingClientRect"],"sourceRoot":"../../../../src","sources":["utils/style/func.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"names":["Dimensions","StyleSheet","elementDefaultDOMRect","createStyleSheet","styles","create","composeStyles","style1","style2","compose","flattenStyle","style","flatten","getWindowDimensions","get","getWindowDimensionsWidth","width","getWindowDimensionsHeight","height","getWindowDimensionsScale","scale","getWindowDimensionsFontScale","fontScale","getElementBoundingClientRect","ref","current","getBoundingClientRect"],"sourceRoot":"../../../../src","sources":["utils/style/func.ts"],"mappings":";;AACA,SAASA,UAAU,EAAEC,UAAU,QAAQ,cAAc;AAErD,SAASC,qBAAqB,QAAQ,YAAS;;AAE/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAAkCC,MAAS,EAAE;EAC3E,OAAOH,UAAU,CAACI,MAAM,CAAID,MAAM,CAAC;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,aAAaA,CAAkBC,MAAU,EAAEC,MAAU,EAAE;EACrE,OAAOP,UAAU,CAACQ,OAAO,CAAUF,MAAM,EAAEC,MAAM,CAAC;AACpD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,YAAYA,CAAkBC,KAAmB,EAAE;EACjE,OAAOV,UAAU,CAACW,OAAO,CAACD,KAAK,CAAC;AAClC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASE,mBAAmBA,CAAA,EAAG;EACpC,OAAOb,UAAU,CAACc,GAAG,CAAC,QAAQ,CAAC;AACjC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAOF,mBAAmB,CAAC,CAAC,CAACG,KAAK;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,yBAAyBA,CAAA,EAAG;EAC1C,OAAOJ,mBAAmB,CAAC,CAAC,CAACK,MAAM;AACrC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,wBAAwBA,CAAA,EAAG;EACzC,OAAON,mBAAmB,CAAC,CAAC,CAACO,KAAK;AACpC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,4BAA4BA,CAAA,EAAG;EAC7C,OAAOR,mBAAmB,CAAC,CAAC,CAACS,SAAS;AACxC;AAEA,OAAO,SAASC,4BAA4BA,CAACC,GAAqB,EAAW;EAC3E,OAAOA,GAAG,CAACC,OAAO,EAAEC,qBAAqB,CAAC,CAAC,IAAIxB,qBAAqB;AACtE","ignoreList":[]}
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
* An animated version of React Native's Pressable component.
|
|
4
4
|
* Created using react-native-reanimated's createAnimatedComponent API.
|
|
5
5
|
*/
|
|
6
|
-
export declare const AnimatedPressable: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<import("react-native").PressableProps
|
|
6
|
+
export declare const AnimatedPressable: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<Omit<import("react-native").PressableProps, "ref"> & {
|
|
7
|
+
ref?: React.Ref<import("react-native").PressableInstance> | undefined;
|
|
8
|
+
}>, (props: Omit<import("react-native").PressableProps, keyof {
|
|
9
|
+
ref?: React.Ref<import("react-native").PressableInstance> | undefined;
|
|
10
|
+
}> & {
|
|
11
|
+
ref?: React.Ref<import("react-native").PressableInstance> | undefined;
|
|
12
|
+
}) => React.ReactNode, object>;
|
|
7
13
|
export default AnimatedPressable;
|
|
8
14
|
//# sourceMappingURL=AnimatedPressable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedPressable.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"AnimatedPressable.d.ts","sourceRoot":"","sources":["../../../../../src/components/button/AnimatedPressable.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;OAG8hJ,CAAC;;OAAwD,CAAC;8BAH1iJ,CAAC;AAE7E,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../src/components/list/List.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAkB,CAAC;AAGlD;;;;;;;;;;;;;GAaG;AACH,iBAAS,IAAI,CAAC,CAAC,EAAE,EACf,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAkB,EAClB,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,+
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../../../src/components/list/List.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAkB,CAAC;AAGlD;;;;;;;;;;;;;GAaG;AACH,iBAAS,IAAI,CAAC,CAAC,EAAE,EACf,IAAI,EACJ,MAAM,EACN,QAAQ,EACR,WAAkB,EAClB,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAwB,EACxB,gBAAgB,EAChB,iBAAiB,EACjB,qBAAqB,EACrB,GAAG,KAAK,EACT,EAAE,SAAS,CAAC,CAAC,CAAC,+BAkCd;AAED,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/modal/ThemedModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ThemedModal.d.ts","sourceRoot":"","sources":["../../../../../../src/components/overlay/modal/ThemedModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAAwB,CAAC;AAK/D;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CAwCrC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/provider/ToastProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qBAAkB,CAAC;AAWlE,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,yBAAyB,CAmBhD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -670,10 +670,10 @@ declare const Text: import("react").ForwardRefExoticComponent<import("@shopify/r
|
|
|
670
670
|
};
|
|
671
671
|
};
|
|
672
672
|
}> & {
|
|
673
|
-
textShadowOffset?: import("@shopify/restyle").ResponsiveValue<{
|
|
673
|
+
textShadowOffset?: import("@shopify/restyle").ResponsiveValue<Readonly<{
|
|
674
674
|
width: number;
|
|
675
675
|
height: number;
|
|
676
|
-
} | undefined, {
|
|
676
|
+
}> | undefined, {
|
|
677
677
|
smallPhone: number;
|
|
678
678
|
phone: number;
|
|
679
679
|
smallTablet: number;
|
|
@@ -919,7 +919,7 @@ declare const Text: import("react").ForwardRefExoticComponent<import("@shopify/r
|
|
|
919
919
|
};
|
|
920
920
|
}> & Omit<import("react-native").TextProps & {
|
|
921
921
|
children?: React.ReactNode;
|
|
922
|
-
}, "m" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "
|
|
922
|
+
}, "m" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "opacity" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "fontVariant" | "textShadowOffset" | "textShadowRadius" | "textShadowColor" | "letterSpacing" | "lineHeight" | "textAlign" | "textAlignVertical" | "includeFontPadding" | "textDecorationLine" | "textDecorationStyle" | "textTransform" | "verticalAlign" | "writingDirection" | "visible" | "variant" | keyof import("@shopify/restyle").ColorProps<{
|
|
923
923
|
colors: {
|
|
924
924
|
transparent: import("../../index.js").Palette;
|
|
925
925
|
themePri: import("../../index.js").Palette;
|
|
@@ -1698,10 +1698,10 @@ declare const Text: import("react").ForwardRefExoticComponent<import("@shopify/r
|
|
|
1698
1698
|
};
|
|
1699
1699
|
};
|
|
1700
1700
|
}> & {
|
|
1701
|
-
textShadowOffset?: import("@shopify/restyle").ResponsiveValue<{
|
|
1701
|
+
textShadowOffset?: import("@shopify/restyle").ResponsiveValue<Readonly<{
|
|
1702
1702
|
width: number;
|
|
1703
1703
|
height: number;
|
|
1704
|
-
} | undefined, {
|
|
1704
|
+
}> | undefined, {
|
|
1705
1705
|
smallPhone: number;
|
|
1706
1706
|
phone: number;
|
|
1707
1707
|
smallTablet: number;
|
|
@@ -1947,7 +1947,7 @@ declare const Text: import("react").ForwardRefExoticComponent<import("@shopify/r
|
|
|
1947
1947
|
};
|
|
1948
1948
|
}> & Omit<import("react-native").TextProps & {
|
|
1949
1949
|
children?: React.ReactNode;
|
|
1950
|
-
}, "m" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "
|
|
1950
|
+
}, "m" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "opacity" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "fontVariant" | "textShadowOffset" | "textShadowRadius" | "textShadowColor" | "letterSpacing" | "lineHeight" | "textAlign" | "textAlignVertical" | "includeFontPadding" | "textDecorationLine" | "textDecorationStyle" | "textTransform" | "verticalAlign" | "writingDirection" | "visible" | "variant" | keyof import("@shopify/restyle").ColorProps<{
|
|
1951
1951
|
colors: {
|
|
1952
1952
|
transparent: import("../../index.js").Palette;
|
|
1953
1953
|
themePri: import("../../index.js").Palette;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
/** @internal */
|
|
2
|
-
import { View } from 'react-native';
|
|
3
1
|
/**
|
|
4
2
|
* @internal
|
|
5
3
|
* An animated version of React Native's View component.
|
|
6
4
|
* Created using react-native-reanimated's createAnimatedComponent API.
|
|
7
5
|
*/
|
|
8
|
-
declare const AnimatedView: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<import("react-native").ViewProps
|
|
6
|
+
declare const AnimatedView: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<Omit<import("react-native").ViewProps, "ref"> & {
|
|
7
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
8
|
+
}>, (props: Omit<import("react-native").ViewProps, keyof {
|
|
9
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
10
|
+
}> & {
|
|
11
|
+
ref?: React.Ref<import("react-native").ViewInstance> | undefined;
|
|
12
|
+
}) => React.ReactNode, object>;
|
|
9
13
|
export default AnimatedView;
|
|
10
14
|
//# sourceMappingURL=AnimatedView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnimatedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnimatedView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/AnimatedView.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,QAAA,MAAM,YAAY;;;OAGqT,CAAC;;OAAmD,CAAC;8BAHjU,CAAC;AAE5D,eAAe,YAAY,CAAC"}
|
|
@@ -730,7 +730,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
730
730
|
desktop: number;
|
|
731
731
|
}> | undefined;
|
|
732
732
|
} & {
|
|
733
|
-
shadowOpacity?: import("@shopify/restyle").ResponsiveValue<
|
|
733
|
+
shadowOpacity?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
|
|
734
734
|
smallPhone: number;
|
|
735
735
|
phone: number;
|
|
736
736
|
smallTablet: number;
|
|
@@ -738,8 +738,8 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
738
738
|
desktop: number;
|
|
739
739
|
}>;
|
|
740
740
|
shadowOffset?: import("@shopify/restyle").ResponsiveValue<Readonly<{
|
|
741
|
-
width
|
|
742
|
-
height
|
|
741
|
+
width?: number | undefined;
|
|
742
|
+
height?: number | undefined;
|
|
743
743
|
}> | undefined, {
|
|
744
744
|
smallPhone: number;
|
|
745
745
|
phone: number;
|
|
@@ -770,55 +770,13 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
770
770
|
desktop: number;
|
|
771
771
|
}> | undefined;
|
|
772
772
|
} & {
|
|
773
|
-
position?:
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
top?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
781
|
-
smallPhone: number;
|
|
782
|
-
phone: number;
|
|
783
|
-
smallTablet: number;
|
|
784
|
-
tablet: number;
|
|
785
|
-
desktop: number;
|
|
786
|
-
}>;
|
|
787
|
-
right?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
788
|
-
smallPhone: number;
|
|
789
|
-
phone: number;
|
|
790
|
-
smallTablet: number;
|
|
791
|
-
tablet: number;
|
|
792
|
-
desktop: number;
|
|
793
|
-
}>;
|
|
794
|
-
bottom?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
795
|
-
smallPhone: number;
|
|
796
|
-
phone: number;
|
|
797
|
-
smallTablet: number;
|
|
798
|
-
tablet: number;
|
|
799
|
-
desktop: number;
|
|
800
|
-
}>;
|
|
801
|
-
left?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
802
|
-
smallPhone: number;
|
|
803
|
-
phone: number;
|
|
804
|
-
smallTablet: number;
|
|
805
|
-
tablet: number;
|
|
806
|
-
desktop: number;
|
|
807
|
-
}>;
|
|
808
|
-
start?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
809
|
-
smallPhone: number;
|
|
810
|
-
phone: number;
|
|
811
|
-
smallTablet: number;
|
|
812
|
-
tablet: number;
|
|
813
|
-
desktop: number;
|
|
814
|
-
}>;
|
|
815
|
-
end?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
816
|
-
smallPhone: number;
|
|
817
|
-
phone: number;
|
|
818
|
-
smallTablet: number;
|
|
819
|
-
tablet: number;
|
|
820
|
-
desktop: number;
|
|
821
|
-
}>;
|
|
773
|
+
position?: any;
|
|
774
|
+
top?: any;
|
|
775
|
+
right?: any;
|
|
776
|
+
bottom?: any;
|
|
777
|
+
left?: any;
|
|
778
|
+
start?: any;
|
|
779
|
+
end?: any;
|
|
822
780
|
} & {
|
|
823
781
|
zIndex?: import("@shopify/restyle").ResponsiveValue<"base" | "bottom" | "middle" | "top", {
|
|
824
782
|
smallPhone: number;
|
|
@@ -1051,7 +1009,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1051
1009
|
};
|
|
1052
1010
|
}> & Omit<import("react-native").ViewProps & {
|
|
1053
1011
|
children?: React.ReactNode;
|
|
1054
|
-
}, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "
|
|
1012
|
+
}, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "backgroundColor" | "opacity" | "elevation" | "end" | "left" | "right" | "start" | "position" | "zIndex" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "visible" | "bg"> & import("react").RefAttributes<unknown>> & {
|
|
1055
1013
|
defaultProps?: Partial<import("@shopify/restyle").BackgroundColorProps<{
|
|
1056
1014
|
colors: {
|
|
1057
1015
|
transparent: import("../../index.js").Palette;
|
|
@@ -1779,7 +1737,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1779
1737
|
desktop: number;
|
|
1780
1738
|
}> | undefined;
|
|
1781
1739
|
} & {
|
|
1782
|
-
shadowOpacity?: import("@shopify/restyle").ResponsiveValue<
|
|
1740
|
+
shadowOpacity?: import("@shopify/restyle").ResponsiveValue<number | undefined, {
|
|
1783
1741
|
smallPhone: number;
|
|
1784
1742
|
phone: number;
|
|
1785
1743
|
smallTablet: number;
|
|
@@ -1787,8 +1745,8 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1787
1745
|
desktop: number;
|
|
1788
1746
|
}>;
|
|
1789
1747
|
shadowOffset?: import("@shopify/restyle").ResponsiveValue<Readonly<{
|
|
1790
|
-
width
|
|
1791
|
-
height
|
|
1748
|
+
width?: number | undefined;
|
|
1749
|
+
height?: number | undefined;
|
|
1792
1750
|
}> | undefined, {
|
|
1793
1751
|
smallPhone: number;
|
|
1794
1752
|
phone: number;
|
|
@@ -1819,55 +1777,13 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
1819
1777
|
desktop: number;
|
|
1820
1778
|
}> | undefined;
|
|
1821
1779
|
} & {
|
|
1822
|
-
position?:
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
top?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
1830
|
-
smallPhone: number;
|
|
1831
|
-
phone: number;
|
|
1832
|
-
smallTablet: number;
|
|
1833
|
-
tablet: number;
|
|
1834
|
-
desktop: number;
|
|
1835
|
-
}>;
|
|
1836
|
-
right?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
1837
|
-
smallPhone: number;
|
|
1838
|
-
phone: number;
|
|
1839
|
-
smallTablet: number;
|
|
1840
|
-
tablet: number;
|
|
1841
|
-
desktop: number;
|
|
1842
|
-
}>;
|
|
1843
|
-
bottom?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
1844
|
-
smallPhone: number;
|
|
1845
|
-
phone: number;
|
|
1846
|
-
smallTablet: number;
|
|
1847
|
-
tablet: number;
|
|
1848
|
-
desktop: number;
|
|
1849
|
-
}>;
|
|
1850
|
-
left?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
1851
|
-
smallPhone: number;
|
|
1852
|
-
phone: number;
|
|
1853
|
-
smallTablet: number;
|
|
1854
|
-
tablet: number;
|
|
1855
|
-
desktop: number;
|
|
1856
|
-
}>;
|
|
1857
|
-
start?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
1858
|
-
smallPhone: number;
|
|
1859
|
-
phone: number;
|
|
1860
|
-
smallTablet: number;
|
|
1861
|
-
tablet: number;
|
|
1862
|
-
desktop: number;
|
|
1863
|
-
}>;
|
|
1864
|
-
end?: import("@shopify/restyle").ResponsiveValue<import("react-native").DimensionValue | undefined, {
|
|
1865
|
-
smallPhone: number;
|
|
1866
|
-
phone: number;
|
|
1867
|
-
smallTablet: number;
|
|
1868
|
-
tablet: number;
|
|
1869
|
-
desktop: number;
|
|
1870
|
-
}>;
|
|
1780
|
+
position?: any;
|
|
1781
|
+
top?: any;
|
|
1782
|
+
right?: any;
|
|
1783
|
+
bottom?: any;
|
|
1784
|
+
left?: any;
|
|
1785
|
+
start?: any;
|
|
1786
|
+
end?: any;
|
|
1871
1787
|
} & {
|
|
1872
1788
|
zIndex?: import("@shopify/restyle").ResponsiveValue<"base" | "bottom" | "middle" | "top", {
|
|
1873
1789
|
smallPhone: number;
|
|
@@ -2100,7 +2016,7 @@ declare const Box: import("react").ForwardRefExoticComponent<import("@shopify/re
|
|
|
2100
2016
|
};
|
|
2101
2017
|
}> & Omit<import("react-native").ViewProps & {
|
|
2102
2018
|
children?: React.ReactNode;
|
|
2103
|
-
}, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "
|
|
2019
|
+
}, "m" | "bottom" | "top" | "width" | "height" | "minWidth" | "maxWidth" | "minHeight" | "maxHeight" | "overflow" | "aspectRatio" | "alignContent" | "alignItems" | "alignSelf" | "justifyContent" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "margin" | "marginTop" | "marginRight" | "marginBottom" | "marginLeft" | "marginHorizontal" | "marginVertical" | "marginStart" | "marginEnd" | "padding" | "paddingTop" | "paddingRight" | "paddingBottom" | "paddingLeft" | "paddingHorizontal" | "paddingVertical" | "paddingStart" | "paddingEnd" | "columnGap" | "rowGap" | "gap" | "borderBottomWidth" | "borderLeftWidth" | "borderRightWidth" | "borderStyle" | "borderTopWidth" | "borderStartWidth" | "borderEndWidth" | "borderWidth" | "borderColor" | "borderTopColor" | "borderRightColor" | "borderLeftColor" | "borderBottomColor" | "borderStartColor" | "borderEndColor" | "borderRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderBottomStartRadius" | "borderBottomEndRadius" | "borderTopStartRadius" | "borderTopEndRadius" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "backgroundColor" | "opacity" | "elevation" | "end" | "left" | "right" | "start" | "position" | "zIndex" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "ms" | "me" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "ps" | "pe" | "g" | "rg" | "cg" | "visible" | "bg"> & import("react").RefAttributes<unknown>> | undefined;
|
|
2104
2020
|
};
|
|
2105
2021
|
export default Box;
|
|
2106
2022
|
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/Box.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,QAAA,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/Box.tsx"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAqB,CAAC;AAE/B,eAAe,GAAG,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemedScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/ThemedScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAkB,CAAC;AAI9D;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,
|
|
1
|
+
{"version":3,"file":"ThemedScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/view/ThemedScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAkB,CAAC;AAI9D;;;;;;;;;;;;;;;GAeG;AACH,QAAA,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CA6C/C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AnimatedThemedPressableProps, OnPressDelayConfig, PressableOnPress, ThemedPressableProps } from '../types/button.js';
|
|
1
|
+
import type { AnimatedPressableProps, AnimatedThemedPressableProps, OnPressDelayConfig, PressableOnPress, ThemedPressableProps } from '../types/button.js';
|
|
2
2
|
/**
|
|
3
3
|
* Hook to wrap an onPress handler with debounce or throttle behavior.
|
|
4
4
|
* @param onPress - The press handler function to be delayed
|
|
@@ -42,7 +42,5 @@ export declare function useThemedPressable({ onPress, scaleRatio, onPressDelayCo
|
|
|
42
42
|
* onPressDelayConfig: { type: OnPressDelayType.Throttle, wait: 1000 }
|
|
43
43
|
* });
|
|
44
44
|
*/
|
|
45
|
-
export declare function useAnimatedThemedPressable({ onPress, onPressDelayConfig, animatedStyle, ...props }: AnimatedThemedPressableProps): Omit<
|
|
46
|
-
ref?: (import("react-native-reanimated").AnimatedRef | import("react").Ref<import("react-native").View> | import("react-native-reanimated").AnimatedRef<import("react").ForwardRefExoticComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>>) | undefined;
|
|
47
|
-
}, "key">;
|
|
45
|
+
export declare function useAnimatedThemedPressable({ onPress, onPressDelayConfig, animatedStyle, ...props }: AnimatedThemedPressableProps): Omit<AnimatedPressableProps, 'key'>;
|
|
48
46
|
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/hooks/button.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,sBAAsB,EACtB,4BAA4B,EAC5B,kBAAkB,EAClB,gBAAgB,EAEhB,oBAAoB,EACrB,MAAM,oBAAiB,CAAC;AASzB;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,gBAAgB,GAAG,IAAI,EAChC,kBAAkB,CAAC,EAAE,kBAAkB,oBAqDxC;AAwCD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,UAAU,EACV,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,oBAAoB,wBAetB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,OAAO,EACP,kBAAkB,EAClB,aAAa,EACb,GAAG,KAAK,EACT,EAAE,4BAA4B,GAAG,IAAI,CAAC,sBAAsB,EAAE,KAAK,CAAC,CAiBpE"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
2
|
import type { ListAnimatedRefObj, ListRef } from '../types/list.js';
|
|
3
3
|
import type { ActionSheetContextVal, ActionSheetListViewProps, ActionSheetOptionListProps, ActionSheetOptions, ActionSheetScrollViewProps, OverlayDismissActionSheetResult, OverlayOnDismiss } from '../types/overlay.js';
|
|
4
4
|
import type { ScrollViewAnimatedRefObj } from '../types/view.js';
|
|
5
|
+
export declare function useToastContext(): import("../index.js").ToastContextVal;
|
|
6
|
+
export declare function useAlertContext(): import("../index.js").AlertWrapContextVal;
|
|
5
7
|
/** @internal */
|
|
6
8
|
export declare function useActionSheetContext(): Partial<ActionSheetContextVal>;
|
|
7
9
|
/** @internal */
|
|
@@ -13,7 +15,15 @@ export declare function useActionSheetHeaderMinHeight(): number;
|
|
|
13
15
|
/** @internal */
|
|
14
16
|
export declare function useActionSheetContentGesture(): import("react-native-gesture-handler").ComposedGesture;
|
|
15
17
|
export declare function useActionSheetListViewAnimatedRef<T>(): import("react-native-reanimated").AnimatedRef<ListRef<T>>;
|
|
16
|
-
export declare function useActionSheetScrollViewAnimatedRef(): import("react-native-reanimated").AnimatedRef<
|
|
18
|
+
export declare function useActionSheetScrollViewAnimatedRef(): import("react-native-reanimated").AnimatedRef<((props: Omit<import("react-native").ScrollViewProps, keyof {
|
|
19
|
+
ref?: React.Ref<import("react-native").ScrollViewInstance> | undefined;
|
|
20
|
+
}> & {
|
|
21
|
+
ref?: React.Ref<import("react-native").ScrollViewInstance> | undefined;
|
|
22
|
+
}) => React.ReactNode) & Readonly<{
|
|
23
|
+
Context: import("react").Context<{
|
|
24
|
+
horizontal: boolean;
|
|
25
|
+
} | null>;
|
|
26
|
+
}>>;
|
|
17
27
|
/** @interal */
|
|
18
28
|
export declare function useActionSheetListViewRefAndOffset<T>(refObj?: ListAnimatedRefObj<T>): {
|
|
19
29
|
listViewListAnimatedRefObj: ListAnimatedRefObj<T>;
|
|
@@ -34,7 +44,7 @@ export declare function useActionSheetOpts(title: string | undefined, expandable
|
|
|
34
44
|
/** @internal */
|
|
35
45
|
export declare function useActionSheetOptItemSize({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }?: ActionSheetOptionListProps): {
|
|
36
46
|
itemSize: number;
|
|
37
|
-
insetsStyle: Pick<
|
|
47
|
+
insetsStyle: Pick<ViewStyle, 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight'>;
|
|
38
48
|
};
|
|
39
49
|
/** @internal */
|
|
40
50
|
export declare function useActionSheetScrollView(title: string | undefined, expandable: boolean | undefined, scrollViewProps: ActionSheetScrollViewProps['scrollViewProps'] | undefined, onDismiss: OverlayOnDismiss<OverlayDismissActionSheetResult> | undefined, dismissible: boolean | undefined, actionSheetVisible: boolean): ActionSheetContextVal;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/overlay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../../src/hooks/overlay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAc,SAAS,EAAE,MAAM,cAAc,CAAC;AAc1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,kBAAe,CAAC;AACjE,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EAExB,0BAA0B,EAC1B,kBAAkB,EAClB,0BAA0B,EAC1B,+BAA+B,EAC/B,gBAAgB,EACjB,MAAM,qBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,kBAAe,CAAC;AA4B9D,wBAAgB,eAAe,0CAE9B;AAED,wBAAgB,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AAc,CAChE,CAAC;CACH,CAsBA;AAED,gBAAgB;AAChB,wBAAgB,wBAAwB,CACtC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,eAAe,EAAE,0BAA0B,CAAC,iBAAiB,CAAC,GAAG,SAAS,EAC1E,SAAS,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,GAAG,SAAS,EACxE,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,kBAAkB,EAAE,OAAO,yBA+C5B;AAED,gBAAgB;AAChB,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,UAAU,EAAE,OAAO,GAAG,SAAS,EAC/B,SAAS,EAAE,wBAAwB,CAAC,WAAW,CAAC,GAAG,SAAS,EAC5D,SAAS,EAAE,gBAAgB,CAAC,+BAA+B,CAAC,GAAG,SAAS,EACxE,WAAW,EAAE,OAAO,GAAG,SAAS,EAChC,kBAAkB,EAAE,OAAO,yBA+C5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DependencyList } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { HostInstance, ViewStyle } from 'react-native';
|
|
3
3
|
import type { InsetsStyleConfig } from '../types/style.js';
|
|
4
4
|
import type { ThemeColors } from '../types/theme.js';
|
|
5
5
|
import { ElementScreenPosition, Orientation, ShadowDirection } from '../utils/style/const.js';
|
|
@@ -24,7 +24,7 @@ import { ElementScreenPosition, Orientation, ShadowDirection } from '../utils/st
|
|
|
24
24
|
* });
|
|
25
25
|
* // Returns: { paddingTop: 44 + 16, paddingBottom: 34 + 16, ... }
|
|
26
26
|
*/
|
|
27
|
-
export declare function useInsetsStyle({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }: InsetsStyleConfig): Pick<ViewStyle,
|
|
27
|
+
export declare function useInsetsStyle({ insets, insetTop, insetBottom, insetLeft, insetRight, insetsPadding, insetPaddingTop, insetPaddingBottom, insetPaddingLeft, insetPaddingRight, }: InsetsStyleConfig): Pick<ViewStyle, 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight'>;
|
|
28
28
|
/**
|
|
29
29
|
* Hook to get the window dimensions including width, height, scale, and fontScale.
|
|
30
30
|
* @returns Object containing window dimensions { width, height, scale, fontScale }
|
|
@@ -32,7 +32,7 @@ export declare function useInsetsStyle({ insets, insetTop, insetBottom, insetLef
|
|
|
32
32
|
* const { width, height } = useWindowDimensions();
|
|
33
33
|
* console.log(`Screen size: ${width}x${height}`);
|
|
34
34
|
*/
|
|
35
|
-
export declare function useWindowDimensions(): import("react-native").
|
|
35
|
+
export declare function useWindowDimensions(): import("react-native").DisplayMetrics | import("react-native").DisplayMetricsAndroid;
|
|
36
36
|
/**
|
|
37
37
|
* Hook to get the current window width in pixels.
|
|
38
38
|
* @returns The width of the window in pixels
|
|
@@ -85,7 +85,7 @@ export declare function useOrientation(): Orientation;
|
|
|
85
85
|
* // Returns: { boxShadow: '0px 5px 10px rgba(0, 0, 0, 0.1)' }
|
|
86
86
|
*/
|
|
87
87
|
export declare function useShadowStyle(direction: ShadowDirection, color?: ThemeColors): ViewStyle;
|
|
88
|
-
export declare function useElementBoundingClientRect<T extends
|
|
88
|
+
export declare function useElementBoundingClientRect<T extends HostInstance>(refreshElementBoundingClientRectDeps?: DependencyList): {
|
|
89
89
|
ref: import("react").RefObject<T | null>;
|
|
90
90
|
elementBoundingClientRect: DOMRect;
|
|
91
91
|
elementScreenPosition: ElementScreenPosition;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/hooks/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/hooks/style.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAgB,CAAC;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAgB,CAAC;AAClD,OAAO,EAEL,qBAAqB,EACrB,WAAW,EAGX,eAAe,EAChB,MAAM,yBAAsB,CAAC;AAI9B;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,MAAM,EACN,QAAQ,EACR,WAAW,EACX,SAAS,EACT,UAAU,EACV,aAAa,EACb,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,iBAAiB,GAClB,EAAE,iBAAiB,GAAG,IAAI,CACzB,SAAS,EACT,YAAY,GAAG,eAAe,GAAG,aAAa,GAAG,cAAc,CAChE,CAwBA;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,yFAElC;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,WAExC;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,WAE3C;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,gBAO7B;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAC5B,SAAS,EAAE,eAAe,EAC1B,KAAK,GAAE,WAAyB,GAC/B,SAAS,CAqBX;AAED,wBAAgB,4BAA4B,CAAC,CAAC,SAAS,YAAY,EACjE,oCAAoC,GAAE,cAAmB;;;;;EA+B1D"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { TextInputProps, ThemedTextInputProps } from '../types/textInput.js';
|
|
1
|
+
import type { TextInputProps, TextInputRefObj, ThemedTextInputProps } from '../types/textInput.js';
|
|
3
2
|
/** @internal */
|
|
4
3
|
export declare function useThemedTextInput({ cursorColor, selectionHandleColor, underlineColorAndroid, placeholderTextColor, selectionColor, variant, ...props }: ThemedTextInputProps): {
|
|
5
4
|
cursorColor: import("../index.js").Palette;
|
|
@@ -9,5 +8,5 @@ export declare function useThemedTextInput({ cursorColor, selectionHandleColor,
|
|
|
9
8
|
selectionColor: import("../index.js").Palette;
|
|
10
9
|
restyle: Omit<ThemedTextInputProps, "variant" | keyof TextInputProps>;
|
|
11
10
|
};
|
|
12
|
-
export declare function useTextInputRef():
|
|
11
|
+
export declare function useTextInputRef(): TextInputRefObj;
|
|
13
12
|
//# sourceMappingURL=textInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/hooks/textInput.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"textInput.d.ts","sourceRoot":"","sources":["../../../../src/hooks/textInput.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,cAAc,EACd,eAAe,EACf,oBAAoB,EACrB,MAAM,uBAAoB,CAAC;AAU5B,gBAAgB;AAChB,wBAAgB,kBAAkB,CAAC,EACjC,WAAwB,EACxB,oBAAiC,EACjC,qBAAqB,EACrB,oBAAiC,EACjC,cAA4B,EAC5B,OAAqC,EACrC,GAAG,KAAK,EACT,EAAE,oBAAoB;;;;;;;EAwBtB;AAED,wBAAgB,eAAe,IAAI,eAAe,CAEjD"}
|