@audira/carbon-react-native 1.0.0-beta.4 → 1.0.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1059) hide show
  1. package/lib/commonjs/_internal/contexts/button-group/ButtonGroupContext.js +1 -1
  2. package/lib/commonjs/_internal/contexts/global-config/GlobalConfigContext.js +1 -1
  3. package/lib/commonjs/_internal/contexts/modal/ModalContext.js +1 -1
  4. package/lib/commonjs/_internal/style-sheets/common-style-sheet.js +6 -6
  5. package/lib/commonjs/_internal/style-sheets/flex-style-sheet.js +23 -23
  6. package/lib/commonjs/_internal/style-sheets/text-style-sheet.js +14 -14
  7. package/lib/commonjs/carbon-react-native/CarbonReactNative.js +1 -1
  8. package/lib/commonjs/carbon-style-sheet/breakpoint.js +5 -5
  9. package/lib/commonjs/carbon-style-sheet/create.js +5 -5
  10. package/lib/commonjs/components/accordion/Accordion.js +6 -6
  11. package/lib/commonjs/components/accordion/_Header.js +7 -7
  12. package/lib/commonjs/components/accordion/_Item.js +3 -3
  13. package/lib/commonjs/components/accordion/_chevron/Chevron.js +1 -1
  14. package/lib/commonjs/components/accordion/_styles.js +1 -1
  15. package/lib/commonjs/components/button/base/Base.js +16 -16
  16. package/lib/commonjs/components/button/base-color/BaseColor.js +5 -5
  17. package/lib/commonjs/components/button/ghost/Ghost.js +2 -2
  18. package/lib/commonjs/components/button/ghost-danger/GhostDanger.js +1 -1
  19. package/lib/commonjs/components/button/ghost-icon/GhostIcon.js +3 -3
  20. package/lib/commonjs/components/button/tertiary/Tertiary.js +2 -2
  21. package/lib/commonjs/components/button/tertiary-danger/TertiaryDanger.js +3 -3
  22. package/lib/commonjs/components/button-group/ButtonGroup.js +4 -4
  23. package/lib/commonjs/components/checkbox/Checkbox.js +7 -7
  24. package/lib/commonjs/components/checkbox-group/CheckboxGroup.js +6 -6
  25. package/lib/commonjs/components/checkbox-input/CheckboxInput.js +11 -11
  26. package/lib/commonjs/components/checkbox-input/CheckboxInput.js.map +1 -1
  27. package/lib/commonjs/components/collapsible/Collapsible.js +7 -7
  28. package/lib/commonjs/components/form-helper-text/FormHelperText.js +2 -2
  29. package/lib/commonjs/components/form-label/FormLabel.js +2 -2
  30. package/lib/commonjs/components/icon/Icon.js +5 -5
  31. package/lib/commonjs/components/icon/Icon.js.map +1 -1
  32. package/lib/commonjs/components/inline-loading/InlineLoading.js +6 -6
  33. package/lib/commonjs/components/loading/Loading.js +2 -2
  34. package/lib/commonjs/components/loading/_circular-progress/CircularProgress.js +3 -3
  35. package/lib/commonjs/components/modal/Modal.js +39 -39
  36. package/lib/commonjs/components/modal-content/ModalContent.js +11 -11
  37. package/lib/commonjs/components/notification/_status-hooks/_base/useBase.js +3 -3
  38. package/lib/commonjs/components/notification/_variant-context.js +1 -1
  39. package/lib/commonjs/components/notification/_variants/_ButtonGhost.js +3 -3
  40. package/lib/commonjs/components/notification/_variants/_ButtonTertiary.js +3 -3
  41. package/lib/commonjs/components/notification/_variants/actionable/ActionableVariant.js +1 -1
  42. package/lib/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariant.js +1 -1
  43. package/lib/commonjs/components/notification/_variants/callout/CalloutVariant.js +1 -1
  44. package/lib/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariant.js +1 -1
  45. package/lib/commonjs/components/notification/_variants/toast/ToastVariant.js +5 -5
  46. package/lib/commonjs/components/notification/base/Base.js +12 -12
  47. package/lib/commonjs/components/radio-button/RadioButton.js +7 -7
  48. package/lib/commonjs/components/radio-button-group/RadioButtonGroup.js +10 -10
  49. package/lib/commonjs/components/radio-button-group/_Item.js +1 -1
  50. package/lib/commonjs/components/radio-button-input/RadioButtonInput.js +8 -8
  51. package/lib/commonjs/components/radio-button-input/RadioButtonInput.js.map +1 -1
  52. package/lib/commonjs/components/switch/Switch.js +11 -11
  53. package/lib/commonjs/components/switch/Switch.js.map +1 -1
  54. package/lib/commonjs/components/text/Text.js +4 -1
  55. package/lib/commonjs/components/text/Text.js.map +1 -1
  56. package/lib/commonjs/components/text-area/TextArea.js +2 -2
  57. package/lib/commonjs/components/text-area-field/TextAreaField.js +3 -3
  58. package/lib/commonjs/components/text-area-fluid/TextAreaFluid.js +3 -3
  59. package/lib/commonjs/components/text-input/TextInput.js +3 -3
  60. package/lib/commonjs/components/text-input-field/TextInputField.js +10 -10
  61. package/lib/commonjs/components/text-input-field/_rn-text-input/RNTextInput.js +8 -8
  62. package/lib/commonjs/components/text-input-fluid/TextInputFluid.js +3 -3
  63. package/lib/commonjs/components/toggle/base/Base.js +9 -9
  64. package/lib/commonjs/components/toggle/default/Default.js +1 -1
  65. package/lib/commonjs/components/toggle/small/Small.js +1 -1
  66. package/lib/commonjs/contexts/breakpoint/BreakpointContext.js +1 -1
  67. package/lib/commonjs/contexts/dialog/DialogContext.js +1 -1
  68. package/lib/commonjs/contexts/toast/ToastContext.js +2 -2
  69. package/lib/commonjs/helpers/breakpoint/get-token.js +1 -1
  70. package/lib/commonjs/helpers/color/get-color-scheme.js +3 -3
  71. package/lib/commonjs/helpers/color/get-color-token.js +2 -2
  72. package/lib/commonjs/providers/dialog/_controller/Controller.js +1 -1
  73. package/lib/commonjs/providers/dialog/_controller/_overlay/Overlay.js +2 -2
  74. package/lib/commonjs/providers/toast/_overlay/Overlay.js +2 -3
  75. package/lib/commonjs/providers/toast/_overlay/Overlay.js.map +1 -1
  76. package/lib/commonjs/providers/toast/_overlay/_component-wrapper/ComponentWrapper.js +4 -4
  77. package/lib/module/_internal/contexts/button-group/ButtonGroupContext.js +2 -2
  78. package/lib/module/_internal/contexts/global-config/GlobalConfigContext.js +2 -2
  79. package/lib/module/_internal/contexts/modal/ModalContext.js +2 -2
  80. package/lib/module/_internal/providers/breakpoint/BreakpointProvider.js +1 -1
  81. package/lib/module/_internal/providers/theme/ThemeProvider.js +1 -1
  82. package/lib/module/_internal/style-sheets/common-style-sheet.js +7 -7
  83. package/lib/module/_internal/style-sheets/flex-style-sheet.js +24 -24
  84. package/lib/module/_internal/style-sheets/text-style-sheet.js +15 -15
  85. package/lib/module/carbon-react-native/CarbonReactNative.js +1 -1
  86. package/lib/module/carbon-style-sheet/breakpoint.js +5 -5
  87. package/lib/module/carbon-style-sheet/color.js +1 -1
  88. package/lib/module/carbon-style-sheet/create.js +7 -7
  89. package/lib/module/carbon-style-sheet/index.js +1 -1
  90. package/lib/module/carbon-style-sheet/use.js +1 -1
  91. package/lib/module/components/accordion/Accordion.js +8 -8
  92. package/lib/module/components/accordion/_Header.js +10 -10
  93. package/lib/module/components/accordion/_HeaderBorder.js +3 -3
  94. package/lib/module/components/accordion/_Item.js +6 -6
  95. package/lib/module/components/accordion/_chevron/Chevron.js +4 -4
  96. package/lib/module/components/accordion/_context.js +1 -1
  97. package/lib/module/components/accordion/_motion.js +2 -2
  98. package/lib/module/components/accordion/_styles.js +3 -3
  99. package/lib/module/components/button/base/Base.js +19 -19
  100. package/lib/module/components/button/base-color/BaseColor.js +8 -8
  101. package/lib/module/components/button/ghost/Ghost.js +5 -5
  102. package/lib/module/components/button/ghost-danger/GhostDanger.js +4 -4
  103. package/lib/module/components/button/ghost-icon/GhostIcon.js +6 -6
  104. package/lib/module/components/button/primary/Primary.js +2 -2
  105. package/lib/module/components/button/primary-danger/PrimaryDanger.js +2 -2
  106. package/lib/module/components/button/secondary/Secondary.js +2 -2
  107. package/lib/module/components/button/tertiary/Tertiary.js +5 -5
  108. package/lib/module/components/button/tertiary-danger/TertiaryDanger.js +6 -6
  109. package/lib/module/components/button-group/ButtonGroup.js +7 -7
  110. package/lib/module/components/checkbox/Checkbox.js +10 -10
  111. package/lib/module/components/checkbox-group/CheckboxGroup.js +11 -11
  112. package/lib/module/components/checkbox-input/CheckboxInput.js +16 -16
  113. package/lib/module/components/checkbox-input/CheckboxInput.js.map +1 -1
  114. package/lib/module/components/collapsible/Collapsible.js +10 -10
  115. package/lib/module/components/form-helper-text/FormHelperText.js +4 -4
  116. package/lib/module/components/form-label/FormLabel.js +4 -4
  117. package/lib/module/components/icon/Icon.js +8 -8
  118. package/lib/module/components/icon/Icon.js.map +1 -1
  119. package/lib/module/components/inline-loading/InlineLoading.js +11 -11
  120. package/lib/module/components/layer/Layer.js +3 -3
  121. package/lib/module/components/layer/LayerContext.js +1 -1
  122. package/lib/module/components/loading/Loading.js +5 -5
  123. package/lib/module/components/loading/_circular-progress/CircularProgress.js +5 -5
  124. package/lib/module/components/loading/_map-circle-background-color.js +1 -1
  125. package/lib/module/components/loading/_map-circle-stroke-color.js +1 -1
  126. package/lib/module/components/modal/Modal.js +43 -43
  127. package/lib/module/components/modal-content/ModalContent.js +14 -14
  128. package/lib/module/components/notification/_VariantContextProvider.js +1 -1
  129. package/lib/module/components/notification/_status-hooks/_base/useBase.js +5 -5
  130. package/lib/module/components/notification/_status-hooks/error/useError.js +3 -3
  131. package/lib/module/components/notification/_status-hooks/informational/useInformational.js +3 -3
  132. package/lib/module/components/notification/_status-hooks/success/useSuccess.js +3 -3
  133. package/lib/module/components/notification/_status-hooks/warning/useWarning.js +3 -3
  134. package/lib/module/components/notification/_variant-context.js +2 -2
  135. package/lib/module/components/notification/_variants/_ButtonGhost.js +6 -6
  136. package/lib/module/components/notification/_variants/_ButtonTertiary.js +6 -6
  137. package/lib/module/components/notification/_variants/actionable/ActionableVariant.js +2 -2
  138. package/lib/module/components/notification/_variants/actionable-inline/ActionableInlineVariant.js +2 -2
  139. package/lib/module/components/notification/_variants/callout/CalloutVariant.js +2 -2
  140. package/lib/module/components/notification/_variants/callout-inline/CalloutInlineVariant.js +2 -2
  141. package/lib/module/components/notification/_variants/toast/ToastVariant.js +8 -8
  142. package/lib/module/components/notification/actionable/error/Error.js +1 -1
  143. package/lib/module/components/notification/actionable/informational/Informational.js +1 -1
  144. package/lib/module/components/notification/actionable/success/Success.js +1 -1
  145. package/lib/module/components/notification/actionable/warning/Warning.js +1 -1
  146. package/lib/module/components/notification/actionable-inline/error/Error.js +1 -1
  147. package/lib/module/components/notification/actionable-inline/informational/Informational.js +1 -1
  148. package/lib/module/components/notification/actionable-inline/success/Success.js +1 -1
  149. package/lib/module/components/notification/actionable-inline/warning/Warning.js +1 -1
  150. package/lib/module/components/notification/base/Base.js +16 -16
  151. package/lib/module/components/notification/callout/error/Error.js +1 -1
  152. package/lib/module/components/notification/callout/informational/Informational.js +1 -1
  153. package/lib/module/components/notification/callout/success/Success.js +1 -1
  154. package/lib/module/components/notification/callout/warning/Warning.js +1 -1
  155. package/lib/module/components/notification/callout-inline/error/Error.js +1 -1
  156. package/lib/module/components/notification/callout-inline/informational/Informational.js +1 -1
  157. package/lib/module/components/notification/callout-inline/success/Success.js +1 -1
  158. package/lib/module/components/notification/callout-inline/warning/Warning.js +1 -1
  159. package/lib/module/components/notification/subtitle/Subtitle.js +1 -1
  160. package/lib/module/components/notification/subtitle-link/SubtitleLink.js +1 -1
  161. package/lib/module/components/notification/toast/error/Error.js +1 -1
  162. package/lib/module/components/notification/toast/informational/Informational.js +1 -1
  163. package/lib/module/components/notification/toast/success/Success.js +1 -1
  164. package/lib/module/components/notification/toast/warning/Warning.js +1 -1
  165. package/lib/module/components/radio-button/RadioButton.js +10 -10
  166. package/lib/module/components/radio-button-group/RadioButtonGroup.js +15 -15
  167. package/lib/module/components/radio-button-group/_Item.js +2 -2
  168. package/lib/module/components/radio-button-group/_item-context.js +1 -1
  169. package/lib/module/components/radio-button-input/RadioButtonInput.js +10 -10
  170. package/lib/module/components/radio-button-input/RadioButtonInput.js.map +1 -1
  171. package/lib/module/components/switch/Switch.js +15 -15
  172. package/lib/module/components/switch/Switch.js.map +1 -1
  173. package/lib/module/components/text/Text.js +7 -4
  174. package/lib/module/components/text/Text.js.map +1 -1
  175. package/lib/module/components/text-area/TextArea.js +5 -5
  176. package/lib/module/components/text-area-field/TextAreaField.js +6 -6
  177. package/lib/module/components/text-area-fluid/TextAreaFluid.js +8 -8
  178. package/lib/module/components/text-input/TextInput.js +6 -6
  179. package/lib/module/components/text-input-field/TextInputField.js +15 -15
  180. package/lib/module/components/text-input-field/_rn-text-input/RNTextInput.js +11 -11
  181. package/lib/module/components/text-input-fluid/TextInputFluid.js +8 -8
  182. package/lib/module/components/toggle/base/Base.js +12 -12
  183. package/lib/module/components/toggle/default/Default.js +2 -2
  184. package/lib/module/components/toggle/small/Small.js +2 -2
  185. package/lib/module/const/dialog-animation-configs/carbon-react.js +2 -2
  186. package/lib/module/const/dialog-animation-configs/fade-bottom-up-2.js +2 -2
  187. package/lib/module/const/dialog-animation-configs/fade-bottom-up.js +2 -2
  188. package/lib/module/contexts/breakpoint/BreakpointContext.js +3 -3
  189. package/lib/module/contexts/dialog/DialogContext.js +2 -2
  190. package/lib/module/contexts/theme/ThemeContext.js +1 -1
  191. package/lib/module/contexts/toast/ToastContext.js +3 -3
  192. package/lib/module/helpers/breakpoint/get-token.js +2 -2
  193. package/lib/module/helpers/color/get-color-scheme.js +4 -4
  194. package/lib/module/helpers/color/get-color-token.js +2 -2
  195. package/lib/module/hooks/breakpoint/use.js +2 -2
  196. package/lib/module/providers/dialog/DialogProvider.js +1 -1
  197. package/lib/module/providers/dialog/_controller/Controller.js +3 -3
  198. package/lib/module/providers/dialog/_controller/_modal/Modal.js +2 -2
  199. package/lib/module/providers/dialog/_controller/_overlay/Overlay.js +4 -4
  200. package/lib/module/providers/toast/ToastProvider.js +1 -1
  201. package/lib/module/providers/toast/_overlay/Overlay.js +5 -6
  202. package/lib/module/providers/toast/_overlay/Overlay.js.map +1 -1
  203. package/lib/module/providers/toast/_overlay/_component-wrapper/ComponentWrapper.js +7 -7
  204. package/lib/typescript/commonjs/_internal/contexts/button-group/ButtonGroupContext.d.ts +4 -4
  205. package/lib/typescript/commonjs/_internal/contexts/button-group/index.d.ts +1 -1
  206. package/lib/typescript/commonjs/_internal/contexts/global-config/GlobalConfigContext.d.ts +1 -1
  207. package/lib/typescript/commonjs/_internal/contexts/global-config/index.d.ts +1 -1
  208. package/lib/typescript/commonjs/_internal/contexts/index.d.ts +3 -3
  209. package/lib/typescript/commonjs/_internal/contexts/modal/ModalContext.d.ts +1 -1
  210. package/lib/typescript/commonjs/_internal/contexts/modal/index.d.ts +1 -1
  211. package/lib/typescript/commonjs/_internal/globals/breakpoint/index.d.ts +1 -1
  212. package/lib/typescript/commonjs/_internal/globals/index.d.ts +2 -2
  213. package/lib/typescript/commonjs/_internal/helpers/index.d.ts +1 -1
  214. package/lib/typescript/commonjs/_internal/helpers/math/index.d.ts +1 -1
  215. package/lib/typescript/commonjs/_internal/providers/breakpoint/BreakpointProvider.d.ts +1 -1
  216. package/lib/typescript/commonjs/_internal/providers/breakpoint/index.d.ts +2 -2
  217. package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
  218. package/lib/typescript/commonjs/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
  219. package/lib/typescript/commonjs/_internal/providers/global-config/index.d.ts +2 -2
  220. package/lib/typescript/commonjs/_internal/providers/index.d.ts +3 -3
  221. package/lib/typescript/commonjs/_internal/providers/theme/ThemeProvider.d.ts +1 -1
  222. package/lib/typescript/commonjs/_internal/providers/theme/ThemeProviderProps.d.ts +2 -2
  223. package/lib/typescript/commonjs/_internal/providers/theme/index.d.ts +2 -2
  224. package/lib/typescript/commonjs/_internal/style-sheets/index.d.ts +3 -3
  225. package/lib/typescript/commonjs/carbon-react-native/CarbonReactNative.d.ts +1 -1
  226. package/lib/typescript/commonjs/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
  227. package/lib/typescript/commonjs/carbon-react-native/index.d.ts +2 -2
  228. package/lib/typescript/commonjs/carbon-style-sheet/color.d.ts +1 -1
  229. package/lib/typescript/commonjs/carbon-style-sheet/create.d.ts +2 -2
  230. package/lib/typescript/commonjs/carbon-style-sheet/index.d.ts +3 -3
  231. package/lib/typescript/commonjs/components/accordion/Accordion.d.ts +2 -2
  232. package/lib/typescript/commonjs/components/accordion/AccordionHeaderProps.d.ts +3 -3
  233. package/lib/typescript/commonjs/components/accordion/AccordionItemProps.d.ts +4 -4
  234. package/lib/typescript/commonjs/components/accordion/AccordionItemRef.d.ts +2 -2
  235. package/lib/typescript/commonjs/components/accordion/AccordionProps.d.ts +3 -3
  236. package/lib/typescript/commonjs/components/accordion/AccordionRef.d.ts +1 -1
  237. package/lib/typescript/commonjs/components/accordion/AccordionSize.d.ts +1 -1
  238. package/lib/typescript/commonjs/components/accordion/_Header.d.ts +1 -1
  239. package/lib/typescript/commonjs/components/accordion/_HeaderBorder.d.ts +2 -2
  240. package/lib/typescript/commonjs/components/accordion/_Item.d.ts +2 -2
  241. package/lib/typescript/commonjs/components/accordion/_chevron/Chevron.d.ts +1 -1
  242. package/lib/typescript/commonjs/components/accordion/_chevron/ChevronProps.d.ts +2 -2
  243. package/lib/typescript/commonjs/components/accordion/_chevron/index.d.ts +2 -2
  244. package/lib/typescript/commonjs/components/accordion/_context.d.ts +5 -5
  245. package/lib/typescript/commonjs/components/accordion/_motion.d.ts +2 -2
  246. package/lib/typescript/commonjs/components/accordion/index.d.ts +7 -7
  247. package/lib/typescript/commonjs/components/button/Size.d.ts +1 -1
  248. package/lib/typescript/commonjs/components/button/base/Base.d.ts +2 -2
  249. package/lib/typescript/commonjs/components/button/base/BaseProps.d.ts +11 -11
  250. package/lib/typescript/commonjs/components/button/base/BaseRef.d.ts +1 -1
  251. package/lib/typescript/commonjs/components/button/base/index.d.ts +3 -3
  252. package/lib/typescript/commonjs/components/button/base-color/BaseColor.d.ts +2 -2
  253. package/lib/typescript/commonjs/components/button/base-color/BaseColorProps.d.ts +5 -5
  254. package/lib/typescript/commonjs/components/button/base-color/BaseColorRef.d.ts +1 -1
  255. package/lib/typescript/commonjs/components/button/base-color/BaseColorState.d.ts +1 -1
  256. package/lib/typescript/commonjs/components/button/base-color/index.d.ts +4 -4
  257. package/lib/typescript/commonjs/components/button/ghost/Ghost.d.ts +2 -2
  258. package/lib/typescript/commonjs/components/button/ghost/GhostProps.d.ts +2 -2
  259. package/lib/typescript/commonjs/components/button/ghost/GhostRef.d.ts +1 -1
  260. package/lib/typescript/commonjs/components/button/ghost/index.d.ts +3 -3
  261. package/lib/typescript/commonjs/components/button/ghost-danger/GhostDanger.d.ts +2 -2
  262. package/lib/typescript/commonjs/components/button/ghost-danger/GhostDangerProps.d.ts +2 -2
  263. package/lib/typescript/commonjs/components/button/ghost-danger/GhostDangerRef.d.ts +1 -1
  264. package/lib/typescript/commonjs/components/button/ghost-danger/index.d.ts +3 -3
  265. package/lib/typescript/commonjs/components/button/ghost-icon/GhostIcon.d.ts +2 -2
  266. package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconProps.d.ts +4 -4
  267. package/lib/typescript/commonjs/components/button/ghost-icon/GhostIconRef.d.ts +1 -1
  268. package/lib/typescript/commonjs/components/button/ghost-icon/index.d.ts +3 -3
  269. package/lib/typescript/commonjs/components/button/index.d.ts +11 -11
  270. package/lib/typescript/commonjs/components/button/primary/Primary.d.ts +2 -2
  271. package/lib/typescript/commonjs/components/button/primary/PrimaryProps.d.ts +2 -2
  272. package/lib/typescript/commonjs/components/button/primary/PrimaryRef.d.ts +1 -1
  273. package/lib/typescript/commonjs/components/button/primary/index.d.ts +3 -3
  274. package/lib/typescript/commonjs/components/button/primary-danger/PrimaryDanger.d.ts +2 -2
  275. package/lib/typescript/commonjs/components/button/primary-danger/PrimaryDangerProps.d.ts +2 -2
  276. package/lib/typescript/commonjs/components/button/primary-danger/PrimaryDangerRef.d.ts +1 -1
  277. package/lib/typescript/commonjs/components/button/primary-danger/index.d.ts +3 -3
  278. package/lib/typescript/commonjs/components/button/secondary/Secondary.d.ts +2 -2
  279. package/lib/typescript/commonjs/components/button/secondary/SecondaryProps.d.ts +2 -2
  280. package/lib/typescript/commonjs/components/button/secondary/SecondaryRef.d.ts +1 -1
  281. package/lib/typescript/commonjs/components/button/secondary/index.d.ts +3 -3
  282. package/lib/typescript/commonjs/components/button/tertiary/Tertiary.d.ts +2 -2
  283. package/lib/typescript/commonjs/components/button/tertiary/TertiaryProps.d.ts +2 -2
  284. package/lib/typescript/commonjs/components/button/tertiary/TertiaryRef.d.ts +1 -1
  285. package/lib/typescript/commonjs/components/button/tertiary/index.d.ts +3 -3
  286. package/lib/typescript/commonjs/components/button/tertiary-danger/TertiaryDanger.d.ts +2 -2
  287. package/lib/typescript/commonjs/components/button/tertiary-danger/TertiaryDangerProps.d.ts +2 -2
  288. package/lib/typescript/commonjs/components/button/tertiary-danger/TertiaryDangerRef.d.ts +1 -1
  289. package/lib/typescript/commonjs/components/button/tertiary-danger/index.d.ts +3 -3
  290. package/lib/typescript/commonjs/components/button-group/ButtonGroup.d.ts +2 -2
  291. package/lib/typescript/commonjs/components/button-group/ButtonGroupProps.d.ts +4 -4
  292. package/lib/typescript/commonjs/components/button-group/ButtonGroupRef.d.ts +1 -1
  293. package/lib/typescript/commonjs/components/button-group/index.d.ts +3 -3
  294. package/lib/typescript/commonjs/components/checkbox/Checkbox.d.ts +2 -2
  295. package/lib/typescript/commonjs/components/checkbox/CheckboxProps.d.ts +13 -13
  296. package/lib/typescript/commonjs/components/checkbox/CheckboxRef.d.ts +2 -2
  297. package/lib/typescript/commonjs/components/checkbox/_RefBase.d.ts +3 -3
  298. package/lib/typescript/commonjs/components/checkbox/index.d.ts +3 -3
  299. package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroup.d.ts +2 -2
  300. package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroupHelperTextMode.d.ts +1 -1
  301. package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroupProps.d.ts +5 -5
  302. package/lib/typescript/commonjs/components/checkbox-group/CheckboxGroupRef.d.ts +1 -1
  303. package/lib/typescript/commonjs/components/checkbox-group/index.d.ts +4 -4
  304. package/lib/typescript/commonjs/components/checkbox-input/CheckboxInput.d.ts +2 -2
  305. package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputInteractiveState.d.ts +1 -1
  306. package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputProps.d.ts +5 -5
  307. package/lib/typescript/commonjs/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
  308. package/lib/typescript/commonjs/components/checkbox-input/_RefBase.d.ts +1 -1
  309. package/lib/typescript/commonjs/components/checkbox-input/index.d.ts +5 -5
  310. package/lib/typescript/commonjs/components/collapsible/Collapsible.d.ts +2 -2
  311. package/lib/typescript/commonjs/components/collapsible/CollapsibleProps.d.ts +3 -3
  312. package/lib/typescript/commonjs/components/collapsible/CollapsibleRef.d.ts +2 -2
  313. package/lib/typescript/commonjs/components/collapsible/index.d.ts +3 -3
  314. package/lib/typescript/commonjs/components/form-helper-text/FormHelperText.d.ts +2 -2
  315. package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextProps.d.ts +4 -4
  316. package/lib/typescript/commonjs/components/form-helper-text/FormHelperTextRef.d.ts +1 -1
  317. package/lib/typescript/commonjs/components/form-helper-text/index.d.ts +3 -3
  318. package/lib/typescript/commonjs/components/form-label/FormLabel.d.ts +2 -2
  319. package/lib/typescript/commonjs/components/form-label/FormLabelProps.d.ts +4 -4
  320. package/lib/typescript/commonjs/components/form-label/FormLabelRef.d.ts +1 -1
  321. package/lib/typescript/commonjs/components/form-label/index.d.ts +3 -3
  322. package/lib/typescript/commonjs/components/icon/Icon.d.ts +2 -2
  323. package/lib/typescript/commonjs/components/icon/IconProps.d.ts +3 -3
  324. package/lib/typescript/commonjs/components/icon/index.d.ts +2 -2
  325. package/lib/typescript/commonjs/components/index.d.ts +28 -28
  326. package/lib/typescript/commonjs/components/inline-loading/InlineLoading.d.ts +2 -2
  327. package/lib/typescript/commonjs/components/inline-loading/InlineLoadingProps.d.ts +5 -5
  328. package/lib/typescript/commonjs/components/inline-loading/InlineLoadingRef.d.ts +1 -1
  329. package/lib/typescript/commonjs/components/inline-loading/InlineLoadingState.d.ts +1 -1
  330. package/lib/typescript/commonjs/components/inline-loading/index.d.ts +4 -4
  331. package/lib/typescript/commonjs/components/layer/Layer.d.ts +2 -2
  332. package/lib/typescript/commonjs/components/layer/LayerProps.d.ts +2 -2
  333. package/lib/typescript/commonjs/components/layer/LayerRef.d.ts +1 -1
  334. package/lib/typescript/commonjs/components/layer/index.d.ts +4 -4
  335. package/lib/typescript/commonjs/components/loading/Loading.d.ts +2 -2
  336. package/lib/typescript/commonjs/components/loading/LoadingProps.d.ts +2 -2
  337. package/lib/typescript/commonjs/components/loading/LoadingRef.d.ts +1 -1
  338. package/lib/typescript/commonjs/components/loading/LoadingType.d.ts +1 -1
  339. package/lib/typescript/commonjs/components/loading/_circular-progress/CircularProgress.d.ts +2 -2
  340. package/lib/typescript/commonjs/components/loading/_circular-progress/CircularProgressProps.d.ts +3 -3
  341. package/lib/typescript/commonjs/components/loading/_circular-progress/index.d.ts +2 -2
  342. package/lib/typescript/commonjs/components/loading/_map-circle-background-color.d.ts +3 -3
  343. package/lib/typescript/commonjs/components/loading/_map-circle-stroke-color.d.ts +2 -2
  344. package/lib/typescript/commonjs/components/loading/index.d.ts +4 -4
  345. package/lib/typescript/commonjs/components/modal/Modal.d.ts +2 -2
  346. package/lib/typescript/commonjs/components/modal/ModalProps.d.ts +4 -4
  347. package/lib/typescript/commonjs/components/modal/ModalRef.d.ts +1 -1
  348. package/lib/typescript/commonjs/components/modal/ModalSize.d.ts +1 -1
  349. package/lib/typescript/commonjs/components/modal/index.d.ts +4 -4
  350. package/lib/typescript/commonjs/components/modal-content/ModalContent.d.ts +2 -2
  351. package/lib/typescript/commonjs/components/modal-content/ModalContentProps.d.ts +1 -1
  352. package/lib/typescript/commonjs/components/modal-content/ModalContentRef.d.ts +1 -1
  353. package/lib/typescript/commonjs/components/modal-content/index.d.ts +3 -3
  354. package/lib/typescript/commonjs/components/notification/NotificationColor.d.ts +1 -1
  355. package/lib/typescript/commonjs/components/notification/_VariantContextProvider.d.ts +1 -1
  356. package/lib/typescript/commonjs/components/notification/_status-hooks/_base/UseBaseData.d.ts +6 -6
  357. package/lib/typescript/commonjs/components/notification/_status-hooks/_base/UseBaseProps.d.ts +2 -2
  358. package/lib/typescript/commonjs/components/notification/_status-hooks/_base/index.d.ts +3 -3
  359. package/lib/typescript/commonjs/components/notification/_status-hooks/_base/useBase.d.ts +2 -2
  360. package/lib/typescript/commonjs/components/notification/_status-hooks/error/UseErrorData.d.ts +3 -3
  361. package/lib/typescript/commonjs/components/notification/_status-hooks/error/UseErrorProps.d.ts +3 -3
  362. package/lib/typescript/commonjs/components/notification/_status-hooks/error/index.d.ts +3 -3
  363. package/lib/typescript/commonjs/components/notification/_status-hooks/error/useError.d.ts +2 -2
  364. package/lib/typescript/commonjs/components/notification/_status-hooks/index.d.ts +4 -4
  365. package/lib/typescript/commonjs/components/notification/_status-hooks/informational/UseInformationalData.d.ts +3 -3
  366. package/lib/typescript/commonjs/components/notification/_status-hooks/informational/UseInformationalProps.d.ts +3 -3
  367. package/lib/typescript/commonjs/components/notification/_status-hooks/informational/index.d.ts +3 -3
  368. package/lib/typescript/commonjs/components/notification/_status-hooks/informational/useInformational.d.ts +2 -2
  369. package/lib/typescript/commonjs/components/notification/_status-hooks/success/UseSuccessData.d.ts +3 -3
  370. package/lib/typescript/commonjs/components/notification/_status-hooks/success/UseSuccessProps.d.ts +3 -3
  371. package/lib/typescript/commonjs/components/notification/_status-hooks/success/index.d.ts +3 -3
  372. package/lib/typescript/commonjs/components/notification/_status-hooks/success/useSuccess.d.ts +2 -2
  373. package/lib/typescript/commonjs/components/notification/_status-hooks/warning/UseWarningData.d.ts +3 -3
  374. package/lib/typescript/commonjs/components/notification/_status-hooks/warning/UseWarningProps.d.ts +3 -3
  375. package/lib/typescript/commonjs/components/notification/_status-hooks/warning/index.d.ts +3 -3
  376. package/lib/typescript/commonjs/components/notification/_status-hooks/warning/useWarning.d.ts +2 -2
  377. package/lib/typescript/commonjs/components/notification/_variant-context.d.ts +1 -1
  378. package/lib/typescript/commonjs/components/notification/_variants/_ButtonGhost.d.ts +1 -1
  379. package/lib/typescript/commonjs/components/notification/_variants/_ButtonTertiary.d.ts +1 -1
  380. package/lib/typescript/commonjs/components/notification/_variants/actionable/ActionableVariant.d.ts +2 -2
  381. package/lib/typescript/commonjs/components/notification/_variants/actionable/ActionableVariantProps.d.ts +8 -8
  382. package/lib/typescript/commonjs/components/notification/_variants/actionable/ActionableVariantRef.d.ts +1 -1
  383. package/lib/typescript/commonjs/components/notification/_variants/actionable/index.d.ts +3 -3
  384. package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariant.d.ts +2 -2
  385. package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariantProps.d.ts +8 -8
  386. package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/ActionableInlineVariantRef.d.ts +1 -1
  387. package/lib/typescript/commonjs/components/notification/_variants/actionable-inline/index.d.ts +3 -3
  388. package/lib/typescript/commonjs/components/notification/_variants/callout/CalloutVariant.d.ts +2 -2
  389. package/lib/typescript/commonjs/components/notification/_variants/callout/CalloutVariantProps.d.ts +6 -6
  390. package/lib/typescript/commonjs/components/notification/_variants/callout/CalloutVariantRef.d.ts +1 -1
  391. package/lib/typescript/commonjs/components/notification/_variants/callout/index.d.ts +3 -3
  392. package/lib/typescript/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariant.d.ts +2 -2
  393. package/lib/typescript/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariantProps.d.ts +6 -6
  394. package/lib/typescript/commonjs/components/notification/_variants/callout-inline/CalloutInlineVariantRef.d.ts +1 -1
  395. package/lib/typescript/commonjs/components/notification/_variants/callout-inline/index.d.ts +3 -3
  396. package/lib/typescript/commonjs/components/notification/_variants/index.d.ts +5 -5
  397. package/lib/typescript/commonjs/components/notification/_variants/toast/ToastVariant.d.ts +2 -2
  398. package/lib/typescript/commonjs/components/notification/_variants/toast/ToastVariantProps.d.ts +6 -6
  399. package/lib/typescript/commonjs/components/notification/_variants/toast/ToastVariantRef.d.ts +1 -1
  400. package/lib/typescript/commonjs/components/notification/_variants/toast/index.d.ts +3 -3
  401. package/lib/typescript/commonjs/components/notification/actionable/error/Error.d.ts +2 -2
  402. package/lib/typescript/commonjs/components/notification/actionable/error/ErrorProps.d.ts +4 -4
  403. package/lib/typescript/commonjs/components/notification/actionable/error/ErrorRef.d.ts +1 -1
  404. package/lib/typescript/commonjs/components/notification/actionable/error/index.d.ts +3 -3
  405. package/lib/typescript/commonjs/components/notification/actionable/index.d.ts +4 -4
  406. package/lib/typescript/commonjs/components/notification/actionable/informational/Informational.d.ts +2 -2
  407. package/lib/typescript/commonjs/components/notification/actionable/informational/InformationalProps.d.ts +4 -4
  408. package/lib/typescript/commonjs/components/notification/actionable/informational/InformationalRef.d.ts +1 -1
  409. package/lib/typescript/commonjs/components/notification/actionable/informational/index.d.ts +3 -3
  410. package/lib/typescript/commonjs/components/notification/actionable/success/Success.d.ts +2 -2
  411. package/lib/typescript/commonjs/components/notification/actionable/success/SuccessProps.d.ts +4 -4
  412. package/lib/typescript/commonjs/components/notification/actionable/success/SuccessRef.d.ts +1 -1
  413. package/lib/typescript/commonjs/components/notification/actionable/success/index.d.ts +3 -3
  414. package/lib/typescript/commonjs/components/notification/actionable/warning/Warning.d.ts +2 -2
  415. package/lib/typescript/commonjs/components/notification/actionable/warning/WarningProps.d.ts +4 -4
  416. package/lib/typescript/commonjs/components/notification/actionable/warning/WarningRef.d.ts +1 -1
  417. package/lib/typescript/commonjs/components/notification/actionable/warning/index.d.ts +3 -3
  418. package/lib/typescript/commonjs/components/notification/actionable-inline/error/Error.d.ts +2 -2
  419. package/lib/typescript/commonjs/components/notification/actionable-inline/error/ErrorProps.d.ts +4 -4
  420. package/lib/typescript/commonjs/components/notification/actionable-inline/error/ErrorRef.d.ts +1 -1
  421. package/lib/typescript/commonjs/components/notification/actionable-inline/error/index.d.ts +3 -3
  422. package/lib/typescript/commonjs/components/notification/actionable-inline/index.d.ts +4 -4
  423. package/lib/typescript/commonjs/components/notification/actionable-inline/informational/Informational.d.ts +2 -2
  424. package/lib/typescript/commonjs/components/notification/actionable-inline/informational/InformationalProps.d.ts +4 -4
  425. package/lib/typescript/commonjs/components/notification/actionable-inline/informational/InformationalRef.d.ts +1 -1
  426. package/lib/typescript/commonjs/components/notification/actionable-inline/informational/index.d.ts +3 -3
  427. package/lib/typescript/commonjs/components/notification/actionable-inline/success/Success.d.ts +2 -2
  428. package/lib/typescript/commonjs/components/notification/actionable-inline/success/SuccessProps.d.ts +4 -4
  429. package/lib/typescript/commonjs/components/notification/actionable-inline/success/SuccessRef.d.ts +1 -1
  430. package/lib/typescript/commonjs/components/notification/actionable-inline/success/index.d.ts +3 -3
  431. package/lib/typescript/commonjs/components/notification/actionable-inline/warning/Warning.d.ts +2 -2
  432. package/lib/typescript/commonjs/components/notification/actionable-inline/warning/WarningProps.d.ts +4 -4
  433. package/lib/typescript/commonjs/components/notification/actionable-inline/warning/WarningRef.d.ts +1 -1
  434. package/lib/typescript/commonjs/components/notification/actionable-inline/warning/index.d.ts +3 -3
  435. package/lib/typescript/commonjs/components/notification/base/Base.d.ts +2 -2
  436. package/lib/typescript/commonjs/components/notification/base/BaseProps.d.ts +16 -16
  437. package/lib/typescript/commonjs/components/notification/base/BaseRef.d.ts +1 -1
  438. package/lib/typescript/commonjs/components/notification/base/index.d.ts +3 -3
  439. package/lib/typescript/commonjs/components/notification/callout/error/Error.d.ts +2 -2
  440. package/lib/typescript/commonjs/components/notification/callout/error/ErrorProps.d.ts +4 -4
  441. package/lib/typescript/commonjs/components/notification/callout/error/ErrorRef.d.ts +1 -1
  442. package/lib/typescript/commonjs/components/notification/callout/error/index.d.ts +3 -3
  443. package/lib/typescript/commonjs/components/notification/callout/index.d.ts +4 -4
  444. package/lib/typescript/commonjs/components/notification/callout/informational/Informational.d.ts +2 -2
  445. package/lib/typescript/commonjs/components/notification/callout/informational/InformationalProps.d.ts +4 -4
  446. package/lib/typescript/commonjs/components/notification/callout/informational/InformationalRef.d.ts +1 -1
  447. package/lib/typescript/commonjs/components/notification/callout/informational/index.d.ts +3 -3
  448. package/lib/typescript/commonjs/components/notification/callout/success/Success.d.ts +2 -2
  449. package/lib/typescript/commonjs/components/notification/callout/success/SuccessProps.d.ts +4 -4
  450. package/lib/typescript/commonjs/components/notification/callout/success/SuccessRef.d.ts +1 -1
  451. package/lib/typescript/commonjs/components/notification/callout/success/index.d.ts +3 -3
  452. package/lib/typescript/commonjs/components/notification/callout/warning/Warning.d.ts +2 -2
  453. package/lib/typescript/commonjs/components/notification/callout/warning/WarningProps.d.ts +4 -4
  454. package/lib/typescript/commonjs/components/notification/callout/warning/WarningRef.d.ts +1 -1
  455. package/lib/typescript/commonjs/components/notification/callout/warning/index.d.ts +3 -3
  456. package/lib/typescript/commonjs/components/notification/callout-inline/error/Error.d.ts +2 -2
  457. package/lib/typescript/commonjs/components/notification/callout-inline/error/ErrorProps.d.ts +4 -4
  458. package/lib/typescript/commonjs/components/notification/callout-inline/error/ErrorRef.d.ts +1 -1
  459. package/lib/typescript/commonjs/components/notification/callout-inline/error/index.d.ts +3 -3
  460. package/lib/typescript/commonjs/components/notification/callout-inline/index.d.ts +4 -4
  461. package/lib/typescript/commonjs/components/notification/callout-inline/informational/Informational.d.ts +2 -2
  462. package/lib/typescript/commonjs/components/notification/callout-inline/informational/InformationalProps.d.ts +4 -4
  463. package/lib/typescript/commonjs/components/notification/callout-inline/informational/InformationalRef.d.ts +1 -1
  464. package/lib/typescript/commonjs/components/notification/callout-inline/informational/index.d.ts +3 -3
  465. package/lib/typescript/commonjs/components/notification/callout-inline/success/Success.d.ts +2 -2
  466. package/lib/typescript/commonjs/components/notification/callout-inline/success/SuccessProps.d.ts +4 -4
  467. package/lib/typescript/commonjs/components/notification/callout-inline/success/SuccessRef.d.ts +1 -1
  468. package/lib/typescript/commonjs/components/notification/callout-inline/success/index.d.ts +3 -3
  469. package/lib/typescript/commonjs/components/notification/callout-inline/warning/Warning.d.ts +2 -2
  470. package/lib/typescript/commonjs/components/notification/callout-inline/warning/WarningProps.d.ts +4 -4
  471. package/lib/typescript/commonjs/components/notification/callout-inline/warning/WarningRef.d.ts +1 -1
  472. package/lib/typescript/commonjs/components/notification/callout-inline/warning/index.d.ts +3 -3
  473. package/lib/typescript/commonjs/components/notification/index.d.ts +9 -9
  474. package/lib/typescript/commonjs/components/notification/subtitle/Subtitle.d.ts +2 -2
  475. package/lib/typescript/commonjs/components/notification/subtitle/SubtitleProps.d.ts +2 -2
  476. package/lib/typescript/commonjs/components/notification/subtitle/SubtitleRef.d.ts +1 -1
  477. package/lib/typescript/commonjs/components/notification/subtitle/index.d.ts +3 -3
  478. package/lib/typescript/commonjs/components/notification/subtitle-link/SubtitleLink.d.ts +2 -2
  479. package/lib/typescript/commonjs/components/notification/subtitle-link/SubtitleLinkProps.d.ts +1 -1
  480. package/lib/typescript/commonjs/components/notification/subtitle-link/SubtitleLinkRef.d.ts +1 -1
  481. package/lib/typescript/commonjs/components/notification/subtitle-link/index.d.ts +3 -3
  482. package/lib/typescript/commonjs/components/notification/toast/error/Error.d.ts +2 -2
  483. package/lib/typescript/commonjs/components/notification/toast/error/ErrorProps.d.ts +4 -4
  484. package/lib/typescript/commonjs/components/notification/toast/error/ErrorRef.d.ts +1 -1
  485. package/lib/typescript/commonjs/components/notification/toast/error/index.d.ts +3 -3
  486. package/lib/typescript/commonjs/components/notification/toast/index.d.ts +4 -4
  487. package/lib/typescript/commonjs/components/notification/toast/informational/Informational.d.ts +2 -2
  488. package/lib/typescript/commonjs/components/notification/toast/informational/InformationalProps.d.ts +4 -4
  489. package/lib/typescript/commonjs/components/notification/toast/informational/InformationalRef.d.ts +1 -1
  490. package/lib/typescript/commonjs/components/notification/toast/informational/index.d.ts +3 -3
  491. package/lib/typescript/commonjs/components/notification/toast/success/Success.d.ts +2 -2
  492. package/lib/typescript/commonjs/components/notification/toast/success/SuccessProps.d.ts +4 -4
  493. package/lib/typescript/commonjs/components/notification/toast/success/SuccessRef.d.ts +1 -1
  494. package/lib/typescript/commonjs/components/notification/toast/success/index.d.ts +3 -3
  495. package/lib/typescript/commonjs/components/notification/toast/warning/Warning.d.ts +2 -2
  496. package/lib/typescript/commonjs/components/notification/toast/warning/WarningProps.d.ts +4 -4
  497. package/lib/typescript/commonjs/components/notification/toast/warning/WarningRef.d.ts +1 -1
  498. package/lib/typescript/commonjs/components/notification/toast/warning/index.d.ts +3 -3
  499. package/lib/typescript/commonjs/components/radio-button/RadioButton.d.ts +2 -2
  500. package/lib/typescript/commonjs/components/radio-button/RadioButtonProps.d.ts +12 -12
  501. package/lib/typescript/commonjs/components/radio-button/RadioButtonRef.d.ts +2 -2
  502. package/lib/typescript/commonjs/components/radio-button/_RefBase.d.ts +2 -2
  503. package/lib/typescript/commonjs/components/radio-button/index.d.ts +3 -3
  504. package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroup.d.ts +2 -2
  505. package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupHelperTextMode.d.ts +1 -1
  506. package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupItemProps.d.ts +2 -2
  507. package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupItemRef.d.ts +1 -1
  508. package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupProps.d.ts +9 -9
  509. package/lib/typescript/commonjs/components/radio-button-group/RadioButtonGroupRef.d.ts +2 -2
  510. package/lib/typescript/commonjs/components/radio-button-group/_Item.d.ts +2 -2
  511. package/lib/typescript/commonjs/components/radio-button-group/_RefBase.d.ts +3 -3
  512. package/lib/typescript/commonjs/components/radio-button-group/_item-context.d.ts +4 -4
  513. package/lib/typescript/commonjs/components/radio-button-group/index.d.ts +6 -6
  514. package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInput.d.ts +2 -2
  515. package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputInteractiveState.d.ts +1 -1
  516. package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputProps.d.ts +5 -5
  517. package/lib/typescript/commonjs/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
  518. package/lib/typescript/commonjs/components/radio-button-input/index.d.ts +4 -4
  519. package/lib/typescript/commonjs/components/switch/Switch.d.ts +2 -2
  520. package/lib/typescript/commonjs/components/switch/SwitchProps.d.ts +7 -7
  521. package/lib/typescript/commonjs/components/switch/SwitchRef.d.ts +2 -2
  522. package/lib/typescript/commonjs/components/switch/SwitchSize.d.ts +1 -1
  523. package/lib/typescript/commonjs/components/switch/SwitchState.d.ts +1 -1
  524. package/lib/typescript/commonjs/components/switch/index.d.ts +5 -5
  525. package/lib/typescript/commonjs/components/text/Text.d.ts +2 -2
  526. package/lib/typescript/commonjs/components/text/TextProps.d.ts +3 -3
  527. package/lib/typescript/commonjs/components/text/TextRef.d.ts +1 -1
  528. package/lib/typescript/commonjs/components/text/index.d.ts +3 -3
  529. package/lib/typescript/commonjs/components/text-area/TextArea.d.ts +2 -2
  530. package/lib/typescript/commonjs/components/text-area/TextAreaProps.d.ts +2 -2
  531. package/lib/typescript/commonjs/components/text-area/TextAreaRef.d.ts +2 -2
  532. package/lib/typescript/commonjs/components/text-area/_TextAreaRefBase.d.ts +1 -1
  533. package/lib/typescript/commonjs/components/text-area/index.d.ts +3 -3
  534. package/lib/typescript/commonjs/components/text-area-field/TextAreaField.d.ts +2 -2
  535. package/lib/typescript/commonjs/components/text-area-field/TextAreaFieldInteractiveState.d.ts +1 -1
  536. package/lib/typescript/commonjs/components/text-area-field/TextAreaFieldProps.d.ts +2 -2
  537. package/lib/typescript/commonjs/components/text-area-field/TextAreaFieldRef.d.ts +1 -1
  538. package/lib/typescript/commonjs/components/text-area-field/index.d.ts +4 -4
  539. package/lib/typescript/commonjs/components/text-area-fluid/TextAreaFluid.d.ts +2 -2
  540. package/lib/typescript/commonjs/components/text-area-fluid/TextAreaFluidProps.d.ts +2 -2
  541. package/lib/typescript/commonjs/components/text-area-fluid/TextAreaFluidRef.d.ts +1 -1
  542. package/lib/typescript/commonjs/components/text-area-fluid/index.d.ts +3 -3
  543. package/lib/typescript/commonjs/components/text-input/TextInput.d.ts +2 -2
  544. package/lib/typescript/commonjs/components/text-input/TextInputProps.d.ts +2 -2
  545. package/lib/typescript/commonjs/components/text-input/TextInputRef.d.ts +2 -2
  546. package/lib/typescript/commonjs/components/text-input/TextInputSize.d.ts +1 -1
  547. package/lib/typescript/commonjs/components/text-input/_TextInputRefBase.d.ts +1 -1
  548. package/lib/typescript/commonjs/components/text-input/index.d.ts +4 -4
  549. package/lib/typescript/commonjs/components/text-input-field/TextInputField.d.ts +2 -2
  550. package/lib/typescript/commonjs/components/text-input-field/TextInputFieldInteractiveState.d.ts +1 -1
  551. package/lib/typescript/commonjs/components/text-input-field/TextInputFieldProps.d.ts +6 -6
  552. package/lib/typescript/commonjs/components/text-input-field/TextInputFieldRef.d.ts +1 -1
  553. package/lib/typescript/commonjs/components/text-input-field/TextInputFieldSize.d.ts +1 -1
  554. package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/RNTextInput.d.ts +2 -2
  555. package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/RNTextInputProps.d.ts +2 -2
  556. package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/RNTextInputRef.d.ts +1 -1
  557. package/lib/typescript/commonjs/components/text-input-field/_rn-text-input/index.d.ts +3 -3
  558. package/lib/typescript/commonjs/components/text-input-field/index.d.ts +5 -5
  559. package/lib/typescript/commonjs/components/text-input-fluid/TextInputFluid.d.ts +2 -2
  560. package/lib/typescript/commonjs/components/text-input-fluid/TextInputFluidProps.d.ts +2 -2
  561. package/lib/typescript/commonjs/components/text-input-fluid/TextInputFluidRef.d.ts +1 -1
  562. package/lib/typescript/commonjs/components/text-input-fluid/index.d.ts +3 -3
  563. package/lib/typescript/commonjs/components/toggle/State.d.ts +1 -1
  564. package/lib/typescript/commonjs/components/toggle/base/Base.d.ts +2 -2
  565. package/lib/typescript/commonjs/components/toggle/base/BaseProps.d.ts +12 -12
  566. package/lib/typescript/commonjs/components/toggle/base/BaseRef.d.ts +2 -2
  567. package/lib/typescript/commonjs/components/toggle/base/_RefBase.d.ts +3 -3
  568. package/lib/typescript/commonjs/components/toggle/base/index.d.ts +3 -3
  569. package/lib/typescript/commonjs/components/toggle/default/Default.d.ts +2 -2
  570. package/lib/typescript/commonjs/components/toggle/default/DefaultProps.d.ts +3 -3
  571. package/lib/typescript/commonjs/components/toggle/default/DefaultRef.d.ts +1 -1
  572. package/lib/typescript/commonjs/components/toggle/default/index.d.ts +3 -3
  573. package/lib/typescript/commonjs/components/toggle/index.d.ts +4 -4
  574. package/lib/typescript/commonjs/components/toggle/small/Small.d.ts +2 -2
  575. package/lib/typescript/commonjs/components/toggle/small/SmallProps.d.ts +3 -3
  576. package/lib/typescript/commonjs/components/toggle/small/SmallRef.d.ts +1 -1
  577. package/lib/typescript/commonjs/components/toggle/small/index.d.ts +3 -3
  578. package/lib/typescript/commonjs/const/dialog-animation-configs/index.d.ts +3 -3
  579. package/lib/typescript/commonjs/const/index.d.ts +1 -1
  580. package/lib/typescript/commonjs/contexts/breakpoint/BreakpointContext.d.ts +1 -1
  581. package/lib/typescript/commonjs/contexts/breakpoint/index.d.ts +1 -1
  582. package/lib/typescript/commonjs/contexts/dialog/DialogContext.d.ts +1 -1
  583. package/lib/typescript/commonjs/contexts/dialog/DialogType.d.ts +1 -0
  584. package/lib/typescript/commonjs/contexts/dialog/DialogType.d.ts.map +1 -1
  585. package/lib/typescript/commonjs/contexts/dialog/index.d.ts +2 -2
  586. package/lib/typescript/commonjs/contexts/index.d.ts +4 -4
  587. package/lib/typescript/commonjs/contexts/theme/ThemeContext.d.ts +1 -1
  588. package/lib/typescript/commonjs/contexts/theme/index.d.ts +1 -1
  589. package/lib/typescript/commonjs/contexts/toast/ToastContext.d.ts +1 -1
  590. package/lib/typescript/commonjs/contexts/toast/index.d.ts +2 -2
  591. package/lib/typescript/commonjs/helpers/breakpoint/get-token.d.ts +1 -1
  592. package/lib/typescript/commonjs/helpers/breakpoint/index.d.ts +1 -1
  593. package/lib/typescript/commonjs/helpers/color/get-color-scheme.d.ts +2 -2
  594. package/lib/typescript/commonjs/helpers/color/get-color-token.d.ts +2 -2
  595. package/lib/typescript/commonjs/helpers/color/index.d.ts +3 -3
  596. package/lib/typescript/commonjs/helpers/index.d.ts +2 -2
  597. package/lib/typescript/commonjs/hooks/breakpoint/index.d.ts +1 -1
  598. package/lib/typescript/commonjs/hooks/breakpoint/use.d.ts +1 -1
  599. package/lib/typescript/commonjs/hooks/index.d.ts +2 -2
  600. package/lib/typescript/commonjs/index.d.ts +9 -9
  601. package/lib/typescript/commonjs/providers/dialog/DialogProvider.d.ts +2 -2
  602. package/lib/typescript/commonjs/providers/dialog/DialogProviderAnimationConfig.d.ts +1 -1
  603. package/lib/typescript/commonjs/providers/dialog/DialogProviderProps.d.ts +5 -5
  604. package/lib/typescript/commonjs/providers/dialog/DialogProviderRef.d.ts +1 -1
  605. package/lib/typescript/commonjs/providers/dialog/_controller/Controller.d.ts +2 -2
  606. package/lib/typescript/commonjs/providers/dialog/_controller/ControllerProps.d.ts +2 -2
  607. package/lib/typescript/commonjs/providers/dialog/_controller/ControllerRef.d.ts +1 -1
  608. package/lib/typescript/commonjs/providers/dialog/_controller/_modal/Modal.d.ts +2 -2
  609. package/lib/typescript/commonjs/providers/dialog/_controller/_modal/ModalProps.d.ts +2 -2
  610. package/lib/typescript/commonjs/providers/dialog/_controller/_modal/ModalRef.d.ts +1 -1
  611. package/lib/typescript/commonjs/providers/dialog/_controller/_modal/index.d.ts +3 -3
  612. package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/Overlay.d.ts +2 -2
  613. package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/OverlayProps.d.ts +1 -1
  614. package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/OverlayRef.d.ts +2 -2
  615. package/lib/typescript/commonjs/providers/dialog/_controller/_overlay/index.d.ts +3 -3
  616. package/lib/typescript/commonjs/providers/dialog/_controller/index.d.ts +3 -3
  617. package/lib/typescript/commonjs/providers/dialog/index.d.ts +4 -4
  618. package/lib/typescript/commonjs/providers/index.d.ts +2 -2
  619. package/lib/typescript/commonjs/providers/toast/ToastProvider.d.ts +2 -2
  620. package/lib/typescript/commonjs/providers/toast/ToastRef.d.ts +1 -1
  621. package/lib/typescript/commonjs/providers/toast/_overlay/Overlay.d.ts +1 -1
  622. package/lib/typescript/commonjs/providers/toast/_overlay/OverlayRef.d.ts +1 -1
  623. package/lib/typescript/commonjs/providers/toast/_overlay/_component-wrapper/ComponentWrapper.d.ts +2 -2
  624. package/lib/typescript/commonjs/providers/toast/_overlay/_component-wrapper/ComponentWrapperProps.d.ts +1 -1
  625. package/lib/typescript/commonjs/providers/toast/_overlay/_component-wrapper/index.d.ts +3 -3
  626. package/lib/typescript/commonjs/providers/toast/_overlay/index.d.ts +2 -2
  627. package/lib/typescript/commonjs/providers/toast/index.d.ts +3 -3
  628. package/lib/typescript/commonjs/types/index.d.ts +2 -2
  629. package/lib/typescript/commonjs/types/theme/ColorScheme.d.ts +1 -1
  630. package/lib/typescript/commonjs/types/theme/index.d.ts +1 -1
  631. package/lib/typescript/module/_internal/contexts/button-group/ButtonGroupContext.d.ts +4 -4
  632. package/lib/typescript/module/_internal/contexts/button-group/index.d.ts +1 -1
  633. package/lib/typescript/module/_internal/contexts/global-config/GlobalConfigContext.d.ts +1 -1
  634. package/lib/typescript/module/_internal/contexts/global-config/index.d.ts +1 -1
  635. package/lib/typescript/module/_internal/contexts/index.d.ts +3 -3
  636. package/lib/typescript/module/_internal/contexts/modal/ModalContext.d.ts +1 -1
  637. package/lib/typescript/module/_internal/contexts/modal/index.d.ts +1 -1
  638. package/lib/typescript/module/_internal/globals/breakpoint/index.d.ts +1 -1
  639. package/lib/typescript/module/_internal/globals/index.d.ts +2 -2
  640. package/lib/typescript/module/_internal/helpers/index.d.ts +1 -1
  641. package/lib/typescript/module/_internal/helpers/math/index.d.ts +1 -1
  642. package/lib/typescript/module/_internal/providers/breakpoint/BreakpointProvider.d.ts +1 -1
  643. package/lib/typescript/module/_internal/providers/breakpoint/index.d.ts +2 -2
  644. package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProvider.d.ts +1 -1
  645. package/lib/typescript/module/_internal/providers/global-config/GlobalConfigProviderProps.d.ts +1 -1
  646. package/lib/typescript/module/_internal/providers/global-config/index.d.ts +2 -2
  647. package/lib/typescript/module/_internal/providers/index.d.ts +3 -3
  648. package/lib/typescript/module/_internal/providers/theme/ThemeProvider.d.ts +1 -1
  649. package/lib/typescript/module/_internal/providers/theme/ThemeProviderProps.d.ts +2 -2
  650. package/lib/typescript/module/_internal/providers/theme/index.d.ts +2 -2
  651. package/lib/typescript/module/_internal/style-sheets/index.d.ts +3 -3
  652. package/lib/typescript/module/carbon-react-native/CarbonReactNative.d.ts +1 -1
  653. package/lib/typescript/module/carbon-react-native/CarbonReactNativeProps.d.ts +1 -1
  654. package/lib/typescript/module/carbon-react-native/index.d.ts +2 -2
  655. package/lib/typescript/module/carbon-style-sheet/color.d.ts +1 -1
  656. package/lib/typescript/module/carbon-style-sheet/create.d.ts +2 -2
  657. package/lib/typescript/module/carbon-style-sheet/index.d.ts +3 -3
  658. package/lib/typescript/module/components/accordion/Accordion.d.ts +2 -2
  659. package/lib/typescript/module/components/accordion/AccordionHeaderProps.d.ts +3 -3
  660. package/lib/typescript/module/components/accordion/AccordionItemProps.d.ts +4 -4
  661. package/lib/typescript/module/components/accordion/AccordionItemRef.d.ts +2 -2
  662. package/lib/typescript/module/components/accordion/AccordionProps.d.ts +3 -3
  663. package/lib/typescript/module/components/accordion/AccordionRef.d.ts +1 -1
  664. package/lib/typescript/module/components/accordion/AccordionSize.d.ts +1 -1
  665. package/lib/typescript/module/components/accordion/_Header.d.ts +1 -1
  666. package/lib/typescript/module/components/accordion/_HeaderBorder.d.ts +2 -2
  667. package/lib/typescript/module/components/accordion/_Item.d.ts +2 -2
  668. package/lib/typescript/module/components/accordion/_chevron/Chevron.d.ts +1 -1
  669. package/lib/typescript/module/components/accordion/_chevron/ChevronProps.d.ts +2 -2
  670. package/lib/typescript/module/components/accordion/_chevron/index.d.ts +2 -2
  671. package/lib/typescript/module/components/accordion/_context.d.ts +5 -5
  672. package/lib/typescript/module/components/accordion/_motion.d.ts +2 -2
  673. package/lib/typescript/module/components/accordion/index.d.ts +7 -7
  674. package/lib/typescript/module/components/button/Size.d.ts +1 -1
  675. package/lib/typescript/module/components/button/base/Base.d.ts +2 -2
  676. package/lib/typescript/module/components/button/base/BaseProps.d.ts +11 -11
  677. package/lib/typescript/module/components/button/base/BaseRef.d.ts +1 -1
  678. package/lib/typescript/module/components/button/base/index.d.ts +3 -3
  679. package/lib/typescript/module/components/button/base-color/BaseColor.d.ts +2 -2
  680. package/lib/typescript/module/components/button/base-color/BaseColorProps.d.ts +5 -5
  681. package/lib/typescript/module/components/button/base-color/BaseColorRef.d.ts +1 -1
  682. package/lib/typescript/module/components/button/base-color/BaseColorState.d.ts +1 -1
  683. package/lib/typescript/module/components/button/base-color/index.d.ts +4 -4
  684. package/lib/typescript/module/components/button/ghost/Ghost.d.ts +2 -2
  685. package/lib/typescript/module/components/button/ghost/GhostProps.d.ts +2 -2
  686. package/lib/typescript/module/components/button/ghost/GhostRef.d.ts +1 -1
  687. package/lib/typescript/module/components/button/ghost/index.d.ts +3 -3
  688. package/lib/typescript/module/components/button/ghost-danger/GhostDanger.d.ts +2 -2
  689. package/lib/typescript/module/components/button/ghost-danger/GhostDangerProps.d.ts +2 -2
  690. package/lib/typescript/module/components/button/ghost-danger/GhostDangerRef.d.ts +1 -1
  691. package/lib/typescript/module/components/button/ghost-danger/index.d.ts +3 -3
  692. package/lib/typescript/module/components/button/ghost-icon/GhostIcon.d.ts +2 -2
  693. package/lib/typescript/module/components/button/ghost-icon/GhostIconProps.d.ts +4 -4
  694. package/lib/typescript/module/components/button/ghost-icon/GhostIconRef.d.ts +1 -1
  695. package/lib/typescript/module/components/button/ghost-icon/index.d.ts +3 -3
  696. package/lib/typescript/module/components/button/index.d.ts +11 -11
  697. package/lib/typescript/module/components/button/primary/Primary.d.ts +2 -2
  698. package/lib/typescript/module/components/button/primary/PrimaryProps.d.ts +2 -2
  699. package/lib/typescript/module/components/button/primary/PrimaryRef.d.ts +1 -1
  700. package/lib/typescript/module/components/button/primary/index.d.ts +3 -3
  701. package/lib/typescript/module/components/button/primary-danger/PrimaryDanger.d.ts +2 -2
  702. package/lib/typescript/module/components/button/primary-danger/PrimaryDangerProps.d.ts +2 -2
  703. package/lib/typescript/module/components/button/primary-danger/PrimaryDangerRef.d.ts +1 -1
  704. package/lib/typescript/module/components/button/primary-danger/index.d.ts +3 -3
  705. package/lib/typescript/module/components/button/secondary/Secondary.d.ts +2 -2
  706. package/lib/typescript/module/components/button/secondary/SecondaryProps.d.ts +2 -2
  707. package/lib/typescript/module/components/button/secondary/SecondaryRef.d.ts +1 -1
  708. package/lib/typescript/module/components/button/secondary/index.d.ts +3 -3
  709. package/lib/typescript/module/components/button/tertiary/Tertiary.d.ts +2 -2
  710. package/lib/typescript/module/components/button/tertiary/TertiaryProps.d.ts +2 -2
  711. package/lib/typescript/module/components/button/tertiary/TertiaryRef.d.ts +1 -1
  712. package/lib/typescript/module/components/button/tertiary/index.d.ts +3 -3
  713. package/lib/typescript/module/components/button/tertiary-danger/TertiaryDanger.d.ts +2 -2
  714. package/lib/typescript/module/components/button/tertiary-danger/TertiaryDangerProps.d.ts +2 -2
  715. package/lib/typescript/module/components/button/tertiary-danger/TertiaryDangerRef.d.ts +1 -1
  716. package/lib/typescript/module/components/button/tertiary-danger/index.d.ts +3 -3
  717. package/lib/typescript/module/components/button-group/ButtonGroup.d.ts +2 -2
  718. package/lib/typescript/module/components/button-group/ButtonGroupProps.d.ts +4 -4
  719. package/lib/typescript/module/components/button-group/ButtonGroupRef.d.ts +1 -1
  720. package/lib/typescript/module/components/button-group/index.d.ts +3 -3
  721. package/lib/typescript/module/components/checkbox/Checkbox.d.ts +2 -2
  722. package/lib/typescript/module/components/checkbox/CheckboxProps.d.ts +13 -13
  723. package/lib/typescript/module/components/checkbox/CheckboxRef.d.ts +2 -2
  724. package/lib/typescript/module/components/checkbox/_RefBase.d.ts +3 -3
  725. package/lib/typescript/module/components/checkbox/index.d.ts +3 -3
  726. package/lib/typescript/module/components/checkbox-group/CheckboxGroup.d.ts +2 -2
  727. package/lib/typescript/module/components/checkbox-group/CheckboxGroupHelperTextMode.d.ts +1 -1
  728. package/lib/typescript/module/components/checkbox-group/CheckboxGroupProps.d.ts +5 -5
  729. package/lib/typescript/module/components/checkbox-group/CheckboxGroupRef.d.ts +1 -1
  730. package/lib/typescript/module/components/checkbox-group/index.d.ts +4 -4
  731. package/lib/typescript/module/components/checkbox-input/CheckboxInput.d.ts +2 -2
  732. package/lib/typescript/module/components/checkbox-input/CheckboxInputInteractiveState.d.ts +1 -1
  733. package/lib/typescript/module/components/checkbox-input/CheckboxInputProps.d.ts +5 -5
  734. package/lib/typescript/module/components/checkbox-input/CheckboxInputRef.d.ts +2 -2
  735. package/lib/typescript/module/components/checkbox-input/_RefBase.d.ts +1 -1
  736. package/lib/typescript/module/components/checkbox-input/index.d.ts +5 -5
  737. package/lib/typescript/module/components/collapsible/Collapsible.d.ts +2 -2
  738. package/lib/typescript/module/components/collapsible/CollapsibleProps.d.ts +3 -3
  739. package/lib/typescript/module/components/collapsible/CollapsibleRef.d.ts +2 -2
  740. package/lib/typescript/module/components/collapsible/index.d.ts +3 -3
  741. package/lib/typescript/module/components/form-helper-text/FormHelperText.d.ts +2 -2
  742. package/lib/typescript/module/components/form-helper-text/FormHelperTextProps.d.ts +4 -4
  743. package/lib/typescript/module/components/form-helper-text/FormHelperTextRef.d.ts +1 -1
  744. package/lib/typescript/module/components/form-helper-text/index.d.ts +3 -3
  745. package/lib/typescript/module/components/form-label/FormLabel.d.ts +2 -2
  746. package/lib/typescript/module/components/form-label/FormLabelProps.d.ts +4 -4
  747. package/lib/typescript/module/components/form-label/FormLabelRef.d.ts +1 -1
  748. package/lib/typescript/module/components/form-label/index.d.ts +3 -3
  749. package/lib/typescript/module/components/icon/Icon.d.ts +2 -2
  750. package/lib/typescript/module/components/icon/IconProps.d.ts +3 -3
  751. package/lib/typescript/module/components/icon/index.d.ts +2 -2
  752. package/lib/typescript/module/components/index.d.ts +28 -28
  753. package/lib/typescript/module/components/inline-loading/InlineLoading.d.ts +2 -2
  754. package/lib/typescript/module/components/inline-loading/InlineLoadingProps.d.ts +5 -5
  755. package/lib/typescript/module/components/inline-loading/InlineLoadingRef.d.ts +1 -1
  756. package/lib/typescript/module/components/inline-loading/InlineLoadingState.d.ts +1 -1
  757. package/lib/typescript/module/components/inline-loading/index.d.ts +4 -4
  758. package/lib/typescript/module/components/layer/Layer.d.ts +2 -2
  759. package/lib/typescript/module/components/layer/LayerProps.d.ts +2 -2
  760. package/lib/typescript/module/components/layer/LayerRef.d.ts +1 -1
  761. package/lib/typescript/module/components/layer/index.d.ts +4 -4
  762. package/lib/typescript/module/components/loading/Loading.d.ts +2 -2
  763. package/lib/typescript/module/components/loading/LoadingProps.d.ts +2 -2
  764. package/lib/typescript/module/components/loading/LoadingRef.d.ts +1 -1
  765. package/lib/typescript/module/components/loading/LoadingType.d.ts +1 -1
  766. package/lib/typescript/module/components/loading/_circular-progress/CircularProgress.d.ts +2 -2
  767. package/lib/typescript/module/components/loading/_circular-progress/CircularProgressProps.d.ts +3 -3
  768. package/lib/typescript/module/components/loading/_circular-progress/index.d.ts +2 -2
  769. package/lib/typescript/module/components/loading/_map-circle-background-color.d.ts +3 -3
  770. package/lib/typescript/module/components/loading/_map-circle-stroke-color.d.ts +2 -2
  771. package/lib/typescript/module/components/loading/index.d.ts +4 -4
  772. package/lib/typescript/module/components/modal/Modal.d.ts +2 -2
  773. package/lib/typescript/module/components/modal/ModalProps.d.ts +4 -4
  774. package/lib/typescript/module/components/modal/ModalRef.d.ts +1 -1
  775. package/lib/typescript/module/components/modal/ModalSize.d.ts +1 -1
  776. package/lib/typescript/module/components/modal/index.d.ts +4 -4
  777. package/lib/typescript/module/components/modal-content/ModalContent.d.ts +2 -2
  778. package/lib/typescript/module/components/modal-content/ModalContentProps.d.ts +1 -1
  779. package/lib/typescript/module/components/modal-content/ModalContentRef.d.ts +1 -1
  780. package/lib/typescript/module/components/modal-content/index.d.ts +3 -3
  781. package/lib/typescript/module/components/notification/NotificationColor.d.ts +1 -1
  782. package/lib/typescript/module/components/notification/_VariantContextProvider.d.ts +1 -1
  783. package/lib/typescript/module/components/notification/_status-hooks/_base/UseBaseData.d.ts +6 -6
  784. package/lib/typescript/module/components/notification/_status-hooks/_base/UseBaseProps.d.ts +2 -2
  785. package/lib/typescript/module/components/notification/_status-hooks/_base/index.d.ts +3 -3
  786. package/lib/typescript/module/components/notification/_status-hooks/_base/useBase.d.ts +2 -2
  787. package/lib/typescript/module/components/notification/_status-hooks/error/UseErrorData.d.ts +3 -3
  788. package/lib/typescript/module/components/notification/_status-hooks/error/UseErrorProps.d.ts +3 -3
  789. package/lib/typescript/module/components/notification/_status-hooks/error/index.d.ts +3 -3
  790. package/lib/typescript/module/components/notification/_status-hooks/error/useError.d.ts +2 -2
  791. package/lib/typescript/module/components/notification/_status-hooks/index.d.ts +4 -4
  792. package/lib/typescript/module/components/notification/_status-hooks/informational/UseInformationalData.d.ts +3 -3
  793. package/lib/typescript/module/components/notification/_status-hooks/informational/UseInformationalProps.d.ts +3 -3
  794. package/lib/typescript/module/components/notification/_status-hooks/informational/index.d.ts +3 -3
  795. package/lib/typescript/module/components/notification/_status-hooks/informational/useInformational.d.ts +2 -2
  796. package/lib/typescript/module/components/notification/_status-hooks/success/UseSuccessData.d.ts +3 -3
  797. package/lib/typescript/module/components/notification/_status-hooks/success/UseSuccessProps.d.ts +3 -3
  798. package/lib/typescript/module/components/notification/_status-hooks/success/index.d.ts +3 -3
  799. package/lib/typescript/module/components/notification/_status-hooks/success/useSuccess.d.ts +2 -2
  800. package/lib/typescript/module/components/notification/_status-hooks/warning/UseWarningData.d.ts +3 -3
  801. package/lib/typescript/module/components/notification/_status-hooks/warning/UseWarningProps.d.ts +3 -3
  802. package/lib/typescript/module/components/notification/_status-hooks/warning/index.d.ts +3 -3
  803. package/lib/typescript/module/components/notification/_status-hooks/warning/useWarning.d.ts +2 -2
  804. package/lib/typescript/module/components/notification/_variant-context.d.ts +1 -1
  805. package/lib/typescript/module/components/notification/_variants/_ButtonGhost.d.ts +1 -1
  806. package/lib/typescript/module/components/notification/_variants/_ButtonTertiary.d.ts +1 -1
  807. package/lib/typescript/module/components/notification/_variants/actionable/ActionableVariant.d.ts +2 -2
  808. package/lib/typescript/module/components/notification/_variants/actionable/ActionableVariantProps.d.ts +8 -8
  809. package/lib/typescript/module/components/notification/_variants/actionable/ActionableVariantRef.d.ts +1 -1
  810. package/lib/typescript/module/components/notification/_variants/actionable/index.d.ts +3 -3
  811. package/lib/typescript/module/components/notification/_variants/actionable-inline/ActionableInlineVariant.d.ts +2 -2
  812. package/lib/typescript/module/components/notification/_variants/actionable-inline/ActionableInlineVariantProps.d.ts +8 -8
  813. package/lib/typescript/module/components/notification/_variants/actionable-inline/ActionableInlineVariantRef.d.ts +1 -1
  814. package/lib/typescript/module/components/notification/_variants/actionable-inline/index.d.ts +3 -3
  815. package/lib/typescript/module/components/notification/_variants/callout/CalloutVariant.d.ts +2 -2
  816. package/lib/typescript/module/components/notification/_variants/callout/CalloutVariantProps.d.ts +6 -6
  817. package/lib/typescript/module/components/notification/_variants/callout/CalloutVariantRef.d.ts +1 -1
  818. package/lib/typescript/module/components/notification/_variants/callout/index.d.ts +3 -3
  819. package/lib/typescript/module/components/notification/_variants/callout-inline/CalloutInlineVariant.d.ts +2 -2
  820. package/lib/typescript/module/components/notification/_variants/callout-inline/CalloutInlineVariantProps.d.ts +6 -6
  821. package/lib/typescript/module/components/notification/_variants/callout-inline/CalloutInlineVariantRef.d.ts +1 -1
  822. package/lib/typescript/module/components/notification/_variants/callout-inline/index.d.ts +3 -3
  823. package/lib/typescript/module/components/notification/_variants/index.d.ts +5 -5
  824. package/lib/typescript/module/components/notification/_variants/toast/ToastVariant.d.ts +2 -2
  825. package/lib/typescript/module/components/notification/_variants/toast/ToastVariantProps.d.ts +6 -6
  826. package/lib/typescript/module/components/notification/_variants/toast/ToastVariantRef.d.ts +1 -1
  827. package/lib/typescript/module/components/notification/_variants/toast/index.d.ts +3 -3
  828. package/lib/typescript/module/components/notification/actionable/error/Error.d.ts +2 -2
  829. package/lib/typescript/module/components/notification/actionable/error/ErrorProps.d.ts +4 -4
  830. package/lib/typescript/module/components/notification/actionable/error/ErrorRef.d.ts +1 -1
  831. package/lib/typescript/module/components/notification/actionable/error/index.d.ts +3 -3
  832. package/lib/typescript/module/components/notification/actionable/index.d.ts +4 -4
  833. package/lib/typescript/module/components/notification/actionable/informational/Informational.d.ts +2 -2
  834. package/lib/typescript/module/components/notification/actionable/informational/InformationalProps.d.ts +4 -4
  835. package/lib/typescript/module/components/notification/actionable/informational/InformationalRef.d.ts +1 -1
  836. package/lib/typescript/module/components/notification/actionable/informational/index.d.ts +3 -3
  837. package/lib/typescript/module/components/notification/actionable/success/Success.d.ts +2 -2
  838. package/lib/typescript/module/components/notification/actionable/success/SuccessProps.d.ts +4 -4
  839. package/lib/typescript/module/components/notification/actionable/success/SuccessRef.d.ts +1 -1
  840. package/lib/typescript/module/components/notification/actionable/success/index.d.ts +3 -3
  841. package/lib/typescript/module/components/notification/actionable/warning/Warning.d.ts +2 -2
  842. package/lib/typescript/module/components/notification/actionable/warning/WarningProps.d.ts +4 -4
  843. package/lib/typescript/module/components/notification/actionable/warning/WarningRef.d.ts +1 -1
  844. package/lib/typescript/module/components/notification/actionable/warning/index.d.ts +3 -3
  845. package/lib/typescript/module/components/notification/actionable-inline/error/Error.d.ts +2 -2
  846. package/lib/typescript/module/components/notification/actionable-inline/error/ErrorProps.d.ts +4 -4
  847. package/lib/typescript/module/components/notification/actionable-inline/error/ErrorRef.d.ts +1 -1
  848. package/lib/typescript/module/components/notification/actionable-inline/error/index.d.ts +3 -3
  849. package/lib/typescript/module/components/notification/actionable-inline/index.d.ts +4 -4
  850. package/lib/typescript/module/components/notification/actionable-inline/informational/Informational.d.ts +2 -2
  851. package/lib/typescript/module/components/notification/actionable-inline/informational/InformationalProps.d.ts +4 -4
  852. package/lib/typescript/module/components/notification/actionable-inline/informational/InformationalRef.d.ts +1 -1
  853. package/lib/typescript/module/components/notification/actionable-inline/informational/index.d.ts +3 -3
  854. package/lib/typescript/module/components/notification/actionable-inline/success/Success.d.ts +2 -2
  855. package/lib/typescript/module/components/notification/actionable-inline/success/SuccessProps.d.ts +4 -4
  856. package/lib/typescript/module/components/notification/actionable-inline/success/SuccessRef.d.ts +1 -1
  857. package/lib/typescript/module/components/notification/actionable-inline/success/index.d.ts +3 -3
  858. package/lib/typescript/module/components/notification/actionable-inline/warning/Warning.d.ts +2 -2
  859. package/lib/typescript/module/components/notification/actionable-inline/warning/WarningProps.d.ts +4 -4
  860. package/lib/typescript/module/components/notification/actionable-inline/warning/WarningRef.d.ts +1 -1
  861. package/lib/typescript/module/components/notification/actionable-inline/warning/index.d.ts +3 -3
  862. package/lib/typescript/module/components/notification/base/Base.d.ts +2 -2
  863. package/lib/typescript/module/components/notification/base/BaseProps.d.ts +16 -16
  864. package/lib/typescript/module/components/notification/base/BaseRef.d.ts +1 -1
  865. package/lib/typescript/module/components/notification/base/index.d.ts +3 -3
  866. package/lib/typescript/module/components/notification/callout/error/Error.d.ts +2 -2
  867. package/lib/typescript/module/components/notification/callout/error/ErrorProps.d.ts +4 -4
  868. package/lib/typescript/module/components/notification/callout/error/ErrorRef.d.ts +1 -1
  869. package/lib/typescript/module/components/notification/callout/error/index.d.ts +3 -3
  870. package/lib/typescript/module/components/notification/callout/index.d.ts +4 -4
  871. package/lib/typescript/module/components/notification/callout/informational/Informational.d.ts +2 -2
  872. package/lib/typescript/module/components/notification/callout/informational/InformationalProps.d.ts +4 -4
  873. package/lib/typescript/module/components/notification/callout/informational/InformationalRef.d.ts +1 -1
  874. package/lib/typescript/module/components/notification/callout/informational/index.d.ts +3 -3
  875. package/lib/typescript/module/components/notification/callout/success/Success.d.ts +2 -2
  876. package/lib/typescript/module/components/notification/callout/success/SuccessProps.d.ts +4 -4
  877. package/lib/typescript/module/components/notification/callout/success/SuccessRef.d.ts +1 -1
  878. package/lib/typescript/module/components/notification/callout/success/index.d.ts +3 -3
  879. package/lib/typescript/module/components/notification/callout/warning/Warning.d.ts +2 -2
  880. package/lib/typescript/module/components/notification/callout/warning/WarningProps.d.ts +4 -4
  881. package/lib/typescript/module/components/notification/callout/warning/WarningRef.d.ts +1 -1
  882. package/lib/typescript/module/components/notification/callout/warning/index.d.ts +3 -3
  883. package/lib/typescript/module/components/notification/callout-inline/error/Error.d.ts +2 -2
  884. package/lib/typescript/module/components/notification/callout-inline/error/ErrorProps.d.ts +4 -4
  885. package/lib/typescript/module/components/notification/callout-inline/error/ErrorRef.d.ts +1 -1
  886. package/lib/typescript/module/components/notification/callout-inline/error/index.d.ts +3 -3
  887. package/lib/typescript/module/components/notification/callout-inline/index.d.ts +4 -4
  888. package/lib/typescript/module/components/notification/callout-inline/informational/Informational.d.ts +2 -2
  889. package/lib/typescript/module/components/notification/callout-inline/informational/InformationalProps.d.ts +4 -4
  890. package/lib/typescript/module/components/notification/callout-inline/informational/InformationalRef.d.ts +1 -1
  891. package/lib/typescript/module/components/notification/callout-inline/informational/index.d.ts +3 -3
  892. package/lib/typescript/module/components/notification/callout-inline/success/Success.d.ts +2 -2
  893. package/lib/typescript/module/components/notification/callout-inline/success/SuccessProps.d.ts +4 -4
  894. package/lib/typescript/module/components/notification/callout-inline/success/SuccessRef.d.ts +1 -1
  895. package/lib/typescript/module/components/notification/callout-inline/success/index.d.ts +3 -3
  896. package/lib/typescript/module/components/notification/callout-inline/warning/Warning.d.ts +2 -2
  897. package/lib/typescript/module/components/notification/callout-inline/warning/WarningProps.d.ts +4 -4
  898. package/lib/typescript/module/components/notification/callout-inline/warning/WarningRef.d.ts +1 -1
  899. package/lib/typescript/module/components/notification/callout-inline/warning/index.d.ts +3 -3
  900. package/lib/typescript/module/components/notification/index.d.ts +9 -9
  901. package/lib/typescript/module/components/notification/subtitle/Subtitle.d.ts +2 -2
  902. package/lib/typescript/module/components/notification/subtitle/SubtitleProps.d.ts +2 -2
  903. package/lib/typescript/module/components/notification/subtitle/SubtitleRef.d.ts +1 -1
  904. package/lib/typescript/module/components/notification/subtitle/index.d.ts +3 -3
  905. package/lib/typescript/module/components/notification/subtitle-link/SubtitleLink.d.ts +2 -2
  906. package/lib/typescript/module/components/notification/subtitle-link/SubtitleLinkProps.d.ts +1 -1
  907. package/lib/typescript/module/components/notification/subtitle-link/SubtitleLinkRef.d.ts +1 -1
  908. package/lib/typescript/module/components/notification/subtitle-link/index.d.ts +3 -3
  909. package/lib/typescript/module/components/notification/toast/error/Error.d.ts +2 -2
  910. package/lib/typescript/module/components/notification/toast/error/ErrorProps.d.ts +4 -4
  911. package/lib/typescript/module/components/notification/toast/error/ErrorRef.d.ts +1 -1
  912. package/lib/typescript/module/components/notification/toast/error/index.d.ts +3 -3
  913. package/lib/typescript/module/components/notification/toast/index.d.ts +4 -4
  914. package/lib/typescript/module/components/notification/toast/informational/Informational.d.ts +2 -2
  915. package/lib/typescript/module/components/notification/toast/informational/InformationalProps.d.ts +4 -4
  916. package/lib/typescript/module/components/notification/toast/informational/InformationalRef.d.ts +1 -1
  917. package/lib/typescript/module/components/notification/toast/informational/index.d.ts +3 -3
  918. package/lib/typescript/module/components/notification/toast/success/Success.d.ts +2 -2
  919. package/lib/typescript/module/components/notification/toast/success/SuccessProps.d.ts +4 -4
  920. package/lib/typescript/module/components/notification/toast/success/SuccessRef.d.ts +1 -1
  921. package/lib/typescript/module/components/notification/toast/success/index.d.ts +3 -3
  922. package/lib/typescript/module/components/notification/toast/warning/Warning.d.ts +2 -2
  923. package/lib/typescript/module/components/notification/toast/warning/WarningProps.d.ts +4 -4
  924. package/lib/typescript/module/components/notification/toast/warning/WarningRef.d.ts +1 -1
  925. package/lib/typescript/module/components/notification/toast/warning/index.d.ts +3 -3
  926. package/lib/typescript/module/components/radio-button/RadioButton.d.ts +2 -2
  927. package/lib/typescript/module/components/radio-button/RadioButtonProps.d.ts +12 -12
  928. package/lib/typescript/module/components/radio-button/RadioButtonRef.d.ts +2 -2
  929. package/lib/typescript/module/components/radio-button/_RefBase.d.ts +2 -2
  930. package/lib/typescript/module/components/radio-button/index.d.ts +3 -3
  931. package/lib/typescript/module/components/radio-button-group/RadioButtonGroup.d.ts +2 -2
  932. package/lib/typescript/module/components/radio-button-group/RadioButtonGroupHelperTextMode.d.ts +1 -1
  933. package/lib/typescript/module/components/radio-button-group/RadioButtonGroupItemProps.d.ts +2 -2
  934. package/lib/typescript/module/components/radio-button-group/RadioButtonGroupItemRef.d.ts +1 -1
  935. package/lib/typescript/module/components/radio-button-group/RadioButtonGroupProps.d.ts +9 -9
  936. package/lib/typescript/module/components/radio-button-group/RadioButtonGroupRef.d.ts +2 -2
  937. package/lib/typescript/module/components/radio-button-group/_Item.d.ts +2 -2
  938. package/lib/typescript/module/components/radio-button-group/_RefBase.d.ts +3 -3
  939. package/lib/typescript/module/components/radio-button-group/_item-context.d.ts +4 -4
  940. package/lib/typescript/module/components/radio-button-group/index.d.ts +6 -6
  941. package/lib/typescript/module/components/radio-button-input/RadioButtonInput.d.ts +2 -2
  942. package/lib/typescript/module/components/radio-button-input/RadioButtonInputInteractiveState.d.ts +1 -1
  943. package/lib/typescript/module/components/radio-button-input/RadioButtonInputProps.d.ts +5 -5
  944. package/lib/typescript/module/components/radio-button-input/RadioButtonInputRef.d.ts +2 -2
  945. package/lib/typescript/module/components/radio-button-input/index.d.ts +4 -4
  946. package/lib/typescript/module/components/switch/Switch.d.ts +2 -2
  947. package/lib/typescript/module/components/switch/SwitchProps.d.ts +7 -7
  948. package/lib/typescript/module/components/switch/SwitchRef.d.ts +2 -2
  949. package/lib/typescript/module/components/switch/SwitchSize.d.ts +1 -1
  950. package/lib/typescript/module/components/switch/SwitchState.d.ts +1 -1
  951. package/lib/typescript/module/components/switch/index.d.ts +5 -5
  952. package/lib/typescript/module/components/text/Text.d.ts +2 -2
  953. package/lib/typescript/module/components/text/TextProps.d.ts +3 -3
  954. package/lib/typescript/module/components/text/TextRef.d.ts +1 -1
  955. package/lib/typescript/module/components/text/index.d.ts +3 -3
  956. package/lib/typescript/module/components/text-area/TextArea.d.ts +2 -2
  957. package/lib/typescript/module/components/text-area/TextAreaProps.d.ts +2 -2
  958. package/lib/typescript/module/components/text-area/TextAreaRef.d.ts +2 -2
  959. package/lib/typescript/module/components/text-area/_TextAreaRefBase.d.ts +1 -1
  960. package/lib/typescript/module/components/text-area/index.d.ts +3 -3
  961. package/lib/typescript/module/components/text-area-field/TextAreaField.d.ts +2 -2
  962. package/lib/typescript/module/components/text-area-field/TextAreaFieldInteractiveState.d.ts +1 -1
  963. package/lib/typescript/module/components/text-area-field/TextAreaFieldProps.d.ts +2 -2
  964. package/lib/typescript/module/components/text-area-field/TextAreaFieldRef.d.ts +1 -1
  965. package/lib/typescript/module/components/text-area-field/index.d.ts +4 -4
  966. package/lib/typescript/module/components/text-area-fluid/TextAreaFluid.d.ts +2 -2
  967. package/lib/typescript/module/components/text-area-fluid/TextAreaFluidProps.d.ts +2 -2
  968. package/lib/typescript/module/components/text-area-fluid/TextAreaFluidRef.d.ts +1 -1
  969. package/lib/typescript/module/components/text-area-fluid/index.d.ts +3 -3
  970. package/lib/typescript/module/components/text-input/TextInput.d.ts +2 -2
  971. package/lib/typescript/module/components/text-input/TextInputProps.d.ts +2 -2
  972. package/lib/typescript/module/components/text-input/TextInputRef.d.ts +2 -2
  973. package/lib/typescript/module/components/text-input/TextInputSize.d.ts +1 -1
  974. package/lib/typescript/module/components/text-input/_TextInputRefBase.d.ts +1 -1
  975. package/lib/typescript/module/components/text-input/index.d.ts +4 -4
  976. package/lib/typescript/module/components/text-input-field/TextInputField.d.ts +2 -2
  977. package/lib/typescript/module/components/text-input-field/TextInputFieldInteractiveState.d.ts +1 -1
  978. package/lib/typescript/module/components/text-input-field/TextInputFieldProps.d.ts +6 -6
  979. package/lib/typescript/module/components/text-input-field/TextInputFieldRef.d.ts +1 -1
  980. package/lib/typescript/module/components/text-input-field/TextInputFieldSize.d.ts +1 -1
  981. package/lib/typescript/module/components/text-input-field/_rn-text-input/RNTextInput.d.ts +2 -2
  982. package/lib/typescript/module/components/text-input-field/_rn-text-input/RNTextInputProps.d.ts +2 -2
  983. package/lib/typescript/module/components/text-input-field/_rn-text-input/RNTextInputRef.d.ts +1 -1
  984. package/lib/typescript/module/components/text-input-field/_rn-text-input/index.d.ts +3 -3
  985. package/lib/typescript/module/components/text-input-field/index.d.ts +5 -5
  986. package/lib/typescript/module/components/text-input-fluid/TextInputFluid.d.ts +2 -2
  987. package/lib/typescript/module/components/text-input-fluid/TextInputFluidProps.d.ts +2 -2
  988. package/lib/typescript/module/components/text-input-fluid/TextInputFluidRef.d.ts +1 -1
  989. package/lib/typescript/module/components/text-input-fluid/index.d.ts +3 -3
  990. package/lib/typescript/module/components/toggle/State.d.ts +1 -1
  991. package/lib/typescript/module/components/toggle/base/Base.d.ts +2 -2
  992. package/lib/typescript/module/components/toggle/base/BaseProps.d.ts +12 -12
  993. package/lib/typescript/module/components/toggle/base/BaseRef.d.ts +2 -2
  994. package/lib/typescript/module/components/toggle/base/_RefBase.d.ts +3 -3
  995. package/lib/typescript/module/components/toggle/base/index.d.ts +3 -3
  996. package/lib/typescript/module/components/toggle/default/Default.d.ts +2 -2
  997. package/lib/typescript/module/components/toggle/default/DefaultProps.d.ts +3 -3
  998. package/lib/typescript/module/components/toggle/default/DefaultRef.d.ts +1 -1
  999. package/lib/typescript/module/components/toggle/default/index.d.ts +3 -3
  1000. package/lib/typescript/module/components/toggle/index.d.ts +4 -4
  1001. package/lib/typescript/module/components/toggle/small/Small.d.ts +2 -2
  1002. package/lib/typescript/module/components/toggle/small/SmallProps.d.ts +3 -3
  1003. package/lib/typescript/module/components/toggle/small/SmallRef.d.ts +1 -1
  1004. package/lib/typescript/module/components/toggle/small/index.d.ts +3 -3
  1005. package/lib/typescript/module/const/dialog-animation-configs/index.d.ts +3 -3
  1006. package/lib/typescript/module/const/index.d.ts +1 -1
  1007. package/lib/typescript/module/contexts/breakpoint/BreakpointContext.d.ts +1 -1
  1008. package/lib/typescript/module/contexts/breakpoint/index.d.ts +1 -1
  1009. package/lib/typescript/module/contexts/dialog/DialogContext.d.ts +1 -1
  1010. package/lib/typescript/module/contexts/dialog/DialogType.d.ts +1 -0
  1011. package/lib/typescript/module/contexts/dialog/DialogType.d.ts.map +1 -1
  1012. package/lib/typescript/module/contexts/dialog/index.d.ts +2 -2
  1013. package/lib/typescript/module/contexts/index.d.ts +4 -4
  1014. package/lib/typescript/module/contexts/theme/ThemeContext.d.ts +1 -1
  1015. package/lib/typescript/module/contexts/theme/index.d.ts +1 -1
  1016. package/lib/typescript/module/contexts/toast/ToastContext.d.ts +1 -1
  1017. package/lib/typescript/module/contexts/toast/index.d.ts +2 -2
  1018. package/lib/typescript/module/helpers/breakpoint/get-token.d.ts +1 -1
  1019. package/lib/typescript/module/helpers/breakpoint/index.d.ts +1 -1
  1020. package/lib/typescript/module/helpers/color/get-color-scheme.d.ts +2 -2
  1021. package/lib/typescript/module/helpers/color/get-color-token.d.ts +2 -2
  1022. package/lib/typescript/module/helpers/color/index.d.ts +3 -3
  1023. package/lib/typescript/module/helpers/index.d.ts +2 -2
  1024. package/lib/typescript/module/hooks/breakpoint/index.d.ts +1 -1
  1025. package/lib/typescript/module/hooks/breakpoint/use.d.ts +1 -1
  1026. package/lib/typescript/module/hooks/index.d.ts +2 -2
  1027. package/lib/typescript/module/index.d.ts +9 -9
  1028. package/lib/typescript/module/providers/dialog/DialogProvider.d.ts +2 -2
  1029. package/lib/typescript/module/providers/dialog/DialogProviderAnimationConfig.d.ts +1 -1
  1030. package/lib/typescript/module/providers/dialog/DialogProviderProps.d.ts +5 -5
  1031. package/lib/typescript/module/providers/dialog/DialogProviderRef.d.ts +1 -1
  1032. package/lib/typescript/module/providers/dialog/_controller/Controller.d.ts +2 -2
  1033. package/lib/typescript/module/providers/dialog/_controller/ControllerProps.d.ts +2 -2
  1034. package/lib/typescript/module/providers/dialog/_controller/ControllerRef.d.ts +1 -1
  1035. package/lib/typescript/module/providers/dialog/_controller/_modal/Modal.d.ts +2 -2
  1036. package/lib/typescript/module/providers/dialog/_controller/_modal/ModalProps.d.ts +2 -2
  1037. package/lib/typescript/module/providers/dialog/_controller/_modal/ModalRef.d.ts +1 -1
  1038. package/lib/typescript/module/providers/dialog/_controller/_modal/index.d.ts +3 -3
  1039. package/lib/typescript/module/providers/dialog/_controller/_overlay/Overlay.d.ts +2 -2
  1040. package/lib/typescript/module/providers/dialog/_controller/_overlay/OverlayProps.d.ts +1 -1
  1041. package/lib/typescript/module/providers/dialog/_controller/_overlay/OverlayRef.d.ts +2 -2
  1042. package/lib/typescript/module/providers/dialog/_controller/_overlay/index.d.ts +3 -3
  1043. package/lib/typescript/module/providers/dialog/_controller/index.d.ts +3 -3
  1044. package/lib/typescript/module/providers/dialog/index.d.ts +4 -4
  1045. package/lib/typescript/module/providers/index.d.ts +2 -2
  1046. package/lib/typescript/module/providers/toast/ToastProvider.d.ts +2 -2
  1047. package/lib/typescript/module/providers/toast/ToastRef.d.ts +1 -1
  1048. package/lib/typescript/module/providers/toast/_overlay/Overlay.d.ts +1 -1
  1049. package/lib/typescript/module/providers/toast/_overlay/OverlayRef.d.ts +1 -1
  1050. package/lib/typescript/module/providers/toast/_overlay/_component-wrapper/ComponentWrapper.d.ts +2 -2
  1051. package/lib/typescript/module/providers/toast/_overlay/_component-wrapper/ComponentWrapperProps.d.ts +1 -1
  1052. package/lib/typescript/module/providers/toast/_overlay/_component-wrapper/index.d.ts +3 -3
  1053. package/lib/typescript/module/providers/toast/_overlay/index.d.ts +2 -2
  1054. package/lib/typescript/module/providers/toast/index.d.ts +3 -3
  1055. package/lib/typescript/module/types/index.d.ts +2 -2
  1056. package/lib/typescript/module/types/theme/ColorScheme.d.ts +1 -1
  1057. package/lib/typescript/module/types/theme/index.d.ts +1 -1
  1058. package/lib/typescript/tsconfig.tsbuildinfo +1 -0
  1059. package/package.json +1 -1
