react-miui 0.32.2 → 0.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (573) hide show
  1. package/.claude/settings.local.json +8 -1
  2. package/.storybook/main.ts +4 -1
  3. package/CHANGELOG.md +11 -0
  4. package/dist/components/form/Checkbox.styled.d.ts +6 -6
  5. package/dist/components/form/ColorPicker.styled.d.ts +5 -5
  6. package/dist/components/form/Label.d.ts +3 -3
  7. package/dist/components/form/Label.styled.d.ts +5 -5
  8. package/dist/components/form/Select.styled.d.ts +3 -3
  9. package/dist/components/form/Toggle.d.ts +3 -3
  10. package/dist/components/form/Toggle.styled.d.ts +5 -5
  11. package/dist/components/form/choice/Choice.styled.d.ts +3 -3
  12. package/dist/components/form/choice/ChoiceItem.styled.d.ts +2 -2
  13. package/dist/components/form/input/Input.css.d.ts +47 -1
  14. package/dist/components/form/input/Input.css.d.ts.map +1 -1
  15. package/dist/components/form/input/Input.css.js +49 -1
  16. package/dist/components/form/input/Input.css.js.map +1 -1
  17. package/dist/components/form/input/Input.d.ts +5 -1
  18. package/dist/components/form/input/Input.d.ts.map +1 -1
  19. package/dist/components/form/input/Input.js +28 -5
  20. package/dist/components/form/input/Input.js.map +1 -1
  21. package/dist/components/form/input/Input.styled.d.ts +183 -10
  22. package/dist/components/form/input/Input.styled.d.ts.map +1 -1
  23. package/dist/components/form/input/Input.styled.js +5 -1
  24. package/dist/components/form/input/Input.styled.js.map +1 -1
  25. package/dist/components/form/textarea/TextArea.d.ts +6 -1
  26. package/dist/components/form/textarea/TextArea.d.ts.map +1 -1
  27. package/dist/components/form/textarea/TextArea.js +32 -4
  28. package/dist/components/form/textarea/TextArea.js.map +1 -1
  29. package/dist/components/form/textarea/TextArea.styled.d.ts +177 -4
  30. package/dist/components/form/textarea/TextArea.styled.d.ts.map +1 -1
  31. package/dist/components/form/textarea/TextArea.styled.js +10 -2
  32. package/dist/components/form/textarea/TextArea.styled.js.map +1 -1
  33. package/dist/components/layout/card/Card.styled.d.ts +3 -3
  34. package/dist/components/layout/header/Header.styled.d.ts +9 -9
  35. package/dist/components/layout/header/HeaderIconAction.styled.d.ts +8 -8
  36. package/dist/components/layout/header/StickyHeader.d.ts +3 -3
  37. package/dist/components/layout/header/StickyHeader.styled.d.ts +6 -6
  38. package/dist/components/layout/list/Header.d.ts +7 -7
  39. package/dist/components/layout/list/Item.d.ts +8 -8
  40. package/dist/components/layout/list/Item.styled.d.ts +9 -9
  41. package/dist/components/layout/list/Label.d.ts +2 -2
  42. package/dist/components/layout/list/List.d.ts +18 -18
  43. package/dist/components/layout/list/Value.d.ts +2 -2
  44. package/dist/components/layout/section/SearchContainer.d.ts +2 -2
  45. package/dist/components/layout/section/Section.d.ts +5 -5
  46. package/dist/components/layout/section/SectionContainer.d.ts +2 -2
  47. package/dist/components/layout/table/Table.styled.d.ts +3 -3
  48. package/dist/components/native/index.d.ts +2 -2
  49. package/dist/components/ui/action/Action.styled.d.ts +8 -8
  50. package/dist/components/ui/action/EqualActions.styled.d.ts +3 -3
  51. package/dist/components/ui/button/Button.styled.d.ts +3 -3
  52. package/dist/components/ui/directionPad/Button.styled.d.ts +4 -4
  53. package/dist/components/ui/directionPad/Middle.styled.d.ts +2 -2
  54. package/dist/components/ui/directionPad/Pad.styled.d.ts +4 -4
  55. package/dist/components/ui/drawer/Drawer.styled.d.ts +4 -4
  56. package/dist/components/ui/keyValue/KeyValue.styled.d.ts +13 -13
  57. package/dist/components/ui/line/Line.d.ts +3 -3
  58. package/dist/components/ui/loader/CoveringLoader.d.ts.map +1 -1
  59. package/dist/components/ui/loader/CoveringLoader.js +2 -3
  60. package/dist/components/ui/loader/CoveringLoader.js.map +1 -1
  61. package/dist/components/ui/message/Message.styled.d.ts +3 -3
  62. package/dist/components/ui/modal/Modal.d.ts +2 -2
  63. package/dist/components/ui/modal/Modal.d.ts.map +1 -1
  64. package/dist/components/ui/modal/Modal.js.map +1 -1
  65. package/dist/components/ui/modal/Modal.styled.d.ts +10 -10
  66. package/dist/components/ui/modal/ModalButtons.styled.d.ts +5 -5
  67. package/dist/components/ui/pop/Pop.styled.d.ts +12 -12
  68. package/dist/components/ui/progress/Progress.styled.d.ts +8 -8
  69. package/dist/components/ui/stats/Stats.styled.d.ts +11 -11
  70. package/dist/components/ui/tabs/Item.styled.d.ts +2 -2
  71. package/dist/components/ui/tabs/Selector.styled.d.ts +5 -5
  72. package/dist/components/ui/toaster/Toaster.d.ts +8 -15
  73. package/dist/components/ui/toaster/Toaster.d.ts.map +1 -1
  74. package/dist/components/ui/toaster/Toaster.js +25 -55
  75. package/dist/components/ui/toaster/Toaster.js.map +1 -1
  76. package/dist/components/ui/toolButton/ToolButton.styled.d.ts +3 -3
  77. package/dist/components/utils/Gap.d.ts +3 -3
  78. package/dist/components/utils/Spacer.d.ts +2 -2
  79. package/dist/theme.d.ts +86 -86
  80. package/docs/assets/navigation.js +1 -1
  81. package/docs/assets/search.js +1 -1
  82. package/docs/classes/index.Pop.html +18 -18
  83. package/docs/documents/Test.html +2 -2
  84. package/docs/enums/index.ICON.html +2 -2
  85. package/docs/functions/index.Action.html +5 -5
  86. package/docs/functions/index.Button.html +5 -5
  87. package/docs/functions/index.Card.html +4 -4
  88. package/docs/functions/index.Checkbox.html +5 -5
  89. package/docs/functions/index.Choice.html +4 -4
  90. package/docs/functions/index.ColorPicker.html +5 -5
  91. package/docs/functions/index.CoveringLoader.html +5 -5
  92. package/docs/functions/index.DirectionPad.html +4 -4
  93. package/docs/functions/index.Drawer.html +4 -4
  94. package/docs/functions/index.EqualActions.html +4 -4
  95. package/docs/functions/index.FullLoader.html +5 -5
  96. package/docs/functions/index.Gap.html +4 -4
  97. package/docs/functions/index.HandleEsc.html +6 -6
  98. package/docs/functions/index.Header.html +5 -5
  99. package/docs/functions/index.HeaderIconAction.html +5 -5
  100. package/docs/functions/index.Icon-1.html +4 -4
  101. package/docs/functions/index.If.html +6 -6
  102. package/docs/functions/index.Input.html +1 -1
  103. package/docs/functions/index.KeyValue.html +4 -4
  104. package/docs/functions/index.Label.html +4 -4
  105. package/docs/functions/index.Line.html +5 -5
  106. package/docs/functions/index.List.html +4 -4
  107. package/docs/functions/index.Loader.html +5 -5
  108. package/docs/functions/index.Loading.html +6 -6
  109. package/docs/functions/index.Message.html +5 -5
  110. package/docs/functions/index.Modal.html +4 -4
  111. package/docs/functions/index.ModalButtons.html +4 -4
  112. package/docs/functions/index.PopLoader.html +5 -5
  113. package/docs/functions/index.PopOption.html +4 -4
  114. package/docs/functions/index.Progress.html +4 -4
  115. package/docs/functions/index.SearchContainer.html +4 -4
  116. package/docs/functions/index.Section.html +5 -5
  117. package/docs/functions/index.Select.html +4 -4
  118. package/docs/functions/index.Selector.html +4 -4
  119. package/docs/functions/index.Spacer.html +4 -4
  120. package/docs/functions/index.Stats.html +4 -4
  121. package/docs/functions/index.StickyHeader.html +5 -5
  122. package/docs/functions/index.Table.html +4 -4
  123. package/docs/functions/index.TextArea.html +4 -4
  124. package/docs/functions/index.ToasterProvider.html +29 -0
  125. package/docs/functions/index.Toggle.html +5 -5
  126. package/docs/functions/index.ToolButton.html +5 -5
  127. package/docs/functions/index.borderPxToRem.html +1 -1
  128. package/docs/functions/index.createTheme.html +1 -1
  129. package/docs/functions/index.css.html +1 -1
  130. package/docs/functions/index.dimensionsPxToRem.html +1 -1
  131. package/docs/functions/index.fontPxToRem.html +1 -1
  132. package/docs/functions/index.getCssText.html +1 -1
  133. package/docs/functions/index.globalCss.html +2 -2
  134. package/docs/functions/index.injectGlobalStyles.html +1 -1
  135. package/docs/functions/index.keyframes.html +1 -1
  136. package/docs/functions/index.pxToRem.html +1 -1
  137. package/docs/functions/index.styled.html +1 -1
  138. package/docs/functions/index.toast.html +12 -0
  139. package/docs/functions/index.useToaster.html +1 -1
  140. package/docs/index.html +2 -2
  141. package/docs/interfaces/index.IconProps.html +2 -2
  142. package/docs/interfaces/index.InputCustomProps.html +7 -2
  143. package/docs/interfaces/index.LoaderProps.html +6 -6
  144. package/docs/interfaces/index.StickyHeaderProps.html +4 -4
  145. package/docs/interfaces/index.ToasterProviderProps.html +28 -0
  146. package/docs/modules/index.html +1 -1
  147. package/docs/modules.html +1 -1
  148. package/docs/types/index.ActionProps.html +1 -1
  149. package/docs/types/index.CardProps.html +1 -1
  150. package/docs/types/index.CheckboxProps.html +2 -2
  151. package/docs/types/index.ChoiceProps.html +1 -1
  152. package/docs/types/index.ColorPickerProps.html +1 -1
  153. package/docs/types/index.DirectionPadProps.html +1 -1
  154. package/docs/types/index.DrawerProps.html +1 -1
  155. package/docs/types/index.EqualActionsProps.html +1 -1
  156. package/docs/types/index.HeaderProps.html +1 -1
  157. package/docs/types/index.InputProps.html +1 -1
  158. package/docs/types/index.KeyValueProps.html +1 -1
  159. package/docs/types/index.LabelProps.html +1 -1
  160. package/docs/types/index.OverwriteProps.html +1 -1
  161. package/docs/types/index.ProgressProps.html +2 -2
  162. package/docs/types/index.SelectProps.html +1 -1
  163. package/docs/types/index.SelectorProps.html +1 -1
  164. package/docs/types/index.Stat.html +1 -1
  165. package/docs/types/index.StatsProps.html +1 -1
  166. package/docs/types/index.TextAreaProps.html +1 -1
  167. package/docs/types/index.ThemeCSS.html +1 -1
  168. package/docs/types/index.ToggleProps.html +2 -2
  169. package/docs/variables/index.ActionBadgeSelector.html +1 -1
  170. package/docs/variables/index.ActionCircleSelector.html +1 -1
  171. package/docs/variables/index.CheckboxCheckmarkWrapperSelector.html +1 -1
  172. package/docs/variables/index.CheckboxTextLabelSelector.html +1 -1
  173. package/docs/variables/index.ChoiceItemSelector.html +1 -1
  174. package/docs/variables/index.ColorPickerColorDisplaySelector.html +1 -1
  175. package/docs/variables/index.DirectionPadButtonDotSelector.html +1 -1
  176. package/docs/variables/index.DirectionPadButtonSelector.html +1 -1
  177. package/docs/variables/index.DirectionPadLineSelector.html +1 -1
  178. package/docs/variables/index.DirectionPadMiddleSelector.html +1 -1
  179. package/docs/variables/index.DrawerContentSelector.html +1 -1
  180. package/docs/variables/index.HeaderAfterSelector.html +1 -1
  181. package/docs/variables/index.HeaderBeforeSelector.html +1 -1
  182. package/docs/variables/index.HeaderContentsSelector.html +1 -1
  183. package/docs/variables/index.HeaderIconActionIconSelector.html +1 -1
  184. package/docs/variables/index.InputContainerSelector.html +1 -0
  185. package/docs/variables/index.InputInputSelector.html +1 -1
  186. package/docs/variables/index.InputLabelSelector.html +1 -0
  187. package/docs/variables/index.InputPrefixSelector.html +1 -1
  188. package/docs/variables/index.InputSuffixSelector.html +1 -1
  189. package/docs/variables/index.KeyValueIconSelector.html +1 -1
  190. package/docs/variables/index.KeyValueItemSelector.html +1 -1
  191. package/docs/variables/index.KeyValueKeySelector.html +1 -1
  192. package/docs/variables/index.KeyValuePairSelector.html +1 -1
  193. package/docs/variables/index.KeyValueValueSelector.html +1 -1
  194. package/docs/variables/index.LabelTextSelector.html +1 -1
  195. package/docs/variables/index.ListItemInnerContainerClassNameSelector.html +1 -1
  196. package/docs/variables/index.ModalContainerSelector.html +1 -1
  197. package/docs/variables/index.ModalRemovePaddingSelector.html +1 -1
  198. package/docs/variables/index.ModalTitleSelector.html +1 -1
  199. package/docs/variables/index.PopListSelector.html +1 -1
  200. package/docs/variables/index.PopOptionButtonSelector.html +1 -1
  201. package/docs/variables/index.PopOptionIconSelector.html +1 -1
  202. package/docs/variables/index.PopOverlaySelector.html +1 -1
  203. package/docs/variables/index.ProgressBackgroundSelector.html +1 -1
  204. package/docs/variables/index.ProgressValueSelector.html +1 -1
  205. package/docs/variables/index.SelectorItemSelector.html +1 -1
  206. package/docs/variables/index.StatsItemSelector.html +1 -1
  207. package/docs/variables/index.StatsLabelSelector.html +1 -1
  208. package/docs/variables/index.StatsSeparatorSelector.html +1 -1
  209. package/docs/variables/index.StatsValueSelector.html +1 -1
  210. package/docs/variables/index.TextAreaLabelSelector.html +1 -0
  211. package/docs/variables/index.TextAreaTextAreaSelector.html +1 -0
  212. package/docs/variables/index.TextAreaWrapperSelector.html +1 -0
  213. package/docs/variables/index.ToggleStyledToggleSelector.html +1 -1
  214. package/docs/variables/index.config.html +1 -1
  215. package/docs/variables/index.cssReset.html +2 -2
  216. package/docs/variables/index.darkTheme.html +1 -1
  217. package/docs/variables/index.miuiScrollbars.html +1 -1
  218. package/docs/variables/index.theme.html +1 -1
  219. package/esm/components/form/Checkbox.styled.d.ts +6 -6
  220. package/esm/components/form/ColorPicker.styled.d.ts +5 -5
  221. package/esm/components/form/Label.d.ts +3 -3
  222. package/esm/components/form/Label.styled.d.ts +5 -5
  223. package/esm/components/form/Select.styled.d.ts +3 -3
  224. package/esm/components/form/Toggle.d.ts +3 -3
  225. package/esm/components/form/Toggle.styled.d.ts +5 -5
  226. package/esm/components/form/choice/Choice.styled.d.ts +3 -3
  227. package/esm/components/form/choice/ChoiceItem.styled.d.ts +2 -2
  228. package/esm/components/form/input/Input.css.d.ts +47 -1
  229. package/esm/components/form/input/Input.css.d.ts.map +1 -1
  230. package/esm/components/form/input/Input.css.js +47 -1
  231. package/esm/components/form/input/Input.css.js.map +1 -1
  232. package/esm/components/form/input/Input.d.ts +5 -1
  233. package/esm/components/form/input/Input.d.ts.map +1 -1
  234. package/esm/components/form/input/Input.js +27 -6
  235. package/esm/components/form/input/Input.js.map +1 -1
  236. package/esm/components/form/input/Input.styled.d.ts +183 -10
  237. package/esm/components/form/input/Input.styled.d.ts.map +1 -1
  238. package/esm/components/form/input/Input.styled.js +4 -2
  239. package/esm/components/form/input/Input.styled.js.map +1 -1
  240. package/esm/components/form/textarea/TextArea.d.ts +6 -1
  241. package/esm/components/form/textarea/TextArea.d.ts.map +1 -1
  242. package/esm/components/form/textarea/TextArea.js +31 -6
  243. package/esm/components/form/textarea/TextArea.js.map +1 -1
  244. package/esm/components/form/textarea/TextArea.styled.d.ts +177 -4
  245. package/esm/components/form/textarea/TextArea.styled.d.ts.map +1 -1
  246. package/esm/components/form/textarea/TextArea.styled.js +14 -4
  247. package/esm/components/form/textarea/TextArea.styled.js.map +1 -1
  248. package/esm/components/layout/card/Card.styled.d.ts +3 -3
  249. package/esm/components/layout/header/Header.styled.d.ts +9 -9
  250. package/esm/components/layout/header/HeaderIconAction.styled.d.ts +8 -8
  251. package/esm/components/layout/header/StickyHeader.d.ts +3 -3
  252. package/esm/components/layout/header/StickyHeader.styled.d.ts +6 -6
  253. package/esm/components/layout/list/Header.d.ts +7 -7
  254. package/esm/components/layout/list/Item.d.ts +8 -8
  255. package/esm/components/layout/list/Item.styled.d.ts +9 -9
  256. package/esm/components/layout/list/Label.d.ts +2 -2
  257. package/esm/components/layout/list/List.d.ts +18 -18
  258. package/esm/components/layout/list/Value.d.ts +2 -2
  259. package/esm/components/layout/section/SearchContainer.d.ts +2 -2
  260. package/esm/components/layout/section/Section.d.ts +5 -5
  261. package/esm/components/layout/section/SectionContainer.d.ts +2 -2
  262. package/esm/components/layout/table/Table.styled.d.ts +3 -3
  263. package/esm/components/native/index.d.ts +2 -2
  264. package/esm/components/ui/action/Action.styled.d.ts +8 -8
  265. package/esm/components/ui/action/EqualActions.styled.d.ts +3 -3
  266. package/esm/components/ui/button/Button.styled.d.ts +3 -3
  267. package/esm/components/ui/directionPad/Button.styled.d.ts +4 -4
  268. package/esm/components/ui/directionPad/Middle.styled.d.ts +2 -2
  269. package/esm/components/ui/directionPad/Pad.styled.d.ts +4 -4
  270. package/esm/components/ui/drawer/Drawer.styled.d.ts +4 -4
  271. package/esm/components/ui/keyValue/KeyValue.styled.d.ts +13 -13
  272. package/esm/components/ui/line/Line.d.ts +3 -3
  273. package/esm/components/ui/loader/CoveringLoader.d.ts.map +1 -1
  274. package/esm/components/ui/loader/CoveringLoader.js +2 -3
  275. package/esm/components/ui/loader/CoveringLoader.js.map +1 -1
  276. package/esm/components/ui/message/Message.styled.d.ts +3 -3
  277. package/esm/components/ui/modal/Modal.d.ts +2 -2
  278. package/esm/components/ui/modal/Modal.d.ts.map +1 -1
  279. package/esm/components/ui/modal/Modal.js.map +1 -1
  280. package/esm/components/ui/modal/Modal.styled.d.ts +10 -10
  281. package/esm/components/ui/modal/ModalButtons.styled.d.ts +5 -5
  282. package/esm/components/ui/pop/Pop.styled.d.ts +12 -12
  283. package/esm/components/ui/progress/Progress.styled.d.ts +8 -8
  284. package/esm/components/ui/stats/Stats.styled.d.ts +11 -11
  285. package/esm/components/ui/tabs/Item.styled.d.ts +2 -2
  286. package/esm/components/ui/tabs/Selector.styled.d.ts +5 -5
  287. package/esm/components/ui/toaster/Toaster.d.ts +8 -15
  288. package/esm/components/ui/toaster/Toaster.d.ts.map +1 -1
  289. package/esm/components/ui/toaster/Toaster.js +13 -74
  290. package/esm/components/ui/toaster/Toaster.js.map +1 -1
  291. package/esm/components/ui/toolButton/ToolButton.styled.d.ts +3 -3
  292. package/esm/components/utils/Gap.d.ts +3 -3
  293. package/esm/components/utils/Spacer.d.ts +2 -2
  294. package/esm/theme.d.ts +86 -86
  295. package/package.json +21 -22
  296. package/patches/{@stitches+react+1.2.8.patch → @stitches__react@1.2.8.patch} +6 -6
  297. package/src/components/form/input/Input.css.ts +52 -0
  298. package/src/components/form/input/Input.stories.tsx +32 -1
  299. package/src/components/form/input/Input.styled.ts +7 -1
  300. package/src/components/form/input/Input.tsx +67 -13
  301. package/src/components/form/textarea/TextArea.stories.tsx +25 -1
  302. package/src/components/form/textarea/TextArea.styled.ts +17 -3
  303. package/src/components/form/textarea/TextArea.tsx +76 -12
  304. package/src/components/ui/loader/CoveringLoader.tsx +3 -4
  305. package/src/components/ui/modal/Modal.tsx +0 -1
  306. package/src/components/ui/modal/ModalButtons.stories.tsx +3 -3
  307. package/src/components/ui/toaster/Toaster.stories.tsx +160 -30
  308. package/src/components/ui/toaster/Toaster.tsx +24 -100
  309. package/storybook-static/assets/Action.stories-DBtNlWQo.js +1 -0
  310. package/storybook-static/assets/Button.stories-DFO8nsTN.js +1 -0
  311. package/storybook-static/assets/Card.stories-BoCt66U4.js +1 -0
  312. package/storybook-static/assets/Checkbox.stories-C58YeH4u.js +1 -0
  313. package/storybook-static/assets/Choice.stories-Cf7UbPxn.js +1 -0
  314. package/storybook-static/assets/Color-23OOGO2C-CELuW8GR.js +1 -0
  315. package/storybook-static/assets/ColorPicker.stories-Dc7-AuPQ.js +1 -0
  316. package/storybook-static/assets/CoveringLoader.stories-DrUQAhI6.js +1 -0
  317. package/storybook-static/assets/DocsRenderer-LL677BLK-BOcEjZ28.js +755 -0
  318. package/storybook-static/assets/Drawer.stories-D3_-TuT0.js +1 -0
  319. package/storybook-static/assets/EqualActions.stories-CwjZlkUA.js +1 -0
  320. package/storybook-static/assets/FullLoader.stories-DFAaVMfI.js +1 -0
  321. package/storybook-static/assets/Header.stories-BN7BuQx2.js +1 -0
  322. package/storybook-static/assets/Header.stories-CzPBNEkp.js +1 -0
  323. package/storybook-static/assets/HeaderIconAction.stories-Dm3Q-BVW.js +1 -0
  324. package/storybook-static/assets/Icon.stories-D1YeVBlB.js +1 -0
  325. package/storybook-static/assets/Input.stories-Cbj2X3kT.js +197 -0
  326. package/storybook-static/assets/Item.stories-CmjyxdgQ.js +1 -0
  327. package/storybook-static/assets/KeyValue.stories-CogaZP09.js +1 -0
  328. package/storybook-static/assets/Label.stories-B6pCT45X.js +1 -0
  329. package/storybook-static/assets/Label.stories-BR3gNHqM.js +1 -0
  330. package/storybook-static/assets/Line.stories-BJLer7gg.js +1 -0
  331. package/storybook-static/assets/List.stories-MSQY1Rdo.js +1 -0
  332. package/storybook-static/assets/Loader.stories-CbN84qNp.js +1 -0
  333. package/storybook-static/assets/Loading.stories-BOANGXsc.js +1 -0
  334. package/storybook-static/assets/Message.stories-_51K9ZDn.js +1 -0
  335. package/storybook-static/assets/Modal.stories-CixfvMuM.js +1 -0
  336. package/storybook-static/assets/ModalButtons.stories-DHHsnoGB.js +1 -0
  337. package/storybook-static/assets/Pad.stories-hrKerezi.js +1 -0
  338. package/storybook-static/assets/Pop.stories-BTlQGve1.js +1 -0
  339. package/storybook-static/assets/PopLoader.stories-CyskY4fX.js +1 -0
  340. package/storybook-static/assets/Progress.stories-BLMPF6Ju.js +1 -0
  341. package/storybook-static/assets/Section.stories-M-QRH2_i.js +1 -0
  342. package/storybook-static/assets/Select.stories-BJjJqLTa.js +1 -0
  343. package/storybook-static/assets/Selector.stories-BxHyFnYo.js +1 -0
  344. package/storybook-static/assets/Stats.stories-VB0pi5k5.js +1 -0
  345. package/storybook-static/assets/StickyHeader.stories-BnxgnjJW.js +3 -0
  346. package/storybook-static/assets/Table.stories-6F-WrDBs.js +1 -0
  347. package/storybook-static/assets/TextArea.stories-DqzHYgIv.js +1 -0
  348. package/storybook-static/assets/Toaster.stories-C0ktk0DW.js +1 -0
  349. package/storybook-static/assets/Toggle.stories-tBlD8SJi.js +1 -0
  350. package/storybook-static/assets/ToolButton.stories-0rGBGqAt.js +1 -0
  351. package/storybook-static/assets/Value.stories-CFT20m8r.js +1 -0
  352. package/storybook-static/assets/WithTooltip-65CFNBJE-CEiAC9o_.js +9 -0
  353. package/storybook-static/assets/formatter-EIJCOSYU-3FZOx6vn.js +1 -0
  354. package/storybook-static/assets/iframe-DvhcA1iZ.js +1244 -0
  355. package/storybook-static/assets/preload-helper-PPVm8Dsz.js +1 -0
  356. package/storybook-static/assets/react-18-oqx706Mo.js +1 -0
  357. package/storybook-static/assets/syntaxhighlighter-W7WJGI2T-D7f2o1Z3.js +6 -0
  358. package/storybook-static/favicon-wrapper.svg +46 -0
  359. package/storybook-static/favicon.svg +1 -0
  360. package/storybook-static/iframe.html +709 -0
  361. package/storybook-static/index.html +146 -0
  362. package/storybook-static/index.json +1 -0
  363. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  364. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  365. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  366. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  367. package/storybook-static/project.json +1 -0
  368. package/storybook-static/sb-addons/docs-1/manager-bundle.js +3 -0
  369. package/storybook-static/sb-addons/onboarding-2/manager-bundle.js +97 -0
  370. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +630 -0
  371. package/storybook-static/sb-common-assets/favicon-wrapper.svg +46 -0
  372. package/storybook-static/sb-common-assets/favicon.svg +1 -0
  373. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  374. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  375. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  376. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  377. package/storybook-static/sb-manager/globals-runtime.js +76749 -0
  378. package/storybook-static/sb-manager/globals.js +24 -0
  379. package/storybook-static/sb-manager/manager-stores.js +23 -0
  380. package/storybook-static/sb-manager/runtime.js +27463 -0
  381. package/storybook-static/vite-inject-mocker-entry.js +2 -0
  382. package/dist/components/ui/toaster/Notification.d.ts +0 -9
  383. package/dist/components/ui/toaster/Notification.d.ts.map +0 -1
  384. package/dist/components/ui/toaster/Notification.js +0 -53
  385. package/dist/components/ui/toaster/Notification.js.map +0 -1
  386. package/dist/components/ui/toaster/Toaster.styled.d.ts +0 -89
  387. package/dist/components/ui/toaster/Toaster.styled.d.ts.map +0 -1
  388. package/dist/components/ui/toaster/Toaster.styled.js +0 -39
  389. package/dist/components/ui/toaster/Toaster.styled.js.map +0 -1
  390. package/dist/components/ui/toaster/types.d.ts +0 -7
  391. package/dist/components/ui/toaster/types.d.ts.map +0 -1
  392. package/dist/components/ui/toaster/types.js +0 -3
  393. package/dist/components/ui/toaster/types.js.map +0 -1
  394. package/docs/classes/index.ToasterProvider.html +0 -120
  395. package/esm/components/form/Checkbox.stories.d.ts +0 -9
  396. package/esm/components/form/Checkbox.stories.d.ts.map +0 -1
  397. package/esm/components/form/Checkbox.stories.js +0 -80
  398. package/esm/components/form/Checkbox.stories.js.map +0 -1
  399. package/esm/components/form/ColorPicker.stories.d.ts +0 -10
  400. package/esm/components/form/ColorPicker.stories.d.ts.map +0 -1
  401. package/esm/components/form/ColorPicker.stories.js +0 -75
  402. package/esm/components/form/ColorPicker.stories.js.map +0 -1
  403. package/esm/components/form/Label.stories.d.ts +0 -11
  404. package/esm/components/form/Label.stories.d.ts.map +0 -1
  405. package/esm/components/form/Label.stories.js +0 -43
  406. package/esm/components/form/Label.stories.js.map +0 -1
  407. package/esm/components/form/Select.stories.d.ts +0 -8
  408. package/esm/components/form/Select.stories.d.ts.map +0 -1
  409. package/esm/components/form/Select.stories.js +0 -24
  410. package/esm/components/form/Select.stories.js.map +0 -1
  411. package/esm/components/form/Toggle.stories.d.ts +0 -14
  412. package/esm/components/form/Toggle.stories.d.ts.map +0 -1
  413. package/esm/components/form/Toggle.stories.js +0 -76
  414. package/esm/components/form/Toggle.stories.js.map +0 -1
  415. package/esm/components/form/choice/Choice.stories.d.ts +0 -10
  416. package/esm/components/form/choice/Choice.stories.d.ts.map +0 -1
  417. package/esm/components/form/choice/Choice.stories.js +0 -80
  418. package/esm/components/form/choice/Choice.stories.js.map +0 -1
  419. package/esm/components/form/input/Input.stories.d.ts +0 -10
  420. package/esm/components/form/input/Input.stories.d.ts.map +0 -1
  421. package/esm/components/form/input/Input.stories.js +0 -54
  422. package/esm/components/form/input/Input.stories.js.map +0 -1
  423. package/esm/components/form/textarea/TextArea.stories.d.ts +0 -8
  424. package/esm/components/form/textarea/TextArea.stories.d.ts.map +0 -1
  425. package/esm/components/form/textarea/TextArea.stories.js +0 -19
  426. package/esm/components/form/textarea/TextArea.stories.js.map +0 -1
  427. package/esm/components/icons/Icon.stories.d.ts +0 -10
  428. package/esm/components/icons/Icon.stories.d.ts.map +0 -1
  429. package/esm/components/icons/Icon.stories.js +0 -49
  430. package/esm/components/icons/Icon.stories.js.map +0 -1
  431. package/esm/components/layout/card/Card.stories.d.ts +0 -11
  432. package/esm/components/layout/card/Card.stories.d.ts.map +0 -1
  433. package/esm/components/layout/card/Card.stories.js +0 -39
  434. package/esm/components/layout/card/Card.stories.js.map +0 -1
  435. package/esm/components/layout/header/Header.stories.d.ts +0 -11
  436. package/esm/components/layout/header/Header.stories.d.ts.map +0 -1
  437. package/esm/components/layout/header/Header.stories.js +0 -56
  438. package/esm/components/layout/header/Header.stories.js.map +0 -1
  439. package/esm/components/layout/header/HeaderIconAction.stories.d.ts +0 -10
  440. package/esm/components/layout/header/HeaderIconAction.stories.d.ts.map +0 -1
  441. package/esm/components/layout/header/HeaderIconAction.stories.js +0 -43
  442. package/esm/components/layout/header/HeaderIconAction.stories.js.map +0 -1
  443. package/esm/components/layout/header/StickyHeader.stories.d.ts +0 -9
  444. package/esm/components/layout/header/StickyHeader.stories.d.ts.map +0 -1
  445. package/esm/components/layout/header/StickyHeader.stories.js +0 -60
  446. package/esm/components/layout/header/StickyHeader.stories.js.map +0 -1
  447. package/esm/components/layout/list/Header.stories.d.ts +0 -8
  448. package/esm/components/layout/list/Header.stories.d.ts.map +0 -1
  449. package/esm/components/layout/list/Header.stories.js +0 -27
  450. package/esm/components/layout/list/Header.stories.js.map +0 -1
  451. package/esm/components/layout/list/Item.stories.d.ts +0 -11
  452. package/esm/components/layout/list/Item.stories.d.ts.map +0 -1
  453. package/esm/components/layout/list/Item.stories.js +0 -98
  454. package/esm/components/layout/list/Item.stories.js.map +0 -1
  455. package/esm/components/layout/list/Label.stories.d.ts +0 -8
  456. package/esm/components/layout/list/Label.stories.d.ts.map +0 -1
  457. package/esm/components/layout/list/Label.stories.js +0 -29
  458. package/esm/components/layout/list/Label.stories.js.map +0 -1
  459. package/esm/components/layout/list/List.stories.d.ts +0 -9
  460. package/esm/components/layout/list/List.stories.d.ts.map +0 -1
  461. package/esm/components/layout/list/List.stories.js +0 -46
  462. package/esm/components/layout/list/List.stories.js.map +0 -1
  463. package/esm/components/layout/list/Value.stories.d.ts +0 -8
  464. package/esm/components/layout/list/Value.stories.d.ts.map +0 -1
  465. package/esm/components/layout/list/Value.stories.js +0 -23
  466. package/esm/components/layout/list/Value.stories.js.map +0 -1
  467. package/esm/components/layout/section/Section.stories.d.ts +0 -8
  468. package/esm/components/layout/section/Section.stories.d.ts.map +0 -1
  469. package/esm/components/layout/section/Section.stories.js +0 -31
  470. package/esm/components/layout/section/Section.stories.js.map +0 -1
  471. package/esm/components/layout/table/Table.stories.d.ts +0 -8
  472. package/esm/components/layout/table/Table.stories.d.ts.map +0 -1
  473. package/esm/components/layout/table/Table.stories.js +0 -49
  474. package/esm/components/layout/table/Table.stories.js.map +0 -1
  475. package/esm/components/ui/action/Action.stories.d.ts +0 -11
  476. package/esm/components/ui/action/Action.stories.d.ts.map +0 -1
  477. package/esm/components/ui/action/Action.stories.js +0 -58
  478. package/esm/components/ui/action/Action.stories.js.map +0 -1
  479. package/esm/components/ui/action/EqualActions.stories.d.ts +0 -10
  480. package/esm/components/ui/action/EqualActions.stories.d.ts.map +0 -1
  481. package/esm/components/ui/action/EqualActions.stories.js +0 -38
  482. package/esm/components/ui/action/EqualActions.stories.js.map +0 -1
  483. package/esm/components/ui/button/Button.stories.d.ts +0 -9
  484. package/esm/components/ui/button/Button.stories.d.ts.map +0 -1
  485. package/esm/components/ui/button/Button.stories.js +0 -35
  486. package/esm/components/ui/button/Button.stories.js.map +0 -1
  487. package/esm/components/ui/directionPad/Pad.stories.d.ts +0 -10
  488. package/esm/components/ui/directionPad/Pad.stories.d.ts.map +0 -1
  489. package/esm/components/ui/directionPad/Pad.stories.js +0 -79
  490. package/esm/components/ui/directionPad/Pad.stories.js.map +0 -1
  491. package/esm/components/ui/drawer/Drawer.stories.d.ts +0 -11
  492. package/esm/components/ui/drawer/Drawer.stories.d.ts.map +0 -1
  493. package/esm/components/ui/drawer/Drawer.stories.js +0 -102
  494. package/esm/components/ui/drawer/Drawer.stories.js.map +0 -1
  495. package/esm/components/ui/keyValue/KeyValue.stories.d.ts +0 -11
  496. package/esm/components/ui/keyValue/KeyValue.stories.d.ts.map +0 -1
  497. package/esm/components/ui/keyValue/KeyValue.stories.js +0 -98
  498. package/esm/components/ui/keyValue/KeyValue.stories.js.map +0 -1
  499. package/esm/components/ui/line/Line.stories.d.ts +0 -8
  500. package/esm/components/ui/line/Line.stories.d.ts.map +0 -1
  501. package/esm/components/ui/line/Line.stories.js +0 -27
  502. package/esm/components/ui/line/Line.stories.js.map +0 -1
  503. package/esm/components/ui/loader/CoveringLoader.stories.d.ts +0 -8
  504. package/esm/components/ui/loader/CoveringLoader.stories.d.ts.map +0 -1
  505. package/esm/components/ui/loader/CoveringLoader.stories.js +0 -50
  506. package/esm/components/ui/loader/CoveringLoader.stories.js.map +0 -1
  507. package/esm/components/ui/loader/FullLoader.stories.d.ts +0 -8
  508. package/esm/components/ui/loader/FullLoader.stories.d.ts.map +0 -1
  509. package/esm/components/ui/loader/FullLoader.stories.js +0 -19
  510. package/esm/components/ui/loader/FullLoader.stories.js.map +0 -1
  511. package/esm/components/ui/loader/Loader.stories.d.ts +0 -8
  512. package/esm/components/ui/loader/Loader.stories.d.ts.map +0 -1
  513. package/esm/components/ui/loader/Loader.stories.js +0 -23
  514. package/esm/components/ui/loader/Loader.stories.js.map +0 -1
  515. package/esm/components/ui/loader/Loading.stories.d.ts +0 -8
  516. package/esm/components/ui/loader/Loading.stories.d.ts.map +0 -1
  517. package/esm/components/ui/loader/Loading.stories.js +0 -32
  518. package/esm/components/ui/loader/Loading.stories.js.map +0 -1
  519. package/esm/components/ui/loader/PopLoader.stories.d.ts +0 -8
  520. package/esm/components/ui/loader/PopLoader.stories.d.ts.map +0 -1
  521. package/esm/components/ui/loader/PopLoader.stories.js +0 -24
  522. package/esm/components/ui/loader/PopLoader.stories.js.map +0 -1
  523. package/esm/components/ui/message/Message.stories.d.ts +0 -9
  524. package/esm/components/ui/message/Message.stories.d.ts.map +0 -1
  525. package/esm/components/ui/message/Message.stories.js +0 -43
  526. package/esm/components/ui/message/Message.stories.js.map +0 -1
  527. package/esm/components/ui/modal/Modal.stories.d.ts +0 -10
  528. package/esm/components/ui/modal/Modal.stories.d.ts.map +0 -1
  529. package/esm/components/ui/modal/Modal.stories.js +0 -84
  530. package/esm/components/ui/modal/Modal.stories.js.map +0 -1
  531. package/esm/components/ui/modal/ModalButtons.stories.d.ts +0 -8
  532. package/esm/components/ui/modal/ModalButtons.stories.d.ts.map +0 -1
  533. package/esm/components/ui/modal/ModalButtons.stories.js +0 -19
  534. package/esm/components/ui/modal/ModalButtons.stories.js.map +0 -1
  535. package/esm/components/ui/pop/Pop.stories.d.ts +0 -8
  536. package/esm/components/ui/pop/Pop.stories.d.ts.map +0 -1
  537. package/esm/components/ui/pop/Pop.stories.js +0 -65
  538. package/esm/components/ui/pop/Pop.stories.js.map +0 -1
  539. package/esm/components/ui/progress/Progress.stories.d.ts +0 -9
  540. package/esm/components/ui/progress/Progress.stories.d.ts.map +0 -1
  541. package/esm/components/ui/progress/Progress.stories.js +0 -29
  542. package/esm/components/ui/progress/Progress.stories.js.map +0 -1
  543. package/esm/components/ui/stats/Stats.stories.d.ts +0 -11
  544. package/esm/components/ui/stats/Stats.stories.d.ts.map +0 -1
  545. package/esm/components/ui/stats/Stats.stories.js +0 -104
  546. package/esm/components/ui/stats/Stats.stories.js.map +0 -1
  547. package/esm/components/ui/tabs/Selector.stories.d.ts +0 -12
  548. package/esm/components/ui/tabs/Selector.stories.d.ts.map +0 -1
  549. package/esm/components/ui/tabs/Selector.stories.js +0 -110
  550. package/esm/components/ui/tabs/Selector.stories.js.map +0 -1
  551. package/esm/components/ui/toaster/Notification.d.ts +0 -9
  552. package/esm/components/ui/toaster/Notification.d.ts.map +0 -1
  553. package/esm/components/ui/toaster/Notification.js +0 -17
  554. package/esm/components/ui/toaster/Notification.js.map +0 -1
  555. package/esm/components/ui/toaster/Toaster.stories.d.ts +0 -7
  556. package/esm/components/ui/toaster/Toaster.stories.d.ts.map +0 -1
  557. package/esm/components/ui/toaster/Toaster.stories.js +0 -39
  558. package/esm/components/ui/toaster/Toaster.stories.js.map +0 -1
  559. package/esm/components/ui/toaster/Toaster.styled.d.ts +0 -89
  560. package/esm/components/ui/toaster/Toaster.styled.d.ts.map +0 -1
  561. package/esm/components/ui/toaster/Toaster.styled.js +0 -36
  562. package/esm/components/ui/toaster/Toaster.styled.js.map +0 -1
  563. package/esm/components/ui/toaster/types.d.ts +0 -7
  564. package/esm/components/ui/toaster/types.d.ts.map +0 -1
  565. package/esm/components/ui/toaster/types.js +0 -2
  566. package/esm/components/ui/toaster/types.js.map +0 -1
  567. package/esm/components/ui/toolButton/ToolButton.stories.d.ts +0 -8
  568. package/esm/components/ui/toolButton/ToolButton.stories.d.ts.map +0 -1
  569. package/esm/components/ui/toolButton/ToolButton.stories.js +0 -29
  570. package/esm/components/ui/toolButton/ToolButton.stories.js.map +0 -1
  571. package/src/components/ui/toaster/Notification.tsx +0 -39
  572. package/src/components/ui/toaster/Toaster.styled.ts +0 -42
  573. package/src/components/ui/toaster/types.ts +0 -9
