@toss/tds-react-native 1.0.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/dist/cjs/components/agreement/Collapsible/CollapsibleContent.js +1 -1
  2. package/dist/cjs/components/agreement/useAnimatedRotateValue.js +1 -1
  3. package/dist/cjs/components/asset/blocks/Frame.js +1 -1
  4. package/dist/cjs/components/board-row/BoardRow.js +1 -1
  5. package/dist/cjs/components/bottom-sheet/Container.js +1 -1
  6. package/dist/cjs/components/bottom-sheet/Dimmer.js +1 -1
  7. package/dist/cjs/components/bottom-sheet/DragAnimation.js +1 -1
  8. package/dist/cjs/components/bottom-sheet/utils/CTAAnimation.js +1 -1
  9. package/dist/cjs/components/bottom-sheet/utils/RenderingAnimation.js +1 -1
  10. package/dist/cjs/components/button/Button.js +1 -1
  11. package/dist/cjs/components/button/ButtonDerivedTokenGenerator.js +1 -1
  12. package/dist/cjs/components/carousel/animations/scale.js +1 -1
  13. package/dist/cjs/components/carousel/animations/snap.js +1 -1
  14. package/dist/cjs/components/chart/BarChart.js +1 -1
  15. package/dist/cjs/components/checkbox/Circle/Graphic/AnimatedCheckboxGraphic.js +1 -1
  16. package/dist/cjs/components/checkbox/Circle/Graphic/AnimatedCheckboxGraphicDisabled.js +1 -1
  17. package/dist/cjs/components/checkbox/Line/Graphic/AnimatedCheckboxGraphic.js +1 -1
  18. package/dist/cjs/components/checkbox/Line/Graphic/AnimatedCheckboxGraphicDisabled.js +1 -1
  19. package/dist/cjs/components/checkbox/const.d.ts +1 -1
  20. package/dist/cjs/components/checkbox/const.js +1 -1
  21. package/dist/cjs/components/dialog/AlertDialog.js +1 -1
  22. package/dist/cjs/components/dialog/BaseDialog.js +1 -1
  23. package/dist/cjs/components/dialog/BaseDialogContents.d.ts +1 -1
  24. package/dist/cjs/components/dialog/BaseDialogContents.js +1 -1
  25. package/dist/cjs/components/dropdown/components/Dropdown.js +1 -1
  26. package/dist/cjs/components/dropdown/components/FixedFloatingDropdown.js +1 -1
  27. package/dist/cjs/components/dropdown/components/Trigger.js +1 -1
  28. package/dist/cjs/components/gradient/LinearGradient.d.ts +1 -1
  29. package/dist/cjs/components/gradient/LinearGradient.js +1 -1
  30. package/dist/cjs/components/gradient/RadialGradient.js +1 -1
  31. package/dist/cjs/components/highlight/Highlight.js +1 -1
  32. package/dist/cjs/components/highlight/HighlightUI.js +1 -1
  33. package/dist/cjs/components/highlight/components/MessageBox.js +1 -1
  34. package/dist/cjs/components/highlight/hooks/useHighlightUIAnimation.js +1 -1
  35. package/dist/cjs/components/icon-button/IconButton.js +1 -1
  36. package/dist/cjs/components/keypad/FullSecureKeypad/BackspaceIcon.js +1 -1
  37. package/dist/cjs/components/keypad/FullSecureKeypad/index.js +1 -1
  38. package/dist/cjs/components/list-footer/ListFooterTitle.js +1 -1
  39. package/dist/cjs/components/list-row/ListRowDisabled.js +1 -1
  40. package/dist/cjs/components/list-row/animation/ShineEffect.js +1 -1
  41. package/dist/cjs/components/list-row/animation/useBlinkAnimation.js +1 -1
  42. package/dist/cjs/components/list-row/animation/useShineAnimation.js +1 -1
  43. package/dist/cjs/components/loader/Loader.js +1 -1
  44. package/dist/cjs/components/numeric-spinner/NumericSpinner.js +1 -1
  45. package/dist/cjs/components/numeric-spinner/NumericSpinnerNumberBox.d.ts +1 -2
  46. package/dist/cjs/components/numeric-spinner/NumericSpinnerNumberBox.js +1 -1
  47. package/dist/cjs/components/paragraph/ParagraphBadge/ParagraphBadge.d.ts +1 -1
  48. package/dist/cjs/components/paragraph/ParagraphBadge/ParagraphBadge.js +1 -1
  49. package/dist/cjs/components/paragraph/ParagraphCode.js +1 -1
  50. package/dist/cjs/components/progress-bar/ProgressBar.js +1 -1
  51. package/dist/cjs/components/radio/Radio.js +1 -1
  52. package/dist/cjs/components/rating/EditableRating.js +1 -1
  53. package/dist/cjs/components/segmented-control/components/Indicator/Indicator.js +1 -1
  54. package/dist/cjs/components/segmented-control/components/ScrollControlOverlay/EdgeGradient.js +1 -1
  55. package/dist/cjs/components/segmented-control/hooks/useIndicatorBackground.js +1 -1
  56. package/dist/cjs/components/shadow/tokens.js +1 -1
  57. package/dist/cjs/components/skeleton/AnimateSkeleton.js +1 -1
  58. package/dist/cjs/components/slider/Slider.js +1 -1
  59. package/dist/cjs/components/slider/styles.js +1 -1
  60. package/dist/cjs/components/switch/Switch.js +1 -1
  61. package/dist/cjs/components/switch/useSwitchAnimation.js +1 -1
  62. package/dist/cjs/components/tab/FluidTab.js +1 -1
  63. package/dist/cjs/components/tab/FullTab.js +1 -1
  64. package/dist/cjs/components/tab/Gradient.js +1 -1
  65. package/dist/cjs/components/tab/TabItem.js +1 -1
  66. package/dist/cjs/components/text-field/OldTextField/TDSTextFieldItem.js +1 -1
  67. package/dist/cjs/components/text-field/OldTextField/styles.d.ts +1 -1
  68. package/dist/cjs/components/text-field/OldTextField/styles.js +1 -1
  69. package/dist/cjs/components/text-field/OldTextField/utils.d.ts +1 -1
  70. package/dist/cjs/components/text-field/TextField/hooks/useLabelControls.js +1 -1
  71. package/dist/cjs/components/text-field/TextField/hooks/useTextFieldHelpControls.js +1 -1
  72. package/dist/cjs/components/text-field/TextField/variants/TextFieldBox/TextFieldBox.Button.js +1 -1
  73. package/dist/cjs/components/text-field/TextField/variants/TextFieldBox/TextFieldBox.js +1 -1
  74. package/dist/cjs/components/text-field/TextField/variants/TextFieldBox/TextFieldBoxOverlay.js +1 -1
  75. package/dist/cjs/components/toast/components/ToastBottom.js +1 -1
  76. package/dist/cjs/components/toast/components/ToastButton.js +1 -1
  77. package/dist/cjs/components/toast/components/ToastTop.js +1 -1
  78. package/dist/cjs/components/toast/hooks/useToastAnimation.js +1 -1
  79. package/dist/cjs/components/tooltip/components/FullTooltip/FullTooltipBase.js +1 -1
  80. package/dist/cjs/components/tooltip/components/FullTooltip/HiddenFullTooltip.js +1 -1
  81. package/dist/cjs/components/tooltip/components/Tooltip/TooltipBase.d.ts +1 -1
  82. package/dist/cjs/components/tooltip/components/Tooltip/TooltipBase.js +1 -1
  83. package/dist/cjs/components/txt/Txt.js +1 -24
  84. package/dist/cjs/constants/typography/index.d.ts +1 -1
  85. package/dist/cjs/constants/typography/typographyLevel.d.ts +1 -1
  86. package/dist/cjs/constants/typography/typographyLevel.js +1 -1
  87. package/dist/cjs/constants/typography/typographyMap.d.ts +1 -1
  88. package/dist/cjs/constants/typography/typographyMap.js +1 -1
  89. package/dist/cjs/core/color/Color.js +1 -1
  90. package/dist/cjs/core/color/ColorPreference.js +1 -1
  91. package/dist/cjs/core/contexts/AdaptiveColorProvider.d.ts +1 -1
  92. package/dist/cjs/core/contexts/AdaptiveColorProvider.js +2 -1
  93. package/dist/cjs/core/contexts/ColorPreferenceProvider.js +1 -1
  94. package/dist/cjs/core/contexts/GlobalEventProvider.js +1 -1
  95. package/dist/cjs/core/contexts/HideAccessibility.js +1 -1
  96. package/dist/cjs/core/contexts/SafeAreaProvider.js +1 -1
  97. package/dist/cjs/core/contexts/TDSProvider.js +1 -1
  98. package/dist/cjs/core/contexts/TypographyProvider.js +2 -1
  99. package/dist/cjs/core/contexts/index.js +1 -1
  100. package/dist/cjs/core/hooks/index.js +1 -1
  101. package/dist/cjs/core/hooks/useA11yCondition.d.ts +1 -1
  102. package/dist/cjs/core/hooks/useA11yCondition.js +5 -4
  103. package/dist/cjs/core/hooks/useTypographyLevel.js +1 -1
  104. package/dist/cjs/core/index.js +1 -1
  105. package/dist/cjs/core/overlay/OverlayController.js +1 -1
  106. package/dist/cjs/core/overlay/OverlayProvider.js +1 -1
  107. package/dist/cjs/core/overlay/_OverlayProvider.js +1 -1
  108. package/dist/cjs/core/overlay/index.js +1 -2
  109. package/dist/cjs/core/overlay/types.js +1 -1
  110. package/dist/cjs/core/overlay/useOverlay.js +1 -1
  111. package/dist/cjs/core/overlay/useOverlayBase.js +1 -2
  112. package/dist/cjs/core/overlay/useOverlayCache.js +1 -1
  113. package/dist/cjs/core/theme/ThemeProvider.js +2 -1
  114. package/dist/cjs/core/theme/deriveToken/BaseDerivedTokenGenerator.js +1 -1
  115. package/dist/cjs/core/theme/deriveToken/batchDerivedTokenGenerators.js +1 -1
  116. package/dist/cjs/core/theme/deriveToken/deriveToken.js +1 -1
  117. package/dist/cjs/core/theme/deriveToken/index.js +1 -1
  118. package/dist/cjs/core/theme/index.js +1 -1
  119. package/dist/cjs/core/theme/seedToken/index.js +1 -2
  120. package/dist/cjs/core/theme/seedToken/seedToken.js +1 -1
  121. package/dist/cjs/extensions/bridge/Bridge.js +2 -2
  122. package/dist/cjs/extensions/bridge/BridgeDerivedTokenGenerator.js +1 -1
  123. package/dist/cjs/extensions/external-web-view-screen/Navigation.js +1 -1
  124. package/dist/cjs/extensions/navigation/Navigation.js +1 -1
  125. package/dist/cjs/extensions/page-navbar/PageNavbar.js +1 -1
  126. package/dist/cjs/extensions/page-navbar/components/TransparentNavigationBar/TransparentNavigationScrollView.js +1 -1
  127. package/dist/cjs/extensions/tab-view/Gradient.js +1 -1
  128. package/dist/cjs/extensions/tab-view/hooks/useIndicatorOpacityAnimation.js +1 -1
  129. package/dist/cjs/extensions/top-navigation/TopNavigation.js +1 -1
  130. package/dist/cjs/index.d.ts +17 -18
  131. package/dist/cjs/index.js +1 -1
  132. package/dist/cjs/interactions/animated/spring.d.ts +2 -2
  133. package/dist/cjs/interactions/animated/spring.js +1 -1
  134. package/dist/cjs/interactions/animation/hooks/useWiggleAnim.js +1 -1
  135. package/dist/cjs/interactions/pressable-effect/usePressAnim.js +1 -1
  136. package/dist/cjs/interactions/rally/constants/property.d.ts +1 -1
  137. package/dist/cjs/interactions/rally/constants/property.js +1 -1
  138. package/dist/cjs/interactions/rally/presets/effects/bounce.js +1 -1
  139. package/dist/cjs/interactions/rally/presets/effects/float.js +1 -1
  140. package/dist/cjs/interactions/rally/presets/effects/pulse.js +1 -1
  141. package/dist/cjs/interactions/rally/presets/effects/ripple.js +1 -1
  142. package/dist/cjs/interactions/rally/presets/effects/shiver.js +1 -1
  143. package/dist/cjs/interactions/rally/presets/effects/wiggle.js +1 -1
  144. package/dist/cjs/interactions/rally/presets/effects/wiggle3d.js +1 -1
  145. package/dist/cjs/interactions/rally/presets/transitions/fade.js +1 -1
  146. package/dist/cjs/interactions/rally/presets/transitions/flip.js +1 -1
  147. package/dist/cjs/interactions/rally/presets/transitions/flipBounce.js +1 -1
  148. package/dist/cjs/interactions/rally/presets/transitions/roll.js +1 -1
  149. package/dist/cjs/interactions/rally/presets/transitions/rollBounce.js +1 -1
  150. package/dist/cjs/interactions/rally/presets/transitions/scale.js +1 -1
  151. package/dist/cjs/interactions/rally/presets/transitions/scaleBounce.js +1 -1
  152. package/dist/cjs/interactions/rally/presets/transitions/slide.js +1 -1
  153. package/dist/cjs/interactions/rally/presets/transitions/slideBounce.js +1 -1
  154. package/dist/cjs/interactions/rally/presets/transitions/snap.js +1 -1
  155. package/dist/cjs/interactions/rally/presets/transitions/snapBounce.js +1 -1
  156. package/dist/cjs/interactions/rally/presets/transitions/zoom.js +1 -1
  157. package/dist/esm/components/agreement/Collapsible/CollapsibleContent.js +1 -1
  158. package/dist/esm/components/agreement/useAnimatedRotateValue.js +1 -1
  159. package/dist/esm/components/asset/blocks/Frame.js +1 -1
  160. package/dist/esm/components/board-row/BoardRow.js +1 -1
  161. package/dist/esm/components/bottom-sheet/Container.js +1 -1
  162. package/dist/esm/components/bottom-sheet/Dimmer.js +1 -1
  163. package/dist/esm/components/bottom-sheet/DragAnimation.js +1 -1
  164. package/dist/esm/components/bottom-sheet/utils/CTAAnimation.js +1 -1
  165. package/dist/esm/components/bottom-sheet/utils/RenderingAnimation.js +1 -1
  166. package/dist/esm/components/button/Button.js +1 -1
  167. package/dist/esm/components/button/ButtonDerivedTokenGenerator.js +1 -1
  168. package/dist/esm/components/carousel/animations/scale.js +1 -1
  169. package/dist/esm/components/carousel/animations/snap.js +1 -1
  170. package/dist/esm/components/chart/BarChart.js +1 -1
  171. package/dist/esm/components/checkbox/Circle/Graphic/AnimatedCheckboxGraphic.js +1 -1
  172. package/dist/esm/components/checkbox/Circle/Graphic/AnimatedCheckboxGraphicDisabled.js +1 -1
  173. package/dist/esm/components/checkbox/Line/Graphic/AnimatedCheckboxGraphic.js +1 -1
  174. package/dist/esm/components/checkbox/Line/Graphic/AnimatedCheckboxGraphicDisabled.js +1 -1
  175. package/dist/esm/components/checkbox/const.d.ts +1 -1
  176. package/dist/esm/components/checkbox/const.js +1 -1
  177. package/dist/esm/components/dialog/AlertDialog.js +1 -1
  178. package/dist/esm/components/dialog/BaseDialog.js +1 -1
  179. package/dist/esm/components/dialog/BaseDialogContents.d.ts +1 -1
  180. package/dist/esm/components/dialog/BaseDialogContents.js +1 -1
  181. package/dist/esm/components/dropdown/components/Dropdown.js +1 -1
  182. package/dist/esm/components/dropdown/components/FixedFloatingDropdown.js +1 -1
  183. package/dist/esm/components/dropdown/components/Trigger.js +1 -1
  184. package/dist/esm/components/gradient/LinearGradient.d.ts +1 -1
  185. package/dist/esm/components/gradient/LinearGradient.js +1 -1
  186. package/dist/esm/components/gradient/RadialGradient.js +1 -1
  187. package/dist/esm/components/highlight/Highlight.js +1 -1
  188. package/dist/esm/components/highlight/HighlightUI.js +1 -1
  189. package/dist/esm/components/highlight/components/MessageBox.js +1 -1
  190. package/dist/esm/components/highlight/hooks/useHighlightUIAnimation.js +1 -1
  191. package/dist/esm/components/icon-button/IconButton.js +1 -1
  192. package/dist/esm/components/keypad/FullSecureKeypad/BackspaceIcon.js +1 -1
  193. package/dist/esm/components/keypad/FullSecureKeypad/index.js +1 -1
  194. package/dist/esm/components/list-footer/ListFooterTitle.js +1 -1
  195. package/dist/esm/components/list-row/ListRowDisabled.js +1 -1
  196. package/dist/esm/components/list-row/animation/ShineEffect.js +1 -1
  197. package/dist/esm/components/list-row/animation/useBlinkAnimation.js +1 -1
  198. package/dist/esm/components/list-row/animation/useShineAnimation.js +1 -1
  199. package/dist/esm/components/loader/Loader.js +1 -1
  200. package/dist/esm/components/numeric-spinner/NumericSpinner.js +1 -1
  201. package/dist/esm/components/numeric-spinner/NumericSpinnerNumberBox.d.ts +1 -2
  202. package/dist/esm/components/numeric-spinner/NumericSpinnerNumberBox.js +1 -1
  203. package/dist/esm/components/paragraph/ParagraphBadge/ParagraphBadge.d.ts +1 -1
  204. package/dist/esm/components/paragraph/ParagraphBadge/ParagraphBadge.js +1 -1
  205. package/dist/esm/components/paragraph/ParagraphCode.js +1 -1
  206. package/dist/esm/components/progress-bar/ProgressBar.js +1 -1
  207. package/dist/esm/components/radio/Radio.js +1 -1
  208. package/dist/esm/components/rating/EditableRating.js +1 -1
  209. package/dist/esm/components/segmented-control/components/Indicator/Indicator.js +1 -1
  210. package/dist/esm/components/segmented-control/components/ScrollControlOverlay/EdgeGradient.js +1 -1
  211. package/dist/esm/components/segmented-control/hooks/useIndicatorBackground.js +1 -1
  212. package/dist/esm/components/shadow/tokens.js +1 -1
  213. package/dist/esm/components/skeleton/AnimateSkeleton.js +1 -1
  214. package/dist/esm/components/slider/Slider.js +1 -1
  215. package/dist/esm/components/slider/styles.js +1 -1
  216. package/dist/esm/components/switch/Switch.js +1 -1
  217. package/dist/esm/components/switch/useSwitchAnimation.js +1 -1
  218. package/dist/esm/components/tab/FluidTab.js +1 -1
  219. package/dist/esm/components/tab/FullTab.js +1 -1
  220. package/dist/esm/components/tab/Gradient.js +1 -1
  221. package/dist/esm/components/tab/TabItem.js +1 -1
  222. package/dist/esm/components/text-field/OldTextField/TDSTextFieldItem.js +1 -1
  223. package/dist/esm/components/text-field/OldTextField/styles.d.ts +1 -1
  224. package/dist/esm/components/text-field/OldTextField/styles.js +1 -1
  225. package/dist/esm/components/text-field/OldTextField/utils.d.ts +1 -1
  226. package/dist/esm/components/text-field/TextField/hooks/useLabelControls.js +1 -1
  227. package/dist/esm/components/text-field/TextField/hooks/useTextFieldHelpControls.js +1 -1
  228. package/dist/esm/components/text-field/TextField/variants/TextFieldBox/TextFieldBox.Button.js +1 -1
  229. package/dist/esm/components/text-field/TextField/variants/TextFieldBox/TextFieldBox.js +1 -1
  230. package/dist/esm/components/text-field/TextField/variants/TextFieldBox/TextFieldBoxOverlay.js +1 -1
  231. package/dist/esm/components/toast/components/ToastBottom.js +1 -1
  232. package/dist/esm/components/toast/components/ToastButton.js +1 -1
  233. package/dist/esm/components/toast/components/ToastTop.js +1 -1
  234. package/dist/esm/components/toast/hooks/useToastAnimation.js +1 -1
  235. package/dist/esm/components/tooltip/components/FullTooltip/FullTooltipBase.js +1 -1
  236. package/dist/esm/components/tooltip/components/FullTooltip/HiddenFullTooltip.js +1 -1
  237. package/dist/esm/components/tooltip/components/Tooltip/TooltipBase.d.ts +1 -1
  238. package/dist/esm/components/tooltip/components/Tooltip/TooltipBase.js +1 -1
  239. package/dist/esm/components/txt/Txt.js +31 -1
  240. package/dist/esm/constants/typography/index.d.ts +1 -1
  241. package/dist/esm/constants/typography/typographyLevel.d.ts +1 -1
  242. package/dist/esm/constants/typography/typographyLevel.js +1 -1
  243. package/dist/esm/constants/typography/typographyMap.d.ts +1 -1
  244. package/dist/esm/constants/typography/typographyMap.js +1 -1
  245. package/dist/esm/core/color/Color.js +1 -1
  246. package/dist/esm/core/contexts/AdaptiveColorProvider.d.ts +1 -1
  247. package/dist/esm/core/contexts/AdaptiveColorProvider.js +1 -1
  248. package/dist/esm/core/contexts/ColorPreferenceProvider.js +1 -1
  249. package/dist/esm/core/contexts/GlobalEventProvider.js +1 -4
  250. package/dist/esm/core/contexts/HideAccessibility.js +1 -1
  251. package/dist/esm/core/contexts/SafeAreaProvider.js +1 -1
  252. package/dist/esm/core/contexts/TDSProvider.js +1 -6
  253. package/dist/esm/core/contexts/TypographyProvider.js +1 -1
  254. package/dist/esm/core/hooks/useA11yCondition.d.ts +1 -1
  255. package/dist/esm/core/hooks/useA11yCondition.js +1 -1
  256. package/dist/esm/core/hooks/useTypographyLevel.js +1 -1
  257. package/dist/esm/core/overlay/OverlayController.js +2 -1
  258. package/dist/esm/core/overlay/OverlayProvider.js +1 -1
  259. package/dist/esm/core/overlay/_OverlayProvider.js +1 -3
  260. package/dist/esm/core/overlay/useOverlay.js +1 -1
  261. package/dist/esm/core/overlay/useOverlayBase.js +1 -1
  262. package/dist/esm/core/theme/ThemeProvider.js +1 -1
  263. package/dist/esm/core/theme/deriveToken/deriveToken.js +1 -1
  264. package/dist/esm/core/theme/seedToken/seedToken.js +1 -1
  265. package/dist/esm/extensions/bridge/Bridge.js +1 -1
  266. package/dist/esm/extensions/bridge/BridgeDerivedTokenGenerator.js +1 -1
  267. package/dist/esm/extensions/external-web-view-screen/Navigation.js +1 -1
  268. package/dist/esm/extensions/navigation/Navigation.js +1 -1
  269. package/dist/esm/extensions/page-navbar/PageNavbar.js +1 -1
  270. package/dist/esm/extensions/page-navbar/components/TransparentNavigationBar/TransparentNavigationScrollView.js +1 -1
  271. package/dist/esm/extensions/tab-view/Gradient.js +1 -1
  272. package/dist/esm/extensions/tab-view/hooks/useIndicatorOpacityAnimation.js +1 -1
  273. package/dist/esm/extensions/top-navigation/TopNavigation.js +1 -1
  274. package/dist/esm/index.d.ts +17 -18
  275. package/dist/esm/index.js +1 -1
  276. package/dist/esm/interactions/animated/spring.d.ts +2 -2
  277. package/dist/esm/interactions/animated/spring.js +1 -1
  278. package/dist/esm/interactions/animation/hooks/useWiggleAnim.js +1 -1
  279. package/dist/esm/interactions/pressable-effect/usePressAnim.js +1 -1
  280. package/dist/esm/interactions/rally/constants/property.d.ts +1 -1
  281. package/dist/esm/interactions/rally/constants/property.js +1 -1
  282. package/dist/esm/interactions/rally/presets/effects/bounce.js +1 -1
  283. package/dist/esm/interactions/rally/presets/effects/float.js +1 -1
  284. package/dist/esm/interactions/rally/presets/effects/pulse.js +1 -1
  285. package/dist/esm/interactions/rally/presets/effects/ripple.js +1 -1
  286. package/dist/esm/interactions/rally/presets/effects/shiver.js +1 -1
  287. package/dist/esm/interactions/rally/presets/effects/wiggle.js +1 -1
  288. package/dist/esm/interactions/rally/presets/effects/wiggle3d.js +1 -1
  289. package/dist/esm/interactions/rally/presets/transitions/fade.js +1 -1
  290. package/dist/esm/interactions/rally/presets/transitions/flip.js +1 -1
  291. package/dist/esm/interactions/rally/presets/transitions/flipBounce.js +1 -1
  292. package/dist/esm/interactions/rally/presets/transitions/roll.js +1 -1
  293. package/dist/esm/interactions/rally/presets/transitions/rollBounce.js +1 -1
  294. package/dist/esm/interactions/rally/presets/transitions/scale.js +1 -1
  295. package/dist/esm/interactions/rally/presets/transitions/scaleBounce.js +1 -1
  296. package/dist/esm/interactions/rally/presets/transitions/slide.js +1 -1
  297. package/dist/esm/interactions/rally/presets/transitions/slideBounce.js +1 -1
  298. package/dist/esm/interactions/rally/presets/transitions/snap.js +1 -1
  299. package/dist/esm/interactions/rally/presets/transitions/snapBounce.js +1 -1
  300. package/dist/esm/interactions/rally/presets/transitions/zoom.js +1 -1
  301. package/package.json +6 -6
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useTextFieldHelpControls=useTextFieldHelpControls;const colors_1=require("@toss-design-system/colors"),index_1=require("../../../../core/index"),react_1=require("react"),getTextFieldStatus_1=require("../utils/getTextFieldStatus");function useTextFieldHelpControls(s,r){const e=(0,index_1.useAdaptive)(),t=(0,getTextFieldStatus_1.getTextFieldStatus)(s,r);return{color:(0,react_1.useMemo)(()=>{switch(t){case"normal":case"focused":case"disabled":return e.grey600;case"error":return colors_1.colors.red600}},[t,e.grey600])}}
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useTextFieldHelpControls=useTextFieldHelpControls;const tds_colors_1=require("@toss/tds-colors"),react_1=require("react"),index_1=require("../../../../core/index"),getTextFieldStatus_1=require("../utils/getTextFieldStatus");function useTextFieldHelpControls(r,s){const e=(0,index_1.useAdaptive)(),t=(0,getTextFieldStatus_1.getTextFieldStatus)(r,s);return{color:(0,react_1.useMemo)(()=>{switch(t){case"normal":case"focused":case"disabled":return e.grey600;case"error":return tds_colors_1.colors.red600}},[t,e.grey600])}}
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TextFieldBoxButton=void 0;const jsx_runtime_1=require("react/jsx-runtime"),colors_1=require("@toss-design-system/colors"),index_1=require("../../../../../core/index"),index_2=require("../../../../txt/index"),react_1=require("react"),react_native_1=require("react-native"),TextFieldButtonArrow_1=require("../../components/TextFieldButtonArrow"),TextFieldButtonText_1=require("../../components/TextFieldButtonText"),TextFieldContainer_1=require("../../components/TextFieldContainer"),TextFieldHelp_1=require("../../components/TextFieldHelp"),TextFieldLabel_1=require("../../components/TextFieldLabel"),useLabelControls_1=require("../../hooks/useLabelControls"),useTextFieldDefaultTextColor_1=require("../../hooks/useTextFieldDefaultTextColor"),useTextFieldHelpControls_1=require("../../hooks/useTextFieldHelpControls"),useTextFieldValueControls_1=require("../../hooks/useTextFieldValueControls"),getTextFieldStatus_1=require("../../utils/getTextFieldStatus"),TextFieldBoxOverlay_1=require("./TextFieldBoxOverlay");exports.TextFieldBoxButton=(0,react_1.forwardRef)(function({prefix:i,right:c,suffix:n,placeholder:u,containerStyle:a,style:x,...e},T){const t=(0,index_1.useAdaptive)(),[o,s]=(0,react_1.useState)(!1),{value:l}=(0,useTextFieldValueControls_1.useTextFieldValueControls)(e),F=(0,useTextFieldHelpControls_1.useTextFieldHelpControls)(e,o),d=(0,useLabelControls_1.useTextFieldLabelControls)(e,o),y=(0,getTextFieldStatus_1.getTextFieldStatus)(e,o),h=(0,useTextFieldDefaultTextColor_1.useTextFieldDefaultTextColor)(e,o),g=l!=null&&l!=="";return(0,jsx_runtime_1.jsxs)(TextFieldContainer_1.TextFieldContainer,{paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,style:a,children:[(0,jsx_runtime_1.jsx)(TextFieldLabel_1.TextFieldLabel,{color:d.color,opacity:d.opacity,children:e.label}),(0,jsx_runtime_1.jsx)(react_native_1.Pressable,{ref:T,accessibilityState:{disabled:e.disabled},accessibilityRole:"button",onFocus:r=>{e.onFocus?.(r),s(!0)},onBlur:r=>{e.onBlur?.(r),s(!1)},...e,children:(0,jsx_runtime_1.jsxs)(react_native_1.View,{style:[styles.boxContainer,{backgroundColor:t.grey50}],children:[i?(0,jsx_runtime_1.jsx)(index_2.Txt,{color:t.grey800,style:[{paddingRight:8},x],children:i}):null,(0,jsx_runtime_1.jsx)(TextFieldButtonText_1.TextFieldButtonText,{typography:"t5",placeholder:u,placeholderColor:t.grey500,color:h,style:{flexGrow:1},children:l}),n?(0,jsx_runtime_1.jsx)(index_2.Txt,{color:g?t.grey800:t.grey500,style:{paddingLeft:8},children:n}):null,(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{display:"flex",alignItems:"center",marginLeft:8},children:c??(0,jsx_runtime_1.jsx)(TextFieldButtonArrow_1.TextFieldButtonArrow,{})}),(0,jsx_runtime_1.jsx)(TextFieldBoxOverlay_1.TextFieldBoxOverlay,{status:y})]})}),e.help!=null?(0,jsx_runtime_1.jsx)(TextFieldHelp_1.TextFieldHelp,{color:F.color,children:e.help}):null]})});const styles=react_native_1.StyleSheet.create({boxContainer:{overflow:"hidden",borderRadius:14,display:"flex",flexDirection:"row",alignItems:"center",borderColor:colors_1.colors.greyOpacity100,borderWidth:1,paddingVertical:14,paddingHorizontal:16,width:"100%"}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TextFieldBoxButton=void 0;const jsx_runtime_1=require("react/jsx-runtime"),tds_colors_1=require("@toss/tds-colors"),react_1=require("react"),react_native_1=require("react-native"),index_1=require("../../../../../core/index"),index_2=require("../../../../txt/index"),TextFieldButtonArrow_1=require("../../components/TextFieldButtonArrow"),TextFieldButtonText_1=require("../../components/TextFieldButtonText"),TextFieldContainer_1=require("../../components/TextFieldContainer"),TextFieldHelp_1=require("../../components/TextFieldHelp"),TextFieldLabel_1=require("../../components/TextFieldLabel"),useLabelControls_1=require("../../hooks/useLabelControls"),useTextFieldDefaultTextColor_1=require("../../hooks/useTextFieldDefaultTextColor"),useTextFieldHelpControls_1=require("../../hooks/useTextFieldHelpControls"),useTextFieldValueControls_1=require("../../hooks/useTextFieldValueControls"),getTextFieldStatus_1=require("../../utils/getTextFieldStatus"),TextFieldBoxOverlay_1=require("./TextFieldBoxOverlay");exports.TextFieldBoxButton=(0,react_1.forwardRef)(function({prefix:i,right:c,suffix:n,placeholder:u,containerStyle:a,style:x,...e},T){const t=(0,index_1.useAdaptive)(),[o,s]=(0,react_1.useState)(!1),{value:l}=(0,useTextFieldValueControls_1.useTextFieldValueControls)(e),F=(0,useTextFieldHelpControls_1.useTextFieldHelpControls)(e,o),d=(0,useLabelControls_1.useTextFieldLabelControls)(e,o),y=(0,getTextFieldStatus_1.getTextFieldStatus)(e,o),h=(0,useTextFieldDefaultTextColor_1.useTextFieldDefaultTextColor)(e,o),g=l!=null&&l!=="";return(0,jsx_runtime_1.jsxs)(TextFieldContainer_1.TextFieldContainer,{paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,style:a,children:[(0,jsx_runtime_1.jsx)(TextFieldLabel_1.TextFieldLabel,{color:d.color,opacity:d.opacity,children:e.label}),(0,jsx_runtime_1.jsx)(react_native_1.Pressable,{ref:T,accessibilityState:{disabled:e.disabled},accessibilityRole:"button",onFocus:r=>{e.onFocus?.(r),s(!0)},onBlur:r=>{e.onBlur?.(r),s(!1)},...e,children:(0,jsx_runtime_1.jsxs)(react_native_1.View,{style:[styles.boxContainer,{backgroundColor:t.grey50}],children:[i?(0,jsx_runtime_1.jsx)(index_2.Txt,{color:t.grey800,style:[{paddingRight:8},x],children:i}):null,(0,jsx_runtime_1.jsx)(TextFieldButtonText_1.TextFieldButtonText,{typography:"t5",placeholder:u,placeholderColor:t.grey500,color:h,style:{flexGrow:1},children:l}),n?(0,jsx_runtime_1.jsx)(index_2.Txt,{color:g?t.grey800:t.grey500,style:{paddingLeft:8},children:n}):null,(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{display:"flex",alignItems:"center",marginLeft:8},children:c??(0,jsx_runtime_1.jsx)(TextFieldButtonArrow_1.TextFieldButtonArrow,{})}),(0,jsx_runtime_1.jsx)(TextFieldBoxOverlay_1.TextFieldBoxOverlay,{status:y})]})}),e.help!=null?(0,jsx_runtime_1.jsx)(TextFieldHelp_1.TextFieldHelp,{color:F.color,children:e.help}):null]})});const styles=react_native_1.StyleSheet.create({boxContainer:{overflow:"hidden",borderRadius:14,display:"flex",flexDirection:"row",alignItems:"center",borderColor:tds_colors_1.colors.greyOpacity100,borderWidth:1,paddingVertical:14,paddingHorizontal:16,width:"100%"}});
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TextFieldBox=void 0;const jsx_runtime_1=require("react/jsx-runtime"),colors_1=require("@toss-design-system/colors"),react_1=require("react"),react_native_1=require("react-native"),core_1=require("../../../../../core"),txt_1=require("../../../../txt"),TextFieldContainer_1=require("../../components/TextFieldContainer"),TextFieldHelp_1=require("../../components/TextFieldHelp"),TextFieldLabel_1=require("../../components/TextFieldLabel"),useLabelControls_1=require("../../hooks/useLabelControls"),useTextFieldDefaultTextColor_1=require("../../hooks/useTextFieldDefaultTextColor"),useTextFieldHelpControls_1=require("../../hooks/useTextFieldHelpControls"),useTextFieldValueControls_1=require("../../hooks/useTextFieldValueControls"),getTextFieldStatus_1=require("../../utils/getTextFieldStatus"),TextFieldBoxOverlay_1=require("./TextFieldBoxOverlay");exports.TextFieldBox=(0,react_1.forwardRef)(function({prefix:r,right:n,suffix:s,containerStyle:c,style:u,...e},x){const t=(0,core_1.useAdaptive)(),{typography:T}=(0,core_1.useTypographyTheme)(),[o,i]=(0,react_1.useState)(!1),F=(0,useTextFieldHelpControls_1.useTextFieldHelpControls)(e,o),{value:a,onChangeText:y}=(0,useTextFieldValueControls_1.useTextFieldValueControls)(e),d=(0,useLabelControls_1.useTextFieldLabelControls)(e,o),g=(0,getTextFieldStatus_1.getTextFieldStatus)(e,o),h=(0,useTextFieldDefaultTextColor_1.useTextFieldDefaultTextColor)(e,o),C=a!=="";return(0,jsx_runtime_1.jsxs)(TextFieldContainer_1.TextFieldContainer,{paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,style:c,children:[(0,jsx_runtime_1.jsx)(TextFieldLabel_1.TextFieldLabel,{color:d.color,opacity:d.opacity,children:e.label}),(0,jsx_runtime_1.jsxs)(react_native_1.View,{style:[styles.boxContainer,{backgroundColor:t.greyOpacity50}],children:[r?(0,jsx_runtime_1.jsx)(txt_1.Txt,{color:t.grey800,style:{paddingRight:8},children:r}):null,(0,jsx_runtime_1.jsx)(react_native_1.TextInput,{...e,ref:x,onChangeText:y,editable:e.editable??!e.disabled,onFocus:l=>{e.onFocus?.(l),i(!0)},onBlur:l=>{e.onBlur?.(l),i(!1)},value:a,style:[{flexGrow:1,flexBasis:0,color:h,fontSize:T.t5.fontSize,padding:0},u],placeholderTextColor:t.grey500}),s?(0,jsx_runtime_1.jsx)(txt_1.Txt,{color:C?t.grey800:t.grey500,style:{paddingLeft:8},children:s}):null,n?(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{display:"flex",alignItems:"center",marginLeft:8},children:n}):null,(0,jsx_runtime_1.jsx)(TextFieldBoxOverlay_1.TextFieldBoxOverlay,{status:g})]}),e.help!=null?(0,jsx_runtime_1.jsx)(TextFieldHelp_1.TextFieldHelp,{color:F.color,children:e.help}):null]})});const styles=react_native_1.StyleSheet.create({boxContainer:{overflow:"hidden",borderRadius:14,display:"flex",flexDirection:"row",alignItems:"center",borderColor:colors_1.colors.greyOpacity100,borderWidth:1,paddingVertical:14,paddingHorizontal:16,width:"100%"}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TextFieldBox=void 0;const jsx_runtime_1=require("react/jsx-runtime"),tds_colors_1=require("@toss/tds-colors"),react_1=require("react"),react_native_1=require("react-native"),core_1=require("../../../../../core"),txt_1=require("../../../../txt"),TextFieldContainer_1=require("../../components/TextFieldContainer"),TextFieldHelp_1=require("../../components/TextFieldHelp"),TextFieldLabel_1=require("../../components/TextFieldLabel"),useLabelControls_1=require("../../hooks/useLabelControls"),useTextFieldDefaultTextColor_1=require("../../hooks/useTextFieldDefaultTextColor"),useTextFieldHelpControls_1=require("../../hooks/useTextFieldHelpControls"),useTextFieldValueControls_1=require("../../hooks/useTextFieldValueControls"),getTextFieldStatus_1=require("../../utils/getTextFieldStatus"),TextFieldBoxOverlay_1=require("./TextFieldBoxOverlay");exports.TextFieldBox=(0,react_1.forwardRef)(function({prefix:r,right:n,suffix:s,containerStyle:c,style:u,...e},x){const t=(0,core_1.useAdaptive)(),{typography:T}=(0,core_1.useTypographyTheme)(),[o,i]=(0,react_1.useState)(!1),F=(0,useTextFieldHelpControls_1.useTextFieldHelpControls)(e,o),{value:d,onChangeText:y}=(0,useTextFieldValueControls_1.useTextFieldValueControls)(e),a=(0,useLabelControls_1.useTextFieldLabelControls)(e,o),g=(0,getTextFieldStatus_1.getTextFieldStatus)(e,o),h=(0,useTextFieldDefaultTextColor_1.useTextFieldDefaultTextColor)(e,o),C=d!=="";return(0,jsx_runtime_1.jsxs)(TextFieldContainer_1.TextFieldContainer,{paddingTop:e.paddingTop,paddingBottom:e.paddingBottom,style:c,children:[(0,jsx_runtime_1.jsx)(TextFieldLabel_1.TextFieldLabel,{color:a.color,opacity:a.opacity,children:e.label}),(0,jsx_runtime_1.jsxs)(react_native_1.View,{style:[styles.boxContainer,{backgroundColor:t.greyOpacity50}],children:[r?(0,jsx_runtime_1.jsx)(txt_1.Txt,{color:t.grey800,style:{paddingRight:8},children:r}):null,(0,jsx_runtime_1.jsx)(react_native_1.TextInput,{...e,ref:x,onChangeText:y,editable:e.editable??!e.disabled,onFocus:l=>{e.onFocus?.(l),i(!0)},onBlur:l=>{e.onBlur?.(l),i(!1)},value:d,style:[{flexGrow:1,flexBasis:0,color:h,fontSize:T.t5.fontSize,padding:0},u],placeholderTextColor:t.grey500}),s?(0,jsx_runtime_1.jsx)(txt_1.Txt,{color:C?t.grey800:t.grey500,style:{paddingLeft:8},children:s}):null,n?(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{display:"flex",alignItems:"center",marginLeft:8},children:n}):null,(0,jsx_runtime_1.jsx)(TextFieldBoxOverlay_1.TextFieldBoxOverlay,{status:g})]}),e.help!=null?(0,jsx_runtime_1.jsx)(TextFieldHelp_1.TextFieldHelp,{color:F.color,children:e.help}):null]})});const styles=react_native_1.StyleSheet.create({boxContainer:{overflow:"hidden",borderRadius:14,display:"flex",flexDirection:"row",alignItems:"center",borderColor:tds_colors_1.colors.greyOpacity100,borderWidth:1,paddingVertical:14,paddingHorizontal:16,width:"100%"}});
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TextFieldBoxOverlay=TextFieldBoxOverlay;const jsx_runtime_1=require("react/jsx-runtime"),colors_1=require("@toss-design-system/colors"),react_1=require("react"),react_native_1=require("react-native"),COLOR_BY_STATUS={normal:"rgba(0, 0, 0, 0)",error:colors_1.colors.red900,focused:colors_1.colors.blue900,disabled:"rgba(0, 0, 0, 0)"};function TextFieldBoxOverlay({status:e}){const[o,s]=(0,react_1.useState)(e),t=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current,r=!1,n=t.interpolate({inputRange:[0,1],outputRange:[COLOR_BY_STATUS[o],COLOR_BY_STATUS[e]]});return(0,react_1.useLayoutEffect)(()=>{t.setValue(0),react_native_1.Animated.timing(t,{toValue:1,easing:react_native_1.Easing.inOut(react_native_1.Easing.ease),useNativeDriver:r}).start(()=>{s(e)})},[e,t,r]),(0,jsx_runtime_1.jsx)(react_native_1.Animated.View,{pointerEvents:"none",style:[styles.container,{backgroundColor:n}]})}const styles=react_native_1.StyleSheet.create({container:{borderRadius:14,opacity:.05,position:"absolute",top:0,left:0,right:0,bottom:0}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.TextFieldBoxOverlay=TextFieldBoxOverlay;const jsx_runtime_1=require("react/jsx-runtime"),tds_colors_1=require("@toss/tds-colors"),react_1=require("react"),react_native_1=require("react-native"),COLOR_BY_STATUS={normal:"rgba(0, 0, 0, 0)",error:tds_colors_1.colors.red900,focused:tds_colors_1.colors.blue900,disabled:"rgba(0, 0, 0, 0)"};function TextFieldBoxOverlay({status:e}){const[o,s]=(0,react_1.useState)(e),t=(0,react_1.useRef)(new react_native_1.Animated.Value(0)).current,r=!1,n=t.interpolate({inputRange:[0,1],outputRange:[COLOR_BY_STATUS[o],COLOR_BY_STATUS[e]]});return(0,react_1.useLayoutEffect)(()=>{t.setValue(0),react_native_1.Animated.timing(t,{toValue:1,easing:react_native_1.Easing.inOut(react_native_1.Easing.ease),useNativeDriver:r}).start(()=>{s(e)})},[e,t,r]),(0,jsx_runtime_1.jsx)(react_native_1.Animated.View,{pointerEvents:"none",style:[styles.container,{backgroundColor:n}]})}const styles=react_native_1.StyleSheet.create({container:{borderRadius:14,opacity:.05,position:"absolute",top:0,left:0,right:0,bottom:0}});
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ToastBottom=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_native_1=require("@granite-js/react-native"),react_1=require("react"),react_native_2=require("react-native"),colors_1=require("@toss-design-system/colors"),core_1=require("../../../core"),animated_1=require("../../../interactions/animated"),utils_1=require("../../../utils"),txt_1=require("../../txt"),hooks_1=require("../hooks"),AnimatedPressable=animated_1.Animated.createAnimatedComponent(react_native_2.Pressable),ToastBottom=({open:l,text:d,icon:o,button:e,duration:u=e?5:3,bottomOffset:i=20,onClose:r,onExited:m=()=>{},onEntered:h=()=>{}})=>{const{width:g}=(0,react_native_2.useWindowDimensions)(),[n,x]=(0,react_1.useState)(),s=(0,utils_1.useSafeAreaBottom)(),y=n?i+n+s:void 0,p=(0,react_native_1.useKeyboardAnimatedHeight)(),{textLine:f,updateTextLine:_}=(0,hooks_1.useTextLine)(),{colorPreference:w}=(0,core_1.useColorPreference)(),{typographyLevel:a}=(0,core_1.useTypographyTheme)(),t=react_native_2.Platform.OS==="android"?a>200:a?.startsWith("A11y_x"),{enter:T,exit:q,animatedStyle:c}=(0,hooks_1.useToastAnimation)({position:"bottom",initialY:y}),{presenceState:v}=(0,utils_1.useAnimatePresence)(l,{enter:T,exit:q,onExited:m,onEntered:h});return(0,hooks_1.useTimer)({duration:u,callback:r}),v==="invisible"?null:(0,jsx_runtime_1.jsxs)(AnimatedPressable,{onPress:r,onLayout:A=>{x(A.nativeEvent.layout.height)},style:[styles.container,{opacity:c.opacity,transform:[{translateY:animated_1.Animated.subtract(c.transform[0]?.translateY??0,p)}]},{flexDirection:t?"column":"row",alignItems:t?"flex-start":"center",gap:t?10:0,width:e?g-marginHorizontal*2:"auto",bottom:i+s,paddingLeft:o?16:20,paddingRight:e?14:20,borderRadius:f==="single"?100:20,backgroundColor:w==="light"?colors_1.colors.grey500:colors_1.colors.darkThemeGrey200}],children:[(0,jsx_runtime_1.jsxs)(react_native_2.View,{style:[styles.iconTextContainer,t?{width:"100%"}:{flexGrow:e?1:0,width:e?0:"auto"}],children:[o&&(0,jsx_runtime_1.jsx)(react_native_2.View,{style:styles.icon,children:o}),(0,jsx_runtime_1.jsx)(txt_1.Txt,{onTextLayout:_,typography:"t6",fontWeight:"semiBold",color:colors_1.colors.white,children:d})]}),e?(0,jsx_runtime_1.jsx)(react_native_2.View,{style:styles.button,children:e}):null]})};exports.ToastBottom=ToastBottom;const marginHorizontal=20,styles=react_native_2.StyleSheet.create({container:{position:"absolute",alignSelf:"center",zIndex:100,flexDirection:"row",paddingVertical:14,marginHorizontal},iconTextContainer:{flexDirection:"row",alignItems:"center"},icon:{marginRight:12},button:{marginLeft:20,flexShrink:0}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ToastBottom=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_native_1=require("@granite-js/react-native"),react_1=require("react"),react_native_2=require("react-native"),tds_colors_1=require("@toss/tds-colors"),core_1=require("../../../core"),animated_1=require("../../../interactions/animated"),utils_1=require("../../../utils"),txt_1=require("../../txt"),hooks_1=require("../hooks"),AnimatedPressable=animated_1.Animated.createAnimatedComponent(react_native_2.Pressable),ToastBottom=({open:l,text:d,icon:o,button:e,duration:u=e?5:3,bottomOffset:r=20,onClose:i,onExited:m=()=>{},onEntered:h=()=>{}})=>{const{width:x}=(0,react_native_2.useWindowDimensions)(),[n,g]=(0,react_1.useState)(),s=(0,utils_1.useSafeAreaBottom)(),y=n?r+n+s:void 0,p=(0,react_native_1.useKeyboardAnimatedHeight)(),{textLine:f,updateTextLine:_}=(0,hooks_1.useTextLine)(),{colorPreference:w}=(0,core_1.useColorPreference)(),{typographyLevel:a}=(0,core_1.useTypographyTheme)(),t=react_native_2.Platform.OS==="android"?a>200:a?.startsWith("A11y_x"),{enter:T,exit:q,animatedStyle:c}=(0,hooks_1.useToastAnimation)({position:"bottom",initialY:y}),{presenceState:v}=(0,utils_1.useAnimatePresence)(l,{enter:T,exit:q,onExited:m,onEntered:h});return(0,hooks_1.useTimer)({duration:u,callback:i}),v==="invisible"?null:(0,jsx_runtime_1.jsxs)(AnimatedPressable,{onPress:i,onLayout:A=>{g(A.nativeEvent.layout.height)},style:[styles.container,{opacity:c.opacity,transform:[{translateY:animated_1.Animated.subtract(c.transform[0]?.translateY??0,p)}]},{flexDirection:t?"column":"row",alignItems:t?"flex-start":"center",gap:t?10:0,width:e?x-marginHorizontal*2:"auto",bottom:r+s,paddingLeft:o?16:20,paddingRight:e?14:20,borderRadius:f==="single"?100:20,backgroundColor:w==="light"?tds_colors_1.colors.grey500:tds_colors_1.colors.darkThemeGrey200}],children:[(0,jsx_runtime_1.jsxs)(react_native_2.View,{style:[styles.iconTextContainer,t?{width:"100%"}:{flexGrow:e?1:0,width:e?0:"auto"}],children:[o&&(0,jsx_runtime_1.jsx)(react_native_2.View,{style:styles.icon,children:o}),(0,jsx_runtime_1.jsx)(txt_1.Txt,{onTextLayout:_,typography:"t6",fontWeight:"semiBold",color:tds_colors_1.colors.white,children:d})]}),e?(0,jsx_runtime_1.jsx)(react_native_2.View,{style:styles.button,children:e}):null]})};exports.ToastBottom=ToastBottom;const marginHorizontal=20,styles=react_native_2.StyleSheet.create({container:{position:"absolute",alignSelf:"center",zIndex:100,flexDirection:"row",paddingVertical:14,marginHorizontal},iconTextContainer:{flexDirection:"row",alignItems:"center"},icon:{marginRight:12},button:{marginLeft:20,flexShrink:0}});
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ToastButton=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),colors_1=require("@toss-design-system/colors"),animated_1=require("../../../interactions/animated"),core_1=require("../../../core"),txt_1=require("../../txt"),ToastButton=({children:t,...o})=>{const{colorPreference:r}=(0,core_1.useColorPreference)(),e=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current;return(0,jsx_runtime_1.jsxs)(react_native_1.Pressable,{accessibilityRole:"button",onPressIn:()=>{e.setValue(.1)},onPressOut:()=>{e.setValue(0)},style:[styles.button,{backgroundColor:r==="light"?colors_1.colors.greyOpacity400:colors_1.colors.whiteOpacity100}],...o,children:[(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:{...react_native_1.StyleSheet.absoluteFillObject,backgroundColor:colors_1.colors.black,opacity:e}}),(0,jsx_runtime_1.jsx)(txt_1.Txt,{typography:"t7",fontWeight:"semiBold",color:colors_1.colors.floatBackground,children:t})]})};exports.ToastButton=ToastButton;const styles=react_native_1.StyleSheet.create({button:{marginLeft:"auto",borderRadius:100,paddingHorizontal:12,paddingVertical:6,overflow:"hidden"}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ToastButton=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),tds_colors_1=require("@toss/tds-colors"),core_1=require("../../../core"),animated_1=require("../../../interactions/animated"),txt_1=require("../../txt"),ToastButton=({children:t,...o})=>{const{colorPreference:r}=(0,core_1.useColorPreference)(),e=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current;return(0,jsx_runtime_1.jsxs)(react_native_1.Pressable,{accessibilityRole:"button",onPressIn:()=>{e.setValue(.1)},onPressOut:()=>{e.setValue(0)},style:[styles.button,{backgroundColor:r==="light"?tds_colors_1.colors.greyOpacity400:tds_colors_1.colors.whiteOpacity100}],...o,children:[(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:{...react_native_1.StyleSheet.absoluteFillObject,backgroundColor:tds_colors_1.colors.black,opacity:e}}),(0,jsx_runtime_1.jsx)(txt_1.Txt,{typography:"t7",fontWeight:"semiBold",color:tds_colors_1.colors.floatBackground,children:t})]})};exports.ToastButton=ToastButton;const styles=react_native_1.StyleSheet.create({button:{marginLeft:"auto",borderRadius:100,paddingHorizontal:12,paddingVertical:6,overflow:"hidden"}});
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ToastTop=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),colors_1=require("@toss-design-system/colors"),animated_1=require("../../../interactions/animated"),core_1=require("../../../core"),txt_1=require("../../txt"),utils_1=require("../../../utils"),hooks_1=require("../hooks"),AnimatedPressable=animated_1.Animated.createAnimatedComponent(react_native_1.Pressable),ToastTop=({open:s,text:n,icon:e,duration:a=3,onClose:t,onExited:c=()=>{},onEntered:l=()=>{}})=>{const o=(0,utils_1.useSafeAreaTop)(),[r,d]=(0,react_1.useState)(),u=r?-(o+r):void 0,{textLine:h,updateTextLine:p}=(0,hooks_1.useTextLine)(),g=(0,core_1.useAdaptive)(),{colorPreference:i}=(0,core_1.useColorPreference)(),{enter:m,exit:x,animatedStyle:y}=(0,hooks_1.useToastAnimation)({position:"top",initialY:u}),{presenceState:T}=(0,utils_1.useAnimatePresence)(s,{enter:m,exit:x,onExited:c,onEntered:l});return(0,hooks_1.useTimer)({duration:a,callback:t}),T==="invisible"?null:(0,jsx_runtime_1.jsxs)(AnimatedPressable,{onPress:t,onLayout:f=>{d(f.nativeEvent.layout.height)},style:[styles.container,y,{top:o,paddingLeft:e?12:16,borderRadius:h==="single"?100:20,backgroundColor:i==="light"?colors_1.colors.white:colors_1.colors.darkThemeGrey200,shadowColor:i==="light"?colors_1.colors.greyOpacity200:colors_1.colors.darkThemeGrey50}],children:[e&&(0,jsx_runtime_1.jsx)(react_native_1.View,{style:styles.icon,children:e}),(0,jsx_runtime_1.jsx)(txt_1.Txt,{onTextLayout:p,typography:"t6",fontWeight:"semiBold",color:g.opacity800,children:n})]})};exports.ToastTop=ToastTop;const styles=react_native_1.StyleSheet.create({container:{position:"absolute",alignSelf:"center",zIndex:100,flexDirection:"row",alignItems:"center",paddingVertical:12,paddingRight:16,marginHorizontal:react_native_1.Platform.OS==="ios"?18:react_native_1.Platform.OS==="android"?12:0,shadowOffset:{width:0,height:2},shadowRadius:30,shadowOpacity:1,elevation:50},icon:{marginRight:10}});
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ToastTop=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),tds_colors_1=require("@toss/tds-colors"),core_1=require("../../../core"),animated_1=require("../../../interactions/animated"),utils_1=require("../../../utils"),txt_1=require("../../txt"),hooks_1=require("../hooks"),AnimatedPressable=animated_1.Animated.createAnimatedComponent(react_native_1.Pressable),ToastTop=({open:s,text:n,icon:e,duration:a=3,onClose:t,onExited:c=()=>{},onEntered:l=()=>{}})=>{const o=(0,utils_1.useSafeAreaTop)(),[r,d]=(0,react_1.useState)(),u=r?-(o+r):void 0,{textLine:h,updateTextLine:p}=(0,hooks_1.useTextLine)(),g=(0,core_1.useAdaptive)(),{colorPreference:i}=(0,core_1.useColorPreference)(),{enter:m,exit:x,animatedStyle:y}=(0,hooks_1.useToastAnimation)({position:"top",initialY:u}),{presenceState:T}=(0,utils_1.useAnimatePresence)(s,{enter:m,exit:x,onExited:c,onEntered:l});return(0,hooks_1.useTimer)({duration:a,callback:t}),T==="invisible"?null:(0,jsx_runtime_1.jsxs)(AnimatedPressable,{onPress:t,onLayout:f=>{d(f.nativeEvent.layout.height)},style:[styles.container,y,{top:o,paddingLeft:e?12:16,borderRadius:h==="single"?100:20,backgroundColor:i==="light"?tds_colors_1.colors.white:tds_colors_1.colors.darkThemeGrey200,shadowColor:i==="light"?tds_colors_1.colors.greyOpacity200:tds_colors_1.colors.darkThemeGrey50}],children:[e&&(0,jsx_runtime_1.jsx)(react_native_1.View,{style:styles.icon,children:e}),(0,jsx_runtime_1.jsx)(txt_1.Txt,{onTextLayout:p,typography:"t6",fontWeight:"semiBold",color:g.opacity800,children:n})]})};exports.ToastTop=ToastTop;const styles=react_native_1.StyleSheet.create({container:{position:"absolute",alignSelf:"center",zIndex:100,flexDirection:"row",alignItems:"center",paddingVertical:12,paddingRight:16,marginHorizontal:react_native_1.Platform.OS==="ios"?18:react_native_1.Platform.OS==="android"?12:0,shadowOffset:{width:0,height:2},shadowRadius:30,shadowOpacity:1,elevation:50},icon:{marginRight:10}});
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useToastAnimation=void 0;const react_1=require("react"),easings_1=require("@toss-design-system/easings"),animated_1=require("../../../interactions/animated"),useToastAnimation=({position:s,initialY:e})=>{const n=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,t=(0,react_1.useRef)(new animated_1.Animated.Value(e??0)).current,u=(0,react_1.useRef)(!1),a=(0,react_1.useCallback)(()=>new Promise(r=>{if(e===void 0){r();return}t.setValue(e),u.current=!0,animated_1.Animated.parallel([animated_1.Animated.spring(n,{toValue:1,useNativeDriver:!0,...s==="bottom"?easings_1.spring.quick:easings_1.spring.small}),animated_1.Animated.spring(t,{toValue:0,useNativeDriver:!0,...s==="bottom"?easings_1.spring.quick:easings_1.spring.small})]).start(()=>{r()})}),[e,n,s,t]);return(0,react_1.useEffect)(()=>{!u.current&&e!=null&&a()},[e,a]),{enter:a,exit:()=>new Promise(r=>{if(e==null){r();return}animated_1.Animated.parallel([animated_1.Animated.spring(n,{toValue:0,useNativeDriver:!0,...easings_1.spring.quick}),animated_1.Animated.spring(t,{toValue:e,useNativeDriver:!0,...easings_1.spring.quick})]).start(()=>{r()})}),animatedStyle:{opacity:n,transform:[{translateY:t}]}}};exports.useToastAnimation=useToastAnimation;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.useToastAnimation=void 0;const react_1=require("react"),tds_easings_1=require("@toss/tds-easings"),animated_1=require("../../../interactions/animated"),useToastAnimation=({position:s,initialY:e})=>{const n=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,t=(0,react_1.useRef)(new animated_1.Animated.Value(e??0)).current,u=(0,react_1.useRef)(!1),a=(0,react_1.useCallback)(()=>new Promise(r=>{if(e===void 0){r();return}t.setValue(e),u.current=!0,animated_1.Animated.parallel([animated_1.Animated.spring(n,{toValue:1,useNativeDriver:!0,...s==="bottom"?tds_easings_1.spring.quick:tds_easings_1.spring.small}),animated_1.Animated.spring(t,{toValue:0,useNativeDriver:!0,...s==="bottom"?tds_easings_1.spring.quick:tds_easings_1.spring.small})]).start(()=>{r()})}),[e,n,s,t]);return(0,react_1.useEffect)(()=>{!u.current&&e!=null&&a()},[e,a]),{enter:a,exit:()=>new Promise(r=>{if(e==null){r();return}animated_1.Animated.parallel([animated_1.Animated.spring(n,{toValue:0,useNativeDriver:!0,...tds_easings_1.spring.quick}),animated_1.Animated.spring(t,{toValue:e,useNativeDriver:!0,...tds_easings_1.spring.quick})]).start(()=>{r()})}),animatedStyle:{opacity:n,transform:[{translateY:t}]}}};exports.useToastAnimation=useToastAnimation;
@@ -1 +1 @@
1
- "use strict";var __createBinding=Object.create?function(n,e,i,o){o===void 0&&(o=i);var t=Object.getOwnPropertyDescriptor(e,i);(!t||("get"in t?!e.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(n,o,t)}:function(n,e,i,o){o===void 0&&(o=i),n[o]=e[i]},__setModuleDefault=Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e},__importStar=function(){var n=function(e){return n=Object.getOwnPropertyNames||function(i){var o=[];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(o[o.length]=t);return o},n(e)};return function(e){if(e&&e.__esModule)return e;var i={};if(e!=null)for(var o=n(e),t=0;t<o.length;t++)o[t]!=="default"&&__createBinding(i,e,o[t]);return __setModuleDefault(i,e),i}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.ANCHOR_WIDTH=exports.ANCHOR_HEIGHT=void 0,exports.FullTooltipBase=FullTooltipBase;const jsx_runtime_1=require("react/jsx-runtime"),react_native_svg_1=__importStar(require("@granite-js/native/react-native-svg")),colors_1=require("@toss-design-system/colors"),easings_1=require("@toss-design-system/easings"),Paragraph=__importStar(require("../../../paragraph")),utils_1=require("@toss/utils"),react_1=require("react"),react_native_1=require("react-native"),animated_1=require("../../../../interactions/animated"),createFullTooltipAnchorPath_1=require("../../utils/createFullTooltipAnchorPath"),HiddenFullTooltip_1=require("./HiddenFullTooltip"),useAnnounce_1=require("../../../../utils/useAnnounce");exports.ANCHOR_HEIGHT=12,exports.ANCHOR_WIDTH=38;function FullTooltipBase({open:n,placement:e,anchorMarginLeft:i=0,messageAlign:o="center",message:t,style:r,animationDelay:s=0,withAnimation:c=!0,anchorOverlapped:u=!1}){const[l,d]=(0,react_1.useState)(0),a=c?s:0,f=c?200:0,{announce:p}=(0,useAnnounce_1.useAnnounce)(),{fullMessageStyle:_,fullTooltipStyle:H,enterMotion:g,exitMotion:h}=useFullTooltipAnimation({messageHeight:l,delay:a,duration:f,anchorOverlapped:u});return(0,react_1.useEffect)(()=>{n?g():h()},[g,h,n]),(0,react_1.useEffect)(()=>{n&&t&&p(t,{queue:!0,delay:a+200})},[n,t,p,a]),l===0?(0,jsx_runtime_1.jsx)(HiddenFullTooltip_1.HiddenFullTooltip,{message:t,onLayout:A=>{d(A.nativeEvent.layout.height)}}):(0,jsx_runtime_1.jsxs)(animated_1.Animated.View,{style:[{position:"relative",width:"100%"},H,r],children:[e==="bottom"?(0,jsx_runtime_1.jsx)(react_native_1.View,{style:[{height:exports.ANCHOR_HEIGHT},u?{position:"absolute",top:-exports.ANCHOR_HEIGHT,width:"100%",left:0}:void 0],children:(0,jsx_runtime_1.jsx)(FullTooltipAnchor,{anchorMarginLeft:i,messageHeight:l})}):void 0,(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:{backgroundColor:(0,utils_1.hexToRgba)(colors_1.colors.teal400,.15)},children:(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:[_,{width:"100%",paddingVertical:16,paddingHorizontal:24}],children:(0,jsx_runtime_1.jsx)(Paragraph.Text,{typography:"t6",color:colors_1.colors.teal600,fontWeight:"bold",style:{textAlign:o},children:t})})}),e==="top"?(0,jsx_runtime_1.jsx)(react_native_1.View,{style:[{height:exports.ANCHOR_HEIGHT,transform:[{scaleY:-1}]},u?{position:"absolute",width:"100%",bottom:-exports.ANCHOR_HEIGHT}:void 0],children:(0,jsx_runtime_1.jsx)(FullTooltipAnchor,{anchorMarginLeft:i,messageHeight:l})}):void 0]})}const easeOut=react_native_1.Easing.bezier(...easings_1.bezier.out);function useFullTooltipAnimation({messageHeight:n,delay:e,duration:i,anchorOverlapped:o}){const t=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,r=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,s=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,c={opacity:t},u={height:r,opacity:s},l=(0,react_1.useCallback)(()=>{const a={easing:easeOut,duration:i};animated_1.Animated.sequence([animated_1.Animated.delay(e),animated_1.Animated.parallel([animated_1.Animated.timing(s,{toValue:1,delay:.5,useNativeDriver:!1,...a}),animated_1.Animated.timing(t,{toValue:1,delay:.5,useNativeDriver:!1,...a}),animated_1.Animated.spring(r,{toValue:n+exports.ANCHOR_HEIGHT,useNativeDriver:!1,...easings_1.spring.basic})])]).start()},[e,i,t,r,s,n]),d=(0,react_1.useCallback)(()=>{animated_1.Animated.parallel([animated_1.Animated.timing(s,{toValue:0,easing:easeOut,duration:i,useNativeDriver:!1}),animated_1.Animated.timing(t,{toValue:0,easing:easeOut,duration:i,useNativeDriver:!1}),animated_1.Animated.spring(r,{toValue:o?exports.ANCHOR_HEIGHT:0,useNativeDriver:!1,...easings_1.spring.basic})]).start()},[o,i,t,r,s]);return{fullMessageStyle:c,fullTooltipStyle:u,enterMotion:l,exitMotion:d}}function FullTooltipAnchor({messageHeight:n,anchorMarginLeft:e}){const i=(0,react_1.useMemo)(()=>(0,createFullTooltipAnchorPath_1.createTooltipOutlinePath)({anchorPosition:e,height:n,width:react_native_1.Dimensions.get("window").width}),[n,e]);return(0,jsx_runtime_1.jsx)(react_native_svg_1.default,{width:"100%",height:exports.ANCHOR_HEIGHT,viewBox:`0 0 100 ${exports.ANCHOR_HEIGHT}`,children:(0,jsx_runtime_1.jsx)(react_native_svg_1.Path,{d:i,fill:(0,utils_1.hexToRgba)(colors_1.colors.teal400,.15)})})}
1
+ "use strict";var __createBinding=Object.create?function(n,e,i,o){o===void 0&&(o=i);var t=Object.getOwnPropertyDescriptor(e,i);(!t||("get"in t?!e.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return e[i]}}),Object.defineProperty(n,o,t)}:function(n,e,i,o){o===void 0&&(o=i),n[o]=e[i]},__setModuleDefault=Object.create?function(n,e){Object.defineProperty(n,"default",{enumerable:!0,value:e})}:function(n,e){n.default=e},__importStar=function(){var n=function(e){return n=Object.getOwnPropertyNames||function(i){var o=[];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(o[o.length]=t);return o},n(e)};return function(e){if(e&&e.__esModule)return e;var i={};if(e!=null)for(var o=n(e),t=0;t<o.length;t++)o[t]!=="default"&&__createBinding(i,e,o[t]);return __setModuleDefault(i,e),i}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.ANCHOR_WIDTH=exports.ANCHOR_HEIGHT=void 0,exports.FullTooltipBase=FullTooltipBase;const jsx_runtime_1=require("react/jsx-runtime"),react_native_svg_1=__importStar(require("@granite-js/native/react-native-svg")),tds_colors_1=require("@toss/tds-colors"),tds_easings_1=require("@toss/tds-easings"),utils_1=require("@toss/utils"),react_1=require("react"),react_native_1=require("react-native"),animated_1=require("../../../../interactions/animated"),useAnnounce_1=require("../../../../utils/useAnnounce"),Paragraph=__importStar(require("../../../paragraph")),createFullTooltipAnchorPath_1=require("../../utils/createFullTooltipAnchorPath"),HiddenFullTooltip_1=require("./HiddenFullTooltip");exports.ANCHOR_HEIGHT=12,exports.ANCHOR_WIDTH=38;function FullTooltipBase({open:n,placement:e,anchorMarginLeft:i=0,messageAlign:o="center",message:t,style:r,animationDelay:s=0,withAnimation:c=!0,anchorOverlapped:u=!1}){const[l,d]=(0,react_1.useState)(0),a=c?s:0,f=c?200:0,{announce:p}=(0,useAnnounce_1.useAnnounce)(),{fullMessageStyle:_,fullTooltipStyle:H,enterMotion:h,exitMotion:g}=useFullTooltipAnimation({messageHeight:l,delay:a,duration:f,anchorOverlapped:u});return(0,react_1.useEffect)(()=>{n?h():g()},[h,g,n]),(0,react_1.useEffect)(()=>{n&&t&&p(t,{queue:!0,delay:a+200})},[n,t,p,a]),l===0?(0,jsx_runtime_1.jsx)(HiddenFullTooltip_1.HiddenFullTooltip,{message:t,onLayout:A=>{d(A.nativeEvent.layout.height)}}):(0,jsx_runtime_1.jsxs)(animated_1.Animated.View,{style:[{position:"relative",width:"100%"},H,r],children:[e==="bottom"?(0,jsx_runtime_1.jsx)(react_native_1.View,{style:[{height:exports.ANCHOR_HEIGHT},u?{position:"absolute",top:-exports.ANCHOR_HEIGHT,width:"100%",left:0}:void 0],children:(0,jsx_runtime_1.jsx)(FullTooltipAnchor,{anchorMarginLeft:i,messageHeight:l})}):void 0,(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:{backgroundColor:(0,utils_1.hexToRgba)(tds_colors_1.colors.teal400,.15)},children:(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:[_,{width:"100%",paddingVertical:16,paddingHorizontal:24}],children:(0,jsx_runtime_1.jsx)(Paragraph.Text,{typography:"t6",color:tds_colors_1.colors.teal600,fontWeight:"bold",style:{textAlign:o},children:t})})}),e==="top"?(0,jsx_runtime_1.jsx)(react_native_1.View,{style:[{height:exports.ANCHOR_HEIGHT,transform:[{scaleY:-1}]},u?{position:"absolute",width:"100%",bottom:-exports.ANCHOR_HEIGHT}:void 0],children:(0,jsx_runtime_1.jsx)(FullTooltipAnchor,{anchorMarginLeft:i,messageHeight:l})}):void 0]})}const easeOut=react_native_1.Easing.bezier(...tds_easings_1.bezier.out);function useFullTooltipAnimation({messageHeight:n,delay:e,duration:i,anchorOverlapped:o}){const t=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,r=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,s=(0,react_1.useRef)(new animated_1.Animated.Value(0)).current,c={opacity:t},u={height:r,opacity:s},l=(0,react_1.useCallback)(()=>{const a={easing:easeOut,duration:i};animated_1.Animated.sequence([animated_1.Animated.delay(e),animated_1.Animated.parallel([animated_1.Animated.timing(s,{toValue:1,delay:.5,useNativeDriver:!1,...a}),animated_1.Animated.timing(t,{toValue:1,delay:.5,useNativeDriver:!1,...a}),animated_1.Animated.spring(r,{toValue:n+exports.ANCHOR_HEIGHT,useNativeDriver:!1,...tds_easings_1.spring.basic})])]).start()},[e,i,t,r,s,n]),d=(0,react_1.useCallback)(()=>{animated_1.Animated.parallel([animated_1.Animated.timing(s,{toValue:0,easing:easeOut,duration:i,useNativeDriver:!1}),animated_1.Animated.timing(t,{toValue:0,easing:easeOut,duration:i,useNativeDriver:!1}),animated_1.Animated.spring(r,{toValue:o?exports.ANCHOR_HEIGHT:0,useNativeDriver:!1,...tds_easings_1.spring.basic})]).start()},[o,i,t,r,s]);return{fullMessageStyle:c,fullTooltipStyle:u,enterMotion:l,exitMotion:d}}function FullTooltipAnchor({messageHeight:n,anchorMarginLeft:e}){const i=(0,react_1.useMemo)(()=>(0,createFullTooltipAnchorPath_1.createTooltipOutlinePath)({anchorPosition:e,height:n,width:react_native_1.Dimensions.get("window").width}),[n,e]);return(0,jsx_runtime_1.jsx)(react_native_svg_1.default,{width:"100%",height:exports.ANCHOR_HEIGHT,viewBox:`0 0 100 ${exports.ANCHOR_HEIGHT}`,children:(0,jsx_runtime_1.jsx)(react_native_svg_1.Path,{d:i,fill:(0,utils_1.hexToRgba)(tds_colors_1.colors.teal400,.15)})})}
@@ -1 +1 @@
1
- "use strict";var __createBinding=Object.create?function(i,e,t,r){r===void 0&&(r=t);var n=Object.getOwnPropertyDescriptor(e,t);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(i,r,n)}:function(i,e,t,r){r===void 0&&(r=t),i[r]=e[t]},__setModuleDefault=Object.create?function(i,e){Object.defineProperty(i,"default",{enumerable:!0,value:e})}:function(i,e){i.default=e},__importStar=function(){var i=function(e){return i=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},i(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=i(e),n=0;n<r.length;n++)r[n]!=="default"&&__createBinding(t,e,r[n]);return __setModuleDefault(t,e),t}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.HiddenFullTooltip=HiddenFullTooltip;const jsx_runtime_1=require("react/jsx-runtime"),colors_1=require("@toss-design-system/colors"),Paragraph=__importStar(require("../../../paragraph")),animated_1=require("../../../../interactions/animated");function HiddenFullTooltip({onLayout:i,message:e,...t}){return(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:[{opacity:0,width:"100%",paddingHorizontal:24,paddingVertical:16,position:"absolute"}],onLayout:i,...t,children:(0,jsx_runtime_1.jsx)(Paragraph.Text,{typography:"t6",color:colors_1.colors.teal600,fontWeight:"bold",children:e})})}
1
+ "use strict";var __createBinding=Object.create?function(i,e,t,r){r===void 0&&(r=t);var n=Object.getOwnPropertyDescriptor(e,t);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(i,r,n)}:function(i,e,t,r){r===void 0&&(r=t),i[r]=e[t]},__setModuleDefault=Object.create?function(i,e){Object.defineProperty(i,"default",{enumerable:!0,value:e})}:function(i,e){i.default=e},__importStar=function(){var i=function(e){return i=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},i(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=i(e),n=0;n<r.length;n++)r[n]!=="default"&&__createBinding(t,e,r[n]);return __setModuleDefault(t,e),t}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.HiddenFullTooltip=HiddenFullTooltip;const jsx_runtime_1=require("react/jsx-runtime"),tds_colors_1=require("@toss/tds-colors"),animated_1=require("../../../../interactions/animated"),Paragraph=__importStar(require("../../../paragraph"));function HiddenFullTooltip({onLayout:i,message:e,...t}){return(0,jsx_runtime_1.jsx)(animated_1.Animated.View,{style:[{opacity:0,width:"100%",paddingHorizontal:24,paddingVertical:16,position:"absolute"}],onLayout:i,...t,children:(0,jsx_runtime_1.jsx)(Paragraph.Text,{typography:"t6",color:tds_colors_1.colors.teal600,fontWeight:"bold",children:e})})}
@@ -1,5 +1,5 @@
1
- import { FontWeightKeys, TypographyKeys } from '../../../../constants';
2
1
  import { View } from 'react-native';
