@ryuzaki13/react-foundation-ui 1.0.1 → 1.0.3

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 (256) hide show
  1. package/dist/advanced-search/index.d.ts +3 -0
  2. package/dist/advanced-search/index.d.ts.map +1 -0
  3. package/dist/advanced-search/index.js +361 -0
  4. package/dist/advanced-search/index.js.map +1 -0
  5. package/dist/advanced-search/lib/index.d.ts +2 -0
  6. package/dist/advanced-search/lib/index.d.ts.map +1 -0
  7. package/dist/advanced-search/lib/searchParts.d.ts +3 -0
  8. package/dist/advanced-search/lib/searchParts.d.ts.map +1 -0
  9. package/dist/advanced-search/model/index.d.ts +5 -0
  10. package/dist/advanced-search/model/index.d.ts.map +1 -0
  11. package/dist/advanced-search/model/types.d.ts +55 -0
  12. package/dist/advanced-search/model/types.d.ts.map +1 -0
  13. package/dist/advanced-search/model/useAdvancedSearch.d.ts +11 -0
  14. package/dist/advanced-search/model/useAdvancedSearch.d.ts.map +1 -0
  15. package/dist/advanced-search/model/useAdvancedSearchInitialSelected.d.ts +6 -0
  16. package/dist/advanced-search/model/useAdvancedSearchInitialSelected.d.ts.map +1 -0
  17. package/dist/advanced-search/model/useAdvancedSearchSelection.d.ts +13 -0
  18. package/dist/advanced-search/model/useAdvancedSearchSelection.d.ts.map +1 -0
  19. package/dist/advanced-search/ui/AdvancedSearchModal.d.ts +13 -0
  20. package/dist/advanced-search/ui/AdvancedSearchModal.d.ts.map +1 -0
  21. package/dist/advanced-search/ui/AdvancedSearchSelect.d.ts +8 -0
  22. package/dist/advanced-search/ui/AdvancedSearchSelect.d.ts.map +1 -0
  23. package/dist/advanced-search/ui/AdvancedSearchSelectUI.d.ts +9 -0
  24. package/dist/advanced-search/ui/AdvancedSearchSelectUI.d.ts.map +1 -0
  25. package/dist/advanced-search/ui/index.d.ts +2 -0
  26. package/dist/advanced-search/ui/index.d.ts.map +1 -0
  27. package/dist/badge/index.js +1 -1
  28. package/dist/badge/stories/Badge.stories.js +22 -22
  29. package/dist/base-table/index.js +2 -2
  30. package/dist/button/index.js +7 -7
  31. package/dist/button/stories/Button.stories.js +1 -1
  32. package/dist/check-box/index.js +1 -1
  33. package/dist/check-box/stories/CheckBox.stories.js +25 -25
  34. package/dist/chunks/{BadgeList-6qL9oNAp.js → BadgeList-DYgun2rf.js} +16 -16
  35. package/dist/chunks/{BadgeList-6qL9oNAp.js.map → BadgeList-DYgun2rf.js.map} +1 -1
  36. package/dist/chunks/{Button-BZ_b-Kin.js → Button-CCWuggdA.js} +16 -16
  37. package/dist/chunks/{Button-BZ_b-Kin.js.map → Button-CCWuggdA.js.map} +1 -1
  38. package/dist/chunks/CalendarView-DjeTJkTT.js +435 -0
  39. package/dist/chunks/{CalendarView-DjShdvRD.js.map → CalendarView-DjeTJkTT.js.map} +1 -1
  40. package/dist/chunks/CheckBox-BowNqqd3.js +48 -0
  41. package/dist/chunks/{CheckBox-CulnjNvJ.js.map → CheckBox-BowNqqd3.js.map} +1 -1
  42. package/dist/chunks/{DateInput-LSSvObtg.js → DateInput--tfofQ2x.js} +68 -68
  43. package/dist/chunks/{DateInput-LSSvObtg.js.map → DateInput--tfofQ2x.js.map} +1 -1
  44. package/dist/chunks/{DateRangePresetSelect-CyzGMvVp.js → DateRangePresetSelect-UgsfaOeM.js} +22 -22
  45. package/dist/chunks/{DateRangePresetSelect-CyzGMvVp.js.map → DateRangePresetSelect-UgsfaOeM.js.map} +1 -1
  46. package/dist/chunks/Detail-DHDMsg8q.js +80 -0
  47. package/dist/chunks/{Detail-DKolHye4.js.map → Detail-DHDMsg8q.js.map} +1 -1
  48. package/dist/chunks/{Dialog-BPS4BeWZ.js → Dialog-CFIvGxER.js} +8 -8
  49. package/dist/chunks/{Dialog-BPS4BeWZ.js.map → Dialog-CFIvGxER.js.map} +1 -1
  50. package/dist/chunks/DisclosureGroup-CfRTkl6Z.js +49 -0
  51. package/dist/chunks/{DisclosureGroup-Plk2M_Vl.js.map → DisclosureGroup-CfRTkl6Z.js.map} +1 -1
  52. package/dist/chunks/{DropZone-DPGTpHI6.js → DropZone-kJfbZU5g.js} +22 -22
  53. package/dist/chunks/{DropZone-DPGTpHI6.js.map → DropZone-kJfbZU5g.js.map} +1 -1
  54. package/dist/chunks/{DropdownMenu-Ds-trH4M.js → DropdownMenu-DQeR3y7M.js} +138 -138
  55. package/dist/chunks/{DropdownMenu-Ds-trH4M.js.map → DropdownMenu-DQeR3y7M.js.map} +1 -1
  56. package/dist/chunks/{Flex-DbBdq336.js → Flex-DUYSL5TE.js} +16 -16
  57. package/dist/chunks/{Flex-DbBdq336.js.map → Flex-DUYSL5TE.js.map} +1 -1
  58. package/dist/chunks/Input-BmjlpA09.js +227 -0
  59. package/dist/chunks/{Input-Wrew1puH.js.map → Input-BmjlpA09.js.map} +1 -1
  60. package/dist/chunks/{InputDateTime-2PCX8an8.js → InputDateTime-CxfAFe2L.js} +56 -56
  61. package/dist/chunks/{InputDateTime-2PCX8an8.js.map → InputDateTime-CxfAFe2L.js.map} +1 -1
  62. package/dist/chunks/{InputFile-Ca-bRo93.js → InputFile-CyZu__B_.js} +17 -17
  63. package/dist/chunks/{InputFile-Ca-bRo93.js.map → InputFile-CyZu__B_.js.map} +1 -1
  64. package/dist/chunks/{InputFiles-pI9rQXOI.js → InputFiles-CrTJV27R.js} +31 -31
  65. package/dist/chunks/{InputFiles-pI9rQXOI.js.map → InputFiles-CrTJV27R.js.map} +1 -1
  66. package/dist/chunks/{InputImage-B522AQzl.js → InputImage-Cw8rPYQu.js} +18 -18
  67. package/dist/chunks/{InputImage-B522AQzl.js.map → InputImage-Cw8rPYQu.js.map} +1 -1
  68. package/dist/chunks/{LabeledExpandableActionPanel-CWmOSWeS.js → LabeledExpandableActionPanel-D3kUvmFH.js} +26 -26
  69. package/dist/chunks/{LabeledExpandableActionPanel-CWmOSWeS.js.map → LabeledExpandableActionPanel-D3kUvmFH.js.map} +1 -1
  70. package/dist/chunks/Listbox-BZlp5qHz.js +81 -0
  71. package/dist/chunks/{Listbox-B6F_IKQv.js.map → Listbox-BZlp5qHz.js.map} +1 -1
  72. package/dist/chunks/{MultiSelect-CUXA8gx-.js → MultiSelect-D1XYuwH1.js} +113 -113
  73. package/dist/chunks/{MultiSelect-CUXA8gx-.js.map → MultiSelect-D1XYuwH1.js.map} +1 -1
  74. package/dist/chunks/{NotificationsHost-Bnq7xFKO.js → NotificationsHost-_icJx4xR.js} +44 -44
  75. package/dist/chunks/{NotificationsHost-Bnq7xFKO.js.map → NotificationsHost-_icJx4xR.js.map} +1 -1
  76. package/dist/chunks/{PresetRangeDateInput-B_8jsilZ.js → PresetRangeDateInput-CapirptQ.js} +11 -11
  77. package/dist/chunks/{PresetRangeDateInput-B_8jsilZ.js.map → PresetRangeDateInput-CapirptQ.js.map} +1 -1
  78. package/dist/chunks/RadioButton-D0uA0rX_.js +48 -0
  79. package/dist/chunks/{RadioButton-D5vPW4Yr.js.map → RadioButton-D0uA0rX_.js.map} +1 -1
  80. package/dist/chunks/RadioGroup-B9XjkcOy.js +121 -0
  81. package/dist/chunks/{RadioGroup-BAhN1d1X.js.map → RadioGroup-B9XjkcOy.js.map} +1 -1
  82. package/dist/chunks/{Select-CoAYWNOn.js → Select-CXeVjVKA.js} +11 -11
  83. package/dist/chunks/{Select-CoAYWNOn.js.map → Select-CXeVjVKA.js.map} +1 -1
  84. package/dist/chunks/{SerializableSelect-awBOWKTj.js → SerializableSelect-DkYeJtAO.js} +2 -2
  85. package/dist/chunks/{SerializableSelect-awBOWKTj.js.map → SerializableSelect-DkYeJtAO.js.map} +1 -1
  86. package/dist/chunks/{SingleDateTimeInput-o44Vlwdk.js → SingleDateTimeInput-BmeuVGQT.js} +78 -78
  87. package/dist/chunks/{SingleDateTimeInput-o44Vlwdk.js.map → SingleDateTimeInput-BmeuVGQT.js.map} +1 -1
  88. package/dist/chunks/{Splitter-NjNFuEq4.js → Splitter-BFkVGVRb.js} +32 -32
  89. package/dist/chunks/{Splitter-NjNFuEq4.js.map → Splitter-BFkVGVRb.js.map} +1 -1
  90. package/dist/chunks/StateSelect-1jH3uLz9.js +78 -0
  91. package/dist/chunks/{StateSelect-abZq176J.js.map → StateSelect-1jH3uLz9.js.map} +1 -1
  92. package/dist/chunks/{Switch-DHMnZVmN.js → Switch-B57Qmy1z.js} +19 -19
  93. package/dist/chunks/{Switch-DHMnZVmN.js.map → Switch-B57Qmy1z.js.map} +1 -1
  94. package/dist/chunks/{TextEditorLexicalClient-Dt4eaPA3.js → TextEditorLexicalClient-CovUSRag.js} +204 -204
  95. package/dist/chunks/{TextEditorLexicalClient-Dt4eaPA3.js.map → TextEditorLexicalClient-CovUSRag.js.map} +1 -1
  96. package/dist/chunks/{Textarea-DOVrPH4I.js → Textarea-C9UdUueF.js} +2 -2
  97. package/dist/chunks/{Textarea-DOVrPH4I.js.map → Textarea-C9UdUueF.js.map} +1 -1
  98. package/dist/chunks/{TimePanel-_kF2RtHk.js → TimePanel-b4saqoUY.js} +27 -27
  99. package/dist/chunks/{TimePanel-_kF2RtHk.js.map → TimePanel-b4saqoUY.js.map} +1 -1
  100. package/dist/chunks/{Toggle-C_fE-bkM.js → Toggle-DVqOQXmt.js} +18 -18
  101. package/dist/chunks/{Toggle-C_fE-bkM.js.map → Toggle-DVqOQXmt.js.map} +1 -1
  102. package/dist/chunks/{TreeMultiSelect-C76RYavo.js → TreeMultiSelect-CfQhlfnC.js} +6 -6
  103. package/dist/chunks/{TreeMultiSelect-C76RYavo.js.map → TreeMultiSelect-CfQhlfnC.js.map} +1 -1
  104. package/dist/chunks/{TreePickerBase-qNHIWbYL.js → TreePickerBase-BBUOWsSu.js} +49 -49
  105. package/dist/chunks/{TreePickerBase-qNHIWbYL.js.map → TreePickerBase-BBUOWsSu.js.map} +1 -1
  106. package/dist/chunks/{TreeSelect-LEhNdPCX.js → TreeSelect-2wUXs90E.js} +6 -6
  107. package/dist/chunks/{TreeSelect-LEhNdPCX.js.map → TreeSelect-2wUXs90E.js.map} +1 -1
  108. package/dist/chunks/base-table-CoQlKABk.js +514 -0
  109. package/dist/chunks/{base-table-ij2guVMB.js.map → base-table-CoQlKABk.js.map} +1 -1
  110. package/dist/chunks/{floating-arrow-CdRV69sg.js → floating-arrow-BE-z4QkE.js} +7 -7
  111. package/dist/chunks/{floating-arrow-CdRV69sg.js.map → floating-arrow-BE-z4QkE.js.map} +1 -1
  112. package/dist/chunks/input-search-Dw4rnJBq.js +30 -0
  113. package/dist/chunks/input-search-Dw4rnJBq.js.map +1 -0
  114. package/dist/chunks/{layout-picker-CzZ8Xzkk.js → layout-picker-MWaImn3L.js} +34 -34
  115. package/dist/chunks/{layout-picker-CzZ8Xzkk.js.map → layout-picker-MWaImn3L.js.map} +1 -1
  116. package/dist/chunks/{misc-Bj0y3ERC.js → misc-DoqZBMof.js} +110 -110
  117. package/dist/chunks/{misc-Bj0y3ERC.js.map → misc-DoqZBMof.js.map} +1 -1
  118. package/dist/chunks/{modal-B4ivQb2h.js → modal-ByNRME3b.js} +42 -42
  119. package/dist/chunks/{modal-B4ivQb2h.js.map → modal-ByNRME3b.js.map} +1 -1
  120. package/dist/chunks/multi-select-BzYIviCU.js +1305 -0
  121. package/dist/chunks/multi-select-BzYIviCU.js.map +1 -0
  122. package/dist/chunks/{picker-gIUs0nE_.js → picker-Dg55Ss-B.js} +74 -74
  123. package/dist/chunks/{picker-gIUs0nE_.js.map → picker-Dg55Ss-B.js.map} +1 -1
  124. package/dist/chunks/{popover-C79P5bm2.js → popover-xJJqy1v6.js} +52 -52
  125. package/dist/chunks/{popover-C79P5bm2.js.map → popover-xJJqy1v6.js.map} +1 -1
  126. package/dist/chunks/{separator-CIqnk2z9.js → separator-B72Aq-6a.js} +2 -2
  127. package/dist/chunks/{separator-CIqnk2z9.js.map → separator-B72Aq-6a.js.map} +1 -1
  128. package/dist/chunks/{slider-CigVo4Ju.js → slider-CFKsfxFp.js} +83 -83
  129. package/dist/chunks/{slider-CigVo4Ju.js.map → slider-CFKsfxFp.js.map} +1 -1
  130. package/dist/chunks/sortable-DcTIAbjD.js +185 -0
  131. package/dist/chunks/{sortable-BZqnZ_LA.js.map → sortable-DcTIAbjD.js.map} +1 -1
  132. package/dist/chunks/{table-CK-CM2zD.js → table-Dc3AqMzP.js} +21 -21
  133. package/dist/chunks/{table-CK-CM2zD.js.map → table-Dc3AqMzP.js.map} +1 -1
  134. package/dist/chunks/{table-column-interactions-DPyJDD7P.js → table-column-interactions-6RGjmiI5.js} +24 -24
  135. package/dist/chunks/{table-column-interactions-DPyJDD7P.js.map → table-column-interactions-6RGjmiI5.js.map} +1 -1
  136. package/dist/chunks/{tabs-D5ikIIng.js → tabs-DlnVVMJl.js} +96 -96
  137. package/dist/chunks/{tabs-D5ikIIng.js.map → tabs-DlnVVMJl.js.map} +1 -1
  138. package/dist/chunks/{toolbar-C-Ziw_Uh.js → toolbar-BCZNdRXM.js} +2 -2
  139. package/dist/chunks/{toolbar-C-Ziw_Uh.js.map → toolbar-BCZNdRXM.js.map} +1 -1
  140. package/dist/chunks/{wheel-picker-DUHGy7wE.js → wheel-picker-FS58cRsQ.js} +23 -23
  141. package/dist/chunks/{wheel-picker-DUHGy7wE.js.map → wheel-picker-FS58cRsQ.js.map} +1 -1
  142. package/dist/context-menu/index.js +1 -1
  143. package/dist/context-menu/stories/ContextMenu.stories.js +45 -45
  144. package/dist/date-input/index.js +2 -2
  145. package/dist/date-input/stories/DateInput.stories.js +2 -2
  146. package/dist/date-range-preset-select/index.js +1 -1
  147. package/dist/date-range-preset-select/stories/DateRangePresetSelect.stories.js +8 -8
  148. package/dist/date-time-input/index.js +1 -1
  149. package/dist/date-time-input/stories/SingleDateTimeInput.stories.js +38 -38
  150. package/dist/date-time-input/stories/TimePanel.stories.js +9 -9
  151. package/dist/detail/index.js +1 -1
  152. package/dist/detail/stories/Detail.stories.js +1 -1
  153. package/dist/dialog/index.js +1 -1
  154. package/dist/dialog/stories/Dialog.stories.js +16 -16
  155. package/dist/disclosure/index.js +1 -1
  156. package/dist/disclosure/stories/Disclosure.stories.js +1 -1
  157. package/dist/drop-zone/index.js +1 -1
  158. package/dist/drop-zone/stories/DropZone.stories.js +14 -14
  159. package/dist/errors/index.js +47 -47
  160. package/dist/expandable-action-panel/index.js +1 -1
  161. package/dist/expandable-action-panel/stories/ExpandableActionPanel.stories.js +28 -28
  162. package/dist/flex/index.js +2 -2
  163. package/dist/flex/stories/Flex.stories.js +2 -2
  164. package/dist/floating-arrow/index.js +1 -1
  165. package/dist/fullscreen-portal/index.js +6 -6
  166. package/dist/grid/stories/Grid.stories.js +1 -1
  167. package/dist/image/index.js +123 -123
  168. package/dist/input/index.js +1 -1
  169. package/dist/input/stories/Input.stories.js +11 -11
  170. package/dist/input-date-time/index.js +1 -1
  171. package/dist/input-date-time/stories/InputDateTime.stories.js +11 -11
  172. package/dist/input-file/index.js +1 -1
  173. package/dist/input-file/stories/InputFile.stories.js +9 -9
  174. package/dist/input-files/index.js +1 -1
  175. package/dist/input-files/stories/InputFiles.stories.js +9 -9
  176. package/dist/input-image/index.js +1 -1
  177. package/dist/input-image/stories/InputImage.stories.js +15 -15
  178. package/dist/input-search/index.js +2 -30
  179. package/dist/layout-picker/index.js +1 -1
  180. package/dist/layout-picker/stories/LayoutPicker.stories.js +52 -52
  181. package/dist/list/index.js +27 -27
  182. package/dist/listbox/index.js +1 -1
  183. package/dist/listbox/stories/Listbox.stories.js +19 -19
  184. package/dist/misc/index.js +1 -1
  185. package/dist/modal/ModalManagerProvider.d.ts.map +1 -1
  186. package/dist/modal/index.js +1 -1
  187. package/dist/modal/stories/Modal.stories.js +55 -55
  188. package/dist/modal/types.d.ts +1 -0
  189. package/dist/modal/types.d.ts.map +1 -1
  190. package/dist/multi-select/index.js +3 -1141
  191. package/dist/multi-select/ui/stories/MultiSelect.stories.js +17 -17
  192. package/dist/notifications/index.js +1 -1
  193. package/dist/notifications/ui/stories/NotificationsHost.stories.js +59 -59
  194. package/dist/period-select/index.js +20 -20
  195. package/dist/period-select/stories/PeriodSelect.stories.js +17 -17
  196. package/dist/picker/index.js +1 -1
  197. package/dist/popover/index.js +1 -1
  198. package/dist/popover/stories/Popover.stories.js +16 -16
  199. package/dist/preset-range-date-input/index.js +1 -1
  200. package/dist/preset-range-date-input/ui/stories/PresetRangeDateInput.stories.js +9 -9
  201. package/dist/preset-select/index.js +1 -1
  202. package/dist/radio-button/index.js +1 -1
  203. package/dist/radio-button/stories/RadioButton.stories.js +11 -11
  204. package/dist/radio-group/index.js +1 -1
  205. package/dist/radio-group/stories/RadioGroup.stories.js +21 -21
  206. package/dist/select/index.js +2 -2
  207. package/dist/select/stories/Select.stories.js +23 -23
  208. package/dist/select/stories/SerializableSelect.stories.js +22 -22
  209. package/dist/separator/index.js +1 -1
  210. package/dist/simple-table/index.js +5 -5
  211. package/dist/slider/index.js +1 -1
  212. package/dist/slider/stories/Slider.stories.js +32 -32
  213. package/dist/slider/stories/SliderInput.stories.js +39 -39
  214. package/dist/sortable/index.js +1 -1
  215. package/dist/sortable/stories/Sortable.stories.js +23 -23
  216. package/dist/splitter/index.js +1 -1
  217. package/dist/splitter/stories/Splitter.stories.js +1 -1
  218. package/dist/state-select/index.js +1 -1
  219. package/dist/state-select/stories/StateSelect.stories.js +23 -23
  220. package/dist/styles.css +1 -1
  221. package/dist/switch/index.js +1 -1
  222. package/dist/switch/stories/Switch.stories.js +11 -11
  223. package/dist/table/index.js +1 -1
  224. package/dist/table-column-interactions/index.js +1 -1
  225. package/dist/table-sorting/index.js +1 -1
  226. package/dist/tabs/index.js +1 -1
  227. package/dist/tabs/stories/Tabs.stories.js +39 -39
  228. package/dist/text/index.js +20 -20
  229. package/dist/text-editor/index.js +3 -3
  230. package/dist/text-editor/toolbar/index.js +1 -1
  231. package/dist/textarea/index.js +1 -1
  232. package/dist/textarea/stories/Textarea.stories.js +8 -8
  233. package/dist/three-scene/index.js +7 -7
  234. package/dist/toggle/index.js +1 -1
  235. package/dist/toggle/stories/Toggle.stories.js +7 -7
  236. package/dist/toolbar/index.js +16 -16
  237. package/dist/tree/index.js +24 -24
  238. package/dist/tree-select/index.js +2 -2
  239. package/dist/tree-select/stories/TreeMultiSelect.stories.js +9 -9
  240. package/dist/tree-select/stories/TreeSelect.stories.js +9 -9
  241. package/dist/tree-table/index.js +32 -32
  242. package/dist/wheel-picker/index.js +1 -1
  243. package/package.json +11 -1
  244. package/dist/chunks/CalendarView-DjShdvRD.js +0 -435
  245. package/dist/chunks/CheckBox-CulnjNvJ.js +0 -48
  246. package/dist/chunks/Detail-DKolHye4.js +0 -80
  247. package/dist/chunks/DisclosureGroup-Plk2M_Vl.js +0 -49
  248. package/dist/chunks/Input-Wrew1puH.js +0 -227
  249. package/dist/chunks/Listbox-B6F_IKQv.js +0 -81
  250. package/dist/chunks/RadioButton-D5vPW4Yr.js +0 -48
  251. package/dist/chunks/RadioGroup-BAhN1d1X.js +0 -121
  252. package/dist/chunks/StateSelect-abZq176J.js +0 -78
  253. package/dist/chunks/base-table-ij2guVMB.js +0 -514
  254. package/dist/chunks/sortable-BZqnZ_LA.js +0 -185
  255. package/dist/input-search/index.js.map +0 -1
  256. package/dist/multi-select/index.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { t as e } from "../../../chunks/MultiSelect-CUXA8gx-.js";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { useMemo as n, useState as r } from "react";