@@ -1,120 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base=".."><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ToasterProvider | react-miui - v0.32.2</title><meta name="description" content="Documentation for react-miui"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search"><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">react-miui - v0.32.2</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">react-miui</a></li><li><a href="../modules/index.html">index</a></li><li><a href="index.ToasterProvider.html">ToasterProvider</a></li></ul><h1>Class ToasterProvider</h1></div><section class="tsd-panel tsd-hierarchy" data-refl="7708"><h4>Hierarchy</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-signature-type">Component</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">ToasterProvider</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/dzek69/react-miui/blob/a4fd47816c1fb66812c82bd64feec097d78401ce/src/components/ui/toaster/Toaster.tsx#L27">src/components/ui/toaster/Toaster.tsx:27</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="index.ToasterProvider.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
2
- </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="index.ToasterProvider.html#context" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>context</span></a>
3
- <a href="index.ToasterProvider.html#props" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>props</span></a>
4
- <a href="index.ToasterProvider.html#refs" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>refs</span></a>
5
- <a href="index.ToasterProvider.html#state" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a>
6
- <a href="index.ToasterProvider.html#contexttype" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>context<wbr/>Type?</span></a>
7
- </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="index.ToasterProvider.html#componentdidcatch" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Did<wbr/>Catch?</span></a>
8
- <a href="index.ToasterProvider.html#componentdidmount" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Did<wbr/>Mount?</span></a>
9
- <a href="index.ToasterProvider.html#componentdidupdate" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Did<wbr/>Update?</span></a>
10
- <a href="index.ToasterProvider.html#componentwillmount" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Mount?</span></a>
11
- <a href="index.ToasterProvider.html#componentwillreceiveprops" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Receive<wbr/>Props?</span></a>
12
- <a href="index.ToasterProvider.html#componentwillunmount" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Unmount?</span></a>
13
- <a href="index.ToasterProvider.html#componentwillupdate" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Update?</span></a>
14
- <a href="index.ToasterProvider.html#forceupdate" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>force<wbr/>Update</span></a>
15
- <a href="index.ToasterProvider.html#getsnapshotbeforeupdate" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Snapshot<wbr/>Before<wbr/>Update?</span></a>
16
- <a href="index.ToasterProvider.html#render" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>render</span></a>
17
- <a href="index.ToasterProvider.html#setstate" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a>
18
- <a href="index.ToasterProvider.html#shouldcomponentupdate" class="tsd-index-link tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>should<wbr/>Component<wbr/>Update?</span></a>
19
- <a href="index.ToasterProvider.html#unsafe_componentwillmount" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Mount?</span></a>
20
- <a href="index.ToasterProvider.html#unsafe_componentwillreceiveprops" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Receive<wbr/>Props?</span></a>
21
- <a href="index.ToasterProvider.html#unsafe_componentwillupdate" class="tsd-index-link deprecated tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Update?</span></a>
22
- </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructortoasterprovider" class="tsd-anchor"></a><span class="tsd-signature-keyword">new</span> <span class="tsd-kind-constructor-signature">ToasterProvider</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <a href="index.ToasterProvider.html" class="tsd-signature-type tsd-kind-class">ToasterProvider</a><a href="#constructortoasterprovider" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">props</span>: <span class="tsd-signature-type">Props</span></span></li><li><span><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="index.ToasterProvider.html" class="tsd-signature-type tsd-kind-class">ToasterProvider</a></h4><aside class="tsd-sources"><p>Overrides React.Component&lt;Props, State&gt;.constructor</p><ul><li>Defined in <a href="https://github.com/dzek69/react-miui/blob/a4fd47816c1fb66812c82bd64feec097d78401ce/src/components/ui/toaster/Toaster.tsx#L28">src/components/ui/toaster/Toaster.tsx:28</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="context" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>context</span><a href="#context" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">context</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span></div><div class="tsd-comment tsd-typography"><p>If using the new style context, re-declare this in your class to be the
23
- <code>React.ContextType</code> of your <code>static contextType</code>.
24
- Should be used with type annotation or static contextType.</p>
25
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link"><a id="example" class="tsd-anchor"></a>Example<a href="#example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-6">static</span><span class="hl-1"> </span><span class="hl-6">contextType</span><span class="hl-1"> = </span><span class="hl-6">MyContext</span><br/><span class="hl-7">// For TS pre-3.7:</span><br/><span class="hl-6">context</span><span class="hl-1">!: </span><span class="hl-6">React</span><span class="hl-1">.</span><span class="hl-6">ContextType</span><span class="hl-1">&lt;</span><span class="hl-0">typeof</span><span class="hl-1"> </span><span class="hl-6">MyContext</span><span class="hl-1">&gt;</span><br/><span class="hl-7">// For TS 3.7 and above:</span><br/><span class="hl-0">declare</span><span class="hl-1"> </span><span class="hl-8">context</span><span class="hl-1">: </span><span class="hl-6">React</span><span class="hl-1">.</span><span class="hl-6">ContextType</span><span class="hl-1">&lt;</span><span class="hl-0">typeof</span><span class="hl-1"> </span><span class="hl-6">MyContext</span><span class="hl-1">&gt;</span>
26
- </code><button type="button">Copy</button></pre>
27
-
28
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see" class="tsd-anchor"></a>See<a href="#see" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="https://react.dev/reference/react/Component#context">React Docs</a></p>
29
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.context</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1013</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="props" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Readonly</code><span>props</span><a href="#props" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources"><p>Inherited from React.Component.props</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1033</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="refs" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span class="deprecated">refs</span><a href="#refs" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">refs</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-signature-symbol">[</span><span class="tsd-kind-index-signature">key</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]:</span> <span class="tsd-signature-type">ReactInstance</span> <span class="tsd-signature-symbol">}</span></div><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated" class="tsd-anchor"></a>Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4></div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-1" class="tsd-anchor"></a>See<a href="#see-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="https://legacy.reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs">Legacy React Docs</a></p>
30
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.refs</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1040</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="state" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>state</span><a href="#state" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">state</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span></div><aside class="tsd-sources"><p>Inherited from React.Component.state</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1034</li></ul></aside></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="contexttype" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code> <code class="tsd-tag">Optional</code><span>context<wbr/>Type</span><a href="#contexttype" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">contextType</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">Context</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></div><div class="tsd-comment tsd-typography"><p>If set, <code>this.context</code> will be set at runtime to the current value of the given Context.</p>
31
- </div><div class="tsd-comment tsd-typography"><div class="tsd-tag-example"><h4 class="tsd-anchor-link"><a id="example-1" class="tsd-anchor"></a>Example<a href="#example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="ts"><span class="hl-0">type</span><span class="hl-1"> </span><span class="hl-5">MyContext</span><span class="hl-1"> = </span><span class="hl-5">number</span><br/><span class="hl-0">const</span><span class="hl-1"> </span><span class="hl-2">Ctx</span><span class="hl-1"> = </span><span class="hl-6">React</span><span class="hl-1">.</span><span class="hl-3">createContext</span><span class="hl-1">&lt;</span><span class="hl-5">MyContext</span><span class="hl-1">&gt;(</span><span class="hl-9">0</span><span class="hl-1">)</span><br/><br/><span class="hl-0">class</span><span class="hl-1"> </span><span class="hl-5">Foo</span><span class="hl-1"> </span><span class="hl-0">extends</span><span class="hl-1"> </span><span class="hl-5">React</span><span class="hl-1">.</span><span class="hl-5">Component</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-0">static</span><span class="hl-1"> </span><span class="hl-6">contextType</span><span class="hl-1"> = </span><span class="hl-6">Ctx</span><br/><span class="hl-1"> </span><span class="hl-6">context</span><span class="hl-1">!: </span><span class="hl-5">React</span><span class="hl-1">.</span><span class="hl-5">ContextType</span><span class="hl-1">&lt;</span><span class="hl-0">typeof</span><span class="hl-1"> </span><span class="hl-6">Ctx</span><span class="hl-1">&gt;</span><br/><span class="hl-1"> </span><span class="hl-3">render</span><span class="hl-1"> () {</span><br/><span class="hl-1"> </span><span class="hl-10">return</span><span class="hl-1"> &lt;&gt;</span><span class="hl-6">My</span><span class="hl-1"> </span><span class="hl-6">context</span><span class="hl-4">&#39;s value: {this.context}&lt;/&gt;</span><span class="hl-11">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
32
- </code><button type="button">Copy</button></pre>
33
-
34
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-2" class="tsd-anchor"></a>See<a href="#see-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p><a href="https://react.dev/reference/react/Component#static-contexttype">https://react.dev/reference/react/Component#static-contexttype</a></p>
35
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.contextType</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:995</li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="componentdidcatch" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>component<wbr/>Did<wbr/>Catch</span><a href="#componentdidcatch" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="componentdidcatch-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">componentDidCatch</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">error</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">errorInfo</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ErrorInfo</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#componentdidcatch-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Catches exceptions generated in descendant components. Unhandled exceptions will cause
36
- the entire component tree to unmount.</p>
37
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">error</span>: <span class="tsd-signature-type">Error</span></span></li><li><span><span class="tsd-kind-parameter">errorInfo</span>: <span class="tsd-signature-type">ErrorInfo</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from React.Component.componentDidCatch</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1397</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="componentdidmount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>component<wbr/>Did<wbr/>Mount</span><a href="#componentdidmount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="componentdidmount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">componentDidMount</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#componentdidmount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called immediately after a component is mounted. Setting state here will trigger re-rendering.</p>
38
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from React.Component.componentDidMount</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1376</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="componentdidupdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>component<wbr/>Did<wbr/>Update</span><a href="#componentdidupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="componentdidupdate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">componentDidUpdate</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">prevProps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">prevState</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">snapshot</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#componentdidupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called immediately after updating occurs. Not called for the initial render.</p>
39
- <p>The snapshot is only present if <a href="index.ToasterProvider.html#getsnapshotbeforeupdate" class="tsd-kind-method">getSnapshotBeforeUpdate</a> is present and returns non-null.</p>
40
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">prevProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">prevState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">snapshot</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from React.Component.componentDidUpdate</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1439</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="componentwillmount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span class="deprecated">component<wbr/>Will<wbr/>Mount</span><a href="#componentwillmount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="componentwillmount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">componentWillMount</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#componentwillmount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called immediately before mounting occurs, and before <a href="undefined">Component.render</a>.
41
- Avoid introducing any side-effects or subscriptions in this method.</p>
42
- <p>Note: the presence of <a href="undefined">NewLifecycle.getSnapshotBeforeUpdate getSnapshotBeforeUpdate</a>
43
- or <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> prevents
44
- this from being invoked.</p>
45
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated-1" class="tsd-anchor"></a>Deprecated<a href="#deprecated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>16.3, use <a href="undefined">ComponentLifecycle.componentDidMount componentDidMount</a> or the constructor instead; will stop working in React 17</p>
46
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-3" class="tsd-anchor"></a>See<a href="#see-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
47
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state</a></li>
48
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></li>
49
- </ul>
50
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.componentWillMount</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1455</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="componentwillreceiveprops" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span class="deprecated">component<wbr/>Will<wbr/>Receive<wbr/>Props</span><a href="#componentwillreceiveprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="componentwillreceiveprops-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">componentWillReceiveProps</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">nextProps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">nextContext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#componentwillreceiveprops-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called when the component may be receiving new props.
51
- React may call this even if props have not changed, so be sure to compare new and existing
52
- props if you only want to handle changes.</p>
53
- <p>Calling <a href="undefined">Component.setState</a> generally does not trigger this method.</p>
54
- <p>Note: the presence of <a href="undefined">NewLifecycle.getSnapshotBeforeUpdate getSnapshotBeforeUpdate</a>
55
- or <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> prevents
56
- this from being invoked.</p>
57
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextContext</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated-2" class="tsd-anchor"></a>Deprecated<a href="#deprecated-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>16.3, use static <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> instead; will stop working in React 17</p>
58
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-4" class="tsd-anchor"></a>See<a href="#see-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
59
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props</a></li>
60
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></li>
61
- </ul>
62
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.componentWillReceiveProps</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1486</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="componentwillunmount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>component<wbr/>Will<wbr/>Unmount</span><a href="#componentwillunmount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="componentwillunmount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">componentWillUnmount</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#componentwillunmount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
63
- cancelled network requests, or cleaning up any DOM elements created in <code>componentDidMount</code>.</p>
64
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from React.Component.componentWillUnmount</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1392</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="componentwillupdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span class="deprecated">component<wbr/>Will<wbr/>Update</span><a href="#componentwillupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="componentwillupdate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">componentWillUpdate</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">nextProps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">nextState</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">nextContext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#componentwillupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
65
- <p>Note: You cannot call <a href="undefined">Component.setState</a> here.</p>
66
- <p>Note: the presence of <a href="undefined">NewLifecycle.getSnapshotBeforeUpdate getSnapshotBeforeUpdate</a>
67
- or <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> prevents
68
- this from being invoked.</p>
69
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextContext</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated-3" class="tsd-anchor"></a>Deprecated<a href="#deprecated-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17</p>
70
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-5" class="tsd-anchor"></a>See<a href="#see-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
71
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update</a></li>
72
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></li>
73
- </ul>
74
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.componentWillUpdate</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1518</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="forceupdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>force<wbr/>Update</span><a href="#forceupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="forceupdate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">forceUpdate</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#forceupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from React.Component.forceUpdate</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1030</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="getsnapshotbeforeupdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>get<wbr/>Snapshot<wbr/>Before<wbr/>Update</span><a href="#getsnapshotbeforeupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="getsnapshotbeforeupdate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">getSnapshotBeforeUpdate</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">prevProps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">prevState</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><a href="#getsnapshotbeforeupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Runs before React applies the result of <a href="undefined">Component.render render</a> to the document, and
75
- returns an object to be given to <a href="index.ToasterProvider.html#componentdidupdate" class="tsd-kind-method">componentDidUpdate</a>. Useful for saving
76
- things such as scroll position before <a href="undefined">Component.render render</a> causes changes to it.</p>
77
- <p>Note: the presence of this method prevents any of the deprecated
78
- lifecycle events from running.</p>
79
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">prevProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">prevState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from React.Component.getSnapshotBeforeUpdate</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1433</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="render" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>render</span><a href="#render" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="render-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">render</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Element</span><a href="#render-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4><aside class="tsd-sources"><p>Overrides React.Component.render</p><ul><li>Defined in <a href="https://github.com/dzek69/react-miui/blob/a4fd47816c1fb66812c82bd64feec097d78401ce/src/components/ui/toaster/Toaster.tsx#L89">src/components/ui/toaster/Toaster.tsx:89</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="setstate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>set<wbr/>State</span><a href="#setstate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="setstate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">setState</span><span class="tsd-signature-symbol">&lt;</span><a class="tsd-signature-type tsd-kind-type-parameter" href="index.ToasterProvider.html#setstatek">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">&quot;list&quot;</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">:</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">State</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">(</span><br/>            <span class="tsd-kind-parameter">prevState</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>            <span class="tsd-kind-parameter">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">State</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="index.Pop.html#setstatek">K</a><span class="tsd-signature-symbol">&gt;</span><br/>        <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="index.Pop.html#setstatek">K</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">callback</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setstate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><section class="tsd-panel"><h4>Type Parameters</h4><ul class="tsd-type-parameter-list"><li><span><a id="setstatek" class="tsd-anchor"></a><span class="tsd-kind-type-parameter">K</span><span class="tsd-signature-keyword"> extends </span><span class="tsd-signature-type">&quot;list&quot;</span></span></li></ul></section><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">state</span>: <br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">State</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">prevState</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">props</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">null</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">State</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="index.Pop.html#setstatek">K</a><span class="tsd-signature-symbol">&gt;</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="index.Pop.html#setstatek">K</a><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">callback</span>: <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><p>Inherited from React.Component.setState</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1025</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="shouldcomponentupdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span>should<wbr/>Component<wbr/>Update</span><a href="#shouldcomponentupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="shouldcomponentupdate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">shouldComponentUpdate</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">nextProps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">nextState</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">nextContext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#shouldcomponentupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called to determine whether the change in props and state should trigger a re-render.</p>
80
- <p><code>Component</code> always returns true.
81
- <code>PureComponent</code> implements a shallow comparison on props and state and returns true if any
82
- props or states have changed.</p>
83
- <p>If false is returned, <a href="undefined">Component.render</a>, <code>componentWillUpdate</code>
84
- and <code>componentDidUpdate</code> will not be called.</p>
85
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextContext</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><p>Inherited from React.Component.shouldComponentUpdate</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1387</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="unsafe_componentwillmount" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span class="deprecated">UNSAFE_<wbr/>component<wbr/>Will<wbr/>Mount</span><a href="#unsafe_componentwillmount" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="unsafe_componentwillmount-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">UNSAFE_componentWillMount</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#unsafe_componentwillmount-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called immediately before mounting occurs, and before <a href="undefined">Component.render</a>.
86
- Avoid introducing any side-effects or subscriptions in this method.</p>
87
- <p>This method will not stop working in React 17.</p>
88
- <p>Note: the presence of <a href="undefined">NewLifecycle.getSnapshotBeforeUpdate getSnapshotBeforeUpdate</a>
89
- or <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> prevents
90
- this from being invoked.</p>
91
- </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated-4" class="tsd-anchor"></a>Deprecated<a href="#deprecated-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>16.3, use <a href="undefined">ComponentLifecycle.componentDidMount componentDidMount</a> or the constructor instead</p>
92
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-6" class="tsd-anchor"></a>See<a href="#see-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
93
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state</a></li>
94
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></li>
95
- </ul>
96
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.UNSAFE_componentWillMount</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1470</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="unsafe_componentwillreceiveprops" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span class="deprecated">UNSAFE_<wbr/>component<wbr/>Will<wbr/>Receive<wbr/>Props</span><a href="#unsafe_componentwillreceiveprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="unsafe_componentwillreceiveprops-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">UNSAFE_componentWillReceiveProps</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">nextProps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">nextContext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#unsafe_componentwillreceiveprops-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called when the component may be receiving new props.
97
- React may call this even if props have not changed, so be sure to compare new and existing
98
- props if you only want to handle changes.</p>
99
- <p>Calling <a href="undefined">Component.setState</a> generally does not trigger this method.</p>
100
- <p>This method will not stop working in React 17.</p>
101
- <p>Note: the presence of <a href="undefined">NewLifecycle.getSnapshotBeforeUpdate getSnapshotBeforeUpdate</a>
102
- or <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> prevents
103
- this from being invoked.</p>
104
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextContext</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated-5" class="tsd-anchor"></a>Deprecated<a href="#deprecated-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>16.3, use static <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> instead</p>
105
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-7" class="tsd-anchor"></a>See<a href="#see-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
106
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props</a></li>
107
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></li>
108
- </ul>
109
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.UNSAFE_componentWillReceiveProps</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1504</li></ul></aside></li></ul></section><section class="tsd-panel tsd-member tsd-is-inherited tsd-is-external"><a id="unsafe_componentwillupdate" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Optional</code><span class="deprecated">UNSAFE_<wbr/>component<wbr/>Will<wbr/>Update</span><a href="#unsafe_componentwillupdate" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures tsd-is-inherited tsd-is-external"><li class="tsd-signature tsd-anchor-link"><a id="unsafe_componentwillupdate-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">UNSAFE_componentWillUpdate</span><span class="tsd-signature-symbol">(</span><br/>    <span class="tsd-kind-parameter">nextProps</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">nextState</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-kind-parameter">nextContext</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#unsafe_componentwillupdate-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
110
- <p>Note: You cannot call <a href="undefined">Component.setState</a> here.</p>
111
- <p>This method will not stop working in React 17.</p>
112
- <p>Note: the presence of <a href="undefined">NewLifecycle.getSnapshotBeforeUpdate getSnapshotBeforeUpdate</a>
113
- or <a href="undefined">StaticLifecycle.getDerivedStateFromProps getDerivedStateFromProps</a> prevents
114
- this from being invoked.</p>
115
- </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">nextProps</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">Props</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextState</span>: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">State</span><span class="tsd-signature-symbol">&gt;</span></span></li><li><span><span class="tsd-kind-parameter">nextContext</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"><div class="tsd-tag-deprecated"><h4 class="tsd-anchor-link"><a id="deprecated-6" class="tsd-anchor"></a>Deprecated<a href="#deprecated-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>16.3, use getSnapshotBeforeUpdate instead</p>
116
- </div><div class="tsd-tag-see"><h4 class="tsd-anchor-link"><a id="see-8" class="tsd-anchor"></a>See<a href="#see-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><ul>
117
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update</a></li>
118
- <li><a href="https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://legacy.reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></li>
119
- </ul>
120
- </div></div><aside class="tsd-sources"><p>Inherited from React.Component.UNSAFE_componentWillUpdate</p><ul><li>Defined in node_modules/.pnpm/@types+react@18.3.21/node_modules/@types/react/index.d.ts:1534</li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#context" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>context</span></a><a href="#props" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>props</span></a><a href="#refs" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>refs</span></a><a href="#state" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a><a href="#contexttype" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>context<wbr/>Type</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#componentdidcatch" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Did<wbr/>Catch</span></a><a href="#componentdidmount" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Did<wbr/>Mount</span></a><a href="#componentdidupdate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Did<wbr/>Update</span></a><a href="#componentwillmount" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Mount</span></a><a href="#componentwillreceiveprops" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Receive<wbr/>Props</span></a><a href="#componentwillunmount" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Unmount</span></a><a href="#componentwillupdate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>component<wbr/>Will<wbr/>Update</span></a><a href="#forceupdate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>force<wbr/>Update</span></a><a href="#getsnapshotbeforeupdate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>get<wbr/>Snapshot<wbr/>Before<wbr/>Update</span></a><a href="#render" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>render</span></a><a href="#setstate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>set<wbr/>State</span></a><a href="#shouldcomponentupdate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>should<wbr/>Component<wbr/>Update</span></a><a href="#unsafe_componentwillmount" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Mount</span></a><a href="#unsafe_componentwillreceiveprops" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Receive<wbr/>Props</span></a><a href="#unsafe_componentwillupdate" class="tsd-is-inherited tsd-is-external"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>UNSAFE_<wbr/>component<wbr/>Will<wbr/>Update</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">react-miui - v0.32.2</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1,9 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react-vite";
2
- import { Checkbox } from "./Checkbox";
3
- declare const meta: Meta;
4
- type Story = StoryObj<typeof Checkbox>;
5
- declare const Primary: Story;
6
- declare const AllAtOnce: Story;
7
- export { Primary, AllAtOnce, };
8
- export default meta;
9
- //# sourceMappingURL=Checkbox.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/Checkbox.stories.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,QAAA,MAAM,IAAI,EAAE,IA0CX,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvC,QAAA,MAAM,OAAO,EAAE,KAAU,CAAC;AAM1B,QAAA,MAAM,SAAS,EAAE,KAyBhB,CAAC;AAEF,OAAO,EACH,OAAO,EACP,SAAS,GACZ,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,80 +0,0 @@
1
- import React, { useCallback, useState } from "react";
2
- import { omit } from "@ezez/utils";
3
- import { styled } from "../../theme.js";
4
- import { Div } from "../native/index.js";
5
- import { Checkbox } from "./Checkbox.js";
6
- const meta = {
7
- title: "Components/Form/Checkbox",
8
- component: Checkbox,
9
- tags: ["autodocs", "form"],
10
- argTypes: {
11
- color: {
12
- control: {
13
- type: "color",
14
- },
15
- },
16
- defaultChecked: {
17
- control: {
18
- type: "boolean",
19
- },
20
- },
21
- checked: {
22
- control: {
23
- type: "boolean",
24
- },
25
- },
26
- disabled: {
27
- control: {
28
- type: "boolean",
29
- },
30
- },
31
- readOnly: {
32
- control: {
33
- type: "boolean",
34
- },
35
- },
36
- error: {
37
- control: {
38
- type: "boolean",
39
- },
40
- },
41
- onChange: {
42
- action: "onChange",
43
- },
44
- },
45
- args: {
46
- children: "Check me",
47
- },
48
- };
49
- const Primary = {};
50
- const Green = styled(Checkbox, {
51
- "--color": "$colors$green1",
52
- });
53
- const AllAtOnce = {
54
- render: (args) => {
55
- const [v, setV] = useState(false);
56
- const handleToggle = useCallback(() => { setV((prevV) => !prevV); }, []);
57
- return (React.createElement(React.Fragment, null,
58
- React.createElement(Div, null, "Red (deprecated prop):"),
59
- React.createElement(Checkbox, { ...args, color: "red" }),
60
- React.createElement(Div, null, "Blue (css):"),
61
- React.createElement(Checkbox, { ...args, css: { "--color": "$blue5" } }),
62
- React.createElement(Div, null, "Green (composed):"),
63
- React.createElement(Green, { ...omit(args, ["ref"]) }),
64
- React.createElement(Div, null,
65
- "Always controlled: (checked: ",
66
- String(v),
67
- ")"),
68
- React.createElement(Checkbox, { ...args, checked: v, onChange: handleToggle }),
69
- React.createElement(Div, null, "Always disabled:"),
70
- React.createElement(Checkbox, { ...args, disabled: true }),
71
- React.createElement(Div, null, "Always read-only:"),
72
- React.createElement(Checkbox, { ...args, readOnly: true })));
73
- },
74
- args: {
75
- defaultChecked: true,
76
- },
77
- };
78
- export { Primary, AllAtOnce, };
79
- export default meta;
80
- //# sourceMappingURL=Checkbox.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox.stories.js","sourceRoot":"","sources":["../../../src/components/form/Checkbox.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAInC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,MAAM,IAAI,GAAS;IACf,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,QAAQ;IACnB,IAAI,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE;QACN,KAAK,EAAE;YACH,OAAO,EAAE;gBACL,IAAI,EAAE,OAAO;aAChB;SACJ;QACD,cAAc,EAAE;YACZ,OAAO,EAAE;gBACL,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,OAAO,EAAE;YACL,OAAO,EAAE;gBACL,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,QAAQ,EAAE;YACN,OAAO,EAAE;gBACL,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,QAAQ,EAAE;YACN,OAAO,EAAE;gBACL,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,KAAK,EAAE;YACH,OAAO,EAAE;gBACL,IAAI,EAAE,SAAS;aAClB;SACJ;QACD,QAAQ,EAAE;YACN,MAAM,EAAE,UAAU;SACrB;KACJ;IACD,IAAI,EAAE;QACF,QAAQ,EAAE,UAAU;KACvB;CACJ,CAAC;AAIF,MAAM,OAAO,GAAU,EAAE,CAAC;AAE1B,MAAM,KAAK,GAAG,MAAM,CAAC,QAAQ,EAAE;IAC3B,SAAS,EAAE,gBAAgB;CAC9B,CAAC,CAAC;AAEH,MAAM,SAAS,GAAU;IACrB,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;QACb,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;QAClC,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,EAAE,GAAG,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAEzE,OAAO,CACH;YACI,oBAAC,GAAG,iCAA6B;YACjC,oBAAC,QAAQ,OAAK,IAAI,EAAE,KAAK,EAAE,KAAK,GAAI;YACpC,oBAAC,GAAG,sBAAkB;YACtB,oBAAC,QAAQ,OAAK,IAAI,EAAE,GAAG,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAI;YACpD,oBAAC,GAAG,4BAAwB;YAC5B,oBAAC,KAAK,OAAK,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,GAAI;YAClC,oBAAC,GAAG;;gBAA+B,MAAM,CAAC,CAAC,CAAC;oBAAQ;YACpD,oBAAC,QAAQ,OAAK,IAAI,EAAE,OAAO,EAAE,CAAC,EAAE,QAAQ,EAAE,YAAY,GAAI;YAC1D,oBAAC,GAAG,2BAAuB;YAC3B,oBAAC,QAAQ,OAAK,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAI;YACtC,oBAAC,GAAG,4BAAwB;YAC5B,oBAAC,QAAQ,OAAK,IAAI,EAAE,QAAQ,EAAE,IAAI,GAAI,CACvC,CACN,CAAC;IACN,CAAC;IACD,IAAI,EAAE;QACF,cAAc,EAAE,IAAI;KACvB;CACJ,CAAC;AAEF,OAAO,EACH,OAAO,EACP,SAAS,GACZ,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react-vite";
2
- import { ColorPicker } from "./ColorPicker";
3
- declare const meta: Meta;
4
- type Story = StoryObj<typeof ColorPicker>;
5
- declare const Basic: Story;
6
- declare const PillVariant: Story;
7
- declare const States: Story;
8
- export default meta;
9
- export { Basic, PillVariant, States, };
10
- //# sourceMappingURL=ColorPicker.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ColorPicker.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/ColorPicker.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAA,MAAM,IAAI,EAAE,IAaX,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAgB1C,QAAA,MAAM,KAAK,EAAE,KAiBZ,CAAC;AAEF,QAAA,MAAM,WAAW,EAAE,KAmBlB,CAAC;AAEF,QAAA,MAAM,MAAM,EAAE,KAgFb,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,OAAO,EACH,KAAK,EACL,WAAW,EACX,MAAM,GACT,CAAC"}
@@ -1,75 +0,0 @@
1
- import React, { useState } from "react";
2
- import { styled } from "../../theme.js";
3
- import { Section } from "../layout/section/Section.js";
4
- import { ColorPicker } from "./ColorPicker.js";
5
- const meta = {
6
- title: "Components/Form/ColorPicker",
7
- component: ColorPicker,
8
- tags: ["autodocs", "form"],
9
- argTypes: {
10
- variant: {
11
- control: { type: "select" },
12
- options: [undefined, "pill"],
13
- },
14
- value: {
15
- control: { type: "color" },
16
- },
17
- },
18
- };
19
- const Container = styled("div", {
20
- display: "flex",
21
- flexDirection: "column",
22
- gap: "2rem",
23
- padding: "1rem",
24
- });
25
- const Row = styled("div", {
26
- display: "flex",
27
- gap: "1rem",
28
- alignItems: "center",
29
- flexWrap: "wrap",
30
- });
31
- const Basic = {
32
- render: () => {
33
- const [color, setColor] = useState("#3ec234");
34
- return (React.createElement(Section, { vertical: true, horizontal: true },
35
- React.createElement(Row, null,
36
- React.createElement(ColorPicker, { value: color, name: "basic-color", onChange: (e) => { setColor(e.target.value); } }),
37
- React.createElement("span", null,
38
- "Selected: ",
39
- color))));
40
- },
41
- };
42
- const PillVariant = {
43
- render: () => {
44
- const [color, setColor] = useState("#008ad2");
45
- return (React.createElement(Section, { vertical: true, horizontal: true },
46
- React.createElement("div", { style: { width: "200px" } },
47
- React.createElement(ColorPicker, { value: color, name: "pill-color", onChange: (e) => { setColor(e.target.value); }, variant: "pill", label: "Choose Color" })),
48
- React.createElement("p", null,
49
- "Selected: ",
50
- color)));
51
- },
52
- };
53
- const States = {
54
- render: () => {
55
- const [color, setColor] = useState("#d2f39f");
56
- return (React.createElement(Container, null,
57
- React.createElement(Section, { vertical: true, horizontal: true },
58
- React.createElement("h3", null, "Different States"),
59
- React.createElement(Row, null,
60
- React.createElement(ColorPicker, { value: color, name: "normal", onChange: (e) => { setColor(e.target.value); } }),
61
- React.createElement(ColorPicker, { value: color, name: "disabled", onChange: (e) => { setColor(e.target.value); }, disabled: true }),
62
- React.createElement(ColorPicker, { value: color, name: "readonly", onChange: (e) => { setColor(e.target.value); }, readOnly: true }),
63
- React.createElement(ColorPicker, { value: color, name: "error", onChange: (e) => { setColor(e.target.value); }, error: true }))),
64
- React.createElement(Section, { vertical: true, horizontal: true },
65
- React.createElement("h3", null, "Pill States"),
66
- React.createElement("div", { style: { display: "flex", flexDirection: "column", gap: "1rem", maxWidth: "200px" } },
67
- React.createElement(ColorPicker, { value: color, name: "pill-normal", onChange: (e) => { setColor(e.target.value); }, variant: "pill", label: "Normal" }),
68
- React.createElement(ColorPicker, { value: color, name: "pill-disabled", onChange: (e) => { setColor(e.target.value); }, variant: "pill", label: "Disabled", disabled: true }),
69
- React.createElement(ColorPicker, { value: color, name: "pill-readOnly", onChange: (e) => { setColor(e.target.value); }, variant: "pill", label: "Read only", readOnly: true }),
70
- React.createElement(ColorPicker, { value: color, name: "pill-error", onChange: (e) => { setColor(e.target.value); }, variant: "pill", label: "With Error", error: true })))));
71
- },
72
- };
73
- export default meta;
74
- export { Basic, PillVariant, States, };
75
- //# sourceMappingURL=ColorPicker.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ColorPicker.stories.js","sourceRoot":"","sources":["../../../src/components/form/ColorPicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,IAAI,GAAS;IACf,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,WAAW;IACtB,IAAI,EAAE,CAAC,UAAU,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE;QACN,OAAO,EAAE;YACL,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;YAC3B,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC;SAC/B;QACD,KAAK,EAAE;YACH,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;SAC7B;KACJ;CACJ,CAAC;AAIF,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE;IAC5B,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,QAAQ;IACvB,GAAG,EAAE,MAAM;IACX,OAAO,EAAE,MAAM;CAClB,CAAC,CAAC;AAEH,MAAM,GAAG,GAAG,MAAM,CAAC,KAAK,EAAE;IACtB,OAAO,EAAE,MAAM;IACf,GAAG,EAAE,MAAM;IACX,UAAU,EAAE,QAAQ;IACpB,QAAQ,EAAE,MAAM;CACnB,CAAC,CAAC;AAEH,MAAM,KAAK,GAAU;IACjB,MAAM,EAAE,GAAG,EAAE;QACT,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE9C,OAAO,CACH,oBAAC,OAAO,IAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI;YACrC,oBAAC,GAAG;gBACA,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,aAAa,EACnB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAChD;gBACF;;oBAAiB,KAAK,CAAQ,CAC5B,CACA,CACb,CAAC;IACN,CAAC;CACJ,CAAC;AAEF,MAAM,WAAW,GAAU;IACvB,MAAM,EAAE,GAAG,EAAE;QACT,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE9C,OAAO,CACH,oBAAC,OAAO,IAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI;YACrC,6BAAK,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE;gBAC1B,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,cAAc,GACvB,CACA;YACN;;gBAAc,KAAK,CAAK,CAClB,CACb,CAAC;IACN,CAAC;CACJ,CAAC;AAEF,MAAM,MAAM,GAAU;IAClB,MAAM,EAAE,GAAG,EAAE;QACT,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;QAE9C,OAAO,CACH,oBAAC,SAAS;YACN,oBAAC,OAAO,IAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI;gBACrC,mDAAyB;gBACzB,oBAAC,GAAG;oBACA,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,QAAQ,EACd,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,GAChD;oBAEF,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,QAAQ,EAAE,IAAI,GAChB;oBAEF,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,UAAU,EAChB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,QAAQ,EAAE,IAAI,GAChB;oBAEF,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,KAAK,EAAE,IAAI,GACb,CACA,CACA;YAEV,oBAAC,OAAO,IAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,IAAI;gBACrC,8CAAoB;gBACpB,6BAAK,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE;oBACpF,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,aAAa,EACnB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,QAAQ,GACjB;oBAEF,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,UAAU,EACjB,QAAQ,EAAE,IAAI,GAChB;oBAEF,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,WAAW,EAClB,QAAQ,EAAE,IAAI,GAChB;oBAEF,oBAAC,WAAW,IACR,KAAK,EAAE,KAAK,EACZ,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE,GAAG,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC9C,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,YAAY,EACnB,KAAK,EAAE,IAAI,GACb,CACA,CACA,CACF,CACf,CAAC;IACN,CAAC;CACJ,CAAC;AAEF,eAAe,IAAI,CAAC;AAEpB,OAAO,EACH,KAAK,EACL,WAAW,EACX,MAAM,GACT,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/react-vite";
2
- import { Label } from "./Label";
3
- declare const meta: Meta<typeof Label>;
4
- type Story = StoryObj<typeof meta>;
5
- declare const Default: Story;
6
- declare const BigVariant: Story;
7
- declare const WithoutLabel: Story;
8
- declare const MultipleLabels: Story;
9
- export { Default, BigVariant, WithoutLabel, MultipleLabels, };
10
- export default meta;
11
- //# sourceMappingURL=Label.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Label.stories.d.ts","sourceRoot":"","sources":["../../../src/components/form/Label.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAO5B,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAInC,QAAA,MAAM,OAAO,EAAE,KAKd,CAAC;AAEF,QAAA,MAAM,UAAU,EAAE,KAMjB,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,KAInB,CAAC;AAEF,QAAA,MAAM,cAAc,EAAE,KAcrB,CAAC;AAEF,OAAO,EACH,OAAO,EACP,UAAU,EACV,YAAY,EACZ,cAAc,GACjB,CAAC;AACF,eAAe,IAAI,CAAC"}