2
+ import { FontWeightKeys, TypographyKeys } from '../../../../constants';
3
3
  import { Size, TooltipBaseProps } from '../../types';
4
4
  export declare const TooltipBase: import("react").ForwardRefExoticComponent<Omit<TooltipBaseProps, "children"> & {
5
5
  contentHeight: number;
@@ -1 +1 @@
1
- "use strict";var __createBinding=Object.create?function(n,t,r,o){o===void 0&&(o=r);var e=Object.getOwnPropertyDescriptor(t,r);(!e||("get"in e?!t.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(n,o,e)}:function(n,t,r,o){o===void 0&&(o=r),n[o]=t[r]},__setModuleDefault=Object.create?function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}:function(n,t){n.default=t},__importStar=function(){var n=function(t){return n=Object.getOwnPropertyNames||function(r){var o=[];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(o[o.length]=e);return o},n(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o=n(t),e=0;e<o.length;e++)o[e]!=="default"&&__createBinding(r,t,o[e]);return __setModuleDefault(r,t),r}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipBase=void 0,exports.getTooltipStyle=getTooltipStyle;const jsx_runtime_1=require("react/jsx-runtime"),colors_1=require("@toss-design-system/colors"),easings_1=require("@toss-design-system/easings"),animated_1=require("../../../../interactions/animated"),rally_1=require("../../../../interactions/rally"),core_1=require("../../../../core"),Paragraph=__importStar(require("../../../paragraph")),react_1=require("react"),react_native_1=require("react-native"),TooltipContext_1=require("../../contexts/TooltipContext"),Anchor_1=require("./Anchor"),useAnnounce_1=require("../../../../utils/useAnnounce"),AnimatedPressable=animated_1.Animated.createAnimatedComponent(react_native_1.Pressable);exports.TooltipBase=(0,react_1.forwardRef)(function({size:t="medium",placement:r,anchorMarginLeft:o=0,message:e,motion:f,messageAlign:d="left",contentHeight:g,left:p,top:h,onPress:y},m){const c=(0,core_1.useAdaptive)(),{colorPreference:_}=(0,core_1.useColorPreference)(),{flipped:l}=(0,TooltipContext_1.useTooltip)(),{announce:u}=(0,useAnnounce_1.useAnnounce)(),i=(0,react_1.useMemo)(()=>getTooltipStyle(t),[t]),a=r==="bottom"?"top":"bottom",s=(0,rally_1.useRally)({motion:f==="strong"?[{opacity:{from:0,to:1},scale:{from:0,to:1.25},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:easings_1.spring.quick},{scale:{from:1.25,to:1},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:{stiffness:300,damping:15}}]:{opacity:{from:0,to:1},scale:{from:0,to:1},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:easings_1.spring.medium},exit:{opacity:{from:1,to:0},scale:{from:1,to:0},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:easings_1.spring.medium}});return(0,react_1.useEffect)(()=>{s.play()},[s]),(0,react_1.useEffect)(()=>{e&&u(e,{queue:!0,delay:100})},[e,u]),(0,jsx_runtime_1.jsxs)(AnimatedPressable,{ref:m,onPress:y,onLayout:b=>{s.onLayout(b)},style:[{opacity:0,transform:[{scale:0}],zIndex:9e3,position:"absolute",backgroundColor:c.floatBackground,borderRadius:i.borderRadius,paddingHorizontal:i.paddingHorizontal/2,paddingVertical:i.paddingVertical/2,shadowColor:_==="light"?react_native_1.Platform.OS==="ios"?colors_1.colors.greyOpacity500:void 0:colors_1.colors.greyOpacity900,shadowOffset:{width:0,height:l?-16:16},shadowOpacity:1,shadowRadius:60,elevation:40,left:p,top:h},s.style],children:[(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{position:"absolute",justifyContent:"center",alignItems:"center",top:r==="top"?g-4:-i.anchorHeight+2,left:o,width:i.anchorWidth,height:i.anchorHeight+2,transform:r==="top"?[{scaleY:-1}]:[]},children:(0,jsx_runtime_1.jsx)(Anchor_1.Anchor,{size:t})}),(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{flexDirection:"row",justifyContent:"center",alignSelf:"flex-start",transform:[{scaleY:l?-1:1}]},children:(0,jsx_runtime_1.jsx)(Paragraph.Text,{typography:i.typography,color:c.grey800,fontWeight:i.fontWeight,style:{textAlign:d},children:e})})]})});function getTooltipStyle(n){return n==="small"?{borderRadius:12,paddingVertical:16,paddingHorizontal:24,anchorHeight:9,anchorWidth:24,typography:"t7",fontWeight:"semiBold"}:n==="large"?{borderRadius:18,paddingVertical:26,paddingHorizontal:40,anchorHeight:12,anchorWidth:38,typography:"t5",fontWeight:"bold"}:{borderRadius:16,paddingVertical:26,paddingHorizontal:32,anchorHeight:12,anchorWidth:38,typography:"t6",fontWeight:"bold"}}
1
+ "use strict";var __createBinding=Object.create?function(n,t,r,o){o===void 0&&(o=r);var e=Object.getOwnPropertyDescriptor(t,r);(!e||("get"in e?!t.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(n,o,e)}:function(n,t,r,o){o===void 0&&(o=r),n[o]=t[r]},__setModuleDefault=Object.create?function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}:function(n,t){n.default=t},__importStar=function(){var n=function(t){return n=Object.getOwnPropertyNames||function(r){var o=[];for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(o[o.length]=e);return o},n(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o=n(t),e=0;e<o.length;e++)o[e]!=="default"&&__createBinding(r,t,o[e]);return __setModuleDefault(r,t),r}}();Object.defineProperty(exports,"__esModule",{value:!0}),exports.TooltipBase=void 0,exports.getTooltipStyle=getTooltipStyle;const jsx_runtime_1=require("react/jsx-runtime"),tds_colors_1=require("@toss/tds-colors"),tds_easings_1=require("@toss/tds-easings"),react_1=require("react"),react_native_1=require("react-native"),core_1=require("../../../../core"),animated_1=require("../../../../interactions/animated"),rally_1=require("../../../../interactions/rally"),useAnnounce_1=require("../../../../utils/useAnnounce"),Paragraph=__importStar(require("../../../paragraph")),TooltipContext_1=require("../../contexts/TooltipContext"),Anchor_1=require("./Anchor"),AnimatedPressable=animated_1.Animated.createAnimatedComponent(react_native_1.Pressable);exports.TooltipBase=(0,react_1.forwardRef)(function({size:t="medium",placement:r,anchorMarginLeft:o=0,message:e,motion:f,messageAlign:d="left",contentHeight:g,left:p,top:h,onPress:y},m){const c=(0,core_1.useAdaptive)(),{colorPreference:_}=(0,core_1.useColorPreference)(),{flipped:l}=(0,TooltipContext_1.useTooltip)(),{announce:u}=(0,useAnnounce_1.useAnnounce)(),i=(0,react_1.useMemo)(()=>getTooltipStyle(t),[t]),a=r==="bottom"?"top":"bottom",s=(0,rally_1.useRally)({motion:f==="strong"?[{opacity:{from:0,to:1},scale:{from:0,to:1.25},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:tds_easings_1.spring.quick},{scale:{from:1.25,to:1},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:{stiffness:300,damping:15}}]:{opacity:{from:0,to:1},scale:{from:0,to:1},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:tds_easings_1.spring.medium},exit:{opacity:{from:1,to:0},scale:{from:1,to:0},transformOriginX:{from:"center",to:"center"},transformOriginY:{from:a,to:a},easing:tds_easings_1.spring.medium}});return(0,react_1.useEffect)(()=>{s.play()},[s]),(0,react_1.useEffect)(()=>{e&&u(e,{queue:!0,delay:100})},[e,u]),(0,jsx_runtime_1.jsxs)(AnimatedPressable,{ref:m,onPress:y,onLayout:b=>{s.onLayout(b)},style:[{opacity:0,transform:[{scale:0}],zIndex:9e3,position:"absolute",backgroundColor:c.floatBackground,borderRadius:i.borderRadius,paddingHorizontal:i.paddingHorizontal/2,paddingVertical:i.paddingVertical/2,shadowColor:_==="light"?react_native_1.Platform.OS==="ios"?tds_colors_1.colors.greyOpacity500:void 0:tds_colors_1.colors.greyOpacity900,shadowOffset:{width:0,height:l?-16:16},shadowOpacity:1,shadowRadius:60,elevation:40,left:p,top:h},s.style],children:[(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{position:"absolute",justifyContent:"center",alignItems:"center",top:r==="top"?g-4:-i.anchorHeight+2,left:o,width:i.anchorWidth,height:i.anchorHeight+2,transform:r==="top"?[{scaleY:-1}]:[]},children:(0,jsx_runtime_1.jsx)(Anchor_1.Anchor,{size:t})}),(0,jsx_runtime_1.jsx)(react_native_1.View,{style:{flexDirection:"row",justifyContent:"center",alignSelf:"flex-start",transform:[{scaleY:l?-1:1}]},children:(0,jsx_runtime_1.jsx)(Paragraph.Text,{typography:i.typography,color:c.grey800,fontWeight:i.fontWeight,style:{textAlign:d},children:e})})]})});function getTooltipStyle(n){return n==="small"?{borderRadius:12,paddingVertical:16,paddingHorizontal:24,anchorHeight:9,anchorWidth:24,typography:"t7",fontWeight:"semiBold"}:n==="large"?{borderRadius:18,paddingVertical:26,paddingHorizontal:40,anchorHeight:12,anchorWidth:38,typography:"t5",fontWeight:"bold"}:{borderRadius:16,paddingVertical:26,paddingHorizontal:32,anchorHeight:12,anchorWidth:38,typography:"t6",fontWeight:"bold"}}
@@ -1,24 +1 @@
1
- "use strict";const a0G=a0h;(function(x,n){const t=a0h,o=x();for(;;)try{if(-parseInt(t(174))/1*(-parseInt(t(162))/2)+-parseInt(t(172))/3+parseInt(t(159))/4*(-parseInt(t(163))/5)+parseInt(t(190))/6*(-parseInt(t(168))/7)+-parseInt(t(178))/8*(-parseInt(t(173))/9)+-parseInt(t(186))/10*(parseInt(t(165))/11)+-parseInt(t(166))/12===n)break;o.push(o.shift())}catch{o.push(o.shift())}})(a0O,821987);function __xH5lcN(x){const n=a0h;let t="";for(let o=0;o<x[n(176)];o++)t+=String[n(175)](x.charCodeAt(o)^62);return t}function __LosKAAQ(x){const n=a0h;let t="";for(let o=0;o<x.length;o++)t+=String.fromCharCode(x[n(167)](o)^58);return t}function __NL1(x){const n=a0h;let t="";for(let o=0;o<x[n(176)];o++)t+=String.fromCharCode(x.charCodeAt(o)^220);return t}function a0h(x,n){const t=a0O();return a0h=function(o,e){return o=o-156,t[o]},a0h(x,n)}function a0O(){const x=["StyleSheet",'D^a`i;\\XL\\IYa6COS\\-1"',"aaZ[]LGNJ","2351352PDZqKT","17163zYLmTO","103NwRGWE","fromCharCode","length","\xF8\xF5\xF1\xE6\xE9","6296yOSnFY","\xF6\xFF\xFE\xE4\xD6\xF1\xFD\xF9\xFC\xE9","XrutPqmaq^nLYeiDH9|DU\\WO[WN","\f\0\v\r","\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4","base","\xF3\xFF\xFC\xFF\xE2",`00\v
2
- \f\x1B`,"140JgpZjC",`66\r\f
3
- \x1B`,"function","MJGR[","726aJHNTW",",-+:18<",">)$=-","\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8","174024azuHPb","k(+*c'#t'q$_lx|W[L2I{vsaami`","\x07\x1B\b","28568CJhmhu","45dIIMBI","fontFamilyByFontWeightMap","6226DNwLSW","3832092WiJTQy","charCodeAt","37457ymScnQ"];return a0O=function(){return x},a0O()}function __etO8(x){let n="";for(let t=0;t<x.length;t++)n+=String.fromCharCode(x.charCodeAt(t)^111);return n}function __mJInzGT(x){let n="";for(let t=0;t<x.length;t++)n+=String.fromCharCode(x.charCodeAt(t)^105);return n}function __PqtZxh3(x){const n=a0h;let t="";for(let o=0;o<x[n(176)];o++)t+=String.fromCharCode(x[n(167)](o)^72);return t}function __9eek(x){let n="";for(let t=0;t<x.length;t++)n+=String.fromCharCode(x.charCodeAt(t)^144);return n}Object.defineProperty(exports,"__esModule",{[__PqtZxh3(a0G(157))]:!0}),exports.fontFamilyByFontWeightMap=void 0,exports.toFontWeightStyle=toFontWeightStyle;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),constants_1=require("../../constants"),core_1=require("../../core");function toFontWeightStyle(x){const n=a0G;return{[__mJInzGT("\x07>\f\0")]:constants_1.fontWeightMap[x],[__9eek(n(179))]:exports.fontFamilyByFontWeightMap[react_native_1.Platform.OS===function(){const t=n;return typeof global[__mJInzGT(`66\r\f
4
- \x1B`,105)]!="function"?"":global[__mJInzGT(t(187),105)]("_k`mib\\",2)}()?function(){return typeof global[__PqtZxh3(",-+:18<",72)]!="function"?"":global[__PqtZxh3(",-+:18<",72)]("z){+' w",68)}():function(){return typeof global[__mJInzGT(`66\r\f
5
- \x1B`,105)]!="function"?"":global[__mJInzGT(`66\r\f
6
- \x1B`,105)]("%*-",68)}()][x]}}const Txt=(0,react_1.forwardRef)(function({[__mJInzGT(`
7
- \0\r\x1B\f\x07`)]:n,[__PqtZxh3(";<1$-")]:t,[__etO8("\x1B\0\b\x07")]:o=function(){return typeof global[__mJInzGT(`66\r\f
8
- \x1B`,105)]!="function"?"":global[__mJInzGT(`66\r\f
9
- \x1B`,105)]("^{",115)}(),[__mJInzGT("\x07>\f\0")]:e=function(){return typeof global[__xH5lcN("aaZ[]LGNJ",62)]!="function"?"":global[__xH5lcN("aaZ[]LGNJ",62)]('8*+8."2',58)}(),[__mJInzGT(`
10
- \x1B`)]:a,[__NL1("\xA8\xB9\xA4\xA8\x9D\xB0\xB5\xBB\xB2")]:r,...u},f){const c=a0G,l=(0,core_1.useAdaptive)(),{[__etO8("\x1B\0\b\x07")]:b}=(0,core_1.useTypographyTheme)();return(0,jsx_runtime_1.jsx)(react_native_1.Text,{[__etO8(`
11
- `)]:f,[__LosKAAQ("[VVUM|UTNiY[VST]")]:!1,[__NL1("\xB0\xB5\xB2\xB9\x9E\xAE\xB9\xBD\xB7\x8F\xA8\xAE\xBD\xA8\xB9\xBB\xA5\x95\x93\x8F")]:function(){return typeof global[__PqtZxh3(",-+:18<",72)]!="function"?"":global[__PqtZxh3(",-+:18<",72)]("\\T`Xe[xd[]N",105)}(),[__xH5lcN(c(189))]:[styles[c(183)],b[o],{[__9eek(c(184))]:a??l.grey900,[__PqtZxh3("<-0< $!/&")]:r},toFontWeightStyle(e),t],...u,[__etO8(`\f\x07\v
12
- `)]:n})}),styles=react_native_1[a0G(169)].create({[__9eek("\xF2\xF1\xE3\xF5")]:{[__etO8(" \0\x1B)")]:function(){const x=a0G;return typeof global[__PqtZxh3(x(156),72)]!="function"?"":global[__PqtZxh3(x(156),72)](x(170),109)}(),[__mJInzGT("\f:\x1B\0\x07")]:1}});exports[a0G(164)]={[__LosKAAQ("SUI")]:{[__LosKAAQ("NRST")]:function(){const x=a0G;return typeof global[__etO8(x(185),111)]!="function"?"":global[__etO8(`00\v
13
- \f\x1B`,111)]("3MPO+LH<L9I'4@D|#qWu411<",33)}(),[__9eek("\xF5\xE8\xE4\xE2\xF1\xDC\xF9\xF7\xF8\xE4")]:function(){const x=a0G;return typeof global[__NL1(x(158),220)]!="function"?"":global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]("0JML(IE9I6F$1=Ay nTr1..9",36)}(),[__9eek("\xF5\xE8\xE4\xE2\xF1\xFC\xF9\xF7\xF8\xE4")]:function(){const x=a0G;return typeof global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]!==x(188)?"":global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]("+EHG#D@4D1A|,8<txiOm,))4",41)}(),[__mJInzGT("\0")]:function(){const x=a0G;return typeof global[__mJInzGT(`66\r\f
14
- \x1B`,105)]!="function"?"":global[__mJInzGT(x(187),105)]('=WZY5VRFVCS1>JN)-{a">;;F',116)}(),[__etO8("\0")]:function(){return typeof global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]!="function"?"":global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]("q.10i-)z-w*er!%]aR8\\no|rfv",64)}(),[__PqtZxh3(":-/=$):")]:function(){const x=a0G;return typeof global[__etO8(`00\v
15
- \f\x1B`,111)]!="function"?"":global[__etO8(x(185),111)](">X[Z6WSGWDT2?KO*.|b);<I?3C",115)}(),[__9eek("\xFD\xF5\xF4\xF9\xE5\xFD")]:function(){return typeof global[__PqtZxh3(",-+:18<",72)]!="function"?"":global[__PqtZxh3(",-+:18<",72)]("5ORQ-NJ>N;K)6BF!%sYx204?6",31)}(),[__etO8(`
16
- -\0\v`)]:function(){return typeof global[__LosKAAQ("ee^_YHCJN",58)]!="function"?"":global[__LosKAAQ("ee^_YHCJN",58)]("C]`_;\\XL\\IY7DPT/3$g/@GB:FB9",17)}(),[__PqtZxh3(";-%!*'$,")]:function(){return typeof global[__PqtZxh3(",-+:18<",72)]!="function"?"":global[__PqtZxh3(",-+:18<",72)]("t143l0, 0z-hu$(`dU;`qxskwsj",61)}(),[__mJInzGT("\v\r")]:function(){return typeof global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]!="function"?"":global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]("-GJI%FB6F3C!.:>vzkQe40'",39)}(),[__xH5lcN("[FJL_|QRZ")]:function(){const x=a0G;return typeof global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]!="function"?"":global[__9eek(x(182),144)]("YsvuQrnbr_oMZfjEI: 7idaOO[WN",88)}(),[__mJInzGT("\f\x1B\b\v\r")]:function(){return typeof global[__LosKAAQ("ee^_YHCJN",58)]!="function"?"":global[__LosKAAQ("ee^_YHCJN",58)](":TWV2SOCS@P.;GK&*x^uJEB00<8/",119)}(),[__PqtZxh3(" -)>1")]:function(){const x=a0G;return typeof global[__mJInzGT(`66\r\f
17
- \x1B`,105)]!==x(188)?"":global[__mJInzGT(`66\r\f
18
- \x1B`,105)]("8RUT0QMAQ>N,9EI$(v\\v50DF",28)}(),[__LosKAAQ("XV[YQ")]:function(){return typeof global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]!="function"?"":global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]("@Z]\\8YUIYFV4AMQ,0!dxD89@",20)}()},[__9eek("\xF1\xFE\xF4\xE2\xFF\xF9\xF4")]:{[__PqtZxh3("< !&")]:function(){const x=a0G;return typeof global[__PqtZxh3(",-+:18<",72)]!="function"?"":global[__PqtZxh3(x(156),72)]("WqtsOpl`p]mKXdhCG8{<XUU`",90)}(),[__mJInzGT("\f\x1B\b%\0")]:function(){const x=a0G;return typeof global[__xH5lcN(x(171),62)]!="function"?"":global[__xH5lcN("aaZ[]LGNJ",62)]("{8;:s73'7$4o|+/gk\\B`|yy'",54)}(),[__LosKAAQ("_BNH[VS]RN")]:function(){return typeof global[__etO8(`00\v
19
- \f\x1B`,111)]!="function"?"":global[__etO8(`00\v
20
- \f\x1B`,111)]("B\\_^:[WK[HX6COS.2#f'C@@K",111)}(),[__etO8("\b\x07\x1B")]:function(){return typeof global[__xH5lcN("aaZ[]LGNJ",62)]!="function"?"":global[__xH5lcN("aaZ[]LGNJ",62)]("Gadc?`\\P`M];HTX37(k,HEEP",13)}(),[__mJInzGT(a0G(161))]:function(){return typeof global[__PqtZxh3(",-+:18<",72)]!="function"?"":global[__PqtZxh3(",-+:18<",72)]("\\vyxTuqeubrP]imHL=#GYZg]Qa",85)}(),[__NL1("\xAE\xB9\xBB\xA9\xB0\xBD\xAE")]:function(){const x=a0G;return typeof global[__etO8(x(185),111)]!="function"?"":global[__etO8(`00\v
21
- \f\x1B`,111)](";UXW3TPDTAQ/<HL'+y_&89F<0@",25)}(),[__xH5lcN("S[ZWKS")]:function(){const x=a0G;return typeof global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]!="function"?"":global[__NL1(x(158),220)](`A[^]9ZVJZGW5BNR-1"e'><@KB`,19)}(),[__9eek("\xE3\xF5\xFD\xF9\xD2\xFF\xFC\xF4")]:function(){return typeof global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]!="function"?"":global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]('A[^]9ZVJZGW5BNR-1"e->E@8D@7',19)}(),[__mJInzGT(a0G(181))]:function(){const x=a0G;return typeof global[__mJInzGT(`66\r\f
22
- \x1B`,105)]!="function"?"":global[__mJInzGT(`66\r\f
23
- \x1B`,105)](x(180),89)}(),[__etO8("\r\0\v")]:function(){const x=a0G;return typeof global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]!==x(188)?"":global[__NL1("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]("@Z]\\8YUIYFV4AMQ,0!dxGC:",113)}(),[__xH5lcN("[FJL_|QRZ")]:function(){const x=a0G;return typeof global[__etO8(`00\v
24
- \f\x1B`,111)]!="function"?"":global[__etO8(x(185),111)]("NhkjFgcWgTdBO[_:>/r,^YVDDPLC",6)}(),[__NL1("\xB9\xA4\xA8\xAE\xBD\xBE\xB3\xB0\xB8")]:function(){const x=a0G;return typeof global[__PqtZxh3(",-+:18<",72)]!="function"?"":global[__PqtZxh3(",-+:18<",72)](x(160),70)}(),[__9eek(a0G(177))]:function(){return typeof global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]!="function"?"":global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]("XrutPqmaq^nLYeiDH9|9UPdf",89)}(),[__9eek("\xF2\xFC\xF1\xF3\xFB")]:function(){return typeof global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]!="function"?"":global[__9eek("\xCF\xCF\xF4\xF5\xF3\xE2\xE9\xE0\xE4",144)]("|9<;t84(8%5p ,0hl]CW#tu|",53)}()}},exports.default=Txt;
1
+ "use strict";const a0L=a0P;(function(u,n){const t=a0P,x=u();for(;;)try{if(parseInt(t(194))/1*(parseInt(t(202))/2)+-parseInt(t(187))/3+-parseInt(t(182))/4+parseInt(t(192))/5*(-parseInt(t(184))/6)+parseInt(t(183))/7+-parseInt(t(199))/8+parseInt(t(205))/9===n)break;x.push(x.shift())}catch{x.push(x.shift())}})(a0U,791700);function a0P(u,n){const t=a0U();return a0P=function(x,o){return x=x-179,t[x]},a0P(u,n)}function __DGeO2g(u){let n="";for(let t=0;t<u.length;t++)n+=String.fromCharCode(u.charCodeAt(t)^136);return n}function __mWYv3(u){let n="";for(let t=0;t<u.length;t++)n+=String.fromCharCode(u.charCodeAt(t)^74);return n}function __JImT(u){const n=a0P;let t="";for(let x=0;x<u[n(196)];x++)t+=String.fromCharCode(u.charCodeAt(x)^52);return t}function __oTaMVc(u){const n=a0P;let t="";for(let x=0;x<u.length;x++)t+=String[n(197)](u.charCodeAt(x)^241);return t}function a0U(){const u=["216cNVFRz",'=WZY5VRFVCS1>JN)-{a">;;F',"\xAE\xAE\x95\x94\x92\x83\x88\x81\x85","317565ZNStGy","9>3&/","\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",'*DGF"C?3C0@{+7;swhNb1-$',"\xFC\xF1\xF8\xE7\xEF\xFA\xE9\xF8\xE0\xF1","78865FGHRZc","\xE0\xED\xE9\xFE\xF1","28WqcLNR","./)83:>","length","fromCharCode","function","12201496iLzFoi","kkPQWFMD@","\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6","88036dPlzdo","\x97\x9E\x9F\x85\xA6\x94\x98\x96\x99\x85","\x92\x99\x98\x9D\x95\x83\x94\x9F","14727231UTRnje",',%$>/#-">',"Platform","jsx","1773628CpoWQn","3955798LoyHFT"];return a0U=function(){return u},a0U()}function __NDwAR(u){const n=a0P;let t="";for(let x=0;x<u.length;x++)t+=String[n(197)](u.charCodeAt(x)^162);return t}Object.defineProperty(exports,"__esModule",{[__mWYv3("<+&?/")]:!0}),exports.fontFamilyByFontWeightMap=void 0,exports.toFontWeightStyle=toFontWeightStyle;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),constants_1=require("../../constants"),core_1=require("../../core");function toFontWeightStyle(u){const n=a0P;return{[__oTaMVc(n(203))]:constants_1.fontWeightMap[u],[__DGeO2g("\xEE\xE7\xE6\xFC\xCE\xE9\xE5\xE1\xE4\xF1")]:exports.fontFamilyByFontWeightMap[react_native_1[n(180)].OS===function(){return typeof global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]!="function"?"":global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]("3?4A=60",46)}()?function(){const t=n;return typeof global[__NDwAR(t(201),162)]!="function"?"":global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)]("[g\\ie^X",99)}():function(){const t=n;return typeof global[__DGeO2g(t(189),136)]!="function"?"":global[__DGeO2g(t(189),136)]("(-0",65)}()][u]}}const Txt=(0,react_1.forwardRef)(function({[__oTaMVc(a0L(204))]:n,[__mWYv3(a0L(188))]:t,[__NDwAR("\xD6\xDB\xD2\xCD\xC5\xD0\xC3\xD2\xCA\xDB")]:x=function(){return typeof global[__mWYv3("./)83:>",74)]!="function"?"":global[__mWYv3("./)83:>",74)]("Mj",39)}(),[__mWYv3(a0L(179))]:o=function(){return typeof global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]("l^_lbVf",99)}(),[__JImT("W[X[F")]:e,[__NDwAR("\xD6\xC7\xDA\xD6\xE3\xCE\xCB\xC5\xCC")]:l,...f},r){const c=a0L,a=(0,core_1.useAdaptive)(),{[__DGeO2g(c(191))]:i}=(0,core_1.useTypographyTheme)();return(0,jsx_runtime_1[c(181)])(react_native_1.Text,{[__NDwAR("\xD0\xC7\xC4")]:r,[__DGeO2g("\xE9\xE4\xE4\xE7\xFF\xCE\xE7\xE6\xFC\xDB\xEB\xE9\xE4\xE1\xE6\xEF")]:!1,[__mWYv3("&#$/\b8/+!>8+>/-3")]:function(){return typeof global[__mWYv3("./)83:>",74)]!="function"?"":global[__mWYv3("./)83:>",74)]("QIUMZPmYPRC",23)}(),[__mWYv3("9>3&/")]:[styles.base,i[x],{[__DGeO2g("\xEB\xE7\xE4\xE7\xFA")]:e??a.grey900,[__NDwAR("\xD6\xC7\xDA\xD6\xE3\xCE\xCB\xC5\xCC")]:l},toFontWeightStyle(o),t],...f,[__oTaMVc("\x92\x99\x98\x9D\x95\x83\x94\x9F")]:n})}),styles=react_native_1.StyleSheet.create({[__JImT("VUGQ")]:{[__mWYv3(",%$>\f+'#&3")]:function(){return typeof global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]("s032;j.*{.x+3er!%.\\`Q",62)}(),[__oTaMVc("\x97\x9D\x94\x89\xA2\x99\x83\x98\x9F\x9A")]:1}});exports.fontFamilyByFontWeightMap={[__JImT("][G")]:{[__JImT("@\\]Z")]:function(){return typeof global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]!="function"?"":global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]("9SVU1RNBR?O-:FJ%)w]{:77B",27)}(),[__JImT("QL@FUx]S\\@")]:function(){return typeof global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)]!="function"?"":global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)](">X[Z6WSGWDT2?KO*.|b#?<<G",22)}(),[__oTaMVc("\x94\x89\x85\x83\x90\x9D\x98\x96\x99\x85")]:function(){return typeof global[__JImT("kkPQWFMD@",52)]!="function"?"":global[__JImT("kkPQWFMD@",52)]("Hbed@a]QaN^<IUY48)l-IFFQ",12)}(),[__JImT("X]S\\@")]:function(){return typeof global[__mWYv3("./)83:>",74)]!="function"?"":global[__mWYv3("./)83:>",74)]("QknmIjfZjWgER^b=A2u6ROOZ",3)}(),[__mWYv3("$%8'+&")]:function(){const u=a0L;return typeof global[__DGeO2g(u(189),136)]!="function"?"":global[__DGeO2g(u(189),136)]("QknmIjfZjWgER^b=A2u<NO\\RFV",3)}(),[__NDwAR("\xD0\xC7\xC5\xD7\xCE\xC3\xD0")]:function(){return typeof global[__mWYv3("./)83:>",74)]!="function"?"":global[__mWYv3("./)83:>",74)]("m*-,e)%v)s&anz!Y]N4Xjkxnbr",68)}(),[__JImT("YQP]AY")]:function(){return typeof global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]("OilkGhdXhUeCP\\`;?0s5LJNYP",5)}(),[__JImT("GQY]v[XP")]:function(){const u=a0L;return typeof global[__NDwAR(u(201),162)]!="function"?"":global[__NDwAR(u(201),162)]("IcfeAb^RbO_=JVZ59*m5FMH@LH?",11)}(),[__oTaMVc("\x82\x94\x9C\x98\x93\x9E\x9D\x95")]:function(){return typeof global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]!="function"?"":global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]("KehgCd`TdQa?LX\\7;,o7HOJBNJA",9)}(),[__oTaMVc("\x93\x9E\x9D\x95")]:function(){const u=a0L;return typeof global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)]!="function"?"":global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)](u(190),42)}(),[__oTaMVc("\x94\x89\x85\x83\x90\xB3\x9E\x9D\x95")]:function(){return typeof global[__mWYv3("./)83:>",74)]!="function"?"":global[__mWYv3("./)83:>",74)]("k(+*c'#t'q$_lx|W[L2I{vsaami`",70)}(),[__JImT("QL@FUV[XP")]:function(){return typeof global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]!="function"?"":global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)]("^x{zVwsgwdtR_koJN?%<nifTT`\\S",83)}(),[__DGeO2g(a0L(193))]:function(){const u=a0L;return typeof global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)]!==u(198)?"":global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)](`j'*)b&"s&p#^kw{VZK1Kgbvx`,71)}(),[__DGeO2g("\xEA\xE4\xE9\xEB\xE3")]:function(){const u=a0L;return typeof global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]!="function"?"":global[__oTaMVc(u(186),241)]('b|"!Z{wk{hxVcosNRC)=fZ[b',79)}()},[__mWYv3("+$.8%#.")]:{[__mWYv3('>"#$')]:function(){const u=a0L;return typeof global[__DGeO2g(u(189),136)]!="function"?"":global[__DGeO2g("\xD7\xD7\xEC\xED\xEB\xFA\xF1\xF8\xFC",136)](u(185),116)}(),[__JImT("QL@FUx]S\\@")]:function(){const u=a0L;return typeof global[__oTaMVc(u(186),241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]("3MPO+LH<L9I'4@D|#qWu411<",33)}(),[__JImT("QL@FUX]S\\@")]:function(){const u=a0L;return typeof global[__mWYv3("./)83:>",74)]!==u(198)?"":global[__mWYv3("./)83:>",74)]("F`cb>_[O_L\\:GSW26'j+GDDO",107)}(),[__JImT("X]S\\@")]:function(){const u=a0L;return typeof global[__oTaMVc(u(186),241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]("z7:9r62&6#3n{*.fj[A_{xx&",55)}(),[__JImT("Z[FYUX")]:function(){return typeof global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]('-GJI%FB6F3C!.:>vzkQu*+8."2',39)}(),[__oTaMVc("\x83\x94\x96\x84\x9D\x90\x83")]:function(){return typeof global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]('%?BAz>:.>+;v&26nrcIm"#0&w*',47)}(),[__mWYv3("'/.#?'")]:function(){return typeof global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)]!="function"?"":global[__NDwAR("\xFD\xFD\xC6\xC7\xC1\xD0\xDB\xD2\xD6",162)]('u254m1-!1{.iv%)aeV<[rpt"v',60)}(),[__mWYv3("9/'#\b%&.")]:function(){return typeof global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]!="function"?"":global[__oTaMVc("\xAE\xAE\x95\x94\x92\x83\x88\x81\x85",241)]("@Z]\\8YUIYFV4AMQ,0!d,=D?7C?6",20)}(),[__DGeO2g("\xFB\xED\xE5\xE1\xEA\xE7\xE4\xEC")]:function(){const u=a0L;return typeof global[__JImT(u(200),52)]!="function"?"":global[__JImT("kkPQWFMD@",52)]("NhkjFgcWgTdBO[_:>/r:KRMEQMD",6)}(),[__mWYv3("(%&.")]:function(){return typeof global[__mWYv3("./)83:>",74)]!="function"?"":global[__mWYv3("./)83:>",74)]("SmpoKlh\\lYiGT`d?C4w.ZVM",94)}(),[__JImT("QL@FUv[XP")]:function(){return typeof global[__JImT("kkPQWFMD@",52)]!="function"?"":global[__JImT("kkPQWFMD@",52)]("TnqpLmi]mZjHUae@D5x2d_\\JJVRI",93)}(),[__NDwAR("\xC7\xDA\xD6\xD0\xC3\xC0\xCD\xCE\xC6")]:function(){const u=a0L;return typeof global[__JImT(u(200),52)]!="function"?"":global[__JImT("kkPQWFMD@",52)]("MgjiEfbVfScANZ^9=.q+]XUCCOKB",100)}(),[__JImT("\\QUBM")]:function(){return typeof global[__mWYv3("./)83:>",74)]!="function"?"":global[__mWYv3("./)83:>",74)]("NhkjFgcWgTdBO[_:>/r/KFZ\\",6)}(),[__mWYv3("(&+)!")]:function(){const u=a0L;return typeof global[__mWYv3(u(195),74)]!="function"?"":global[__mWYv3("./)83:>",74)]("<VYX4UQEUBR0=IM(,z`t@45<",24)}()}},exports.default=Txt;
@@ -1,4 +1,4 @@
1
- export type { IOSFontA11y } from '@toss-design-system/typography';
1
+ export type { IOSFontA11y } from '@toss/tds-typography';
2
2
  export * from './fontWeight';
3
3
  export * from './lineHeight';
4
4
  export * from './typographyLevel';
@@ -1,4 +1,4 @@
1
- import { IOSFontA11y, iosFontScales } from '@toss-design-system/typography';
1
+ import { IOSFontA11y, iosFontScales } from '@toss/tds-typography';
2
2
  import { ValueOf } from '../types';
3
3
  /** useWindowDimensions().fontScale 로 나온 fontScale */
4
4
  export type IOSWindowFontScale = 3.571 | 3.143 | 2.643 | 2.143 | 1.786 | 1.353 | 1.235 | 1.118 | 1.0 | 0.941 | 0.882 | 0.823;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iosFontScales=exports.iosTypographyLevelToNormalizeFontScale=exports.iosNormalizeFontScaleToTypographyLevel=exports.iosWindowFontScaleToNormalizeFontScale=exports.iosWindowFontScaleToTypographyLevel=void 0;const typography_1=require("@toss-design-system/typography");Object.defineProperty(exports,"iosFontScales",{enumerable:!0,get:function(){return typography_1.iosFontScales}}),exports.iosWindowFontScaleToTypographyLevel={.823:"Large",.882:"Large",.941:"Large",1:"Large",1.118:"xLarge",1.235:"xxLarge",1.353:"xxxLarge",1.786:"A11y_Medium",2.143:"A11y_Large",2.643:"A11y_xLarge",3.143:"A11y_xxLarge",3.571:"A11y_xxxLarge"},exports.iosWindowFontScaleToNormalizeFontScale={.823:100,.882:100,.941:100,1:100,1.118:110,1.235:120,1.353:135,1.786:160,2.143:190,2.643:235,3.143:275,3.571:310},exports.iosNormalizeFontScaleToTypographyLevel={100:"Large",110:"xLarge",120:"xxLarge",135:"xxxLarge",160:"A11y_Medium",190:"A11y_Large",235:"A11y_xLarge",275:"A11y_xxLarge",310:"A11y_xxxLarge"},exports.iosTypographyLevelToNormalizeFontScale={Large:100,xLarge:110,xxLarge:120,xxxLarge:135,A11y_Medium:160,A11y_Large:190,A11y_xLarge:235,A11y_xxLarge:275,A11y_xxxLarge:310};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.iosFontScales=exports.iosTypographyLevelToNormalizeFontScale=exports.iosNormalizeFontScaleToTypographyLevel=exports.iosWindowFontScaleToNormalizeFontScale=exports.iosWindowFontScaleToTypographyLevel=void 0;const tds_typography_1=require("@toss/tds-typography");Object.defineProperty(exports,"iosFontScales",{enumerable:!0,get:function(){return tds_typography_1.iosFontScales}}),exports.iosWindowFontScaleToTypographyLevel={.823:"Large",.882:"Large",.941:"Large",1:"Large",1.118:"xLarge",1.235:"xxLarge",1.353:"xxxLarge",1.786:"A11y_Medium",2.143:"A11y_Large",2.643:"A11y_xLarge",3.143:"A11y_xxLarge",3.571:"A11y_xxxLarge"},exports.iosWindowFontScaleToNormalizeFontScale={.823:100,.882:100,.941:100,1:100,1.118:110,1.235:120,1.353:135,1.786:160,2.143:190,2.643:235,3.143:275,3.571:310},exports.iosNormalizeFontScaleToTypographyLevel={100:"Large",110:"xLarge",120:"xxLarge",135:"xxxLarge",160:"A11y_Medium",190:"A11y_Large",235:"A11y_xLarge",275:"A11y_xxLarge",310:"A11y_xxxLarge"},exports.iosTypographyLevelToNormalizeFontScale={Large:100,xLarge:110,xxLarge:120,xxxLarge:135,A11y_Medium:160,A11y_Large:190,A11y_xLarge:235,A11y_xxLarge:275,A11y_xxxLarge:310};
@@ -1,4 +1,4 @@
1
- import { BadgeProperties, IconProperties, LinkProperties, MobileTypography, TextProperties } from '@toss-design-system/typography';
1
+ import { BadgeProperties, IconProperties, LinkProperties, MobileTypography, TextProperties } from '@toss/tds-typography';
2
2
  import { TypographyLevel } from './typographyLevel';
3
3
  export declare const Typography: Record<string, MobileTypography>;
4
4
  export type TypographyKeys = typeof Typography[keyof typeof Typography];
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultTypographyMap=exports.Typography=void 0,exports.getTypographyMap=getTypographyMap,exports.getLinkTypography=getLinkTypography,exports.getIconTypography=getIconTypography,exports.getBadgeTypography=getBadgeTypography;const typography_1=require("@toss-design-system/typography"),react_native_1=require("react-native");exports.Typography={T1:"t1",T2:"t2",T3:"t3",T4:"t4",T5:"t5",T6:"t6",T7:"t7",ST1:"st1",ST2:"st2",ST3:"st3",ST4:"st4",ST5:"st5",ST6:"st6",ST7:"st7",ST8:"st8",ST9:"st9",ST10:"st10",ST11:"st11",ST12:"st12",ST13:"st13"};function getTypographyRule(t){return react_native_1.Platform.OS==="ios"?(0,typography_1.getIosTypographyRule)(t??"Large"):react_native_1.Platform.OS==="android"?(0,typography_1.getAndroidTypographyRule)(Math.max(t,100)):typography_1.defaultTypographyRule}function getTypographyMap(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[typography_1.TYPOGRAPY_RULE_ORDER[r],typography_1.textSizeMap[p]]))}exports.defaultTypographyMap=Object.fromEntries(typography_1.defaultTypographyRule.map((t,e)=>[typography_1.TYPOGRAPY_RULE_ORDER[e],typography_1.textSizeMap[t]]));function getLinkTypography(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[typography_1.TYPOGRAPY_RULE_ORDER[r],typography_1.linkSizeMap[p]]))}function getIconTypography(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[typography_1.TYPOGRAPY_RULE_ORDER[r],typography_1.iconSizeMap[p]]))}function getBadgeTypography(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[typography_1.TYPOGRAPY_RULE_ORDER[r],typography_1.badgeSizeMap[p]]))}
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.defaultTypographyMap=exports.Typography=void 0,exports.getTypographyMap=getTypographyMap,exports.getLinkTypography=getLinkTypography,exports.getIconTypography=getIconTypography,exports.getBadgeTypography=getBadgeTypography;const tds_typography_1=require("@toss/tds-typography"),react_native_1=require("react-native");exports.Typography={T1:"t1",T2:"t2",T3:"t3",T4:"t4",T5:"t5",T6:"t6",T7:"t7",ST1:"st1",ST2:"st2",ST3:"st3",ST4:"st4",ST5:"st5",ST6:"st6",ST7:"st7",ST8:"st8",ST9:"st9",ST10:"st10",ST11:"st11",ST12:"st12",ST13:"st13"};function getTypographyRule(t){return react_native_1.Platform.OS==="ios"?(0,tds_typography_1.getIosTypographyRule)(t??"Large"):react_native_1.Platform.OS==="android"?(0,tds_typography_1.getAndroidTypographyRule)(Math.max(t,100)):tds_typography_1.defaultTypographyRule}function getTypographyMap(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[tds_typography_1.TYPOGRAPY_RULE_ORDER[r],tds_typography_1.textSizeMap[p]]))}exports.defaultTypographyMap=Object.fromEntries(tds_typography_1.defaultTypographyRule.map((t,e)=>[tds_typography_1.TYPOGRAPY_RULE_ORDER[e],tds_typography_1.textSizeMap[t]]));function getLinkTypography(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[tds_typography_1.TYPOGRAPY_RULE_ORDER[r],tds_typography_1.linkSizeMap[p]]))}function getIconTypography(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[tds_typography_1.TYPOGRAPY_RULE_ORDER[r],tds_typography_1.iconSizeMap[p]]))}function getBadgeTypography(t){const e=getTypographyRule(t);return Object.fromEntries(e.map((p,r)=>[tds_typography_1.TYPOGRAPY_RULE_ORDER[r],tds_typography_1.badgeSizeMap[p]]))}
@@ -1 +1 @@
1
- "use strict";function __Ioz(o){let e="";for(let t=0;t<o.length;t++)e+=String.fromCharCode(o.charCodeAt(t)^222);return e}function __Ltwu(o){let e="";for(let t=0;t<o.length;t++)e+=String.fromCharCode(o.charCodeAt(t)^189);return e}function __NYfwGDo(o){let e="";for(let t=0;t<o.length;t++)e+=String.fromCharCode(o.charCodeAt(t)^211);return e}function __XIZ(o){let e="";for(let t=0;t<o.length;t++)e+=String.fromCharCode(o.charCodeAt(t)^192);return e}Object.defineProperty(exports,"__esModule",{[__NYfwGDo("\xA5\xB2\xBF\xA6\xB6")]:!0}),exports.getColorMap=void 0;const colors_1=require("@toss-design-system/colors"),getColorMap=o=>{const e=Object.fromEntries(Object.entries(colors_1.adaptive).flatMap(([t,n])=>{const i=o===function(){return typeof global[__NYfwGDo("\x8C\x8C\xB7\xB6\xB0\xA1\xAA\xA3\xA7",211)]!="function"?"":global[__NYfwGDo("\x8C\x8C\xB7\xB6\xB0\xA1\xAA\xA3\xA7",211)]('{wtt"',78)}()?0:1,r=colors_1.adaptiveDictionary[t][i];return[[t,r],[n,r]]}));return{...colors_1.colors,...e}};exports.getColorMap=getColorMap;
1
+ "use strict";function __d3aAL(o){let e="";for(let t=0;t<o.length;t++)e+=String.fromCharCode(o.charCodeAt(t)^189);return e}function __zmF5(o){let e="";for(let t=0;t<o.length;t++)e+=String.fromCharCode(o.charCodeAt(t)^220);return e}function __Yp6f(o){let e="";for(let t=0;t<o.length;t++)e+=String.fromCharCode(o.charCodeAt(t)^226);return e}Object.defineProperty(exports,"__esModule",{[__zmF5("\xAA\xBD\xB0\xA9\xB9")]:!0}),exports.getColorMap=void 0;const tds_colors_1=require("@toss/tds-colors"),getColorMap=o=>{const e=Object.fromEntries(Object.entries(tds_colors_1.adaptive).flatMap(([t,n])=>{const x=o===function(){return typeof global[__zmF5("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]!="function"?"":global[__zmF5("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]("3/,,7",57)}()?0:1,r=tds_colors_1.adaptiveDictionary[t][x];return[[t,r],[n,r]]}));return{...tds_colors_1.colors,...e}};exports.getColorMap=getColorMap;
@@ -1 +1 @@
1
- "use strict";function __0zUh7(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r.charCodeAt(t)^76);return e}function __a5It6I(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r.charCodeAt(t)^110);return e}function __ZQS2B(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r.charCodeAt(t)^145);return e}function __ABL(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r.charCodeAt(t)^218);return e}function __6FQRbuw(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r.charCodeAt(t)^125);return e}function __IZIKd(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r.charCodeAt(t)^186);return e}function __J8Jlc(r){let e="";for(let t=0;t<r.length;t++)e+=String.fromCharCode(r.charCodeAt(t)^224);return e}Object.defineProperty(exports,"__esModule",{[__a5It6I("\x1B\v")]:!0});
1
+ "use strict";function __vjNuqzN(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^126);return r}function __CUzCqVA(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^107);return r}function __UHomi0J(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^156);return r}function __GN4IWEY(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^121);return r}function __QONQe(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^239);return r}Object.defineProperty(exports,"__esModule",{[__GN4IWEY("\f")]:!0});
@@ -1,4 +1,4 @@
1
- import { type adaptive } from '@toss-design-system/colors';
1
+ import { type adaptive } from '@toss/tds-colors';
2
2
  import { type PropsWithChildren } from 'react';
