@jamadd/react-native-template-ui 0.10.0 → 0.12.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/README.md +7 -2
- package/lib/module/components/accordion/ThemedAccordion.js +53 -48
- package/lib/module/components/accordion/ThemedAccordion.js.map +1 -1
- package/lib/module/components/button/ThemedButton.js +47 -41
- package/lib/module/components/button/ThemedButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconButton.js +39 -27
- package/lib/module/components/button/ThemedIconButton.js.map +1 -1
- package/lib/module/components/button/ThemedIconTextButton.js +90 -65
- package/lib/module/components/button/ThemedIconTextButton.js.map +1 -1
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js +14 -14
- package/lib/module/components/overlay/actionSheet/ActionSheetWrap.js.map +1 -1
- package/lib/module/components/overlay/alert/AlertWrap.js +7 -7
- package/lib/module/components/overlay/alert/AlertWrap.js.map +1 -1
- package/lib/module/components/overlay/contextMenu/ContextMenu.js +196 -0
- package/lib/module/components/overlay/contextMenu/ContextMenu.js.map +1 -0
- package/lib/module/components/overlay/contextMenu/ContextMenuOptionList.js +72 -0
- package/lib/module/components/overlay/contextMenu/ContextMenuOptionList.js.map +1 -0
- package/lib/module/components/overlay/contextMenu/ContextMenuOptionListItem.js +87 -0
- package/lib/module/components/overlay/contextMenu/ContextMenuOptionListItem.js.map +1 -0
- package/lib/module/components/overlay/toast/ThemedToast.js +14 -14
- package/lib/module/components/overlay/toast/ThemedToast.js.map +1 -1
- package/lib/module/components/slider/Slider.js +335 -317
- package/lib/module/components/slider/Slider.js.map +1 -1
- package/lib/module/components/text/ThemedIconText.js +84 -66
- package/lib/module/components/text/ThemedIconText.js.map +1 -1
- package/lib/module/components/textInput/ThemedTextInput.js +39 -0
- package/lib/module/components/textInput/ThemedTextInput.js.map +1 -0
- package/lib/module/hooks/overlay.js +90 -78
- package/lib/module/hooks/overlay.js.map +1 -1
- package/lib/module/hooks/style.js +73 -7
- package/lib/module/hooks/style.js.map +1 -1
- package/lib/module/hooks/switch.js +14 -14
- package/lib/module/hooks/switch.js.map +1 -1
- package/lib/module/hooks/textInput.js +99 -0
- package/lib/module/hooks/textInput.js.map +1 -0
- package/lib/module/index.js +6 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/types/textInput.js +4 -0
- package/lib/module/types/textInput.js.map +1 -0
- package/lib/module/utils/common/const.js +5 -0
- package/lib/module/utils/common/const.js.map +1 -0
- package/lib/module/utils/common/func.js +13 -0
- package/lib/module/utils/common/func.js.map +1 -0
- package/lib/module/utils/overlay/const.js +1 -0
- package/lib/module/utils/overlay/const.js.map +1 -1
- package/lib/module/utils/reanimated/func.js +14 -14
- package/lib/module/utils/reanimated/func.js.map +1 -1
- package/lib/module/utils/style/const.js +27 -0
- package/lib/module/utils/style/const.js.map +1 -1
- package/lib/module/utils/style/func.js +5 -0
- package/lib/module/utils/style/func.js.map +1 -1
- package/lib/module/utils/textInput/const.js +4 -0
- package/lib/module/utils/textInput/const.js.map +1 -0
- package/lib/module/utils/theme/const.js +3 -0
- package/lib/module/utils/theme/const.js.map +1 -1
- package/lib/module/utils/theme/restyle.js +3 -1
- package/lib/module/utils/theme/restyle.js.map +1 -1
- package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts +1 -1
- package/lib/typescript/src/components/accordion/ThemedAccordion.d.ts.map +1 -1
- package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts +1 -1
- package/lib/typescript/src/components/button/AnimatedThemedPressable.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedButton.d.ts +1 -1
- package/lib/typescript/src/components/button/ThemedButton.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedIconButton.d.ts +1 -1
- package/lib/typescript/src/components/button/ThemedIconButton.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts +1 -1
- package/lib/typescript/src/components/button/ThemedIconTextButton.d.ts.map +1 -1
- package/lib/typescript/src/components/button/ThemedPressable.d.ts +1 -1
- package/lib/typescript/src/components/button/ThemedPressable.d.ts.map +1 -1
- package/lib/typescript/src/components/icon/ThemedIcon.d.ts +1 -1
- package/lib/typescript/src/components/icon/ThemedIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/list/List.d.ts +2 -2
- package/lib/typescript/src/components/list/List.d.ts.map +1 -1
- package/lib/typescript/src/components/loading/ThemedLoading.d.ts +1 -1
- package/lib/typescript/src/components/loading/ThemedLoading.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetContentGesture.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetHeader.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListView.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetListViewContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionList.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts +2 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptionListItem.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetOptions.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollView.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts +2 -2
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetScrollViewContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts +1 -1
- package/lib/typescript/src/components/overlay/actionSheet/ActionSheetWrap.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/Alert.d.ts +1 -1
- package/lib/typescript/src/components/overlay/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertButton.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertButtons.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertContent.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts +3 -3
- package/lib/typescript/src/components/overlay/alert/AlertWrap.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/contextMenu/ContextMenu.d.ts +5 -0
- package/lib/typescript/src/components/overlay/contextMenu/ContextMenu.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/contextMenu/ContextMenuOptionList.d.ts +5 -0
- package/lib/typescript/src/components/overlay/contextMenu/ContextMenuOptionList.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/contextMenu/ContextMenuOptionListItem.d.ts +6 -0
- package/lib/typescript/src/components/overlay/contextMenu/ContextMenuOptionListItem.d.ts.map +1 -0
- package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts +1 -1
- package/lib/typescript/src/components/overlay/modal/ThemedLoadingModal.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts +1 -1
- package/lib/typescript/src/components/overlay/modal/ThemedModal.d.ts.map +1 -1
- package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts +1 -1
- package/lib/typescript/src/components/overlay/toast/ThemedToast.d.ts.map +1 -1
- package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts +1 -1
- package/lib/typescript/src/components/provider/ReactNativeTemplateProviders.d.ts.map +1 -1
- package/lib/typescript/src/components/separator/ThemedSeparator.d.ts +1 -1
- package/lib/typescript/src/components/separator/ThemedSeparator.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/Slider.d.ts +1 -1
- package/lib/typescript/src/components/slider/Slider.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/ThemedSlider.d.ts +1 -1
- package/lib/typescript/src/components/slider/ThemedSlider.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts +1 -1
- package/lib/typescript/src/components/slider/ThemedSliderStepIndicator.d.ts.map +1 -1
- package/lib/typescript/src/components/switch/ThemedSwitch.d.ts +1 -1
- package/lib/typescript/src/components/switch/ThemedSwitch.d.ts.map +1 -1
- package/lib/typescript/src/components/text/Text.d.ts +994 -958
- package/lib/typescript/src/components/text/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/text/ThemedIconText.d.ts +1 -1
- package/lib/typescript/src/components/text/ThemedIconText.d.ts.map +1 -1
- package/lib/typescript/src/components/text/ThemedText.d.ts +1 -1
- package/lib/typescript/src/components/text/ThemedText.d.ts.map +1 -1
- package/lib/typescript/src/components/textInput/ThemedTextInput.d.ts +5 -0
- package/lib/typescript/src/components/textInput/ThemedTextInput.d.ts.map +1 -0
- package/lib/typescript/src/components/view/AnimatedThemedView.d.ts +1 -1
- package/lib/typescript/src/components/view/AnimatedThemedView.d.ts.map +1 -1
- package/lib/typescript/src/components/view/Box.d.ts +788 -760
- package/lib/typescript/src/components/view/Box.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts +1 -1
- package/lib/typescript/src/components/view/ThemedScreenWrap.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts +1 -1
- package/lib/typescript/src/components/view/ThemedScreenWrap.web.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedScrollView.d.ts +1 -1
- package/lib/typescript/src/components/view/ThemedScrollView.d.ts.map +1 -1
- package/lib/typescript/src/components/view/ThemedView.d.ts +1 -1
- package/lib/typescript/src/components/view/ThemedView.d.ts.map +1 -1
- package/lib/typescript/src/hooks/button.d.ts +1 -1
- package/lib/typescript/src/hooks/button.d.ts.map +1 -1
- package/lib/typescript/src/hooks/list.d.ts +1 -1
- package/lib/typescript/src/hooks/list.d.ts.map +1 -1
- package/lib/typescript/src/hooks/overlay.d.ts +5 -5
- package/lib/typescript/src/hooks/overlay.d.ts.map +1 -1
- package/lib/typescript/src/hooks/reanimated.d.ts +1 -1
- package/lib/typescript/src/hooks/reanimated.d.ts.map +1 -1
- package/lib/typescript/src/hooks/separator.d.ts +3 -3
- package/lib/typescript/src/hooks/separator.d.ts.map +1 -1
- package/lib/typescript/src/hooks/style.d.ts +11 -4
- package/lib/typescript/src/hooks/style.d.ts.map +1 -1
- package/lib/typescript/src/hooks/switch.d.ts +4 -4
- package/lib/typescript/src/hooks/switch.d.ts.map +1 -1
- package/lib/typescript/src/hooks/textInput.d.ts +13 -0
- package/lib/typescript/src/hooks/textInput.d.ts.map +1 -0
- package/lib/typescript/src/hooks/theme.d.ts +56 -54
- package/lib/typescript/src/hooks/theme.d.ts.map +1 -1
- package/lib/typescript/src/hooks/view.d.ts +2 -2
- package/lib/typescript/src/hooks/view.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +63 -57
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/test/utils/const.d.ts +1 -1
- package/lib/typescript/src/test/utils/const.d.ts.map +1 -1
- package/lib/typescript/src/test/utils/func.d.ts +55 -53
- package/lib/typescript/src/test/utils/func.d.ts.map +1 -1
- package/lib/typescript/src/types/accordion.d.ts +6 -6
- package/lib/typescript/src/types/accordion.d.ts.map +1 -1
- package/lib/typescript/src/types/button.d.ts +6 -6
- package/lib/typescript/src/types/button.d.ts.map +1 -1
- package/lib/typescript/src/types/icon.d.ts +11 -2
- package/lib/typescript/src/types/icon.d.ts.map +1 -1
- package/lib/typescript/src/types/list.d.ts +4 -4
- package/lib/typescript/src/types/list.d.ts.map +1 -1
- package/lib/typescript/src/types/loading.d.ts +1 -1
- package/lib/typescript/src/types/loading.d.ts.map +1 -1
- package/lib/typescript/src/types/overlay.d.ts +31 -9
- package/lib/typescript/src/types/overlay.d.ts.map +1 -1
- package/lib/typescript/src/types/provider.d.ts +2 -2
- package/lib/typescript/src/types/provider.d.ts.map +1 -1
- package/lib/typescript/src/types/separator.d.ts +2 -2
- package/lib/typescript/src/types/separator.d.ts.map +1 -1
- package/lib/typescript/src/types/slider.d.ts +5 -5
- package/lib/typescript/src/types/slider.d.ts.map +1 -1
- package/lib/typescript/src/types/style.d.ts +4 -2
- package/lib/typescript/src/types/style.d.ts.map +1 -1
- package/lib/typescript/src/types/switch.d.ts +5 -5
- package/lib/typescript/src/types/switch.d.ts.map +1 -1
- package/lib/typescript/src/types/text.d.ts +5 -4
- package/lib/typescript/src/types/text.d.ts.map +1 -1
- package/lib/typescript/src/types/textInput.d.ts +17 -0
- package/lib/typescript/src/types/textInput.d.ts.map +1 -0
- package/lib/typescript/src/types/view.d.ts +3 -3
- package/lib/typescript/src/types/view.d.ts.map +1 -1
- package/lib/typescript/src/utils/common/const.d.ts +2 -0
- package/lib/typescript/src/utils/common/const.d.ts.map +1 -0
- package/lib/typescript/src/utils/common/func.d.ts +4 -0
- package/lib/typescript/src/utils/common/func.d.ts.map +1 -0
- package/lib/typescript/src/utils/overlay/const.d.ts +6 -5
- package/lib/typescript/src/utils/overlay/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/overlay/func.d.ts +3 -3
- package/lib/typescript/src/utils/overlay/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/slider/const.d.ts +1 -1
- package/lib/typescript/src/utils/slider/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/style/const.d.ts +11 -0
- package/lib/typescript/src/utils/style/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/style/func.d.ts +2 -1
- package/lib/typescript/src/utils/style/func.d.ts.map +1 -1
- package/lib/typescript/src/utils/textInput/const.d.ts +3 -0
- package/lib/typescript/src/utils/textInput/const.d.ts.map +1 -0
- package/lib/typescript/src/utils/theme/const.d.ts +2 -0
- package/lib/typescript/src/utils/theme/const.d.ts.map +1 -1
- package/lib/typescript/src/utils/theme/restyle.d.ts +996 -463
- package/lib/typescript/src/utils/theme/restyle.d.ts.map +1 -1
- package/package.json +38 -46
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/common/const.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,iDAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/common/func.ts"],"names":[],"mappings":"AAEA,wBAAgB,iBAAiB,YAEhC;AAED,wBAAgB,aAAa,YAE5B;AAED,wBAAgB,aAAa,YAE5B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IconSize } from '@jamadd/react-native-template-icons';
|
|
2
|
-
import type { ActionSheetContextVal } from '../../types/overlay';
|
|
3
|
-
import type { ThemeSpacing, ThemeTextVariants } from '../../types/theme';
|
|
2
|
+
import type { ActionSheetContextVal } from '../../types/overlay.js';
|
|
3
|
+
import type { ThemeSpacing, ThemeTextVariants } from '../../types/theme.js';
|
|
4
4
|
/** @internal */
|
|
5
5
|
export declare const overlayMaxWidthPercent = "80%";
|
|
6
6
|
/**
|
|
@@ -21,7 +21,8 @@ export declare enum OverlayDismissResultType {
|
|
|
21
21
|
/** Alert dialog overlay */
|
|
22
22
|
Alert = "alert",
|
|
23
23
|
/** Action sheet overlay */
|
|
24
|
-
ActionSheet = "actionSheet"
|
|
24
|
+
ActionSheet = "actionSheet",
|
|
25
|
+
ContextMenu = "contextMenu"
|
|
25
26
|
}
|
|
26
27
|
/**
|
|
27
28
|
* Default text returned when an overlay is dismissed by user action.
|
|
@@ -72,8 +73,8 @@ export declare enum ToastDuration {
|
|
|
72
73
|
Long = 5000
|
|
73
74
|
}
|
|
74
75
|
/** @internal */
|
|
75
|
-
export declare const AlertContext: import("react").Context<Partial<Pick<import("
|
|
76
|
-
onDismiss: (result?: Partial<import("
|
|
76
|
+
export declare const AlertContext: import("react").Context<Partial<Pick<import("../../index.js").AlertProps, "buttonProps"> & {
|
|
77
|
+
onDismiss: (result?: Partial<import("../../index.js").OverlayDismissAlertResult>) => void;
|
|
77
78
|
}>>;
|
|
78
79
|
/**
|
|
79
80
|
* Visual styles for alert dialog buttons.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAE/D,OAAO,KAAK,EACV,qBAAqB,EAEtB,MAAM,wBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,sBAAmB,CAAC;AAEzE,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,oBAAY,wBAAwB;IAClC,iCAAiC;IACjC,KAAK,UAAU;IACf,2BAA2B;IAC3B,KAAK,UAAU;IACf,2BAA2B;IAC3B,WAAW,gBAAgB;IAC3B,WAAW,gBAAgB;CAC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AAE,iBAA2B,CAAC"}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* const alertContext = getAlertContext();
|
|
10
10
|
* ```
|
|
11
11
|
*/
|
|
12
|
-
export declare function getAlertContext(): Partial<Pick<import("
|
|
13
|
-
onDismiss: (result?: Partial<import("
|
|
12
|
+
export declare function getAlertContext(): Partial<Pick<import("../../index.js").AlertProps, "buttonProps"> & {
|
|
13
|
+
onDismiss: (result?: Partial<import("../../index.js").OverlayDismissAlertResult>) => void;
|
|
14
14
|
}>;
|
|
15
15
|
/**
|
|
16
16
|
* Calculates the maximum height for an action sheet.
|
|
@@ -100,5 +100,5 @@ export declare function getActionSheetExpandableSnapHeight(currentHight: number,
|
|
|
100
100
|
* const actionSheetContext = getActionSheetContext();
|
|
101
101
|
* ```
|
|
102
102
|
*/
|
|
103
|
-
export declare function getActionSheetContext(): Partial<import("
|
|
103
|
+
export declare function getActionSheetContext(): Partial<import("../../index.js").ActionSheetContextVal>;
|
|
104
104
|
//# sourceMappingURL=func.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/func.ts"],"names":[],"mappings":"AASA;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe;
|
|
1
|
+
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/overlay/func.ts"],"names":[],"mappings":"AASA;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe;sBAgKzB,CAAJ;GA9JD;AAQD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,UAAU,GAAE,OAAe,UAMlE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,MAAM,UAElD;AAED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,WAE7C;AAED;;;;;;;;;GASG;AACH,wBAAgB,kCAAkC,WAIjD;AAgBD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,OAAO,UAKtB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kCAAkC,CAChD,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,OAAO,UAmCtB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,4DAEpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/slider/const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/slider/const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAgB,CAAC;AAE5C;;;;;;;;;;;GAWG;AACH,oBAAY,sBAAsB;IAChC,uBAAuB;IACvB,IAAI,SAAS;IACb,qCAAqC;IACrC,GAAG,QAAQ;IACX,qCAAqC;IACrC,MAAM,WAAW;CAClB;AAED;;;;;;;;GAQG;AACH,oBAAY,eAAe;IACzB,+BAA+B;IAC/B,CAAC,IAAI;IACL,iCAAiC;IACjC,CAAC,KAAK;IACN,gCAAgC;IAChC,CAAC,KAAK;CACP;AAED;;;;;;;;GAQG;AACH,oBAAY,eAAe;IACzB,kCAAkC;IAClC,CAAC,KAAK;IACN,mCAAmC;IACnC,CAAC,KAAK;IACN,kCAAkC;IAClC,CAAC,KAAK;CACP;AAED;;;GAGG;AACH,eAAO,MAAM,sBAAsB,oBAAoB,CAAC;AAExD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,eAAe,CAAC"}
|
|
@@ -23,4 +23,15 @@ export declare enum ShadowDirection {
|
|
|
23
23
|
Right = "right",
|
|
24
24
|
All = "all"
|
|
25
25
|
}
|
|
26
|
+
export declare const shadowDefaultOffset = 5;
|
|
27
|
+
export declare const shadowDefaultBlurRadius = 10;
|
|
28
|
+
/** @internal */
|
|
29
|
+
export declare const elementDefaultBoundingClientRect: Omit<DOMRect, 'toJSON'>;
|
|
30
|
+
/** @internal */
|
|
31
|
+
export declare const elementDefaultDOMRect: DOMRect;
|
|
32
|
+
/** @internal */
|
|
33
|
+
export declare enum ElementScreenPosition {
|
|
34
|
+
Upper = "upper",
|
|
35
|
+
Lower = "lower"
|
|
36
|
+
}
|
|
26
37
|
//# sourceMappingURL=const.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,oBAAY,WAAW;IACrB,0DAA0D;IAC1D,QAAQ,aAAa;IACrB,2DAA2D;IAC3D,SAAS,cAAc;CACxB;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ"}
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/const.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,oBAAY,WAAW;IACrB,0DAA0D;IAC1D,QAAQ,aAAa;IACrB,2DAA2D;IAC3D,SAAS,cAAc;CACxB;AAED,oBAAY,eAAe;IACzB,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;IACf,GAAG,QAAQ;CACZ;AAED,eAAO,MAAM,mBAAmB,IAAI,CAAC;AAErC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,IAAI,CAAC,OAAO,EAAE,QAAQ,CASpE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,OAGnC,CAAC;AAEF,gBAAgB;AAChB,oBAAY,qBAAqB;IAC/B,KAAK,UAAU;IACf,KAAK,UAAU;CAChB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Style, StyleOrStyleProp } from '../../types/style';
|
|
1
|
+
import type { ElementRefObject, Style, StyleOrStyleProp } from '../../types/style.js';
|
|
2
2
|
/**
|
|
3
3
|
* Creates a stylesheet from a style object with type safety.
|
|
4
4
|
* Wrapper around React Native's StyleSheet.create for better type inference.
|
|
@@ -102,4 +102,5 @@ export declare function getWindowDimensionsScale(): number;
|
|
|
102
102
|
* ```
|
|
103
103
|
*/
|
|
104
104
|
export declare function getWindowDimensionsFontScale(): number;
|
|
105
|
+
export declare function getElementBoundingClientRect(ref: ElementRefObject): DOMRect;
|
|
105
106
|
//# sourceMappingURL=func.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/func.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"func.d.ts","sourceRoot":"","sources":["../../../../../src/utils/style/func.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,KAAK,EACL,gBAAgB,EACjB,MAAM,sBAAmB,CAAC;AAG3B;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC,KAE1E;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,KAAK,EAC3C,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,uCAG7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,YAAY,CAAC,CAAC,SAAS,KAAK,EAAE,KAAK,EAAE,gBAAgB,CAAC,CAAC,CAAC,iCAEvE;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,sCAElC;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;GASG;AACH,wBAAgB,yBAAyB,WAExC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,wBAAwB,WAEvC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,4BAA4B,WAE3C;AAED,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAE3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/textInput/const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAkB,CAAC;AAExD,eAAO,MAAM,2BAA2B,EAAE,eAAe,CAAC,SAAS,CAAW,CAAC"}
|
|
@@ -227,9 +227,11 @@ export declare const lightTheme: {
|
|
|
227
227
|
themePri: Palette;
|
|
228
228
|
themeSec: Palette;
|
|
229
229
|
themePriT: Palette;
|
|
230
|
+
themeSecT: Palette;
|
|
230
231
|
background: Palette;
|
|
231
232
|
backgroundOverlay: Palette;
|
|
232
233
|
text: Palette;
|
|
234
|
+
textDesc: Palette;
|
|
233
235
|
textOverlay: Palette;
|
|
234
236
|
textButton: Palette;
|
|
235
237
|
border: Palette;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/const.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,oBAAY,OAAO;IACjB,8BAA8B;IAC9B,WAAW,gBAAgB;IAC3B,yCAAyC;IACzC,QAAQ,YAAY;IACpB,gDAAgD;IAChD,SAAS,cAAc;IACvB,2CAA2C;IAC3C,QAAQ,YAAY;IACpB,kDAAkD;IAClD,SAAS,cAAc;IACvB,+CAA+C;IAC/C,KAAK,YAAY;IACjB,kCAAkC;IAClC,MAAM,cAAc;IACpB,qDAAqD;IACrD,KAAK,YAAY;IACjB,kCAAkC;IAClC,MAAM,cAAc;IACpB,4CAA4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;IAC/B,EAAE,IAAI;CACP;AAED;;;;;;;;;;GAUG;AACH,oBAAY,YAAY;IACtB,kCAAkC;IAClC,IAAI,IAAI;IACR,0BAA0B;IAC1B,CAAC,KAAK;IACN,2BAA2B;IAC3B,CAAC,KAAK;IACN,0BAA0B;IAC1B,CAAC,KAAK;IACN,qDAAqD;IACrD,KAAK,OAAO;CACb;AAED;;;;;;;;;;GAUG;AACH,oBAAY,MAAM;IAChB,qBAAqB;IACrB,IAAI,IAAI;IACR,uBAAuB;IACvB,MAAM,IAAI;IACV,uBAAuB;IACvB,MAAM,IAAI;IACV,oBAAoB;IACpB,GAAG,IAAI;CACR;AA+BD;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/utils/theme/const.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;GAaG;AACH,oBAAY,OAAO;IACjB,8BAA8B;IAC9B,WAAW,gBAAgB;IAC3B,yCAAyC;IACzC,QAAQ,YAAY;IACpB,gDAAgD;IAChD,SAAS,cAAc;IACvB,2CAA2C;IAC3C,QAAQ,YAAY;IACpB,kDAAkD;IAClD,SAAS,cAAc;IACvB,+CAA+C;IAC/C,KAAK,YAAY;IACjB,kCAAkC;IAClC,MAAM,cAAc;IACpB,qDAAqD;IACrD,KAAK,YAAY;IACjB,kCAAkC;IAClC,MAAM,cAAc;IACpB,4CAA4C;IAC5C,MAAM,YAAY;IAClB,qCAAqC;IACrC,IAAI,YAAY;IAChB,oDAAoD;IACpD,GAAG,YAAY;CAChB;AAED;;;;;;;;;;GAUG;AACH,oBAAY,OAAO;IACjB,uBAAuB;IACvB,IAAI,IAAI;IACR,oCAAoC;IACpC,IAAI,IAAI;IACR,8BAA8B;IAC9B,GAAG,IAAI;IACP,wBAAwB;IACxB,EAAE,IAAI;IACN,mBAAmB;IACnB,CAAC,KAAK;IACN,oBAAoB;IACpB,CAAC,KAAK;IACN,mBAAmB;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