@@ -14,8 +14,8 @@ const RadioButtonInput = exports.RadioButtonInput = /*#__PURE__*/(0, _react.forw
14
14
  defaultChecked,
15
15
  checked: checkedProp,
16
16
  value,
17
- interactiveState = 'normal',
18
- role = 'radio',
17
+ interactiveState = "normal",
18
+ role = "radio",
19
19
  onChange,
20
20
  onBlur,
21
21
  onFocus,
@@ -31,7 +31,7 @@ const RadioButtonInput = exports.RadioButtonInput = /*#__PURE__*/(0, _react.forw
31
31
  }),
32
32
  [isFocused, setIsFocused] = (0, _react.useState)(false),
33
33
  [checkedSelf, setCheckedSelf] = (0, _react.useState)(ref.current.checked),
34
- controlled = typeof checkedProp === 'boolean',
34
+ controlled = typeof checkedProp === "boolean",
35
35
  checked = controlled ? !!checkedProp : checkedSelf,
36
36
  blurHandler = (0, _react.useCallback)(event => {
37
37
  onBlur?.(event);
@@ -51,9 +51,9 @@ const RadioButtonInput = exports.RadioButtonInput = /*#__PURE__*/(0, _react.forw
51
51
  }
52
52
  }, [controlled, onPress, onChange, value]);