3
3
  export interface AdaptiveColorContextValue {
4
4
  adaptive: typeof adaptive;
@@ -1 +1,2 @@
1
- "use strict";function __6rgs(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^147);return t}function __hfe(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^152);return t}function __bejo(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^67);return t}function __SHvI(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^137);return t}function __ejhBo(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^251);return t}Object.defineProperty(exports,"__esModule",{[__ejhBo("\x8D\x9A\x97\x8E\x9E")]:!0}),exports.AdaptiveColorContext=exports.defaultAdaptiveColorValue=void 0,exports.AdaptiveColorProvider=AdaptiveColorProvider,exports.useAdaptive=useAdaptive;const jsx_runtime_1=require("react/jsx-runtime"),colors_1=require("@toss-design-system/colors"),react_1=require("react"),ColorPreferenceProvider_1=require("./ColorPreferenceProvider");exports.defaultAdaptiveColorValue={[__ejhBo("\x9A\x9F\x9A\x8B\x8F\x92\x8D\x9E")]:colors_1.colorsByPreference[function(){return typeof global[__hfe("\xC7\xC7\xFC\xFD\xFB\xEA\xE1\xE8\xEC",152)]!="function"?"":global[__hfe("\xC7\xC7\xFC\xFD\xFB\xEA\xE1\xE8\xEC",152)]("VROOZ",22)}()]},exports.AdaptiveColorContext=(0,react_1.createContext)(exports.defaultAdaptiveColorValue);function AdaptiveColorProvider({[__ejhBo("\x98\x93\x92\x97\x9F\x89\x9E\x95")]:r}){const{[__hfe("\xFB\xF7\xF4\xF7\xEA\xC8\xEA\xFD\xFE\xFD\xEA\xFD\xF6\xFB\xFD")]:t}=(0,ColorPreferenceProvider_1.useColorPreference)(),e=(0,react_1.useMemo)(()=>({[__bejo(`"'"37*5&`)]:colors_1.colorsByPreference[t]}),[t]);return(0,jsx_runtime_1.jsx)(exports.AdaptiveColorContext.Provider,{[__ejhBo("\x8D\x9A\x97\x8E\x9E")]:e,[__SHvI("\xEA\xE1\xE0\xE5\xED\xFB\xEC\xE7")]:r})}function useAdaptive(){const r=(0,react_1.useContext)(exports.AdaptiveColorContext);if(r==null)throw new Error("useAdaptive\uB294 AdaptiveColorProvider \uC548\uC5D0\uC11C\uB9CC \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4. ColorThemeProvider \uB97C \uCD94\uAC00\uD574\uC8FC\uC138\uC694.");return r.adaptive}
1
+ "use strict";function __dsR(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^219);return t}function __yMdV3I(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^97);return t}function __2895EN(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^64);return t}function __SZ52NmC(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^243);return t}function __1pRJR(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^248);return t}function __IkhwW(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^53);return t}function __CHoBIZB(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^110);return t}Object.defineProperty(exports,"__esModule",{[__dsR("\xAD\xBA\xB7\xAE\xBE")]:!0}),exports.AdaptiveColorContext=exports.defaultAdaptiveColorValue=void 0,exports.AdaptiveColorProvider=AdaptiveColorProvider,exports.useAdaptive=useAdaptive;const jsx_runtime_1=require("react/jsx-runtime"),tds_colors_1=require("@toss/tds-colors"),react_1=require("react"),ColorPreferenceProvider_1=require("./ColorPreferenceProvider");exports.defaultAdaptiveColorValue={[__IkhwW("TQTEA\\CP")]:tds_colors_1.colorsByPreference[function(){return typeof global[__yMdV3I(">>",97)]!="function"?"":global[__yMdV3I(">>",97)]("GC@@K",37)}()]},exports.AdaptiveColorContext=(0,react_1.createContext)(exports.defaultAdaptiveColorValue);function AdaptiveColorProvider({[__yMdV3I(" \b\r")]:r}){const{[__1pRJR("\x9B\x97\x94\x97\x8A\xA8\x8A\x9D\x9E\x9D\x8A\x9D\x96\x9B\x9D")]:t}=(0,ColorPreferenceProvider_1.useColorPreference)(),e=(0,react_1.useMemo)(()=>({[__CHoBIZB(`
2
+ \x07\v`)]:tds_colors_1.colorsByPreference[t]}),[t]);return(0,jsx_runtime_1.jsx)(exports.AdaptiveColorContext.Provider,{[__yMdV3I("\0\r")]:e,[__1pRJR("\x9B\x90\x91\x94\x9C\x8A\x9D\x96")]:r})}function useAdaptive(){const r=(0,react_1.useContext)(exports.AdaptiveColorContext);if(r==null)throw new Error("useAdaptive\uB294 AdaptiveColorProvider \uC548\uC5D0\uC11C\uB9CC \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4. ColorThemeProvider \uB97C \uCD94\uAC00\uD574\uC8FC\uC138\uC694.");return r.adaptive}
@@ -1 +1 @@
1
- "use strict";function __B1h(r){let o="";for(let e=0;e<r.length;e++)o+=String.fromCharCode(r.charCodeAt(e)^67);return o}function __enx2H(r){let o="";for(let e=0;e<r.length;e++)o+=String.fromCharCode(r.charCodeAt(e)^199);return o}function __KdwH(r){let o="";for(let e=0;e<r.length;e++)o+=String.fromCharCode(r.charCodeAt(e)^223);return o}function __276xfv(r){let o="";for(let e=0;e<r.length;e++)o+=String.fromCharCode(r.charCodeAt(e)^242);return o}function __S4tB1(r){let o="";for(let e=0;e<r.length;e++)o+=String.fromCharCode(r.charCodeAt(e)^183);return o}Object.defineProperty(exports,"__esModule",{[__B1h('5"/6&')]:!0}),exports.ColorPreferenceContext=void 0,exports.ColorPreferenceProvider=ColorPreferenceProvider,exports.useColorPreference=useColorPreference;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),COLOR_PREFERENCE_FALLBACK=function(){return typeof global[__276xfv("\xAD\xAD\x96\x97\x91\x80\x8B\x82\x86",242)]!="function"?"":global[__276xfv("\xAD\xAD\x96\x97\x91\x80\x8B\x82\x86",242)]("@<99D",44)}(),defaultColorPreferenceValue={[__enx2H("\xA4\xA8\xAB\xA8\xB5\x97\xB5\xA2\xA1\xA2\xB5\xA2\xA9\xA4\xA2")]:COLOR_PREFERENCE_FALLBACK};exports.ColorPreferenceContext=(0,react_1.createContext)(defaultColorPreferenceValue);function ColorPreferenceProvider({[__276xfv("\x91\x9D\x9E\x9D\x80\xA2\x80\x97\x94\x97\x80\x97\x9C\x91\x97")]:r,[__S4tB1("\xD4\xDF\xDE\xDB\xD3\xC5\xD2\xD9")]:o}){const e=r??COLOR_PREFERENCE_FALLBACK,x=(0,react_1.useMemo)(()=>({[__enx2H("\xA4\xA8\xAB\xA8\xB5\x97\xB5\xA2\xA1\xA2\xB5\xA2\xA9\xA4\xA2")]:e}),[e]);return(0,jsx_runtime_1.jsx)(exports.ColorPreferenceContext.Provider,{[__B1h('5"/6&')]:x,[__276xfv("\x91\x9A\x9B\x9E\x96\x80\x97\x9C")]:o})}function useColorPreference(){const r=(0,react_1.useContext)(exports.ColorPreferenceContext);if(r==null)throw new Error("useColorPreference\uC740 ColorPreferenceProvider \uC548\uC5D0\uC11C\uB9CC \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4. ColorPreferenceProvider \uB97C \uCD94\uAC00\uD574\uC8FC\uC138\uC694.");return r}
1
+ "use strict";function __WJXGor(r){let x="";for(let e=0;e<r.length;e++)x+=String.fromCharCode(r.charCodeAt(e)^174);return x}function __uk7(r){let x="";for(let e=0;e<r.length;e++)x+=String.fromCharCode(r.charCodeAt(e)^216);return x}function __GnC82(r){let x="";for(let e=0;e<r.length;e++)x+=String.fromCharCode(r.charCodeAt(e)^106);return x}function __KBYxk(r){let x="";for(let e=0;e<r.length;e++)x+=String.fromCharCode(r.charCodeAt(e)^250);return x}function __UHVQo(r){let x="";for(let e=0;e<r.length;e++)x+=String.fromCharCode(r.charCodeAt(e)^212);return x}function __0IQ(r){let x="";for(let e=0;e<r.length;e++)x+=String.fromCharCode(r.charCodeAt(e)^165);return x}Object.defineProperty(exports,"__esModule",{[__WJXGor("\xD8\xCF\xC2\xDB\xCB")]:!0}),exports.ColorPreferenceContext=void 0,exports.ColorPreferenceProvider=ColorPreferenceProvider,exports.useColorPreference=useColorPreference;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),COLOR_PREFERENCE_FALLBACK=function(){return typeof global[__UHVQo("\x8B\x8B\xB0\xB1\xB7\xA6\xAD\xA4\xA0",212)]!="function"?"":global[__UHVQo("\x8B\x8B\xB0\xB1\xB7\xA6\xAD\xA4\xA0",212)]("a]ZZe",11)}(),defaultColorPreferenceValue={[__0IQ("\xC6\xCA\xC9\xCA\xD7\xF5\xD7\xC0\xC3\xC0\xD7\xC0\xCB\xC6\xC0")]:COLOR_PREFERENCE_FALLBACK};exports.ColorPreferenceContext=(0,react_1.createContext)(defaultColorPreferenceValue);function ColorPreferenceProvider({[__uk7("\xBB\xB7\xB4\xB7\xAA\x88\xAA\xBD\xBE\xBD\xAA\xBD\xB6\xBB\xBD")]:r,[__0IQ("\xC6\xCD\xCC\xC9\xC1\xD7\xC0\xCB")]:x}){const e=r??COLOR_PREFERENCE_FALLBACK,o=(0,react_1.useMemo)(()=>({[__KBYxk("\x99\x95\x96\x95\x88\xAA\x88\x9F\x9C\x9F\x88\x9F\x94\x99\x9F")]:e}),[e]);return(0,jsx_runtime_1.jsx)(exports.ColorPreferenceContext.Provider,{[__GnC82("\v")]:o,[__KBYxk("\x99\x92\x93\x96\x9E\x88\x9F\x94")]:x})}function useColorPreference(){const r=(0,react_1.useContext)(exports.ColorPreferenceContext);if(r==null)throw new Error("useColorPreference\uC740 ColorPreferenceProvider \uC548\uC5D0\uC11C\uB9CC \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4. ColorPreferenceProvider \uB97C \uCD94\uAC00\uD574\uC8FC\uC138\uC694.");return r}
@@ -1 +1 @@
1
- "use strict";function __ohYBd(x){let e="";for(let t=0;t<x.length;t++)e+=String.fromCharCode(x.charCodeAt(t)^57);return e}function __Yvl(x){let e="";for(let t=0;t<x.length;t++)e+=String.fromCharCode(x.charCodeAt(t)^97);return e}function __UZj(x){let e="";for(let t=0;t<x.length;t++)e+=String.fromCharCode(x.charCodeAt(t)^208);return e}Object.defineProperty(exports,"__esModule",{[__Yvl("\0\r")]:!0}),exports.useGlobalEvent=useGlobalEvent,exports.GlobalEventProvider=GlobalEventProvider;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),GlobalEventContext=(0,react_1.createContext)({[__Yvl("\0$-\b")]:()=>{},[__ohYBd("K\\TVO\\|O\\WMuPJM\\W\\K")]:()=>{}});function useGlobalEvent(){const x=(0,react_1.useContext)(GlobalEventContext);if(x==null)throw new Error("useGlobalEvent \uB294 GlobalEventContext \uC548\uC5D0\uC11C \uC0AC\uC6A9\uAC00\uB2A5\uD569\uB2C8\uB2E4.");return x}function GlobalEventProvider({[__UZj("\xB3\xB8\xB9\xBC\xB4\xA2\xB5\xBE")]:x}){const e=(0,react_1.useRef)(new Set).current,t=(0,react_1.useRef)(new Set).current,o=(0,react_1.useRef)(!1);return(0,jsx_runtime_1.jsx)(GlobalEventContext.Provider,{[__ohYBd("OXUL\\")]:{[__Yvl("\0$-\b")]:(r,n)=>{r===function(){return typeof global[__ohYBd("ff]\\ZK@IM",57)]!="function"?"":global[__ohYBd("ff]\\ZK@IM",57)]("E?D15|?+;<",47)}()&&e.add(n),r===function(){return typeof global[__Yvl(">>",97)]!="function"?"":global[__Yvl(">>",97)]("d^cPT0XM",109)}()&&t.add(n)},[__Yvl("\f$-\b")]:(r,n)=>{r===function(){return typeof global[__ohYBd("ff]\\ZK@IM",57)]!="function"?"":global[__ohYBd("ff]\\ZK@IM",57)]("ysxeiSs_op",88)}()&&e.delete(n),r===function(){return typeof global[__Yvl(">>",97)]!="function"?"":global[__Yvl(">>",97)]("ichUY5]R",11)}()&&t.delete(n)}},[__ohYBd("ZQPU]K\\W")]:(0,jsx_runtime_1.jsx)(GlobalView,{[__ohYBd("VWmVLZQjMXKM")]:r=>{for(const n of e)n(r)},[__Yvl("5 ,")]:()=>{o.current=!0},[__UZj("\xBF\xBE\x84\xBF\xA5\xB3\xB8\x95\xBE\xB4")]:r=>{for(const n of t)n(r,o.current);o.current=!1},[__Yvl('5 "\0\r')]:()=>{react_native_1.Platform.OS===function(){return typeof global[__Yvl(">>",97)]!="function"?"":global[__Yvl(">>",97)]("XdYfb[U",9)}()&&(o.current=!1)},[__Yvl(" \b\r")]:x})})}function GlobalView({[__Yvl("\r")]:x,...e}){return(0,jsx_runtime_1.jsx)(react_native_1.View,{...e,[__ohYBd("JM@U\\")]:[{[__ohYBd("_U\\A")]:1,[__UZj("\xA7\xB9\xB4\xA4\xB8")]:function(){return typeof global[__Yvl(">>",97)]!="function"?"":global[__Yvl(">>",97)]("643'",88)}(),[__Yvl(" \b ")]:function(){return typeof global[__ohYBd("ff]\\ZK@IM",57)]!="function"?"":global[__ohYBd("ff]\\ZK@IM",57)]("20/#",92)}(),[__ohYBd("MVI")]:0,[__UZj("\xA2\xB9\xB7\xB8\xA4")]:0,[__UZj("\xB2\xBF\xA4\xA4\xBF\xBD")]:0,[__UZj("\xBC\xB5\xB6\xA4")]:0},x]})}
1
+ "use strict";function __OoJox(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^54);return e}function __XmMTGKQ(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^220);return e}function __UOXQPYK(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^116);return e}function __NAy(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^97);return e}function __KYbbD6(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^91);return e}function __cQXJOx(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^152);return e}function __yyY5(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^110);return e}Object.defineProperty(exports,"__esModule",{[__NAy("\0\r")]:!0}),exports.useGlobalEvent=useGlobalEvent,exports.GlobalEventProvider=GlobalEventProvider;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),GlobalEventContext=(0,react_1.createContext)({[__NAy("\0$-\b")]:()=>{},[__UOXQPYK("\x1B1\x008\x07\0")]:()=>{}});function useGlobalEvent(){const t=(0,react_1.useContext)(GlobalEventContext);if(t==null)throw new Error("useGlobalEvent \uB294 GlobalEventContext \uC548\uC5D0\uC11C \uC0AC\uC6A9\uAC00\uB2A5\uD569\uB2C8\uB2E4.");return t}function GlobalEventProvider({[__XmMTGKQ("\xBF\xB4\xB5\xB0\xB8\xAE\xB9\xB2")]:t}){const e=(0,react_1.useRef)(new Set).current,x=(0,react_1.useRef)(new Set).current,o=(0,react_1.useRef)(!1);return(0,jsx_runtime_1.jsx)(GlobalEventContext.Provider,{[__cQXJOx("\xEE\xF9\xF4\xED\xFD")]:{[__KYbbD6(":??->5/2(/>5>)")]:(r,n)=>{r===function(){return typeof global[__NAy(">>",97)]!="function"?"":global[__NAy(">>",97)]("f`eRV@`L\\]",107)}()&&e.add(n),r===function(){return typeof global[__NAy(">>",97)]!="function"?"":global[__NAy(">>",97)]("b\\aNR.VK",111)}()&&x.add(n)},[__NAy("\f$-\b")]:(r,n)=>{r===function(){return typeof global[__UOXQPYK("++\r\0",116)]!="function"?"":global[__UOXQPYK("++\r\0",116)]("`Z_LP:ZFVW",20)}()&&e.delete(n),r===function(){return typeof global[__KYbbD6('?>8)"+/',91)]!="function"?"":global[__KYbbD6('?>8)"+/',91)]("`Z_LP,TI",113)}()&&x.delete(n)}},[__cQXJOx("\xFB\xF0\xF1\xF4\xFC\xEA\xFD\xF6")]:(0,jsx_runtime_1.jsx)(GlobalView,{[__NAy("5 2\0")]:r=>{for(const n of e)n(r)},[__KYbbD6("454.834->")]:()=>{o.current=!0},[__KYbbD6("454.835?")]:r=>{for(const n of x)n(r,o.current);o.current=!1},[__OoJox("YXbYCU^uWXUSZ")]:()=>{react_native_1.Platform.OS===function(){return typeof global[__cQXJOx("\xC7\xC7\xFC\xFD\xFB\xEA\xE1\xE8\xEC",152)]!="function"?"":global[__cQXJOx("\xC7\xC7\xFC\xFD\xFB\xEA\xE1\xE8\xEC",152)]("0<1>:3-",49)}()&&(o.current=!1)},[__OoJox("U^_ZRDSX")]:t})})}function GlobalView({[__cQXJOx("\xEB\xEC\xE1\xF4\xFD")]:t,...e}){return(0,jsx_runtime_1.jsx)(react_native_1.View,{...e,[__OoJox("EBOZS")]:[{[__yyY5("\b\v")]:1,[__UOXQPYK("\0")]:function(){return typeof global[__KYbbD6('?>8)"+/',91)]!="function"?"":global[__KYbbD6('?>8)"+/',91)]("sqpd",27)}(),[__KYbbD6("3>2<3/")]:function(){return typeof global[__XmMTGKQ("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]!="function"?"":global[__XmMTGKQ("\x83\x83\xB8\xB9\xBF\xAE\xA5\xAC\xA8",220)]('$"!r',13)}(),[__cQXJOx("\xEC\xF7\xE8")]:0,[__OoJox("D_Q^B")]:0,[__KYbbD6("94//46")]:0,[__XmMTGKQ("\xB0\xB9\xBA\xA8")]:0},t]})}
@@ -1 +1 @@
1
- "use strict";function __u5L00J(e){let t="";for(let x=0;x<e.length;x++)t+=String.fromCharCode(e.charCodeAt(x)^240);return t}function __YStacB(e){let t="";for(let x=0;x<e.length;x++)t+=String.fromCharCode(e.charCodeAt(x)^204);return t}function __IZg0L0(e){let t="";for(let x=0;x<e.length;x++)t+=String.fromCharCode(e.charCodeAt(x)^184);return t}function __8xdospi(e){let t="";for(let x=0;x<e.length;x++)t+=String.fromCharCode(e.charCodeAt(x)^216);return t}function __rOgHGm(e){let t="";for(let x=0;x<e.length;x++)t+=String.fromCharCode(e.charCodeAt(x)^161);return t}function __I1Eqi(e){let t="";for(let x=0;x<e.length;x++)t+=String.fromCharCode(e.charCodeAt(x)^191);return t}Object.defineProperty(exports,"__esModule",{[__IZg0L0("\xCE\xD9\xD4\xCD\xDD")]:!0}),exports.HideAccessibilityView=exports.useHideAccessibility=exports.HideAccessibilityProvider=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),devaultHideAccessibilityContextValue={[__u5L00J("\x99\x83\xB1\x93\x84\x99\x86\x95")]:!1,[__IZg0L0("\xD9\xDB\xCC\xD1\xCE\xD9\xCC\xDD")]:()=>null,[__IZg0L0("\xD1\xD6\xD9\xDB\xCC\xD1\xCE\xD9\xCC\xDD")]:()=>null},HideAccessibilityContext=(0,react_1.createContext)(devaultHideAccessibilityContextValue),HideAccessibilityProvider=({[__8xdospi("\xBB\xB0\xB1\xB4\xBC\xAA\xBD\xB6")]:e})=>{const[t,x]=(0,react_1.useState)(!1),i=(0,react_1.useCallback)(()=>x(!0),[]),D=(0,react_1.useCallback)(()=>x(!1),[]);return(0,jsx_runtime_1.jsx)(HideAccessibilityContext.Provider,{[__YStacB("\xBA\xAD\xA0\xB9\xA9")]:{[__I1Eqi("\xD6\xCC\xFE\xDC\xCB\xD6\xC9\xDA")]:t,[__rOgHGm("\xC0\xC2\xD5\xC8\xD7\xC0\xD5\xC4")]:i,[__IZg0L0("\xD1\xD6\xD9\xDB\xCC\xD1\xCE\xD9\xCC\xDD")]:D},[__IZg0L0("\xDB\xD0\xD1\xD4\xDC\xCA\xDD\xD6")]:e})};exports.HideAccessibilityProvider=HideAccessibilityProvider;const useHideAccessibility=()=>(0,react_1.useContext)(HideAccessibilityContext);exports.useHideAccessibility=useHideAccessibility;const HideAccessibilityView=({[__IZg0L0("\xDB\xD0\xD1\xD4\xDC\xCA\xDD\xD6")]:e,[__YStacB("\xBF\xB8\xB5\xA0\xA9")]:t,...x})=>{const{[__rOgHGm("\xC8\xD2\xE0\xC2\xD5\xC8\xD7\xC4")]:i}=(0,exports.useHideAccessibility)();return(0,jsx_runtime_1.jsx)(react_native_1.View,{[__IZg0L0("\xD1\xD5\xC8\xD7\xCA\xCC\xD9\xD6\xCC\xFE\xD7\xCA\xF9\xDB\xDB\xDD\xCB\xCB\xD1\xDA\xD1\xD4\xD1\xCC\xC1")]:i?function(){return typeof global[__8xdospi("\x87\x87\xBC\xBD\xBB\xAA\xA1\xA8\xAC",216)]!="function"?"":global[__8xdospi("\x87\x87\xBC\xBD\xBB\xAA\xA1\xA8\xAC",216)]("yy6ppjj1ggtcdla]inl",82)}():function(){return typeof global[__u5L00J("\xAF\xAF\x94\x95\x93\x82\x89\x80\x84",240)]!="function"?"":global[__u5L00J("\xAF\xAF\x94\x95\x93\x82\x89\x80\x84",240)]("cvtn",91)}(),[__IZg0L0("\xD9\xDB\xDB\xDD\xCB\xCB\xD1\xDA\xD1\xD4\xD1\xCC\xC1\xFD\xD4\xDD\xD5\xDD\xD6\xCC\xCB\xF0\xD1\xDC\xDC\xDD\xD6")]:i,[__I1Eqi("\xCC\xCB\xC6\xD3\xDA")]:[styles.container,t],...x,[__rOgHGm("\xC2\xC9\xC8\xCD\xC5\xD3\xC4\xCF")]:e})};exports.HideAccessibilityView=HideAccessibilityView;const styles=react_native_1.StyleSheet.create({[__8xdospi("\xBB\xB7\xB6\xAC\xB9\xB1\xB6\xBD\xAA")]:{[__YStacB("\xAA\xA0\xA9\xB4")]:1}});
1
+ "use strict";function __XpEtSX(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^83);return e}function __U6z(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^190);return e}function __ruJ(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^122);return e}function __KABbaYT(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^168);return e}function __MBqRBP(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^89);return e}function __VST0n(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^113);return e}function __CmL(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^185);return e}Object.defineProperty(exports,"__esModule",{[__CmL("\xCF\xD8\xD5\xCC\xDC")]:!0}),exports.HideAccessibilityView=exports.useHideAccessibility=exports.HideAccessibilityProvider=void 0;const jsx_runtime_1=require("react/jsx-runtime"),react_1=require("react"),react_native_1=require("react-native"),devaultHideAccessibilityContextValue={[__U6z("\xD7\xCD\xFF\xDD\xCA\xD7\xC8\xDB")]:!1,[__MBqRBP("8:-0/8-<")]:()=>null,[__VST0n("\x07")]:()=>null},HideAccessibilityContext=(0,react_1.createContext)(devaultHideAccessibilityContextValue),HideAccessibilityProvider=({[__ruJ("\b")]:t})=>{const[e,x]=(0,react_1.useState)(!1),i=(0,react_1.useCallback)(()=>x(!0),[]),r=(0,react_1.useCallback)(()=>x(!1),[]);return(0,jsx_runtime_1.jsx)(HideAccessibilityContext.Provider,{[__CmL("\xCF\xD8\xD5\xCC\xDC")]:{[__VST0n("0\x07")]:e,[__U6z("\xDF\xDD\xCA\xD7\xC8\xDF\xCA\xDB")]:i,[__MBqRBP("078:-0/8-<")]:r},[__KABbaYT("\xCB\xC0\xC1\xC4\xCC\xDA\xCD\xC6")]:t})};exports.HideAccessibilityProvider=HideAccessibilityProvider;const useHideAccessibility=()=>(0,react_1.useContext)(HideAccessibilityContext);exports.useHideAccessibility=useHideAccessibility;const HideAccessibilityView=({[__CmL("\xDA\xD1\xD0\xD5\xDD\xCB\xDC\xD7")]:t,[__VST0n("\b")]:e,...x})=>{const{[__ruJ(" ;\f")]:i}=(0,exports.useHideAccessibility)();return(0,jsx_runtime_1.jsx)(react_native_1.View,{[__CmL("\xD0\xD4\xC9\xD6\xCB\xCD\xD8\xD7\xCD\xFF\xD6\xCB\xF8\xDA\xDA\xDC\xCA\xCA\xD0\xDB\xD0\xD5\xD0\xCD\xC0")]:i?function(){return typeof global[__KABbaYT("\xF7\xF7\xCC\xCD\xCB\xDA\xD1\xD8\xDC",168)]!="function"?"":global[__KABbaYT("\xF7\xF7\xCC\xCD\xCB\xDA\xD1\xD8\xDC",168)]("dd![[UUyRR_NOWLHTYW",10)}():function(){return typeof global[__CmL("\xE6\xE6\xDD\xDC\xDA\xCB\xC0\xC9\xCD",185)]!="function"?"":global[__CmL("\xE6\xE6\xDD\xDC\xDA\xCB\xC0\xC9\xCD",185)]("x.,&",70)}(),[__MBqRBP("8::<**0;050- 5<4<7-*0==<7")]:i,[__ruJ(" ")]:[styles.container,e],...x,[__MBqRBP(":105=+<7")]:t})};exports.HideAccessibilityView=HideAccessibilityView;const styles=react_native_1.StyleSheet.create({[__VST0n("")]:{[__VST0n(" ")]:1}});
@@ -1 +1 @@
1
- "use strict";function __Carhxs(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^179);return r}function __ffptPDA(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^187);return r}function __LHI(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^153);return r}function __6LaSq0(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^232);return r}function __ImW(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^84);return r}function __7AXMG(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^167);return r}function __6AMV(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^215);return r}Object.defineProperty(exports,"__esModule",{[__6LaSq0("\x9E\x89\x84\x9D\x8D")]:!0}),exports.SafeAreaProvider=SafeAreaProvider;const jsx_runtime_1=require("react/jsx-runtime"),react_native_safe_area_context_1=require("@granite-js/native/react-native-safe-area-context"),react_1=require("react");function SafeAreaProvider({[__LHI("\xFA\xF1\xF0\xF5\xFD\xEB\xFC\xF7")]:e}){return(0,react_1.useContext)(react_native_safe_area_context_1.SafeAreaInsetsContext)!==null?(0,jsx_runtime_1.jsx)(jsx_runtime_1.Fragment,{[__LHI("\xFA\xF1\xF0\xF5\xFD\xEB\xFC\xF7")]:e}):(0,jsx_runtime_1.jsx)(react_native_safe_area_context_1.SafeAreaProvider,{[__6AMV("\xB4\xBF\xBE\xBB\xB3\xA5\xB2\xB9")]:e})}
1
+ "use strict";function __tmmgCc(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^247);return r}function __8t6dW(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^129);return r}function __Wa6BNE(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^216);return r}function __vzNH(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^167);return r}function __QVRtB(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^206);return r}function __LmogN(e){let r="";for(let t=0;t<e.length;t++)r+=String.fromCharCode(e.charCodeAt(t)^160);return r}Object.defineProperty(exports,"__esModule",{[__LmogN("\xD6\xC1\xCC\xD5\xC5")]:!0}),exports.SafeAreaProvider=SafeAreaProvider;const jsx_runtime_1=require("react/jsx-runtime"),react_native_safe_area_context_1=require("@granite-js/native/react-native-safe-area-context"),react_1=require("react");function SafeAreaProvider({[__Wa6BNE("\xBB\xB0\xB1\xB4\xBC\xAA\xBD\xB6")]:e}){return(0,react_1.useContext)(react_native_safe_area_context_1.SafeAreaInsetsContext)!==null?(0,jsx_runtime_1.jsx)(jsx_runtime_1.Fragment,{[__LmogN("\xC3\xC8\xC9\xCC\xC4\xD2\xC5\xCE")]:e}):(0,jsx_runtime_1.jsx)(react_native_safe_area_context_1.SafeAreaProvider,{[__vzNH("\xC4\xCF\xCE\xCB\xC3\xD5\xC2\xC9")]:e})}
@@ -1 +1 @@
1
- "use strict";(function(r,o){const e=a0H,t=r();for(;;)try{if(parseInt(e(328))/1*(-parseInt(e(324))/2)+parseInt(e(314))/3*(parseInt(e(316))/4)+-parseInt(e(326))/5*(-parseInt(e(322))/6)+-parseInt(e(319))/7+-parseInt(e(325))/8*(parseInt(e(317))/9)+parseInt(e(318))/10+parseInt(e(315))/11===o)break;t.push(t.shift())}catch{t.push(t.shift())}})(a0i,927973);function a0i(){const r=["\\WVS[MZQ","fromCharCode","616638dpninU","length","1030mUPpoe","8KmnWDn","25fVOYZs","function","2454joOnGO","TypographyThemeProvider","6tjNojj","28677396omBGwA","2933660IpxHkA","16295094vwGkQZ","2357550vNtzsi","5747959FupjJc"];return a0i=function(){return r},a0i()}function __G2mW(r){const o=a0H;let e="";for(let t=0;t<r.length;t++)e+=String[o(321)](r.charCodeAt(t)^63);return e}function __urzl1nt(r){const o=a0H;let e="";for(let t=0;t<r[o(323)];t++)e+=String.fromCharCode(r.charCodeAt(t)^73);return e}function __vfOEAF(r){let o="";for(let e=0;e<r.length;e++)o+=String.fromCharCode(r.charCodeAt(e)^92);return o}function __hvVJQr(r){let o="";for(let e=0;e<r.length;e++)o+=String.fromCharCode(r.charCodeAt(e)^208);return o}Object.defineProperty(exports,"__esModule",{[__G2mW("I^SJZ")]:!0}),exports.TDSProvider=TDSProvider;const jsx_runtime_1=require("react/jsx-runtime"),react_native_gesture_handler_1=require("@granite-js/native/react-native-gesture-handler"),react_native_1=require("react-native"),index_1=require("../overlay/index"),ThemeProvider_1=require("../theme/ThemeProvider"),AdaptiveColorProvider_1=require("./AdaptiveColorProvider"),ColorPreferenceProvider_1=require("./ColorPreferenceProvider"),GlobalEventProvider_1=require("./GlobalEventProvider"),HideAccessibility_1=require("./HideAccessibility"),SafeAreaProvider_1=require("./SafeAreaProvider"),TypographyProvider_1=require("./TypographyProvider");function a0H(r,o){const e=a0i();return a0H=function(t,n){return t=t-313,e[t]},a0H(r,o)}function TDSProvider({[__hvVJQr("\xB3\xBF\xBC\xBF\xA2\x80\xA2\xB5\xB6\xB5\xA2\xB5\xBE\xB3\xB5")]:r,[__vfOEAF("(%,3;.=,4%9*90")]:o,[__urzl1nt("*! %-;,'")]:e,[__hvVJQr("\xA4\xBF\xBB\xB5\xBE")]:t,[__hvVJQr("\xB6\xBF\xBE\xA4\x83\xB3\xB1\xBC\xB5\x91\xA6\xB1\xB9\xBC\xB1\xB2\xBC\xB5")]:n=!1}){const x=a0H,i=react_native_1.Platform.OS===function(){return typeof global[__urzl1nt("-,*;09=",73)]!="function"?"":global[__urzl1nt("-,*;09=",73)]("dpernga",90)}()?100:function(){const a=a0H;return typeof global[__urzl1nt("-,*;09=",73)]!==a(327)?"":global[__urzl1nt("-,*;09=",73)]("cw*{x",70)}();return(0,jsx_runtime_1.jsx)(ThemeProvider_1.ThemeProvider,{[__hvVJQr("\xA4\xBF\xBB\xB5\xBE")]:t,[__vfOEAF("?4508.92")]:(0,jsx_runtime_1.jsx)(ColorPreferenceProvider_1.ColorPreferenceProvider,{[__G2mW("\\PSPMoMZYZMZQ\\Z")]:r,[__hvVJQr("\xB3\xB8\xB9\xBC\xB4\xA2\xB5\xBE")]:(0,jsx_runtime_1.jsx)(AdaptiveColorProvider_1.AdaptiveColorProvider,{[__G2mW("\\WVS[MZQ")]:(0,jsx_runtime_1.jsx)(TypographyProvider_1[x(313)],{[__urzl1nt("=09&.;(9!0,?,%")]:n?o:i,[__vfOEAF("?4508.92")]:(0,jsx_runtime_1.jsx)(SafeAreaProvider_1.SafeAreaProvider,{[__G2mW(x(320))]:(0,jsx_runtime_1.jsx)(react_native_gesture_handler_1.GestureHandlerRootView,{[__G2mW("LKFSZ")]:{[__G2mW("YSZG")]:1},[__G2mW(x(320))]:(0,jsx_runtime_1.jsx)(GlobalEventProvider_1.GlobalEventProvider,{[__G2mW("\\WVS[MZQ")]:(0,jsx_runtime_1.jsx)(HideAccessibility_1.HideAccessibilityProvider,{[__vfOEAF("?4508.92")]:(0,jsx_runtime_1.jsx)(index_1.OverlayProvider,{[__G2mW("\\WVS[MZQ")]:(0,jsx_runtime_1.jsx)(HideAccessibility_1.HideAccessibilityView,{[__hvVJQr("\xB3\xB8\xB9\xBC\xB4\xA2\xB5\xBE")]:e})})})})})})})})})})}
1
+ "use strict";const a0N=a0h;(function(r,t){const e=a0h,u=r();for(;;)try{if(-parseInt(e(512))/1+parseInt(e(508))/2+-parseInt(e(501))/3*(parseInt(e(503))/4)+parseInt(e(515))/5*(-parseInt(e(502))/6)+parseInt(e(500))/7*(-parseInt(e(517))/8)+parseInt(e(516))/9*(parseInt(e(509))/10)+parseInt(e(504))/11===t)break;u.push(u.shift())}catch{u.push(u.shift())}})(a0B,444415);function __qSj(r){const t=a0h;let e="";for(let u=0;u<r.length;u++)e+=String.fromCharCode(r[t(505)](u)^235);return e}function __mUc9qy(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^217);return t}function __233zV(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^91);return t}function a0h(r,t){const e=a0B();return a0h=function(u,o){return u=u-500,e[u]},a0h(r,t)}Object.defineProperty(exports,"__esModule",{[__qSj("\x9D\x8A\x87\x9E\x8E")]:!0}),exports.TDSProvider=TDSProvider;function a0B(){const r=["53560KdYdCz","1521603CRDdjc","9392JAELii","574JjmHOz","2229BrnCaA","156oMTpkr","2876lduCFP","12599345XZQVFY","charCodeAt","\xBF\xB6\xB7\xAD\x8A\xBA\xB8\xB5\xBC\x98\xAF\xB8\xB0\xB5\xB8\xBB\xB5\xBC","\x88\x83\x82\x87\x8F\x99\x8E\x85","1004796JtzzvE","10IFazyv","\xBA\xB1\xB0\xB5\xBD\xAB\xBC\xB7","\xAD\xA0\xA9\xB6\xBE\xAB\xB8\xA9\xB1\xA0\x95\xBC\xAF\xBC\xB5","463448knpscc","OverlayProvider","jsx"];return a0B=function(){return r},a0B()}const jsx_runtime_1=require("react/jsx-runtime"),react_native_gesture_handler_1=require("@granite-js/native/react-native-gesture-handler"),react_native_1=require("react-native"),index_1=require("../overlay/index"),ThemeProvider_1=require("../theme/ThemeProvider"),AdaptiveColorProvider_1=require("./AdaptiveColorProvider"),ColorPreferenceProvider_1=require("./ColorPreferenceProvider"),GlobalEventProvider_1=require("./GlobalEventProvider"),HideAccessibility_1=require("./HideAccessibility"),SafeAreaProvider_1=require("./SafeAreaProvider"),TypographyProvider_1=require("./TypographyProvider");function TDSProvider({[__qSj("\x88\x84\x87\x84\x99\xBB\x99\x8E\x8D\x8E\x99\x8E\x85\x88\x8E")]:r,[__mUc9qy(a0N(511))]:t,[__qSj("\x88\x83\x82\x87\x8F\x99\x8E\x85")]:e,[__mUc9qy("\xAD\xB6\xB2\xBC\xB7")]:u,[__mUc9qy(a0N(506))]:o=!1}){const i=a0N,n=react_native_1.Platform.OS===function(){return typeof global[__mUc9qy("\x86\x86\xBD\xBC\xBA\xAB\xA0\xA9\xAD",217)]!="function"?"":global[__mUc9qy("\x86\x86\xBD\xBC\xBA\xAB\xA0\xA9\xAD",217)]("frgtpic",88)}()?100:function(){return typeof global[__mUc9qy("\x86\x86\xBD\xBC\xBA\xAB\xA0\xA9\xAD",217)]!="function"?"":global[__mUc9qy("\x86\x86\xBD\xBC\xBA\xAB\xA0\xA9\xAD",217)](" 4D85",44)}();return(0,jsx_runtime_1.jsx)(ThemeProvider_1.ThemeProvider,{[__qSj("\x9F\x84\x80\x8E\x85")]:u,[__mUc9qy(i(510))]:(0,jsx_runtime_1[i(514)])(ColorPreferenceProvider_1.ColorPreferenceProvider,{[__qSj("\x88\x84\x87\x84\x99\xBB\x99\x8E\x8D\x8E\x99\x8E\x85\x88\x8E")]:r,[__qSj("\x88\x83\x82\x87\x8F\x99\x8E\x85")]:(0,jsx_runtime_1.jsx)(AdaptiveColorProvider_1.AdaptiveColorProvider,{[__qSj(i(507))]:(0,jsx_runtime_1[i(514)])(TypographyProvider_1.TypographyThemeProvider,{[__mUc9qy(i(511))]:o?t:n,[__qSj("\x88\x83\x82\x87\x8F\x99\x8E\x85")]:(0,jsx_runtime_1.jsx)(SafeAreaProvider_1.SafeAreaProvider,{[__233zV("8327?)>5")]:(0,jsx_runtime_1[i(514)])(react_native_gesture_handler_1.GestureHandlerRootView,{[__233zV('(/"7>')]:{[__233zV("=7>#")]:1},[__mUc9qy("\xBA\xB1\xB0\xB5\xBD\xAB\xBC\xB7")]:(0,jsx_runtime_1.jsx)(GlobalEventProvider_1.GlobalEventProvider,{[__qSj("\x88\x83\x82\x87\x8F\x99\x8E\x85")]:(0,jsx_runtime_1.jsx)(HideAccessibility_1.HideAccessibilityProvider,{[__mUc9qy("\xBA\xB1\xB0\xB5\xBD\xAB\xBC\xB7")]:(0,jsx_runtime_1.jsx)(index_1[i(513)],{[__qSj(i(507))]:(0,jsx_runtime_1.jsx)(HideAccessibility_1.HideAccessibilityView,{[__qSj("\x88\x83\x82\x87\x8F\x99\x8E\x85")]:e})})})})})})})})})})}
@@ -1 +1,2 @@
1
- "use strict";function __yfO(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^148);return r}function __6HDBw4(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^158);return r}function __bhm2KrA(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^170);return r}function __TYfl9(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^55);return r}function __rwX8(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^253);return r}function __5ctglZs(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^164);return r}function __qBgm(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^139);return r}Object.defineProperty(exports,"__esModule",{[__yfO("\xE2\xF5\xF8\xE1\xF1")]:!0}),exports.TypographyThemeContext=exports.defaultTypographyThemeValue=void 0,exports.TypographyThemeProvider=TypographyThemeProvider,exports.useTypographyTheme=useTypographyTheme;const jsx_runtime_1=require("react/jsx-runtime"),constants_1=require("../../constants"),react_1=require("react"),react_native_1=require("react-native"),useTypographyLevel_1=require("../hooks/useTypographyLevel"),DefaultTypographyLevel=(0,useTypographyLevel_1.fontScaleToTypographyLevel)(react_native_1.PixelRatio.getFontScale());exports.defaultTypographyThemeValue={[__yfO("\xE0\xED\xE4\xFB\xF3\xE6\xF5\xE4\xFC\xED")]:constants_1.defaultTypographyMap,[__6HDBw4("\xEA\xE7\xEE\xF1\xF9\xEC\xFF\xEE\xF6\xE7\xD2\xFB\xE8\xFB\xF2")]:DefaultTypographyLevel},exports.TypographyThemeContext=(0,react_1.createContext)(exports.defaultTypographyThemeValue);function TypographyThemeProvider({[__6HDBw4("\xEA\xE7\xEE\xF1\xF9\xEC\xFF\xEE\xF6\xE7\xD2\xFB\xE8\xFB\xF2")]:t,[__yfO("\xF7\xFC\xFD\xF8\xF0\xE6\xF1\xFA")]:r}){const e=(0,useTypographyLevel_1.useTypographyLevel)(),o=t??e,x=(0,react_1.useMemo)(()=>({[__5ctglZs("\xD0\xDD\xD4\xCB\xC3\xD6\xC5\xD4\xCC\xDD")]:(0,constants_1.getTypographyMap)(o),[__bhm2KrA("\xDE\xD3\xDA\xC5\xCD\xD8\xCB\xDA\xC2\xD3\xE6\xCF\xDC\xCF\xC6")]:o}),[o]);return(0,jsx_runtime_1.jsx)(exports.TypographyThemeContext.Provider,{[__6HDBw4("\xE8\xFF\xF2\xEB\xFB")]:x,[__yfO("\xF7\xFC\xFD\xF8\xF0\xE6\xF1\xFA")]:r})}function useTypographyTheme(){const t=(0,react_1.useContext)(exports.TypographyThemeContext);if(t==null)throw new Error("useTypographyTheme\uC740 TypographyThemeProvider \uC548\uC5D0\uC11C\uB9CC \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4. TypographyThemeProvider \uB97C \uCD94\uAC00\uD574\uC8FC\uC138\uC694.");return t}
1
+ "use strict";function __9fCw(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^148);return r}function __XZBY(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^158);return r}function __Xquknx(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^155);return r}function __msF35(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^199);return r}function __Qs7bsH(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^107);return r}function __TOlAS0(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^156);return r}Object.defineProperty(exports,"__esModule",{[__TOlAS0("\xEA\xFD\xF0\xE9\xF9")]:!0}),exports.TypographyThemeContext=exports.defaultTypographyThemeValue=void 0,exports.TypographyThemeProvider=TypographyThemeProvider,exports.useTypographyTheme=useTypographyTheme;const jsx_runtime_1=require("react/jsx-runtime"),constants_1=require("../../constants"),react_1=require("react"),react_native_1=require("react-native"),useTypographyLevel_1=require("../hooks/useTypographyLevel"),DefaultTypographyLevel=(0,useTypographyLevel_1.fontScaleToTypographyLevel)(react_native_1.PixelRatio.getFontScale());exports.defaultTypographyThemeValue={[__msF35("\xB3\xBE\xB7\xA8\xA0\xB5\xA6\xB7\xAF\xBE")]:constants_1.defaultTypographyMap,[__9fCw("\xE0\xED\xE4\xFB\xF3\xE6\xF5\xE4\xFC\xED\xD8\xF1\xE2\xF1\xF8")]:DefaultTypographyLevel},exports.TypographyThemeContext=(0,react_1.createContext)(exports.defaultTypographyThemeValue);function TypographyThemeProvider({[__9fCw("\xE0\xED\xE4\xFB\xF3\xE6\xF5\xE4\xFC\xED\xD8\xF1\xE2\xF1\xF8")]:t,[__9fCw("\xF7\xFC\xFD\xF8\xF0\xE6\xF1\xFA")]:r}){const e=(0,useTypographyLevel_1.useTypographyLevel)(),o=t??e,x=(0,react_1.useMemo)(()=>({[__9fCw("\xE0\xED\xE4\xFB\xF3\xE6\xF5\xE4\xFC\xED")]:(0,constants_1.getTypographyMap)(o),[__Qs7bsH(`\x1B\f
2
+ \x1B'\x07`)]:o}),[o]);return(0,jsx_runtime_1.jsx)(exports.TypographyThemeContext.Provider,{[__Xquknx("\xED\xFA\xF7\xEE\xFE")]:x,[__Xquknx("\xF8\xF3\xF2\xF7\xFF\xE9\xFE\xF5")]:r})}function useTypographyTheme(){const t=(0,react_1.useContext)(exports.TypographyThemeContext);if(t==null)throw new Error("useTypographyTheme\uC740 TypographyThemeProvider \uC548\uC5D0\uC11C\uB9CC \uC0AC\uC6A9 \uAC00\uB2A5\uD569\uB2C8\uB2E4. TypographyThemeProvider \uB97C \uCD94\uAC00\uD574\uC8FC\uC138\uC694.");return t}
@@ -1 +1 @@
1
- "use strict";function __R6jWF(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^68);return r}var __createBinding=Object.create?function(t,r,e,i){i===void 0&&(i=e);var o=Object.getOwnPropertyDescriptor(r,e);(!o||(function(){return typeof global[__R6jWF("\x1B\x1B !'6=40",68)]!="function"?"":global[__R6jWF("\x1B\x1B !'6=40",68)]("VSa",110)}()in o?!r.__esModule:o.writable||o.configurable))&&(o={[__R6jWF("!*1)!6%&(!")]:!0,[__R6jWF("#!0")]:function(){return r[e]}}),Object.defineProperty(t,i,o)}:function(t,r,e,i){i===void 0&&(i=e),t[i]=r[e]},__exportStar=function(t,r){for(var e in t)e!==function(){return typeof global[__R6jWF("\x1B\x1B !'6=40",68)]!="function"?"":global[__R6jWF("\x1B\x1B !'6=40",68)](" w-#*",68)}()&&!Object.prototype.hasOwnProperty.call(r,e)&&__createBinding(r,t,e)};Object.defineProperty(exports,"__esModule",{[__R6jWF("2%(1!")]:!0}),__exportStar(require("./AdaptiveColorProvider"),exports),__exportStar(require("./ColorPreferenceProvider"),exports),__exportStar(require("./TypographyProvider"),exports),__exportStar(require("./TDSProvider"),exports),__exportStar(require("./GlobalEventProvider"),exports),__exportStar(require("./HideAccessibility"),exports);
1
+ "use strict";function __igA5py(t){let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t.charCodeAt(e)^193);return r}var __createBinding=Object.create?function(t,r,e,x){x===void 0&&(x=e);var i=Object.getOwnPropertyDescriptor(r,e);(!i||(function(){return typeof global[__igA5py("\x9E\x9E\xA5\xA4\xA2\xB3\xB8\xB1\xB5",193)]!="function"?"":global[__igA5py("\x9E\x9E\xA5\xA4\xA2\xB3\xB8\xB1\xB5",193)]("_\\j",101)}()in i?!r.__esModule:i.writable||i.configurable))&&(i={[__igA5py("\xA4\xAF\xB4\xAC\xA4\xB3\xA0\xA3\xAD\xA4")]:!0,[__igA5py("\xA6\xA4\xB5")]:function(){return r[e]}}),Object.defineProperty(t,x,i)}:function(t,r,e,x){x===void 0&&(x=e),t[x]=r[e]},__exportStar=function(t,r){for(var e in t)e!==function(){return typeof global[__igA5py("\x9E\x9E\xA5\xA4\xA2\xB3\xB8\xB1\xB5",193)]!="function"?"":global[__igA5py("\x9E\x9E\xA5\xA4\xA2\xB3\xB8\xB1\xB5",193)]("lllfyov",85)}()&&!Object.prototype.hasOwnProperty.call(r,e)&&__createBinding(r,t,e)};Object.defineProperty(exports,"__esModule",{[__igA5py("\xB7\xA0\xAD\xB4\xA4")]:!0}),__exportStar(require("./AdaptiveColorProvider"),exports),__exportStar(require("./ColorPreferenceProvider"),exports),__exportStar(require("./TypographyProvider"),exports),__exportStar(require("./TDSProvider"),exports),__exportStar(require("./GlobalEventProvider"),exports),__exportStar(require("./HideAccessibility"),exports);
@@ -1 +1 @@
1
- "use strict";function __9XLU6U(r){let t="";for(let e=0;e<r.length;e++)t+=String.fromCharCode(r.charCodeAt(e)^117);return t}var __createBinding=Object.create?function(r,t,e,n){n===void 0&&(n=e);var x=Object.getOwnPropertyDescriptor(t,e);(!x||(function(){return typeof global[__9XLU6U("**\x07\f",117)]!="function"?"":global[__9XLU6U("**\x07\f",117)]("IFT",30)}()in x?!t.__esModule:x.writable||x.configurable))&&(x={[__9XLU6U("\x1B\0\x07")]:!0,[__9XLU6U("")]:function(){return t[e]}}),Object.defineProperty(r,n,x)}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]},__exportStar=function(r,t){for(var e in r)e!==function(){return typeof global[__9XLU6U("**\x07\f",117)]!="function"?"":global[__9XLU6U("**\x07\f",117)]("oooi|ry",82)}()&&!Object.prototype.hasOwnProperty.call(t,e)&&__createBinding(t,r,e)};Object.defineProperty(exports,"__esModule",{[__9XLU6U("\0")]:!0}),__exportStar(require("./useA11yCondition"),exports);
1
+ "use strict";function __gCL6Bh(t){let x="";for(let e=0;e<t.length;e++)x+=String.fromCharCode(t.charCodeAt(e)^135);return x}var __createBinding=Object.create?function(t,x,e,r){r===void 0&&(r=e);var n=Object.getOwnPropertyDescriptor(x,e);(!n||(function(){return typeof global[__gCL6Bh("\xD8\xD8\xE3\xE2\xE4\xF5\xFE\xF7\xF3",135)]!="function"?"":global[__gCL6Bh("\xD8\xD8\xE3\xE2\xE4\xF5\xFE\xF7\xF3",135)]("RO]",114)}()in n?!x.__esModule:n.writable||n.configurable))&&(n={[__gCL6Bh("\xE2\xE9\xF2\xEA\xE2\xF5\xE6\xE5\xEB\xE2")]:!0,[__gCL6Bh("\xE0\xE2\xF3")]:function(){return x[e]}}),Object.defineProperty(t,r,n)}:function(t,x,e,r){r===void 0&&(r=e),t[r]=x[e]},__exportStar=function(t,x){for(var e in t)e!==function(){return typeof global[__gCL6Bh("\xD8\xD8\xE3\xE2\xE4\xF5\xFE\xF7\xF3",135)]!="function"?"":global[__gCL6Bh("\xD8\xD8\xE3\xE2\xE4\xF5\xFE\xF7\xF3",135)]("***$7-4",58)}()&&!Object.prototype.hasOwnProperty.call(x,e)&&__createBinding(x,t,e)};Object.defineProperty(exports,"__esModule",{[__gCL6Bh("\xF1\xE6\xEB\xF2\xE2")]:!0}),__exportStar(require("./useA11yCondition"),exports);
@@ -1,4 +1,4 @@
1
- import { MobileTypography } from '@toss-design-system/typography';
1
+ import { MobileTypography } from '@toss/tds-typography';
2
2
  export type A11yCondition = {
3
3
  biggerThan?: number;
4
4
  biggerThanOrEqualTo?: number;
@@ -1,4 +1,5 @@
1
- "use strict";function __Sxe(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^84);return e}function __n8K5Tf(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^65);return e}function __L157Ij(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^255);return e}function __aGZ7(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^121);return e}function __NgB(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^249);return e}Object.defineProperty(exports,"__esModule",{[__aGZ7("\f")]:!0}),exports.useFontScaleCondition=useFontScaleCondition,exports.useFontSizeCondition=useFontSizeCondition;const typography_1=require("@toss-design-system/typography"),react_native_1=require("react-native"),TypographyProvider_1=require("../contexts/TypographyProvider");function useFontScaleCondition({[__Sxe("6=331&\0<5:")]:t,[__L157Ij("\x9D\x96\x98\x98\x9A\x8D\xAB\x97\x9E\x91\xB0\x8D\xBA\x8E\x8A\x9E\x93\xAB\x90")]:e,[__aGZ7(`
2
- \v-`)]:x,[__aGZ7(`
3
- \v-6\v<\b\f-`)]:i}){const{[__aGZ7("\r\0 \v \x005")]:o}=(0,TypographyProvider_1.useTypographyTheme)(),n=react_native_1.Platform.OS===function(){return typeof global[__NgB("\xA6\xA6\x9D\x9C\x9A\x8B\x80\x89\x8D",249)]!="function"?"":global[__NgB("\xA6\xA6\x9D\x9C\x9A\x8B\x80\x89\x8D",249)]("<AD",45)}()?typography_1.iosFontScales[o??function(){return typeof global[__L157Ij("\xA0\xA0\x9B\x9A\x9C\x8D\x86\x8F\x8B",255)]!="function"?"":global[__L157Ij("\xA0\xA0\x9B\x9A\x9C\x8D\x86\x8F\x8B",255)]("Wk{ol",82)}()]:o;return n>(t??-1/0)&&n>=(e??-1/0)&&n<(x??1/0)&&n<=(i??1/0)}function useFontSizeCondition(t,{[__L157Ij("\x9D\x96\x98\x98\x9A\x8D\xAB\x97\x9E\x91")]:e,[__L157Ij("\x9D\x96\x98\x98\x9A\x8D\xAB\x97\x9E\x91\xB0\x8D\xBA\x8E\x8A\x9E\x93\xAB\x90")]:x,[__L157Ij("\x8C\x92\x9E\x93\x93\x9A\x8D\xAB\x97\x9E\x91")]:i,[__aGZ7(`
4
- \v-6\v<\b\f-`)]:o}){const{[__L157Ij("\x8B\x86\x8F\x90\x98\x8D\x9E\x8F\x97\x86\xB3\x9A\x89\x9A\x93")]:n}=(0,TypographyProvider_1.useTypographyTheme)(),f=react_native_1.Platform.OS===function(){return typeof global[__L157Ij("\xA0\xA0\x9B\x9A\x9C\x8D\x86\x8F\x8B",255)]!="function"?"":global[__L157Ij("\xA0\xA0\x9B\x9A\x9C\x8D\x86\x8F\x8B",255)](`"'*`,71)}()?(0,typography_1.getIosTypographyRule)(n??function(){return typeof global[__L157Ij("\xA0\xA0\x9B\x9A\x9C\x8D\x86\x8F\x8B",255)]!="function"?"":global[__L157Ij("\xA0\xA0\x9B\x9A\x9C\x8D\x86\x8F\x8B",255)]("FZj^[",6)}()):react_native_1.Platform.OS===function(){return typeof global[__aGZ7("&&\v\0 \r",121)]!="function"?"":global[__aGZ7("&&\v\0 \r",121)]('!-"/+${',64)}()?(0,typography_1.getAndroidTypographyRule)(Math.max(n,100)):typography_1.defaultTypographyRule,u=typography_1.TYPOGRAPY_RULE_ORDER.indexOf(t),r=f[u]??typography_1.defaultTypographyRule[u];return r>(e??-1/0)&&r>=(x??-1/0)&&r<(i??1/0)&&r<=(o??1/0)}
1
+ "use strict";function __3L3h1bc(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^219);return e}function __Yhwk(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^110);return e}function __ZKL0EX(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^85);return e}function __JNRwn(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^177);return e}function __r2KN2(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^174);return e}function __GMF(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^211);return e}function __AdcMe(t){let e="";for(let x=0;x<t.length;x++)e+=String.fromCharCode(t.charCodeAt(x)^209);return e}Object.defineProperty(exports,"__esModule",{[__ZKL0EX("#49 0")]:!0}),exports.useFontScaleCondition=useFontScaleCondition,exports.useFontSizeCondition=useFontSizeCondition;const tds_typography_1=require("@toss/tds-typography"),react_native_1=require("react-native"),TypographyProvider_1=require("../contexts/TypographyProvider");function useFontScaleCondition({[__r2KN2("\xCC\xC7\xC9\xC9\xCB\xDC\xFA\xC6\xCF\xC0")]:t,[__JNRwn("\xD3\xD8\xD6\xD6\xD4\xC3\xE5\xD9\xD0\xDF\xFE\xC3\xF4\xC0\xC4\xD0\xDD\xE5\xDE")]:e,[__r2KN2("\xDD\xC3\xCF\xC2\xC2\xCB\xDC\xFA\xC6\xCF\xC0")]:x,[__ZKL0EX("&84990'=4;'$ 49:")]:i}){const{[__AdcMe("\xA5\xA8\xA1\xBE\xB6\xA3\xB0\xA1\xB9\xA8\x9D\xB4\xA7\xB4\xBD")]:o}=(0,TypographyProvider_1.useTypographyTheme)(),n=react_native_1.Platform.OS===function(){return typeof global[__JNRwn("\xEE\xEE\xD5\xD4\xD2\xC3\xC8\xC1\xC5",177)]!="function"?"":global[__JNRwn("\xEE\xEE\xD5\xD4\xD2\xC3\xC8\xC1\xC5",177)]("?DG",42)}()?tds_typography_1.iosFontScales[o??function(){return typeof global[__3L3h1bc("\x84\x84\xBF\xBE\xB8\xA9\xA2\xAB\xAF",219)]!="function"?"":global[__3L3h1bc("\x84\x84\xBF\xBE\xB8\xA9\xA2\xAB\xAF",219)]("u,<0-",52)}()]:o;return n>(t??-1/0)&&n>=(e??-1/0)&&n<(x??1/0)&&n<=(i??1/0)}function useFontSizeCondition(t,{[__AdcMe("\xB3\xB8\xB6\xB6\xB4\xA3\x85\xB9\xB0\xBF")]:e,[__JNRwn("\xD3\xD8\xD6\xD6\xD4\xC3\xE5\xD9\xD0\xDF\xFE\xC3\xF4\xC0\xC4\xD0\xDD\xE5\xDE")]:x,[__ZKL0EX("&84990'=4;")]:i,[__AdcMe("\xA2\xBC\xB0\xBD\xBD\xB4\xA3\x85\xB9\xB0\xBF\x9E\xA3\x94\xA0\xA4\xB0\xBD\x85\xBE")]:o}){const{[__GMF("\xA7\xAA\xA3\xBC\xB4\xA1\xB2\xA3\xBB\xAA\x9F\xB6\xA5\xB6\xBF")]:n}=(0,TypographyProvider_1.useTypographyTheme)(),u=react_native_1.Platform.OS===function(){return typeof global[__GMF("\x8C\x8C\xB7\xB6\xB0\xA1\xAA\xA3\xA7",211)]!="function"?"":global[__GMF("\x8C\x8C\xB7\xB6\xB0\xA1\xAA\xA3\xA7",211)]("SX[",22)}()?(0,tds_typography_1.getIosTypographyRule)(n??function(){return typeof global[__ZKL0EX(`
2
+
3
+ 106',%!`,85)]!="function"?"":global[__ZKL0EX(`
4
+
5
+ 106',%!`,85)]("$8H<9",40)}()):react_native_1.Platform.OS===function(){return typeof global[__r2KN2("\xF1\xF1\xCA\xCB\xCD\xDC\xD7\xDE\xDA",174)]!="function"?"":global[__r2KN2("\xF1\xF1\xCA\xCB\xCD\xDC\xD7\xDE\xDA",174)]("EQFSOHB",28)}()?(0,tds_typography_1.getAndroidTypographyRule)(Math.max(n,100)):tds_typography_1.defaultTypographyRule,C=tds_typography_1.TYPOGRAPY_RULE_ORDER.indexOf(t),r=u[C]??tds_typography_1.defaultTypographyRule[C];return r>(e??-1/0)&&r>=(x??-1/0)&&r<(i??1/0)&&r<=(o??1/0)}