1
+ import { t as e } from "../../../chunks/MultiSelect-D1XYuwH1.js";
2
+ import { useMemo as t, useState as n } from "react";
3
+ import { jsx as r } from "react/jsx-runtime";
4
4
  //#region src/multi-select/ui/stories/MultiSelect.stories.tsx
5
5
  var i = [
6
6
  {
@@ -69,11 +69,11 @@ var i = [
69
69
  }
70
70
  }
71
71
  }, o = { render: (a) => {
72
- let [o, s] = r([i[1]]), [c, l] = r(""), u = n(() => {
72
+ let [o, s] = n([i[1]]), [c, l] = n(""), u = t(() => {
73
73
  let e = c.trim().toLowerCase();
74
74
  return e ? i.filter((t) => t.label.toLowerCase().includes(e) || t.code.toLowerCase().includes(e)) : i;
75
75
  }, [c]);
76
- return /* @__PURE__ */ t(e, {
76
+ return /* @__PURE__ */ r(e, {
77
77
  ...a,
78
78
  value: o,
79
79
  items: u,
@@ -81,28 +81,28 @@ var i = [
81
81
  onQuery: l,
82
82
  onChange: s
83
83
  });
84
- } }, s = { render: (n) => {
85
- let [i, a] = r([]);
86
- return /* @__PURE__ */ t(e, {
87
- ...n,
84
+ } }, s = { render: (t) => {
85
+ let [i, a] = n([]);
86
+ return /* @__PURE__ */ r(e, {
87
+ ...t,
88
88
  value: i,
89
89
  items: [],
90
90
  isLoading: !0,
91
91
  onChange: a
92
92
  });
93
- } }, c = { render: (n) => {
94
- let [i, a] = r([]);
95
- return /* @__PURE__ */ t(e, {
96
- ...n,
93
+ } }, c = { render: (t) => {
94
+ let [i, a] = n([]);
95
+ return /* @__PURE__ */ r(e, {
96
+ ...t,
97
97
  value: i,
98
98
  items: [],
99
99
  error: "Ошибка загрузки",
100
100
  onChange: a
101
101
  });
102
- } }, l = { render: (n) => {
103
- let [i, a] = r([]);
104
- return /* @__PURE__ */ t(e, {
105
- ...n,
102
+ } }, l = { render: (t) => {
103
+ let [i, a] = n([]);
104
+ return /* @__PURE__ */ r(e, {
105
+ ...t,
106
106
  value: i,
107
107
  items: [],
108
108
  onChange: a
@@ -1,3 +1,3 @@
1
- import { a as e, i as t, n, r, t as i } from "../chunks/NotificationsHost-Bnq7xFKO.js";
1
+ import { a as e, i as t, n, r, t as i } from "../chunks/NotificationsHost-_icJx4xR.js";
2
2
  import { notify as a } from "@ryuzaki13/react-foundation-lib/notifications";
3
3
  export { a as NotificationApi, a as notify, i as NotificationsHost, n as NotificationsProvider, r as useNotificationById, t as useNotifications, e as useNotify };
@@ -1,8 +1,8 @@
1
- import { t as e } from "../../../chunks/Button-BZ_b-Kin.js";
2
- import { a as t, n, t as r } from "../../../chunks/NotificationsHost-Bnq7xFKO.js";
3
- import { BellRingIcon as i, CheckIcon as a, InfoIcon as o, RefreshCwIcon as s, TimerResetIcon as c, Trash2Icon as l, TriangleAlertIcon as u, XCircleIcon as d } from "lucide-react";
4
- import { jsx as f, jsxs as p } from "react/jsx-runtime";
5
- import { useEffect as m, useRef as h, useState as g } from "react";
1
+ import { t as e } from "../../../chunks/Button-CCWuggdA.js";
2
+ import { a as t, n, t as r } from "../../../chunks/NotificationsHost-_icJx4xR.js";
3
+ import { useEffect as i, useRef as a, useState as o } from "react";
4
+ import { BellRingIcon as s, CheckIcon as c, InfoIcon as l, RefreshCwIcon as u, TimerResetIcon as d, Trash2Icon as f, TriangleAlertIcon as p, XCircleIcon as m } from "lucide-react";
5
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
6
6
  //#region src/notifications/ui/stories/NotificationsHost.stories.tsx
7
7
  var _ = {
8
8
  title: "Shared/UI/Notifications",
@@ -49,26 +49,26 @@ var _ = {
49
49
  };
50
50
  function w() {
51
51
  let { clear: e } = t();
52
- return m(() => (e(), () => {
52
+ return i(() => (e(), () => {
53
53
  e();
54
54
  }), [e]), null;
55
55
  }
56
56
  function T({ children: e }) {
57
- return /* @__PURE__ */ p(n, { children: [
58
- /* @__PURE__ */ f(w, {}),
59
- /* @__PURE__ */ f("div", {
57
+ return /* @__PURE__ */ g(n, { children: [
58
+ /* @__PURE__ */ h(w, {}),
59
+ /* @__PURE__ */ h("div", {
60
60
  style: v,
61
- children: /* @__PURE__ */ p("div", {
61
+ children: /* @__PURE__ */ g("div", {
62
62
  style: y,
63
- children: [/* @__PURE__ */ p("div", {
63
+ children: [/* @__PURE__ */ g("div", {
64
64
  style: b,
65
- children: [/* @__PURE__ */ f("h2", {
65
+ children: [/* @__PURE__ */ h("h2", {
66
66
  style: {
67
67
  margin: 0,
68
68
  fontSize: "var(--font-size-xl)"
69
69
  },
70
70
  children: "Демонстрация очереди уведомлений"
71
- }), /* @__PURE__ */ f("p", {
71
+ }), /* @__PURE__ */ h("p", {
72
72
  style: {
73
73
  margin: "12px 0 0",
74
74
  color: "var(--content-1)"
@@ -78,12 +78,12 @@ function T({ children: e }) {
78
78
  }), e]
79
79
  })
80
80
  }),
81
- /* @__PURE__ */ f(r, {})
81
+ /* @__PURE__ */ h(r, {})
82
82
  ] });
83
83
  }
84
84
  function E() {
85
85
  let { clear: e, push: n } = t();
86
- return m(() => (e(), n({
86
+ return i(() => (e(), n({
87
87
  type: "info",
88
88
  title: "Сетевой статус",
89
89
  message: "Подключение к серверу восстановлено.",
@@ -103,12 +103,12 @@ function E() {
103
103
  message: "Не удалось загрузить журнал операций.\nПовторите запрос или обратитесь к администратору."
104
104
  }), () => {
105
105
  e();
106
- }), [e, n]), /* @__PURE__ */ p("div", {
106
+ }), [e, n]), /* @__PURE__ */ g("div", {
107
107
  style: S,
108
- children: [/* @__PURE__ */ f("h3", {
108
+ children: [/* @__PURE__ */ h("h3", {
109
109
  style: { margin: 0 },
110
110
  children: "Снимок состояний"
111
- }), /* @__PURE__ */ f("p", {
111
+ }), /* @__PURE__ */ h("p", {
112
112
  style: {
113
113
  margin: 0,
114
114
  color: "var(--content-1)"
@@ -118,7 +118,7 @@ function E() {
118
118
  });
119
119
  }
120
120
  function D() {
121
- let n = t(), r = h(null), [m, _] = g(!1), v = () => {
121
+ let n = t(), r = a(null), [i, _] = o(!1), v = () => {
122
122
  r.current = null, _(!1);
123
123
  }, y = (e, t) => {
124
124
  let i = r.current;
@@ -127,60 +127,60 @@ function D() {
127
127
  ...t
128
128
  }) || t?.type) && v();
129
129
  };
130
- return /* @__PURE__ */ p("div", {
130
+ return /* @__PURE__ */ g("div", {
131
131
  style: x,
132
132
  children: [
133
- /* @__PURE__ */ p("section", {
133
+ /* @__PURE__ */ g("section", {
134
134
  style: S,
135
135
  children: [
136
- /* @__PURE__ */ f("h3", {
136
+ /* @__PURE__ */ h("h3", {
137
137
  style: { margin: 0 },
138
138
  children: "Базовые сценарии"
139
139
  }),
140
- /* @__PURE__ */ f("p", {
140
+ /* @__PURE__ */ h("p", {
141
141
  style: {
142
142
  margin: 0,
143
143
  color: "var(--content-1)"
144
144
  },
145
145
  children: "Вызовы через `useNotify` подходят для UI-логики внутри React-компонентов."
146
146
  }),
147
- /* @__PURE__ */ p("div", {
147
+ /* @__PURE__ */ g("div", {
148
148
  style: C,
149
149
  children: [
150
- /* @__PURE__ */ f(e, {
150
+ /* @__PURE__ */ h(e, {
151
151
  tone: "info",
152
152
  appearance: "outline",
153
- icon: /* @__PURE__ */ f(o, {}),
153
+ icon: /* @__PURE__ */ h(l, {}),
154
154
  onClick: () => n.info("Справочник обновлён по расписанию.", {
155
155
  title: "Информация",
156
156
  ttlMs: 3500
157
157
  }),
158
158
  children: "Info"
159
159
  }),
160
- /* @__PURE__ */ f(e, {
160
+ /* @__PURE__ */ h(e, {
161
161
  tone: "success",
162
162
  appearance: "solid",
163
- icon: /* @__PURE__ */ f(a, {}),
163
+ icon: /* @__PURE__ */ h(c, {}),
164
164
  onClick: () => n.success("Изменения сохранены.", {
165
165
  title: "Операция завершена",
166
166
  ttlMs: 2500
167
167
  }),
168
168
  children: "Success"
169
169
  }),
170
- /* @__PURE__ */ f(e, {
170
+ /* @__PURE__ */ h(e, {
171
171
  tone: "warning",
172
172
  appearance: "outline",
173
- icon: /* @__PURE__ */ f(u, {}),
173
+ icon: /* @__PURE__ */ h(p, {}),
174
174
  onClick: () => n.warning("Подтвердите действие в течение 2 минут.", {
175
175
  title: "Требуется подтверждение",
176
176
  dismissible: !1
177
177
  }),
178
178
  children: "Sticky warning"
179
179
  }),
180
- /* @__PURE__ */ f(e, {
180
+ /* @__PURE__ */ h(e, {
181
181
  tone: "error",
182
182
  appearance: "solid",
183
- icon: /* @__PURE__ */ f(d, {}),
183
+ icon: /* @__PURE__ */ h(m, {}),
184
184
  onClick: () => n.error("Сервис проверки подписей недоступен.", { title: "Критическая ошибка" }),
185
185
  children: "Error"
186
186
  })
@@ -188,26 +188,26 @@ function D() {
188
188
  })
189
189
  ]
190
190
  }),
191
- /* @__PURE__ */ p("section", {
191
+ /* @__PURE__ */ g("section", {
192
192
  style: S,
193
193
  children: [
194
- /* @__PURE__ */ f("h3", {
194
+ /* @__PURE__ */ h("h3", {
195
195
  style: { margin: 0 },
196
196
  children: "Долгая операция"
197
197
  }),
198
- /* @__PURE__ */ f("p", {
198
+ /* @__PURE__ */ h("p", {
199
199
  style: {
200
200
  margin: 0,
201
201
  color: "var(--content-1)"
202
202
  },
203
203
  children: "Сценарий имитирует `notify.progress`: создаёт одно sticky-уведомление и затем обновляет его по тому же `id`."
204
204
  }),
205
- /* @__PURE__ */ p("div", {
205
+ /* @__PURE__ */ g("div", {
206
206
  style: C,
207
207
  children: [
208
- /* @__PURE__ */ f(e, {
208
+ /* @__PURE__ */ h(e, {
209
209
  variant: "neutralOutline",
210
- icon: /* @__PURE__ */ f(i, {}),
210
+ icon: /* @__PURE__ */ h(s, {}),
211
211
  onClick: () => {
212
212
  let e = n.push({
213
213
  type: "info",
@@ -219,19 +219,19 @@ function D() {
219
219
  },
220
220
  children: "Запустить"
221
221
  }),
222
- /* @__PURE__ */ f(e, {
222
+ /* @__PURE__ */ h(e, {
223
223
  variant: "neutralOutline",
224
- icon: /* @__PURE__ */ f(s, {}),
224
+ icon: /* @__PURE__ */ h(u, {}),
225
225
  onClick: () => {
226
226
  y("Обработано 68% записей. Формирую итоговый архив...");
227
227
  },
228
- disabled: !m,
228
+ disabled: !i,
229
229
  children: "Обновить прогресс"
230
230
  }),
231
- /* @__PURE__ */ f(e, {
231
+ /* @__PURE__ */ h(e, {
232
232
  tone: "success",
233
233
  appearance: "outline",
234
- icon: /* @__PURE__ */ f(a, {}),
234
+ icon: /* @__PURE__ */ h(c, {}),
235
235
  onClick: () => {
236
236
  y("Архив подготовлен и доступен для скачивания.", {
237
237
  type: "success",
@@ -239,13 +239,13 @@ function D() {
239
239
  dismissible: !0
240
240
  });
241
241
  },
242
- disabled: !m,
242
+ disabled: !i,
243
243
  children: "Завершить успешно"
244
244
  }),
245
- /* @__PURE__ */ f(e, {
245
+ /* @__PURE__ */ h(e, {
246
246
  tone: "error",
247
247
  appearance: "outline",
248
- icon: /* @__PURE__ */ f(d, {}),
248
+ icon: /* @__PURE__ */ h(m, {}),
249
249
  onClick: () => {
250
250
  y("Не удалось собрать архив из-за ошибки чтения вложений.", {
251
251
  type: "error",
@@ -253,33 +253,33 @@ function D() {
253
253
  dismissible: !0
254
254
  });
255
255
  },
256
- disabled: !m,
256
+ disabled: !i,
257
257
  children: "Завершить ошибкой"
258
258
  })
259
259
  ]
260
260
  })
261
261
  ]
262
262
  }),
263
- /* @__PURE__ */ p("section", {
263
+ /* @__PURE__ */ g("section", {
264
264
  style: S,
265
265
  children: [
266
- /* @__PURE__ */ f("h3", {
266
+ /* @__PURE__ */ h("h3", {
267
267
  style: { margin: 0 },
268
268
  children: "Очередь и очистка"
269
269
  }),
270
- /* @__PURE__ */ f("p", {
270
+ /* @__PURE__ */ h("p", {
271
271
  style: {
272
272
  margin: 0,
273
273
  color: "var(--content-1)"
274
274
  },
275
275
  children: "Стор сохраняет не более 6 уведомлений. Кнопка ниже специально создаёт 8 элементов, чтобы проверить отсечение старых записей."
276
276
  }),
277
- /* @__PURE__ */ p("div", {
277
+ /* @__PURE__ */ g("div", {
278
278
  style: C,
279
279
  children: [
280
- /* @__PURE__ */ f(e, {
280
+ /* @__PURE__ */ h(e, {
281
281
  variant: "neutralOutline",
282
- icon: /* @__PURE__ */ f(s, {}),
282
+ icon: /* @__PURE__ */ h(u, {}),
283
283
  onClick: () => {
284
284
  for (let e = 1; e <= 8; e += 1) n.info(`Пакет ${e} поставлен в очередь на обработку.`, {
285
285
  title: `Задача ${e}`,
@@ -288,19 +288,19 @@ function D() {
288
288
  },
289
289
  children: "Заполнить очередь"
290
290
  }),
291
- /* @__PURE__ */ f(e, {
291
+ /* @__PURE__ */ h(e, {
292
292
  tone: "info",
293
293
  appearance: "outline",
294
- icon: /* @__PURE__ */ f(c, {}),
294
+ icon: /* @__PURE__ */ h(d, {}),
295
295
  onClick: () => n.info("Это уведомление исчезнет автоматически через 2 секунды.", {
296
296
  title: "TTL = 2000 мс",
297
297
  ttlMs: 2e3
298
298
  }),
299
299
  children: "Проверить TTL"
300
300
  }),
301
- /* @__PURE__ */ f(e, {
301
+ /* @__PURE__ */ h(e, {
302
302
  variant: "transparent",
303
- icon: /* @__PURE__ */ f(l, {}),
303
+ icon: /* @__PURE__ */ h(f, {}),
304
304
  onClick: () => {
305
305
  v(), n.clear();
306
306
  },
@@ -314,10 +314,10 @@ function D() {
314
314
  });
315
315
  }
316
316
  var O = {
317
- render: () => /* @__PURE__ */ f(T, { children: /* @__PURE__ */ f(E, {}) }),
317
+ render: () => /* @__PURE__ */ h(T, { children: /* @__PURE__ */ h(E, {}) }),
318
318
  parameters: { docs: { description: { story: "Быстрый визуальный обзор: все статусы сразу добавляются в очередь после открытия истории." } } }
319
319
  }, k = {
320
- render: () => /* @__PURE__ */ f(T, { children: /* @__PURE__ */ f(D, {}) }),
320
+ render: () => /* @__PURE__ */ h(T, { children: /* @__PURE__ */ h(D, {}) }),
321
321
  parameters: { docs: { description: { story: "Интерактивный сценарий для проверки базовых уведомлений, длительной операции, лимита очереди и автозакрытия." } } }
322
322
  };
323
323
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { PresetSelect as e } from "../preset-select/index.js";
2
- import { jsx as t } from "react/jsx-runtime";
3
- import { useEffect as n, useEffectEvent as r, useMemo as i } from "react";
2
+ import { useEffect as t, useEffectEvent as n, useMemo as r } from "react";
3
+ import { isRecord as i } from "@ryuzaki13/react-foundation-lib/validators";
4
4
  import { countCalendarDaysInDateRange as a, normalizeText as o, toPositiveInteger as s } from "@ryuzaki13/react-foundation-lib/formatters";
5
- import { getPresetOption as c, normalizePresetIds as l, resolvePresetOptionsByIds as u } from "@ryuzaki13/react-foundation-lib/presets";
6
- import { isRecord as d } from "@ryuzaki13/react-foundation-lib/validators";
5
+ import { jsx as c } from "react/jsx-runtime";
6
+ import { getPresetOption as l, normalizePresetIds as u, resolvePresetOptionsByIds as d } from "@ryuzaki13/react-foundation-lib/presets";
7
7
  //#region src/period-select/lib/constants.ts
8
8
  var f = "period-select", p = "day", m = 31, h = 26, g = Object.freeze([
9
9
  {
@@ -27,13 +27,13 @@ function y(e) {
27
27
  return typeof e == "string" && v.has(e);
28
28
  }
29
29
  function b(e, t = _) {
30
- return l(e, y, t);
30
+ return u(e, y, t);
31
31
  }
32
32
  function x(e, t = g) {
33
- return u(e, t);
33
+ return d(e, t);
34
34
  }
35
35
  function S(e, t = g) {
36
- return c(e, t);
36
+ return l(e, t);
37
37
  }
38
38
  function C(e) {
39
39
  return y(e) ? e : "day";
@@ -60,7 +60,7 @@ function E(e, t, n) {
60
60
  return i && !T(i, n) ? i.id : (r >= 0 ? t.slice(r + 1) : t).find((e) => !T(e, n))?.id ?? t.find((e) => !T(e, n))?.id;
61
61
  }
62
62
  function D(e) {
63
- if (!d(e)) return;
63
+ if (!i(e)) return;
64
64
  let t = o(e.start), n = o(e.end);
65
65
  return t && n ? {
66
66
  start: t,
@@ -69,29 +69,29 @@ function D(e) {
69
69
  }
70
70
  //#endregion
71
71
  //#region src/period-select/PeriodSelect.tsx
72
- function O({ value: a, onChange: o, options: s, dateRange: c, maxDayRangeDays: l, maxWeekRangeWeeks: u, ...d }) {
73
- let f = i(() => s ?? w({
72
+ function O({ value: i, onChange: a, options: o, dateRange: s, maxDayRangeDays: l, maxWeekRangeWeeks: u, ...d }) {
73
+ let f = r(() => o ?? w({
74
74
  maxDayRangeDays: l,
75
75
  maxWeekRangeWeeks: u
76
76
  }), [
77
77
  l,
78
78
  u,
79
- s
80
- ]), p = i(() => E(a, f, c), [
81
- c,
79
+ o
80
+ ]), p = r(() => E(i, f, s), [
81
+ s,
82
82
  f,
83
- a
84
- ]), m = r(() => {
85
- p === void 0 || p === a || o(p);
83
+ i
84
+ ]), m = n(() => {
85
+ p === void 0 || p === i || a(p);
86
86
  });
87
- return n(() => {
87
+ return t(() => {
88
88
  m();
89
- }, [p, a]), /* @__PURE__ */ t(e, {
89
+ }, [p, i]), /* @__PURE__ */ c(e, {
90
90
  ...d,
91
91
  options: f,
92
92
  value: p,
93
- onChange: o,
94
- getOptionDisabled: (e) => T(e, c)
93
+ onChange: a,
94
+ getOptionDisabled: (e) => T(e, s)
95
95
  });
96
96
  }
97
97
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { Text as e } from "../../text/index.js";
2
2
  import { r as t } from "../../chunks/Grid-ByIIytjh.js";
3
- import { t as n } from "../../chunks/DateInput-LSSvObtg.js";
3
+ import { t as n } from "../../chunks/DateInput--tfofQ2x.js";
4
4
  import { PeriodSelect as r } from "../index.js";
5
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
- import { countCalendarDaysInDateRange as o, isDateRangeTuple as s } from "@ryuzaki13/react-foundation-lib/formatters";
5
+ import { countCalendarDaysInDateRange as i, isDateRangeTuple as a } from "@ryuzaki13/react-foundation-lib/formatters";
6
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
7
7
  import { fn as c } from "storybook/test";
8
8
  import { useArgs as l } from "storybook/preview-api";
9
9
  //#region src/period-select/stories/PeriodSelect.stories.tsx
@@ -96,38 +96,38 @@ var u = [new Date(2026, 2, 1, 0, 0, 0), new Date(2026, 2, 14, 23, 59, 59)], d =
96
96
  }
97
97
  };
98
98
  function p(e) {
99
- return e !== void 0 && s(e) ? e : null;
99
+ return e !== void 0 && a(e) ? e : null;
100
100
  }
101
- function m(s) {
102
- let [, c] = l(), u = p(s.dateRange), d = o(s.dateRange ?? null);
103
- return /* @__PURE__ */ a(t, {
101
+ function m(a) {
102
+ let [, c] = l(), u = p(a.dateRange), d = i(a.dateRange ?? null);
103
+ return /* @__PURE__ */ s(t, {
104
104
  gap: "md",
105
105
  children: [
106
- /* @__PURE__ */ i(r, {
107
- ...s,
106
+ /* @__PURE__ */ o(r, {
107
+ ...a,
108
108
  onChange: (e) => {
109
- s.onChange(e), c({ value: e });
109
+ a.onChange(e), c({ value: e });
110
110
  }
111
111
  }),
112
- /* @__PURE__ */ i(n, {
112
+ /* @__PURE__ */ o(n, {
113
113
  label: "Связанный диапазон дат",
114
114
  placeholder: "дд.мм.гггг - дд.мм.гггг",
115
115
  value: u,
116
116
  onChange: (e) => c({ dateRange: e ?? void 0 })
117
117
  }),
118
- /* @__PURE__ */ a(e, {
118
+ /* @__PURE__ */ s(e, {
119
119
  as: "p",
120
120
  color: "secondary",
121
121
  "aria-live": "polite",
122
122
  children: [
123
123
  "Выбрано: ",
124
- /* @__PURE__ */ i(e, {
124
+ /* @__PURE__ */ o(e, {
125
125
  as: "code",
126
- children: s.value ?? "не выбрано"
126
+ children: a.value ?? "не выбрано"
127
127
  }),
128
128
  ". Дней в диапазоне:",
129
129
  " ",
130
- /* @__PURE__ */ i(e, {
130
+ /* @__PURE__ */ o(e, {
131
131
  as: "code",
132
132
  children: d ?? "не задано"
133
133
  }),
@@ -140,7 +140,7 @@ function m(s) {
140
140
  var h = {
141
141
  name: "Контролируемый выбор",
142
142
  render: function(e) {
143
- return /* @__PURE__ */ i(m, { ...e });
143
+ return /* @__PURE__ */ o(m, { ...e });
144
144
  }
145
145
  }, g = {
146
146
  name: "Автопереключение по диапазону",
@@ -151,7 +151,7 @@ var h = {
151
151
  maxWeekRangeWeeks: 8
152
152
  },
153
153
  render: function(e) {
154
- return /* @__PURE__ */ i(m, { ...e });
154
+ return /* @__PURE__ */ o(m, { ...e });
155
155
  }
156
156
  }, _ = {
157
157
  name: "Заблокированный контрол",
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../chunks/picker-gIUs0nE_.js";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../chunks/picker-Dg55Ss-B.js";
2
2
  export { r as PickerField, n as PickerPopup, d as PickerStatus, a as PickerTriggerActions, t as PickerTriggerInput, l as createPickerTriggerPolicy, s as extractPickerTextContent, e as usePickerDefaultFilter, i as usePickerFloatingListbox, c as usePickerQuery, o as usePickerSelectionLifecycle, u as usePickerTriggerController };
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/popover-C79P5bm2.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../chunks/popover-xJJqy1v6.js";
2
2
  export { n as FloatingPopover, a as FloatingTooltip, i as Popover, e as PopoverContent, t as PopoverTrigger, r as usePopoverContext };
@@ -1,8 +1,8 @@
1
- import { r as e } from "../../chunks/popover-C79P5bm2.js";
2
- import { t } from "../../chunks/Button-BZ_b-Kin.js";
3
- import { t as n } from "../../chunks/Input-Wrew1puH.js";
4
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
- import { useState as a } from "react";
1
+ import { r as e } from "../../chunks/popover-xJJqy1v6.js";
2
+ import { t } from "../../chunks/Button-CCWuggdA.js";
3
+ import { t as n } from "../../chunks/Input-BmjlpA09.js";
4
+ import { useState as r } from "react";
5
+ import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
6
  //#region src/popover/stories/Popover.stories.tsx
7
7
  var o = {
8
8
  title: "Shared/UI/Popover",
@@ -11,26 +11,26 @@ var o = {
11
11
  atomicCanvas: !0,
12
12
  layout: "centered"
13
13
  }
14
- }, s = { render: () => /* @__PURE__ */ i(e, { children: [/* @__PURE__ */ r(e.Trigger, { children: /* @__PURE__ */ r("button", { children: "Открыть" }) }), /* @__PURE__ */ r(e.Content, { children: (e) => /* @__PURE__ */ i("div", {
14
+ }, s = { render: () => /* @__PURE__ */ a(e, { children: [/* @__PURE__ */ i(e.Trigger, { children: /* @__PURE__ */ i("button", { children: "Открыть" }) }), /* @__PURE__ */ i(e.Content, { children: (e) => /* @__PURE__ */ a("div", {
15
15
  style: {
16
16
  padding: 12,
17
17
  maxWidth: 160
18
18
  },
19
- children: [/* @__PURE__ */ r("p", { children: "Пример простого поповера" }), /* @__PURE__ */ r("button", {
19
+ children: [/* @__PURE__ */ i("p", { children: "Пример простого поповера" }), /* @__PURE__ */ i("button", {
20
20
  onClick: e.setClose,
21
21
  children: "Закрыть"
22
22
  })]
23
23
  }) })] }) }, c = { render: () => {
24
- let [t, n] = a(!1);
25
- return /* @__PURE__ */ i(e, {
24
+ let [t, n] = r(!1);
25
+ return /* @__PURE__ */ a(e, {
26
26
  open: t,
27
27
  onOpenChange: n,
28
- children: [/* @__PURE__ */ r(e.Trigger, { children: /* @__PURE__ */ r("button", { children: t ? "Закрыть" : "Открыть" }) }), /* @__PURE__ */ r(e.Content, { children: /* @__PURE__ */ r("div", {
28
+ children: [/* @__PURE__ */ i(e.Trigger, { children: /* @__PURE__ */ i("button", { children: t ? "Закрыть" : "Открыть" }) }), /* @__PURE__ */ i(e.Content, { children: /* @__PURE__ */ i("div", {
29
29
  style: { padding: 12 },
30
30
  children: "Контролируемый режим"
31
31
  }) })]
32
32
  });
33
- } }, l = { render: () => /* @__PURE__ */ r("div", {
33
+ } }, l = { render: () => /* @__PURE__ */ i("div", {
34
34
  style: {
35
35
  display: "flex",
36
36
  gap: 32,
@@ -44,14 +44,14 @@ var o = {
44
44
  "right",
45
45
  "top-start",
46
46
  "bottom-end"
47
- ].map((t) => /* @__PURE__ */ i(e, {
47
+ ].map((t) => /* @__PURE__ */ a(e, {
48
48
  placement: t,
49
- children: [/* @__PURE__ */ r(e.Trigger, { children: /* @__PURE__ */ r("button", { children: t }) }), /* @__PURE__ */ r(e.Content, { children: /* @__PURE__ */ r("div", {
49
+ children: [/* @__PURE__ */ i(e.Trigger, { children: /* @__PURE__ */ i("button", { children: t }) }), /* @__PURE__ */ i(e.Content, { children: /* @__PURE__ */ i("div", {
50
50
  style: { padding: 8 },
51
51
  children: t
52
52
  }) })]
53
53
  }, t))
54
- }) }, u = { render: () => /* @__PURE__ */ i(e, { children: [/* @__PURE__ */ r(e.Trigger, { children: /* @__PURE__ */ r("button", { children: "Форма" }) }), /* @__PURE__ */ r(e.Content, { children: (e) => /* @__PURE__ */ i("form", {
54
+ }) }, u = { render: () => /* @__PURE__ */ a(e, { children: [/* @__PURE__ */ i(e.Trigger, { children: /* @__PURE__ */ i("button", { children: "Форма" }) }), /* @__PURE__ */ i(e.Content, { children: (e) => /* @__PURE__ */ a("form", {
55
55
  onSubmit: (t) => {
56
56
  t.preventDefault(), e.setClose();
57
57
  },
@@ -62,12 +62,12 @@ var o = {
62
62
  padding: 12,
63
63
  width: 180
64
64
  },
65
- children: [/* @__PURE__ */ r(n, {
65
+ children: [/* @__PURE__ */ i(n, {
66
66
  label: "Имя",
67
67
  placeholder: "Введите имя",
68
68
  value: "",
69
69
  onChange: () => {}
70
- }), /* @__PURE__ */ r(t, { children: "Отправить" })]
70
+ }), /* @__PURE__ */ i(t, { children: "Отправить" })]
71
71
  }) })] }) };
72
72
  //#endregion
73
73
  export { l as AnchorPlacement, c as Controlled, s as Default, u as WithInteractiveContent, o as default };
@@ -1,4 +1,4 @@
1
- import { t as e } from "../chunks/PresetRangeDateInput-B_8jsilZ.js";
1
+ import { t as e } from "../chunks/PresetRangeDateInput-CapirptQ.js";
2
2
  //#region src/preset-range-date-input/lib/constants.ts
3
3
  var t = "preset-range-date-input";
4
4
  //#endregion