53
53
  (0, _react.useEffect)(() => {
54
+ ref.current.checked = checked;
54
55
  if (ref.current.onChangeEffect) {
55
56
  ref.current.onChangeEffect = false;
56
- ref.current.checked = checked;
57
57
  onChange?.(ref.current.checked, value);
58
58
  }
59
59
  }, [checked, value, onChange]);
@@ -65,7 +65,7 @@ const RadioButtonInput = exports.RadioButtonInput = /*#__PURE__*/(0, _react.forw
65
65
  setChecked(checked_) {
66
66
  if (!controlled) {
67
67
  ref.current.onChangeEffect = true;
68
- if (typeof checked_ === 'boolean') {
68
+ if (typeof checked_ === "boolean") {
69
69
  ref.current.checked = checked_;
70
70
  } else {
71
71
  ref.current.checked = checked_(ref.current.checked);
@@ -78,7 +78,7 @@ const RadioButtonInput = exports.RadioButtonInput = /*#__PURE__*/(0, _react.forw
78
78
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Pressable, {
79
79
  ...props,
80
80
  role: role,
81
- disabled: interactiveState === 'disabled',
81
+ disabled: interactiveState === "disabled",
82
82
  onBlur: blurHandler,
83
83
  onFocus: focusHandler,
84
84
  onPress: pressHandler,
@@ -104,13 +104,13 @@ const size = 18,
104
104
  height: size + 6,
105
105
  borderRadius: size + 3,
106
106
  borderWidth: 2,
107
- borderColor: 'transparent'
107
+ borderColor: "transparent"
108
108
  },
109
109
  marker: {
110
110
  width: size / 2,
111
111
  height: size / 2,
112
112
  borderRadius: size,
113
- overflow: 'hidden'
113
+ overflow: "hidden"
114
114
  }
115
115
  }),
116
116
  carbonStyle = _index2.CarbonStyleSheet.create({
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_index","_index2","_index3","_jsxRuntime","RadioButtonInput","exports","forwardRef","defaultChecked","checked","checkedProp","value","interactiveState","role","onChange","onBlur","onFocus","onPress","style","props","forwardedRef","useContext","ThemeContext","viewRef","useRef","ref","onChangeEffect","isFocused","setIsFocused","useState","checkedSelf","setCheckedSelf","current","controlled","blurHandler","useCallback","event","focusHandler","pressHandler","useEffect","useImperativeHandle","Object","assign","setChecked","checked_","jsxs","Pressable","disabled","FlexStyleSheet","items_center","justify_center","CommonStyleSheet","relative","baseStyle","radioButton","mapInteractiveStateStyle_","children","jsx","View","absolute","overflow_hidden","focusBox","carbonStyle","flex_initial","marker","size","StyleSheet","create","width","height","borderRadius","borderWidth","borderColor","overflow","CarbonStyleSheet","color","focus","normal_true_container","icon_primary","normal_true_marker","backgroundColor","normal_false_container","disabled_true_container","icon_disabled","disabled_true_marker","disabled_false_container","error_true_container","support_error","error_true_marker","error_false_container","read_only_true_container","read_only_true_marker","read_only_false_container","warning_true_container","warning_true_marker","warning_false_container"],"sourceRoot":"../../../../src","sources":["components/radio-button-input/RadioButtonInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAUA,IAAAC,YAAA,GAAAD,OAAA;AAQA,IAAAE,MAAA,GAAAF,OAAA;AAKA,IAAAG,OAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AAEuB,IAAAK,WAAA,GA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W,EAAEE,wBAAgB,CAACC,KAAK,CAACY;IACrC,CAAC;IAEDG,wBAAwB,EAAE;MACzBlB,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACQ;IACrC,CAAC;IACDQ,qBAAqB,EAAE;MACtBX,eAAe,EAAEN,wBAAgB,CAACC,KAAK,CAACG;IACzC,CAAC;IACDc,yBAAyB,EAAE;MAC1BpB,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACQ;IACrC,CAAC;IAEDU,sBAAsB,EAAE;MACvBrB,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACG;IACrC,CAAC;IACDgB,mBAAmB,EAAE;MACpBd,eAAe,EAAEN,wBAAgB,CAACC,KAAK,CAACG;IACzC,CAAC;IACDiB,uBAAuB,EAAE;MACxBf,eAAe,EAAEN,wBAAgB,CAACC,KAAK,CAACG;IACzC;EACD,CAAC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_index","_index2","_index3","_jsxRuntime","RadioButtonInput","exports","forwardRef","defaultChecked","checked","checkedProp","value","interactiveState","role","onChange","onBlur","onFocus","onPress","style","props","forwardedRef","useContext","ThemeContext","viewRef","useRef","ref","onChangeEffect","isFocused","setIsFocused","useState","checkedSelf","setCheckedSelf","current","controlled","blurHandler","useCallback","event","focusHandler","pressHandler","useEffect","useImperativeHandle","Object","assign","setChecked","checked_","jsxs","Pressable","disabled","FlexStyleSheet","items_center","justify_center","CommonStyleSheet","relative","baseStyle","radioButton","mapInteractiveStateStyle_","children","jsx","View","absolute","overflow_hidden","focusBox","carbonStyle","flex_initial","marker","size","StyleSheet","create","width","height","borderRadius","borderWidth","borderColor","overflow","CarbonStyleSheet","color","focus","normal_true_container","icon_primary","normal_true_marker","backgroundColor","normal_false_container","disabled_true_container","icon_disabled","disabled_true_marker","disabled_false_container","error_true_container","support_error","error_true_marker","error_false_container","read_only_true_container","read_only_true_marker","read_only_false_container","warning_true_container","warning_true_marker","warning_false_container"],"sourceRoot":"../../../../src","s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,wBAAgB,CAACC,KAAK,CAACQ;IACrC,CAAC;IAEDG,oBAAoB,EAAE;MACrBd,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACY;IACrC,CAAC;IACDC,iBAAiB,EAAE;MAClBR,eAAe,EAAEN,wBAAgB,CAACC,KAAK,CAACG;IACzC,CAAC;IACDW,qBAAqB,EAAE;MACtBjB,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACY;IACrC,CAAC;IAEDG,wBAAwB,EAAE;MACzBlB,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACQ;IACrC,CAAC;IACDQ,qBAAqB,EAAE;MACtBX,eAAe,EAAEN,wBAAgB,CAACC,KAAK,CAACG;IACzC,CAAC;IACDc,yBAAyB,EAAE;MAC1BpB,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACQ;IACrC,CAAC;IAEDU,sBAAsB,EAAE;MACvBrB,WAAW,EAAEE,wBAAgB,CAACC,KAAK,CAACG;IACrC,CAAC;IACDgB,mBAAmB,EAAE;MACpBd,eAAe,EAAEN,wBAAgB,CAACC,KAAK,CAACG;IACzC,CAAC;IACDiB,uBAAuB,EAAE;MACxBf,eAAe,EAAEN,wBAAgB,CAACC,KAAK,CAACG;IACzC;EACD,CAAC,CAAC","ignoreList":[]}
@@ -15,8 +15,8 @@ var _index4 = require("../../contexts/index.js");
15
15
  var _jsxRuntime = require("react/jsx-runtime");
16
16
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
17
17
  const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
18
- size = 'default',
19
- state = 'normal',
18
+ size = "default",
19
+ state = "normal",
20
20
  defaultValue,
21
21
  value: valueProp,
22
22
  trackColor: trackColorProp,
@@ -26,8 +26,8 @@ const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
26
26
  true: motionDefault
27
27
  },
28
28
  style,
29
- role = 'switch',
30
- 'aria-checked': ariaChecked,
29
+ role = "switch",
30
+ "aria-checked": ariaChecked,
31
31
  onChange,
32
32
  onBlur,
33
33
  onFocus,
@@ -43,7 +43,7 @@ const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
43
43
  themeContext = (0, _react.useContext)(_index4.ThemeContext),
44
44
  [isFocused, setIsFocused] = (0, _react.useState)(false),
45
45
  [valueSelf, setValueSelf] = (0, _react.useState)(ref.current.value),
46
- controlled = typeof valueProp === 'boolean',
46
+ controlled = typeof valueProp === "boolean",
47
47
  value = controlled ? !!valueProp : valueSelf,
48
48
  /**
49
49
  * 0 -> false/inactive
@@ -58,8 +58,8 @@ const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
58
58
  thumbColor_ = mapSwitchThumbColorToken[state];
59
59
  return {
60
60
  trackColor: trackColorProp ?? {
61
- false: trackColor_.false?.[themeContext.colorScheme] ?? 'transparent',
62
- true: trackColor_.true?.[themeContext.colorScheme] ?? 'transparent'
61
+ false: trackColor_.false?.[themeContext.colorScheme] ?? "transparent",
62
+ true: trackColor_.true?.[themeContext.colorScheme] ?? "transparent"
63
63
  },
64
64
  thumbColor: thumbColorProp ?? {
65
65
  false: thumbColor_[themeContext.colorScheme],
@@ -114,9 +114,9 @@ const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
114
114
  }
115
115
  }, [motion, sharedValue, value]);
116
116
  (0, _react.useEffect)(() => {
117
+ ref.current.value = value;
117
118
  if (ref.current.onChangeEffect) {
118
119
  ref.current.onChangeEffect = false;
119
- ref.current.value = value;
120
120
  onChange?.(value);
121
121
  }
122
122
  }, [value, onChange]);
@@ -128,7 +128,7 @@ const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
128
128
  setValue(valueParam) {
129
129
  if (!controlled) {
130
130
  ref.current.onChangeEffect = true;
131
- if (typeof valueParam === 'boolean') {
131
+ if (typeof valueParam === "boolean") {
132
132
  setValueSelf(valueParam);
133
133
  } else {
134
134
  setValueSelf(valueParam(ref.current.value));
@@ -146,7 +146,7 @@ const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
146
146
  inputRange: interpolationRange,
147
147
  outputRange: [trackColor.false, trackColor.true]
148
148
  })
149
- }, state === 'read_only' ? baseStyleCarbon.containerReadonly : null, style],
149
+ }, state === "read_only" ? baseStyleCarbon.containerReadonly : null, style],
150
150
  onBlur: blurHandler,
151
151
  onFocus: focusHandler,
152
152
  onPress: pressHandler,
@@ -166,7 +166,7 @@ const Switch = exports.Switch = /*#__PURE__*/(0, _react.forwardRef)(function ({
166
166
  outputRange: [thumbColor.false, thumbColor.true]
167
167
  })
168
168
  }],
169
- children: size === 'small' && /*#__PURE__*/(0, _jsxRuntime.jsx)(IconCheckmarkAnimated, {
169
+ children: size === "small" && /*#__PURE__*/(0, _jsxRuntime.jsx)(IconCheckmarkAnimated, {
170
170
  fill: mapIconAnimatedFillColor[themeContext.colorScheme],
171
171
  style: {
172
172
  opacity: sharedValue.current
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_checkmark","_interopRequireDefault","_index","_index2","_index3","_index4","_jsxRuntime","e","__esModule","default","Switch","exports","forwardRef","size","state","defaultValue","value","valueProp","trackColor","trackColorProp","thumbColor","thumbColorProp","motion","false","motionDefault","true","style","role","ariaChecked","onChange","onBlur","onFocus","onPress","props","forwardedRef","viewRef","useRef","ref","onChangeEffect","globalConfigContext","useContext","GlobalConfigContext","themeContext","ThemeContext","isFocused","setIsFocused","useState","valueSelf","setValueSelf","current","controlled","sharedValue","Animated","Value","useMemo","trackColor_","mapSwitchTrackColorToken","thumbColor_","mapSwitchThumbColorToken","colorScheme","blurHandler","useCallback","event","focusHandler","pressHandler","self","transformInterpolationOutputRange","ltr","sizeStyle","width","thumbSizeStyle","rtl","reverse","useEffect","timing","toValue","duration","easing","useNativeDriver","start","useImperativeHandle","Object","assign","setValue","valueParam","jsxs","PressableAnimated","FlexStyleSheet","justify_center","baseStyle","container","backgroundColor","interpolate","inputRange","interpolationRange","outputRange","baseStyleCarbon","containerReadonly","children","jsx","View","items_center","thumb","transform","translateX","IconCheckmarkAnimated","fill","mapIconAnimatedFillColor","opacity","CommonStyleSheet","absolute","focusBoxSizeStyle","focusBox","focusBoxBorderColor","StyleSheet","create","borderRadius","borderWidth","CarbonStyleSheet","borderColor","color","border_subtle_00","focus","height","small","normal","gray_10","Color","Token","toggle_off","gray_100","support_success","disabled","button_disabled","read_only","focused","icon_on_color","icon_on_color_disabled","icon_primary","Motion","Duration","fast_01","Easing","bezier","exit","productive","x1","y1","x2","y2","createAnimatedComponent","Pressable","IconCheckmark"],"sourceRoot":"../../../../src","sources":["components/switch/Switch.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAWA,IAAAC,YAAA,GAAAD,OAAA;AAUA,IAAAE,0BAAA,GAAAF,OAAA;AAKA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AAIA,IAAAM,OAAA,GAAAN,OAAA;AAKA,IAAAO,OAAA,GAAAP,OAAA;AAIA,IAAAQ,OAAA,GAAAR,OAAA;AAEuB,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAI,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAsBhB,MAAMG,MAAM,GAAAC,OAAA,CAAAD,MAAA,gBAAG,IAAAE,iBAAU,EAC/B,UACC;EAECC,IAAI,GAAG,SAAS;EAChBC,KAAK,GAAG,QAAQ;EAChBC,YAAY;EACZC,KAAK,EAAEC,SAAS;EAChBC,UAAU,EAAEC,cAAc;EAC1BC,UAAU,EAAEC,cAAc;EAC1BC,MAAM,GAAG;IACRC,KAAK,EAAEC,aAAa;IACpBC,IAAI,EAAED;EACP,CAAC;EACDE,KAAK;EACLC,IAAI,GAAG,QAAQ;EACf,cAAc,EAAEC,WAAW;EAC3BC,QAAQ;E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Q,CAACQ;IAChC,CAAC;IACDH,OAAO,EAAE;MACRT,OAAO,EAAEC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACU,aAAa;MAC1CN,QAAQ,EAAEH,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACM;IAChC;EACD,CAAC;EAEF1C,kBAAkB,GACjB,CAAC,CAAC,EAAE,CAAC,CAAC;EAEPtE,aAAa,GACZ;IACCoD,QAAQ,EAAE+D,iCAAM,CAACC,QAAQ,CAACC,OAAO;IACjChE,MAAM,EAAEiE,mBAAM,CAACC,MAAM,CACpBJ,iCAAM,CAACG,MAAM,CAACE,IAAI,CAACC,UAAU,CAACC,EAAE,EAChCP,iCAAM,CAACG,MAAM,CAACE,IAAI,CAACC,UAAU,CAACE,EAAE,EAChCR,iCAAM,CAACG,MAAM,CAACE,IAAI,CAACC,UAAU,CAACG,EAAE,EAChCT,iCAAM,CAACG,MAAM,CAACE,IAAI,CAACC,UAAU,CAACI,EAC/B;EACD,CAAgE;EAEjE/D,iBAAiB,GAChBlC,qBAAQ,CAACkG,uBAAuB,CAACC,sBAAS,CAAC;EAE5C9C,qBAAqB,GACpBrD,qBAAQ,CAACkG,uBAAuB,CAACE,kBAAa,CAAC;EAEhD7C,wBAAqE,GACpE;IACCmB,OAAO,EAAEC,gCAAK,CAACC,KAAK,CAACF,OAAO,CAACK,eAAe;IAC5CD,QAAQ,EAAEH,gCAAK,CAACC,KAAK,CAACE,QAAQ,CAACC;EAChC,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_checkmark","_interopRequireDefault","_index","_index2","_index3","_index4","_jsxRuntime","e","__esModule","default","Switch","exports","forwardRef","size","state","defaultValue","value","valueProp","trackColor","trackColorProp","thumbColor","thumbColorProp","motion","false","motionDefault","true","style","role","ariaChecked","onChange","onBlur","onFocus","onPress","props","forwardedRef","viewRef","useRef","ref","onChangeEffect","globalConfigContext","useContext","GlobalConfigContext","themeContext","ThemeContext","isFocused","setIsFocused","useState","valueSelf","setValueSelf","current","controlled","sharedValue","Animated","Value","useMemo","trackColor_","mapSwitchTrackColorToken","thumbColor_","mapSwitchThumbColorToken","colorScheme","blurHandler","useCallback","event","focusHandler","pressHandler","self","transformInterpolationOutputRange","ltr","sizeStyle","width","thumbSizeStyle","rtl","reverse","useEffect","timing","toValue","duration","easing","useNativeDriver","start","useImperativeHandle","Object","assign","setValue","valueParam","jsxs","PressableAnimated","FlexStyleSheet","justify_center","baseStyle","container","backgroundColor","interpolate","inputRange","interpolationRange","outputRange","baseStyleCarbon","containerReadonly","children","jsx","View","items_center","thumb","transform","translateX","IconCheckmarkAnimated","fill","mapIconAnimatedFillColor","opacity","CommonStyleSheet","absolute","focusBoxSizeStyle","focusBox","focusBoxBorderColor","StyleSheet","create","borderRadius","borderWidth","CarbonStyleSheet","borderColor","color","border_subtle_00","focus","height","small","normal","gray_10","Color","Token","toggle_off","gray_100","support_success","disabled","button_disabled","read_only","focused","icon_on_color","icon_on_color_disabled","icon_primary","Motion","Duration","fast_01","Easing","bezier","exit","productive","x1","y1","x2","y2","createAnimatedComponent","Pressable","IconCheckmark"],"sourceRoot":"../../../../src","sources":["components/switch/Switch.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAWA,IAAAC,YAAA,GAAAD,OAAA;AAUA,IAAAE,0BAAA,GAAAF,OAAA;AAKA,IAAAG,UAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AAIA,IAAAM,OAAA,GAAAN,OAAA;AAKA,IAAAO,OAAA,GAAAP,OAAA;AAIA,IAAAQ,OAAA,GAAAR,OAAA;AAEuB,IAAAS,WAAA,GAAAT,OAAA;AAAA,SAAAI,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAsBhB,MAAMG,MAAM,GAAAC,OAAA,CAAAD,MAAA,gBAAG,I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C,CAAC","ignoreList":[]}
@@ -24,7 +24,7 @@ const Text = exports.Text = /*#__PURE__*/(0, _react.forwardRef)(function Text_({
24
24
  const globalConfigContext = (0, _react.useContext)(_index.GlobalConfigContext);
25
25
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
26
26
  ...props,
27
- dir: dir ?? globalConfigContext.rtl ? 'rtl' : undefined,
27
+ dir: dir ?? globalConfigContext.rtl ? "rtl" : undefined,
28
28
  style: [carbonStyle.text, getFontStyle(type, italic, weight), globalConfigContext.rtl ? _index2.CommonStyleSheet.rtl : undefined, style],
29
29
  ref: ref
30
30
  });
@@ -78,6 +78,9 @@ function getFontStyle(type, italic, overrideWeight) {
78
78
  if (italic) {
79
79
  return typeSetsItalicStyle[type];
80
80
  }
81
+ if (overrideWeight) {
82
+ return [typeSetsStyle[type], mapFamilyStyle[overrideWeight]];
83
+ }
81
84
  return typeSetsStyle[type];
82
85
  }
83
86
  //# sourceMappingURL=Text.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_index4","_jsxRuntime","Text","exports","forwardRef","Text_","type","italic","weight","style","dir","props","ref","useContext","ThemeContext","globalConfigContext","GlobalConfigContext","jsx","rtl","undefined","carbonStyle","text","getFontStyle","CommonStyleSheet","mapFamilyStyle","TextStyleSheet","thin","extralight","light","normal","medium","semibold","bold","mapFamilyItalicStyle","thin_italic","extralight_italic","light_italic","normal_italic","medium_italic","semibold_italic","bold_italic","createTypeSetsStyle","StyleSheet","create","Object","entries","Typography","TypeSets","reduce","accumulator","key_","val","key","fontWeight","CarbonStyleSheet","color","text_primary","typeSetsStyle","typeSetsItalicStyle","overrideWeight"],"sourceRoot":"../../../../src","sources":["components/text/Text.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,0BAAA,GAAAF,OAAA;AAKA,IAAAG,MAAA,G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ACZ;EAEA,IAAGC,MAAM,IAAIoD,cAAc,EAAE;IAC5B,OAAO,CAACD,mBAAmB,CAACpD,IAAI,CAAC,EAAE2B,oBAAoB,CAAC0B,cAAc,CAAC,CAAC;EACzE;EAEA,IAAGpD,MAAM,EAAE;IACV,OAAOmD,mBAAmB,CAACpD,IAAI,CAAC;EACjC;EAEA,OAAOmD,aAAa,CAACnD,IAAI,CAAC;AAC3B","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_carbonReactNativeElements","_index","_index2","_index3","_index4","_jsxRuntime","Text","exports","forwardRef","Text_","type","italic","weight","style","dir","props","ref","useContext","ThemeContext","globalConfigContext","GlobalConfigContext","jsx","rtl","undefined","carbonStyle","text","getFontStyle","CommonStyleSheet","mapFamilyStyle","TextStyleSheet","thin","extralight","light","normal","medium","semibold","bold","mapFamilyItalicStyle","thin_italic","extralight_italic","light_italic","normal_italic","medium_italic","semibold_italic","bold_italic","createTypeSetsStyle","StyleSheet","create","Object","entries","Typography","TypeSets","reduce","accumulator","key_","val","key","fontWeight","CarbonStyleSheet","color","text_primary","typeSetsStyle","typeSetsItalicStyle","overrideWeight"],"sourceRoot":"../../../../src","sources":["components/text/Text.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAKA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,0BAAA,GAAAF,OAAA;AAKA,IAAAG,MAAA,GAAAH,OAAA;AAIA,IAAAI,OAAA,GAAAJ,OAAA;AAKA,IAAAK,OAAA,GAAAL,OAAA;AAIA,IAAAM,OAAA,GAAAN,OAAA;AAEuB,IAAAO,WAAA,GAAAP,OAAA;AAUhB,MAAMQ,IAAI,GAAAC,OAAA,CAAAD,IAAA,gBAAG,IAAAE,iBAAU,EAC7B,SAASC,KAAKA,CACb;EACCC,IAAI;EACJC,MAAM,GAAG,KAAK;EACdC,MAAM;EACNC,KAAK;EACLC,GAAG;EACH,GAAGC;AACJ,CAAC,EACDC,GAAG,EACF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AACnD,IAAI,CAAC;AAC3B","ignoreList":[]}
@@ -15,7 +15,7 @@ const TextArea = exports.TextArea = /*#__PURE__*/(0, _react.forwardRef)(function
15
15
  label,
16
16
  helperText,
17
17
  // hoist the `TextAreaFieldProps`
18
- interactiveState = 'normal',
18
+ interactiveState = "normal",
19
19
  textInputStyle,
20
20
  // -----
21
21
 
@@ -191,7 +191,7 @@ const TextArea = exports.TextArea = /*#__PURE__*/(0, _react.forwardRef)(function
191
191
  smartInsertDelete: smartInsertDelete
192
192
  }), !!helperText?.length && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.FormHelperText, {
193
193
  text: helperText,
194
- error: interactiveState === 'invalid',
194
+ error: interactiveState === "invalid",
195
195
  style: styleSheet.helperText
196
196
  })]
197
197
  });
@@ -11,7 +11,7 @@ var _index = require("../text-input-field/index.js");
11
11
  var _jsxRuntime = require("react/jsx-runtime");
12
12
  const TextAreaField = exports.TextAreaField = /*#__PURE__*/(0, _react.forwardRef)(function ({
13
13
  style,
14
- textAlignVertical = 'top',
14
+ textAlignVertical = "top",
15
15
  textInputStyle,
16
16
  ...props
17
17
  }, ref) {
@@ -26,7 +26,7 @@ const TextAreaField = exports.TextAreaField = /*#__PURE__*/(0, _react.forwardRef
26
26
  });
27
27
  const styleSheet = _reactNative.StyleSheet.create({
28
28
  textAreaField: {
29
- height: 'auto',
29
+ height: "auto",
30
30
  minHeight: _carbonReactNativeElements.Spacing.spacing_08
31
31
  },
32
32
  rnTextInput: {
@@ -35,7 +35,7 @@ const styleSheet = _reactNative.StyleSheet.create({
35
35
  height: _carbonReactNativeElements.Typography.TypeSets.body_compact_01.lineHeight * 4 + 22,
36
36
  ..._reactNative.Platform.select({
37
37
  web: {
38
- resize: 'vertical'
38
+ resize: "vertical"
39
39
  }
40
40
  })
41
41
  }
@@ -37,11 +37,11 @@ const TextAreaFluid = exports.TextAreaFluid = /*#__PURE__*/(0, _react.forwardRef
37
37
  blockEndNode: !!helperText?.length && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.FormHelperText, {
38
38
  text: helperText,
39
39
  style: [_index.FlexStyleSheet.flex_initial, styleSheet.helperText],
40
- textTrailing: interactiveState === 'invalid' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningFilled.default, {
40
+ textTrailing: interactiveState === "invalid" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningFilled.default, {
41
41
  width: 16,
42
42
  height: 16,
43
43
  fill: mapIconInvalidColor[themeContext.colorScheme]
44
- }) : interactiveState === 'warning' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningAltFilled.default, {
44
+ }) : interactiveState === "warning" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningAltFilled.default, {
45
45
  width: 16,
46
46
  height: 16,
47
47
  fill: mapIconWarningColor[themeContext.colorScheme]
@@ -67,7 +67,7 @@ const styleSheet = _reactNative.StyleSheet.create({
67
67
  paddingRight: 0
68
68
  },
69
69
  helperText: {
70
- justifyContent: 'space-between',
70
+ justifyContent: "space-between",
71
71
  paddingTop: _carbonReactNativeElements.Spacing.spacing_03,
72
72
  paddingBottom: _carbonReactNativeElements.Spacing.spacing_03,
73
73
  paddingLeft: _carbonReactNativeElements.Spacing.spacing_05,
@@ -15,8 +15,8 @@ const TextInput = exports.TextInput = /*#__PURE__*/(0, _react.forwardRef)(functi
15
15
  label,
16
16
  helperText,
17
17
  // hoist the `TextInputFieldProps`
18
- size = 'medium',
19
- interactiveState = 'normal',
18
+ size = "medium",
19
+ interactiveState = "normal",
20
20
  textInputStyle,
21
21
  // -----
22
22
 
@@ -195,7 +195,7 @@ const TextInput = exports.TextInput = /*#__PURE__*/(0, _react.forwardRef)(functi
195
195
  smartInsertDelete: smartInsertDelete
196
196
  }), !!helperText?.length && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.FormHelperText, {
197
197
  text: helperText,
198
- error: interactiveState === 'invalid',
198
+ error: interactiveState === "invalid",
199
199
  style: styleSheet.helperText
200
200
  })]
201
201
  });
@@ -16,8 +16,8 @@ var _index4 = require("./_rn-text-input/index.js");
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
18
18
  const TextInputField = exports.TextInputField = /*#__PURE__*/(0, _react.forwardRef)(function TextInputField({
19
- size = 'medium',
20
- interactiveState = 'normal',
19
+ size = "medium",
20
+ interactiveState = "normal",
21
21
  hideInteractiveStateIcon,
22
22
  blockStartNode,
23
23
  blockEndNode,
@@ -137,10 +137,10 @@ const TextInputField = exports.TextInputField = /*#__PURE__*/(0, _react.forwardR
137
137
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.Animated.View, {
138
138
  ref: ref,
139
139
  ...viewProps,
140
- style: [styleSheet.textInputField, carbonStyleSheet.textInputField, textInputFieldSizeStyleSheet[size], textInputFieldByLayerStyleSheet[layerContextLevel], interactiveState === 'invalid' ? carbonStyleSheet.invalidOutlineColor : {
140
+ style: [styleSheet.textInputField, carbonStyleSheet.textInputField, textInputFieldSizeStyleSheet[size], textInputFieldByLayerStyleSheet[layerContextLevel], interactiveState === "invalid" ? carbonStyleSheet.invalidOutlineColor : {
141
141
  outlineColor: focusAnimatedValue.current.interpolate({
142
142
  inputRange: [0, 1],
143
- outputRange: ['transparent', mapOutlineColorFocus[themeContext.colorScheme]]
143
+ outputRange: ["transparent", mapOutlineColorFocus[themeContext.colorScheme]]
144
144
  })
145
145
  }, style],
146
146
  children: [blockStartNode, /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.RNTextInput, {
@@ -158,7 +158,7 @@ const TextInputField = exports.TextInputField = /*#__PURE__*/(0, _react.forwardR
158
158
  contextMenuHidden: contextMenuHidden,
159
159
  defaultValue: defaultValue,
160
160
  value: value,
161
- editable: interactiveState === 'disabled' || interactiveState === 'read_only' ? false : editable,
161
+ editable: interactiveState === "disabled" || interactiveState === "read_only" ? false : editable,
162
162
  keyboardType: keyboardType,
163
163
  inputMode: inputMode,
164
164
  maxLength: maxLength,
@@ -217,12 +217,12 @@ const TextInputField = exports.TextInputField = /*#__PURE__*/(0, _react.forwardR
217
217
  lineBreakStrategyIOS: lineBreakStrategyIOS,
218
218
  lineBreakModeIOS: lineBreakModeIOS,
219
219
  smartInsertDelete: smartInsertDelete
220
- }), !hideInteractiveStateIcon && interactiveState === 'invalid' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningFilled.default, {
220
+ }), !hideInteractiveStateIcon && interactiveState === "invalid" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningFilled.default, {
221
221
  width: 16,
222
222
  height: 16,
223
223
  fill: mapIconInvalidColor[themeContext.colorScheme],
224
224
  style: [styleSheet.icon, iconBySizeStyleSheet[size]]
225
- }) : !hideInteractiveStateIcon && interactiveState === 'warning' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningAltFilled.default, {
225
+ }) : !hideInteractiveStateIcon && interactiveState === "warning" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningAltFilled.default, {
226
226
  width: 16,
227
227
  height: 16,
228
228
  fill: mapIconWarningColor[themeContext.colorScheme],
@@ -234,11 +234,11 @@ const styleSheet = _reactNative.StyleSheet.create({
234
234
  textInputField: {
235
235
  outlineWidth: 2,
236
236
  outlineOffset: -2,
237
- outlineStyle: 'solid'
237
+ outlineStyle: "solid"
238
238
  },
239
239
  icon: {
240
- pointerEvents: 'none',
241
- position: 'absolute',
240
+ pointerEvents: "none",
241
+ position: "absolute",
242
242
  right: _carbonReactNativeElements.Spacing.spacing_05
243
243
  }
244
244
  }),
@@ -24,9 +24,9 @@ const RNTextInput = exports.RNTextInput = /*#__PURE__*/(0, _react.forwardRef)(fu
24
24
  return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TextInput, {
25
25
  ref: ref,
26
26
  ...props,
27
- editable: interactiveState === 'disabled' || interactiveState === 'read_only' ? false : editable,
27
+ editable: interactiveState === "disabled" || interactiveState === "read_only" ? false : editable,
28
28
  placeholderTextColor: placeholderTextColor ?? mapPlaceholderTextColor[themeContext.colorScheme],
29
- dir: dir ?? globalConfigContext.rtl ? 'rtl' : undefined,
29
+ dir: dir ?? globalConfigContext.rtl ? "rtl" : undefined,
30
30
  style: [styleSheet.rnTextInput,
31
31
  // FIXME: i don't know the correct type
32
32
  mapStateStyleSheet[themeContext.colorScheme][interactiveState], globalConfigContext.rtl ? _index2.CommonStyleSheet.rtl : undefined, style]
@@ -37,15 +37,15 @@ const styleSheet = _reactNative.StyleSheet.create({
37
37
  flexGrow: 1,
38
38
  paddingLeft: _carbonReactNativeElements.Spacing.spacing_05,
39
39
  paddingRight: _carbonReactNativeElements.Spacing.spacing_05,
40
- backgroundColor: 'transparent',
40
+ backgroundColor: "transparent",
41
41
  borderBottomWidth: _reactNative.StyleSheet.hairlineWidth,
42
- borderStyle: 'solid',
43
- fontFamily: 'IBMPlexSans-Regular',
42
+ borderStyle: "solid",
43
+ fontFamily: "IBMPlexSans-Regular",
44
44
  fontSize: _carbonReactNativeElements.Typography.TypeSets.body_compact_01.fontSize,
45
45
  lineHeight: _carbonReactNativeElements.Typography.TypeSets.body_compact_01.lineHeight,
46
46
  ..._reactNative.Platform.select({
47
47
  web: {
48
- outlineStyle: 'none'
48
+ outlineStyle: "none"
49
49
  }
50
50
  })
51
51
  }
@@ -60,7 +60,7 @@ const styleSheet = _reactNative.StyleSheet.create({
60
60
  },
61
61
  gray_10__disabled: {
62
62
  color: _carbonReactNativeElements.Color.Token.gray_10.text_disabled,
63
- borderBlockEndColor: 'transparent'
63
+ borderBlockEndColor: "transparent"
64
64
  },
65
65
  gray_10__read_only: {
66
66
  color: _carbonReactNativeElements.Color.Token.gray_10.text_primary,
@@ -72,7 +72,7 @@ const styleSheet = _reactNative.StyleSheet.create({
72
72
  },
73
73
  gray_100__disabled: {
74
74
  color: _carbonReactNativeElements.Color.Token.gray_100.text_disabled,
75
- borderBlockEndColor: 'transparent'
75
+ borderBlockEndColor: "transparent"
76
76
  },
77
77
  gray_100__read_only: {
78
78
  color: _carbonReactNativeElements.Color.Token.gray_100.text_primary,
@@ -38,11 +38,11 @@ const TextInputFluid = exports.TextInputFluid = /*#__PURE__*/(0, _react.forwardR
38
38
  blockEndNode: !!helperText?.length && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index3.FormHelperText, {
39
39
  text: helperText,
40
40
  style: [_index.FlexStyleSheet.flex_initial, styleSheet.helperText],
41
- textTrailing: interactiveState === 'invalid' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningFilled.default, {
41
+ textTrailing: interactiveState === "invalid" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningFilled.default, {
42
42
  width: 16,
43
43
  height: 16,
44
44
  fill: mapIconInvalidColor[themeContext.colorScheme]
45
- }) : interactiveState === 'warning' ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningAltFilled.default, {
45
+ }) : interactiveState === "warning" ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_warningAltFilled.default, {
46
46
  width: 16,
47
47
  height: 16,
48
48
  fill: mapIconWarningColor[themeContext.colorScheme]
@@ -73,7 +73,7 @@ const styleSheet = _reactNative.StyleSheet.create({
73
73
  paddingRight: 0
74
74
  },
75
75
  helperText: {
76
- justifyContent: 'space-between',
76
+ justifyContent: "space-between",
77
77
  paddingTop: _carbonReactNativeElements.Spacing.spacing_03,
78
78
  paddingBottom: _carbonReactNativeElements.Spacing.spacing_03,
79
79
  paddingLeft: _carbonReactNativeElements.Spacing.spacing_05,
@@ -15,7 +15,7 @@ var _index5 = require("../../switch/index.js");
15
15
  var _index6 = require("../../text/index.js");
16
16
  var _jsxRuntime = require("react/jsx-runtime");
17
17
  const Base = exports.Base = /*#__PURE__*/(0, _react.forwardRef)(function Base({
18
- state = 'normal',
18
+ state = "normal",
19
19
  defaultValue,
20
20
  value,
21
21
  label,
@@ -49,15 +49,15 @@ const Base = exports.Base = /*#__PURE__*/(0, _react.forwardRef)(function Base({
49
49
  }, []);
50
50
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
51
51
  ...viewProps,
52
- dir: dir ?? globalConfigContext.rtl ? 'rtl' : undefined,
52
+ dir: dir ?? globalConfigContext.rtl ? "rtl" : undefined,
53
53
  style: [_index2.FlexStyleSheet.flex_row, _index2.FlexStyleSheet.flex_wrap, _index2.FlexStyleSheet.items_center, globalConfigContext.rtl ? _index2.CommonStyleSheet.rtl : undefined, style],
54
54
  ref: viewRef,
55
55
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Pressable, {
56
56
  ...pressableProps,
57
57
  role: "switch",
58
- disabled: state !== 'normal',
58
+ disabled: state !== "normal",
59
59
  "aria-checked": value,
60
- "aria-label": pressableProps?.['aria-label'] || label,
60
+ "aria-label": pressableProps?.["aria-label"] || label,
61
61
  onPress: pressHandler,
62
62
  style: [_index2.CommonStyleSheet.absolute, _index2.CommonStyleSheet.w_full, _index2.CommonStyleSheet.h_full, baseStyle.pressable, pressableProps?.style]
63
63
  }), !!label && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index4.FormLabel, {
@@ -70,15 +70,15 @@ const Base = exports.Base = /*#__PURE__*/(0, _react.forwardRef)(function Base({
70
70
  style: [_index2.CommonStyleSheet.w_full, baseStyle.label, formLabelProps?.style]
71
71
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_index5.Switch, {
72
72
  ...switchProps,
73
- "aria-label": switchProps?.['aria-label'] || label,
73
+ "aria-label": switchProps?.["aria-label"] || label,
74
74
  state: state,
75
- disabled: state !== 'normal',
75
+ disabled: state !== "normal",
76
76
  role: "none",
77
77
  defaultValue: defaultValue,
78
78
  value: value,
79
79
  onChange: onChange,
80
80
  onPress: switchProps?.onPress ?? pressableProps?.onPress,
81
- dir: switchProps?.dir ?? globalConfigContext.rtl ? 'ltr' : undefined // Fix
81
+ dir: switchProps?.dir ?? globalConfigContext.rtl ? "ltr" : undefined // Fix
82
82
  ,
83
83
  style: [baseStyle.switch, globalConfigContext.rtl ? baseStyle.ltr : undefined,
84
84
  // Fix
@@ -86,7 +86,7 @@ const Base = exports.Base = /*#__PURE__*/(0, _react.forwardRef)(function Base({
86
86
  ref: switchRef
87
87
  }), !!actionText && /*#__PURE__*/(0, _jsxRuntime.jsx)(_index6.Text, {
88
88
  ...actionTextProps,
89
- type: actionTextProps?.type || 'body_compact_01',
89
+ type: actionTextProps?.type || "body_compact_01",
90
90
  style: [baseStyle.actionText, mapActionTextStyle[themeContext.colorScheme][state], actionTextProps?.style],
91
91
  children: actionText
92
92
  })]
@@ -109,7 +109,7 @@ const baseStyle = _reactNative.StyleSheet.create({
109
109
  * Fix
110
110
  */
111
111
  ltr: {
112
- direction: 'ltr'
112
+ direction: "ltr"
113
113
  }
114
114
  }),
115
115
  coloringStyle = {
@@ -15,7 +15,7 @@ const Default = exports.Default = /*#__PURE__*/(0, _react.forwardRef)(function D
15
15
  ...props,
16
16
  switchProps: {
17
17
  ...switchProps,
18
- size: 'default'
18
+ size: "default"
19
19
  },
20
20
  ref: ref
21
21
  });
@@ -15,7 +15,7 @@ const Small = exports.Small = /*#__PURE__*/(0, _react.forwardRef)(function Small
15
15
  ...props,
16
16
  switchProps: {
17
17
  ...switchProps,
18
- size: 'small'
18
+ size: "small"
19
19
  },
20
20
  ref: ref
21
21
  });
@@ -7,5 +7,5 @@ exports.BreakpointContext = void 0;
7
7
  var _react = require("react");
8
8
  var _reactNative = require("react-native");
9
9
  var _index = require("../../helpers/index.js");
10
- const BreakpointContext = exports.BreakpointContext = /*#__PURE__*/(0, _react.createContext)(_index.BreakpointHelper.getToken(_reactNative.Dimensions.get('window').width));
10
+ const BreakpointContext = exports.BreakpointContext = /*#__PURE__*/(0, _react.createContext)(_index.BreakpointHelper.getToken(_reactNative.Dimensions.get("window").width));
11
11
  //# sourceMappingURL=BreakpointContext.js.map
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.DialogContext = void 0;
7
7
  var _react = require("react");
8
- const error = new Error('Unitialized `<DialogProvider>`. Make sure you wrap your React app with `<DialogProvider>`');
8
+ const error = new Error("Unitialized `<DialogProvider>`. Make sure you wrap your React app with `<DialogProvider>`");
9
9
  const DialogContext = exports.DialogContext = /*#__PURE__*/(0, _react.createContext)({
10
10
  show() {
11
11
  throw error;
@@ -7,10 +7,10 @@ exports.ToastContext = void 0;
7
7
  var _react = require("react");
8
8
  const ToastContext = exports.ToastContext = /*#__PURE__*/(0, _react.createContext)({
9
9
  show() {
10
- throw new Error('Uninitialized ToastProvider');
10
+ throw new Error("Uninitialized ToastProvider");
11
11
  },
12
12
  dismiss() {
13
- throw new Error('Uninitialized ToastProvider');
13
+ throw new Error("Uninitialized ToastProvider");
14
14
  }
15
15
  });
16
16
  //# sourceMappingURL=ToastContext.js.map