@functionalui/functionalui 0.2.5 → 0.2.7

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 (410) hide show
  1. package/dist/Admonition-BVd4bXl_.cjs +1 -0
  2. package/dist/Admonition-CReUUZzJ.js +88 -0
  3. package/dist/{Avatar-CQA0mEVW.js → Avatar-CkxjB_cU.js} +4 -4
  4. package/dist/AvatarGroup-CbohU2rq.cjs +1 -0
  5. package/dist/AvatarGroup-FpaQP2H4.js +52 -0
  6. package/dist/{Button-CpTXDsI7.js → Button-DLwud-g7.js} +8 -8
  7. package/dist/{Checkbox-C29jP71p.js → Checkbox-CNpy1wvA.js} +3 -3
  8. package/dist/Checkboxes-CQVptWR8.cjs +1 -0
  9. package/dist/Checkboxes-Cj740f5X.js +80 -0
  10. package/dist/Chip-DgSZZTgy.js +132 -0
  11. package/dist/Chip-HOh--tbB.cjs +1 -0
  12. package/dist/ColorPicker-DUz0qcHd.js +234 -0
  13. package/dist/ColorPicker-rxR_V4EW.cjs +1 -0
  14. package/dist/DivMeasure-C398kYvk.js +26 -0
  15. package/dist/DivMeasure-oi_fzKlp.cjs +1 -0
  16. package/dist/GalleryModal-DjCnCkbg.js +464 -0
  17. package/dist/GalleryModal-wFC9x3Em.cjs +1 -0
  18. package/dist/InputImage-CInJWoGb.cjs +1 -0
  19. package/dist/InputImage-ZST0lvcI.js +106 -0
  20. package/dist/InputText-Bjhoe-Tm.cjs +1 -0
  21. package/dist/InputText-DnR7KYJS.js +246 -0
  22. package/dist/InsetGroup-BHxpHwpd.js +105 -0
  23. package/dist/InsetGroup-CGACEEbB.cjs +1 -0
  24. package/dist/{LabelText-D7QIWtWj.js → LabelText-WYEq5keJ.js} +3 -3
  25. package/dist/LoadingSpinner-BC0eMoVW.js +101 -0
  26. package/dist/LoadingSpinner-DykDI5-W.cjs +1 -0
  27. package/dist/{Modal-DXLyt-j4.js → Modal-Di5ye0Cr.js} +4 -4
  28. package/dist/NotificationSystem-B5NXsG0a.js +158 -0
  29. package/dist/NotificationSystem-D4ydo2Lk.cjs +1 -0
  30. package/dist/Radio-Dd5W2Lpf.js +121 -0
  31. package/dist/Radio-QbaBzLpf.cjs +1 -0
  32. package/dist/SelectSpring-BOfRXdag.js +471 -0
  33. package/dist/SelectSpring-DFKWTbF1.cjs +1 -0
  34. package/dist/SpringEnter-CPw1YgNg.cjs +1 -0
  35. package/dist/SpringEnter-CoVZpW-c.js +44 -0
  36. package/dist/{SpringEnterOffsetBy-DMSIQgV3.js → SpringEnterOffsetBy-BKglENgZ.js} +2 -2
  37. package/dist/SpringMenuTransition-B_PoFoqO.cjs +1 -0
  38. package/dist/SpringMenuTransition-CzSfyvDZ.js +42 -0
  39. package/dist/SpringOpenCloseHeight-COvFkc30.js +18 -0
  40. package/dist/SpringOpenCloseHeight-CyxsSgRD.cjs +1 -0
  41. package/dist/TableGrid-BYBVHJt9.cjs +1 -0
  42. package/dist/TableGrid-QlKM9Sdp.js +49 -0
  43. package/dist/{TableHeader-Da0XxILB.js → TableHeader-D3V5Z3JL.js} +4 -4
  44. package/dist/{TableRow-BlJSvake.js → TableRow-DKC9qdjQ.js} +3 -3
  45. package/dist/Tabs-BkUyxceG.js +134 -0
  46. package/dist/Tabs-C8VAb1g0.cjs +1 -0
  47. package/dist/{TagColor-BYKxfOU6.js → TagColor-Bd3n3RCF.js} +3 -3
  48. package/dist/TextArea-Bsm5M8lo.cjs +1 -0
  49. package/dist/TextArea-Cd3q9BMN.js +160 -0
  50. package/dist/ToggleSwitch-BNAk1Wp6.js +100 -0
  51. package/dist/ToggleSwitch-D6ltRmPy.cjs +1 -0
  52. package/dist/{UIcon-BHzbeYWw.js → UIcon-Cc5PX9WJ.js} +3 -3
  53. package/dist/UiContexts-36wfLVYv.cjs +1 -0
  54. package/dist/UiContexts-BMJZJR8C.js +35 -0
  55. package/dist/admonition/index.cjs +1 -1
  56. package/dist/admonition/index.mjs +2 -86
  57. package/dist/avatar/index.mjs +1 -1
  58. package/dist/avatar-group/index.cjs +1 -1
  59. package/dist/avatar-group/index.mjs +2 -50
  60. package/dist/button/index.mjs +1 -1
  61. package/dist/checkbox/index.mjs +1 -1
  62. package/dist/checkboxes/index.cjs +1 -1
  63. package/dist/checkboxes/index.mjs +2 -78
  64. package/dist/chip/index.cjs +1 -1
  65. package/dist/chip/index.mjs +2 -130
  66. package/dist/color-picker/index.cjs +1 -1
  67. package/dist/color-picker/index.mjs +2 -232
  68. package/dist/{component-CW2JPBAq.js → component-89pO-V2r.js} +1 -1
  69. package/dist/{component-BvHdlcdE.js → component-BbiEBU5H.js} +1 -1
  70. package/dist/component-BvmPGrYv.cjs +1 -0
  71. package/dist/{component-C1Gs4nVu.js → component-CGEZuC_0.js} +1 -1
  72. package/dist/{component-DRXQXr2G.js → component-CLzFHaNK.js} +1 -1
  73. package/dist/{component-D0wwK4KY.js → component-D-bBH8nL.js} +1 -1
  74. package/dist/{component-DCHO9d6d.js → component-DBDhHeDP.js} +1 -1
  75. package/dist/{component-D5nxKQnT.js → component-DP7cQasn.js} +1 -1
  76. package/dist/{component-CBIQe7z5.js → component-JelkpADf.js} +1 -1
  77. package/dist/{component-DdQu0mLI.js → component-SecZNuYG.js} +1 -1
  78. package/dist/component-cHg1BfVy.js +28 -0
  79. package/dist/container/index.mjs +1 -1
  80. package/dist/contexts/ui/index.cjs +1 -1
  81. package/dist/contexts/ui/index.mjs +3 -32
  82. package/dist/{createTextElement-Cgrvdwvh.js → createTextElement-d3-b9Lvn.js} +1 -1
  83. package/dist/css/index.css +1 -1
  84. package/dist/div-measure/index.cjs +1 -1
  85. package/dist/div-measure/index.mjs +2 -23
  86. package/dist/gallery-modal/index.cjs +1 -1
  87. package/dist/gallery-modal/index.mjs +2 -461
  88. package/dist/icons/index.mjs +1 -1
  89. package/dist/input-image/index.cjs +1 -1
  90. package/dist/input-image/index.mjs +2 -103
  91. package/dist/input-text/index.cjs +1 -1
  92. package/dist/input-text/index.mjs +2 -243
  93. package/dist/inset-group/index.cjs +1 -1
  94. package/dist/inset-group/index.mjs +2 -102
  95. package/dist/label-text/index.mjs +1 -1
  96. package/dist/layout/index.mjs +1 -1
  97. package/dist/lib/components/devComponent/DevComponent.d.ts +2 -0
  98. package/dist/lib/components/divMeasure/DivMeasure.d.ts +9 -0
  99. package/dist/lib/components/icons/Icon.d.ts +10 -0
  100. package/dist/lib/components/icons/Spinner.d.ts +8 -0
  101. package/dist/lib/components/icons/UIcon.d.ts +22 -0
  102. package/dist/lib/components/loadings/LoadingSpinner.d.ts +7 -0
  103. package/dist/lib/components/loadings/Spinner.d.ts +4 -0
  104. package/dist/lib/components/springAnimations/SpringOpenCloseHeight.d.ts +6 -0
  105. package/dist/lib/components/springAnimations/springTransitions/SpringEnter.d.ts +10 -0
  106. package/dist/lib/components/springAnimations/springTransitions/SpringEnterOffsetBy.d.ts +11 -0
  107. package/dist/lib/components/springAnimations/springTransitions/SpringMenuTransition.d.ts +11 -0
  108. package/dist/lib/components/ui/admonition/Admonition.d.ts +10 -0
  109. package/dist/lib/components/ui/avatar/Avatar.d.ts +15 -0
  110. package/dist/lib/components/ui/avatar/components/AvatarName.d.ts +10 -0
  111. package/dist/lib/components/ui/avatarGroup/AvatarGroup.d.ts +13 -0
  112. package/dist/lib/components/ui/buttons/Button.d.ts +22 -0
  113. package/dist/lib/components/ui/buttons/components/ButtonIcon.d.ts +12 -0
  114. package/dist/lib/components/ui/buttons/utils/colors.d.ts +0 -0
  115. package/dist/lib/components/ui/checkboxes/Checkboxes.d.ts +16 -0
  116. package/dist/lib/components/ui/checkboxes/checkbox/Checkbox.d.ts +11 -0
  117. package/dist/lib/components/ui/chip/Chip.d.ts +19 -0
  118. package/dist/{color-picker/index.d.ts → lib/components/ui/colorPicker/ColorPicker.d.ts} +11 -14
  119. package/dist/lib/components/ui/colorPicker/Picker.d.ts +9 -0
  120. package/dist/{gallery-modal/index.d.ts → lib/components/ui/galleryModal/GalleryModal.d.ts} +8 -11
  121. package/dist/lib/components/ui/galleryModal/components/GalleryClose.d.ts +6 -0
  122. package/dist/lib/components/ui/galleryModal/components/GalleryIslandMenu.d.ts +6 -0
  123. package/dist/lib/components/ui/galleryModal/components/Z.d.ts +9 -0
  124. package/dist/lib/components/ui/galleryModal/contexts/GalleryContext.d.ts +24 -0
  125. package/dist/lib/components/ui/inputs/image/InputImage.d.ts +13 -0
  126. package/dist/lib/components/ui/inputs/radio/Radio.d.ts +13 -0
  127. package/dist/lib/components/ui/inputs/radio/types.d.ts +4 -0
  128. package/dist/lib/components/ui/inputs/text/InputText.d.ts +41 -0
  129. package/dist/lib/components/ui/inputs/text/components/InputTextHelper.d.ts +6 -0
  130. package/dist/lib/components/ui/inputs/text/components/InputTextPlaceholder.d.ts +9 -0
  131. package/dist/lib/components/ui/inputs/text/components/ShowHidePassword.d.ts +7 -0
  132. package/dist/lib/components/ui/inputs/text/components/labels/InputTextLabel.d.ts +11 -0
  133. package/dist/lib/components/ui/inputs/textArea/TextArea.d.ts +42 -0
  134. package/dist/lib/components/ui/inputs/textArea/components/labels/TextAreaLabel.d.ts +12 -0
  135. package/dist/lib/components/ui/insetGroup/InsetGroup.d.ts +13 -0
  136. package/dist/lib/components/ui/insetGroup/components/InsetItem.d.ts +17 -0
  137. package/dist/{label-text/index.d.ts → lib/components/ui/label/LabelText.d.ts} +8 -11
  138. package/dist/lib/components/ui/modals/Modal.d.ts +11 -0
  139. package/dist/lib/components/ui/modals/ModalBg.d.ts +8 -0
  140. package/dist/lib/components/ui/modals/ModalGestureCard.d.ts +9 -0
  141. package/dist/lib/components/ui/modals/ModalWrapper.d.ts +7 -0
  142. package/dist/lib/components/ui/notifications/NotificationSystem.d.ts +2 -0
  143. package/dist/lib/components/ui/notifications/globalEventNotifications/GlobalEventToast.d.ts +2 -0
  144. package/dist/lib/components/ui/portals/GlobalEventPortal.d.ts +5 -0
  145. package/dist/lib/components/ui/portals/ModalPortal.d.ts +5 -0
  146. package/dist/{portals/index.d.ts → lib/components/ui/portals/types.d.ts} +7 -10
  147. package/dist/lib/components/ui/selectSpring/SelectSpring.d.ts +21 -0
  148. package/dist/lib/components/ui/selectSpring/components/DropdownAnimation.d.ts +13 -0
  149. package/dist/lib/components/ui/selectSpring/components/DropdownLi.d.ts +11 -0
  150. package/dist/lib/components/ui/selectSpring/components/HeaderValues.d.ts +12 -0
  151. package/dist/lib/components/ui/selectSpring/components/SelectDropdown.d.ts +17 -0
  152. package/dist/lib/components/ui/selectSpring/components/SelectHeader.d.ts +17 -0
  153. package/dist/lib/components/ui/selectSpring/components/useTopOrBottom.d.ts +7 -0
  154. package/dist/lib/components/ui/selectSpring/components/useWindowDimensions.d.ts +5 -0
  155. package/dist/lib/components/ui/tableGrid/TableGrid.d.ts +11 -0
  156. package/dist/lib/components/ui/tableGrid/components/tableHeader/TableHeader.d.ts +9 -0
  157. package/dist/lib/components/ui/tableGrid/components/tableHeader/TableHeaderCell.d.ts +8 -0
  158. package/dist/lib/components/ui/tableGrid/components/tableRow/TableRow.d.ts +3 -0
  159. package/dist/lib/components/ui/tableGrid/components/tableRow/TableRowAnimation.d.ts +9 -0
  160. package/dist/lib/components/ui/tableGrid/components/tableRow/TableRowCell.d.ts +4 -0
  161. package/dist/lib/components/ui/tabs/Tabs.d.ts +8 -0
  162. package/dist/lib/components/ui/tabs/TabsMenu.d.ts +12 -0
  163. package/dist/lib/components/ui/tabs/TabsRoom.d.ts +8 -0
  164. package/dist/lib/components/ui/tags/TagColor.d.ts +10 -0
  165. package/dist/lib/components/ui/toggleSwitch/ToggleSwitch.d.ts +15 -0
  166. package/dist/lib/contexts/notifications/GlobalEventContext.d.ts +6 -0
  167. package/dist/lib/contexts/ui/UiContexts.d.ts +11 -0
  168. package/dist/lib/contexts/ui/types.d.ts +18 -0
  169. package/dist/lib/css.d.ts +0 -0
  170. package/dist/lib/entries/admonition/index.d.ts +1 -0
  171. package/dist/lib/entries/avatar/index.d.ts +1 -0
  172. package/dist/lib/entries/avatar-group/index.d.ts +1 -0
  173. package/dist/lib/entries/button/index.d.ts +1 -0
  174. package/dist/lib/entries/checkbox/index.d.ts +1 -0
  175. package/dist/lib/entries/checkboxes/index.d.ts +1 -0
  176. package/dist/lib/entries/chip/index.d.ts +1 -0
  177. package/dist/lib/entries/color-picker/index.d.ts +1 -0
  178. package/dist/lib/entries/container/index.d.ts +1 -0
  179. package/dist/lib/entries/contexts/notifications/index.d.ts +2 -0
  180. package/dist/lib/entries/contexts/ui/index.d.ts +2 -0
  181. package/dist/lib/entries/div-measure/index.d.ts +1 -0
  182. package/dist/lib/entries/gallery-modal/index.d.ts +1 -0
  183. package/dist/lib/entries/global-event-portal/index.d.ts +1 -0
  184. package/dist/lib/entries/icons/index.d.ts +1 -0
  185. package/dist/lib/entries/input-image/index.d.ts +1 -0
  186. package/dist/lib/entries/input-text/index.d.ts +1 -0
  187. package/dist/lib/entries/inset-group/index.d.ts +1 -0
  188. package/dist/lib/entries/label-text/index.d.ts +1 -0
  189. package/dist/lib/entries/layout/index.d.ts +1 -0
  190. package/dist/lib/entries/loading-spinner/index.d.ts +2 -0
  191. package/dist/lib/entries/modal/index.d.ts +1 -0
  192. package/dist/lib/entries/notification-system/index.d.ts +1 -0
  193. package/dist/lib/entries/portals/index.d.ts +1 -0
  194. package/dist/lib/entries/radio/index.d.ts +1 -0
  195. package/dist/lib/entries/select-spring/index.d.ts +1 -0
  196. package/dist/lib/entries/spring-enter/index.d.ts +1 -0
  197. package/dist/lib/entries/spring-enter-offset-by/index.d.ts +1 -0
  198. package/dist/lib/entries/spring-menu-transition/index.d.ts +1 -0
  199. package/dist/lib/entries/spring-open-close-height/index.d.ts +1 -0
  200. package/dist/lib/entries/styled/button/index.d.ts +1 -0
  201. package/dist/lib/entries/styled/inputs/text/index.d.ts +1 -0
  202. package/dist/lib/entries/styled/inputs/text-area/index.d.ts +1 -0
  203. package/dist/lib/entries/styled/li/index.d.ts +1 -0
  204. package/dist/lib/entries/styled/ul/index.d.ts +1 -0
  205. package/dist/lib/entries/table-grid/index.d.ts +1 -0
  206. package/dist/lib/entries/table-header/index.d.ts +1 -0
  207. package/dist/lib/entries/table-row/index.d.ts +1 -0
  208. package/dist/lib/entries/tabs/index.d.ts +1 -0
  209. package/dist/lib/entries/tag-color/index.d.ts +1 -0
  210. package/dist/lib/entries/text-area/index.d.ts +1 -0
  211. package/dist/lib/entries/texts/header/index.d.ts +1 -0
  212. package/dist/lib/entries/texts/p/index.d.ts +1 -0
  213. package/dist/lib/entries/texts/span/index.d.ts +1 -0
  214. package/dist/lib/entries/toggle-switch/index.d.ts +1 -0
  215. package/dist/lib/hooks/useAutosizeTextArea.d.ts +2 -0
  216. package/dist/lib/hooks/useAutosizeTextAreaV2.d.ts +2 -0
  217. package/dist/lib/hooks/useClickOutsideDOM.d.ts +2 -0
  218. package/dist/lib/hooks/useCombinedRef.d.ts +2 -0
  219. package/dist/lib/hooks/useCountRender.d.ts +1 -0
  220. package/dist/lib/hooks/useDebounce.d.ts +2 -0
  221. package/dist/lib/hooks/useDelayed.d.ts +2 -0
  222. package/dist/lib/hooks/useDelayedRender.d.ts +2 -0
  223. package/dist/lib/hooks/useFirstMount.d.ts +2 -0
  224. package/dist/lib/hooks/useForm.d.ts +2 -0
  225. package/dist/lib/hooks/useKeyPress.d.ts +1 -0
  226. package/dist/lib/hooks/useNavigatorOnLine.d.ts +2 -0
  227. package/dist/lib/main.d.ts +46 -0
  228. package/dist/lib/styles/mediaQueries/mediaQuery.d.ts +0 -0
  229. package/dist/lib/styles/storybook/Mockups/FormMockup/Form.stories.d.ts +4 -0
  230. package/dist/lib/styles/storybook/Motions/Menu/ExampleOne.d.ts +2 -0
  231. package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC.d.ts +9 -0
  232. package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC2.d.ts +9 -0
  233. package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC3.d.ts +9 -0
  234. package/dist/lib/styles/storybook/Tokens/Colors.stories.d.ts +5 -0
  235. package/dist/lib/styles/storybook/Tokens/Radius.stories.d.ts +5 -0
  236. package/dist/lib/styles/storybook/Tokens/Shadows.stories.d.ts +5 -0
  237. package/dist/lib/styles/storybook/Tokens/SizingsButton.stories.d.ts +5 -0
  238. package/dist/lib/styles/storybook/Tokens/SizingsGeneric.stories.d.ts +5 -0
  239. package/dist/lib/styles/storybook/Tokens/SizingsIcon.stories.d.ts +6 -0
  240. package/dist/lib/styles/storybook/Tokens/Spacings.stories.d.ts +5 -0
  241. package/dist/lib/styles/storybook/Tokens/themes/DarkColors.stories.d.ts +6 -0
  242. package/dist/lib/styles/storybook/Tokens/themes/LightColors.stories.d.ts +5 -0
  243. package/dist/lib/styles/storybook/Typography/DynamicFontSizes.stories.d.ts +4 -0
  244. package/dist/lib/styles/storybook/Typography/FontSizes.stories.d.ts +5 -0
  245. package/dist/lib/styles/storybook/components/Admonition/Admonition.stories.d.ts +6 -0
  246. package/dist/lib/styles/storybook/components/Admonition/Sizes.d.ts +2 -0
  247. package/dist/lib/styles/storybook/components/Avatar/Avatar.stories.d.ts +5 -0
  248. package/dist/lib/styles/storybook/components/AvatarGroup/component.d.ts +2 -0
  249. package/dist/lib/styles/storybook/components/Button/Button.stories.d.ts +7 -0
  250. package/dist/lib/styles/storybook/components/Button/Dev1Comp.d.ts +2 -0
  251. package/dist/lib/styles/storybook/components/Card/Card.stories.d.ts +5 -0
  252. package/dist/lib/styles/storybook/components/Card/Dimensions.d.ts +2 -0
  253. package/dist/lib/styles/storybook/components/Checkbox/Checkbox.stories.d.ts +5 -0
  254. package/dist/lib/styles/storybook/components/Checkbox/component.d.ts +2 -0
  255. package/dist/lib/styles/storybook/components/Checkboxes/Checkboxes.stories.d.ts +5 -0
  256. package/dist/lib/styles/storybook/components/Checkboxes/component.d.ts +2 -0
  257. package/dist/lib/styles/storybook/components/Chip/Chip.stories.d.ts +5 -0
  258. package/dist/lib/styles/storybook/components/Chip/component.d.ts +2 -0
  259. package/dist/lib/styles/storybook/components/ColorPicker/ColorPicker.stories.d.ts +5 -0
  260. package/dist/lib/styles/storybook/components/ColorPicker/component.d.ts +2 -0
  261. package/dist/lib/styles/storybook/components/GalleryModal/component.d.ts +2 -0
  262. package/dist/lib/styles/storybook/components/Inputs/Image.d.ts +2 -0
  263. package/dist/lib/styles/storybook/components/Inputs/InputImage.stories.d.ts +5 -0
  264. package/dist/lib/styles/storybook/components/Inputs/InputRadio.stories.d.ts +5 -0
  265. package/dist/lib/styles/storybook/components/Inputs/InputText.stories.d.ts +5 -0
  266. package/dist/lib/styles/storybook/components/Inputs/InputTextArea.stories.d.ts +5 -0
  267. package/dist/lib/styles/storybook/components/InsetGroup/InsetGroup.stories.d.ts +5 -0
  268. package/dist/lib/styles/storybook/components/InsetGroup/component.d.ts +2 -0
  269. package/dist/lib/styles/storybook/components/Modal/Modal.stories.d.ts +5 -0
  270. package/dist/lib/styles/storybook/components/Modal/component.d.ts +2 -0
  271. package/dist/lib/styles/storybook/components/SelectSpring/SelectSpring.stories.d.ts +5 -0
  272. package/dist/lib/styles/storybook/components/SelectSpring/component.d.ts +2 -0
  273. package/dist/lib/styles/storybook/components/TableGrid/TableGrid.stories.d.ts +5 -0
  274. package/dist/lib/styles/storybook/components/TableGrid/component.d.ts +2 -0
  275. package/dist/lib/styles/storybook/components/Tabs/Tabs.stories.d.ts +5 -0
  276. package/dist/lib/styles/storybook/components/Tabs/component.d.ts +2 -0
  277. package/dist/lib/styles/storybook/components/Texts/Texts.stories.d.ts +4 -0
  278. package/dist/lib/styles/storybook/components/ToastNotification/ToastNotification.stories.d.ts +5 -0
  279. package/dist/lib/styles/storybook/components/ToastNotification/component.d.ts +2 -0
  280. package/dist/lib/styles/storybook/components/UIcon/IconAction.d.ts +1 -0
  281. package/dist/lib/styles/storybook/components/UIcon/Sizes.d.ts +1 -0
  282. package/dist/lib/styles/storybook/components/UIcon/SizesNoPadding.d.ts +1 -0
  283. package/dist/lib/styles/storybook/components/UIcon/UIcon.stories.d.ts +4 -0
  284. package/dist/lib/styles/styled/button/component.d.ts +3 -0
  285. package/dist/lib/styles/styled/container/component.d.ts +4 -0
  286. package/dist/lib/styles/styled/inputs/text/component.d.ts +4 -0
  287. package/dist/lib/styles/styled/inputs/textArea/component.d.ts +4 -0
  288. package/dist/lib/styles/styled/layout/component.d.ts +4 -0
  289. package/dist/lib/styles/styled/li/component.d.ts +4 -0
  290. package/dist/lib/styles/styled/texts/header/component.d.ts +4 -0
  291. package/dist/lib/styles/styled/texts/p/component.d.ts +3 -0
  292. package/dist/lib/styles/styled/texts/span/component.d.ts +3 -0
  293. package/dist/lib/styles/styled/texts/utils/createHeadElement.d.ts +16 -0
  294. package/dist/lib/styles/styled/texts/utils/createTextElement.d.ts +18 -0
  295. package/dist/lib/styles/styled/ul/component.d.ts +4 -0
  296. package/dist/lib/styles/types/attributes/types.d.ts +4 -0
  297. package/dist/lib/styles/types/classes.d.ts +62 -0
  298. package/dist/lib/styles/types/colors/classes.d.ts +9 -0
  299. package/dist/{tag-color/index.d.ts → lib/styles/types/colors/generics.d.ts} +97 -104
  300. package/dist/lib/styles/types/colors/values.d.ts +42 -0
  301. package/dist/lib/styles/types/components.types.d.ts +67 -0
  302. package/dist/lib/styles/types/generics.d.ts +154 -0
  303. package/dist/{icons/index.d.ts → lib/styles/types/icons/icons.d.ts} +292 -457
  304. package/dist/lib/styles/types/icons/values.d.ts +63 -0
  305. package/dist/lib/styles/types/layout/classes.d.ts +120 -0
  306. package/dist/{layout/index.d.ts → lib/styles/types/layout/generics.d.ts} +120 -163
  307. package/dist/lib/styles/types/notification/types.d.ts +22 -0
  308. package/dist/lib/styles/types/sizings/generics.d.ts +22 -0
  309. package/dist/lib/styles/types/types.d.ts +102 -0
  310. package/dist/lib/styles/types/ui/admonition/types.d.ts +117 -0
  311. package/dist/lib/styles/types/ui/avatar/types.d.ts +57 -0
  312. package/dist/lib/styles/types/ui/button/types.d.ts +129 -0
  313. package/dist/lib/styles/types/ui/checkbox/types.d.ts +99 -0
  314. package/dist/lib/styles/types/ui/chip/types.d.ts +37 -0
  315. package/dist/lib/styles/types/ui/inputs/text/types.d.ts +42 -0
  316. package/dist/lib/styles/types/ui/inputs/textarea/types.d.ts +28 -0
  317. package/dist/lib/styles/types/ui/insetGroup/types.d.ts +5 -0
  318. package/dist/lib/styles/types/ui/modal/types.d.ts +4 -0
  319. package/dist/lib/styles/types/ui/portal/types.d.ts +4 -0
  320. package/dist/lib/styles/types/ui/selectSpring/types.d.ts +197 -0
  321. package/dist/lib/styles/types/ui/tablegrid/types.d.ts +28 -0
  322. package/dist/lib/styles/types/ui/tabs/types.d.ts +8 -0
  323. package/dist/lib/styles/types/ui/tag/types.d.ts +53 -0
  324. package/dist/lib/styles/types/ui/toggleswitch/types.d.ts +39 -0
  325. package/dist/lib/styles/types/values.d.ts +18 -0
  326. package/dist/lib/utils/gradientGenerator/gradientGenerator.d.ts +1 -0
  327. package/dist/loading-spinner/index.cjs +1 -1
  328. package/dist/loading-spinner/index.mjs +3 -98
  329. package/dist/main.cjs +1 -0
  330. package/dist/main.mjs +95 -0
  331. package/dist/modal/index.mjs +1 -1
  332. package/dist/notification-system/index.cjs +1 -1
  333. package/dist/notification-system/index.mjs +2 -155
  334. package/dist/radio/index.cjs +1 -1
  335. package/dist/radio/index.mjs +2 -118
  336. package/dist/{react-spring_web.modern-DgQDaJ06.js → react-spring_web.modern-DUf5COpz.js} +3 -3
  337. package/dist/select-spring/index.cjs +1 -1
  338. package/dist/select-spring/index.mjs +2 -468
  339. package/dist/spring-enter/index.cjs +1 -1
  340. package/dist/spring-enter/index.mjs +2 -42
  341. package/dist/spring-enter-offset-by/index.mjs +1 -1
  342. package/dist/spring-menu-transition/index.cjs +1 -1
  343. package/dist/spring-menu-transition/index.mjs +2 -40
  344. package/dist/spring-open-close-height/index.cjs +1 -1
  345. package/dist/spring-open-close-height/index.mjs +2 -16
  346. package/dist/src/App.d.ts +2 -0
  347. package/dist/src/main.d.ts +1 -0
  348. package/dist/styled/button/index.mjs +1 -1
  349. package/dist/styled/inputs/text/index.mjs +1 -1
  350. package/dist/styled/inputs/text-area/index.mjs +1 -1
  351. package/dist/styled/li/index.mjs +1 -1
  352. package/dist/styled/ul/index.mjs +1 -1
  353. package/dist/table-grid/index.cjs +1 -1
  354. package/dist/table-grid/index.mjs +2 -46
  355. package/dist/table-header/index.mjs +1 -1
  356. package/dist/table-row/index.mjs +1 -1
  357. package/dist/tabs/index.cjs +1 -1
  358. package/dist/tabs/index.mjs +2 -132
  359. package/dist/tag-color/index.mjs +1 -1
  360. package/dist/text-area/index.cjs +1 -1
  361. package/dist/text-area/index.mjs +2 -157
  362. package/dist/texts/header/index.cjs +1 -1
  363. package/dist/texts/header/index.mjs +2 -26
  364. package/dist/texts/p/index.mjs +1 -1
  365. package/dist/texts/span/index.mjs +1 -1
  366. package/dist/toggle-switch/index.cjs +1 -1
  367. package/dist/toggle-switch/index.mjs +2 -98
  368. package/dist/{types-BNUi2DUD.js → types-xFemYgmc.js} +1 -1
  369. package/dist/types.mjs +1 -1
  370. package/package.json +103 -95
  371. package/dist/admonition/index.d.ts +0 -27
  372. package/dist/avatar/index.d.ts +0 -115
  373. package/dist/avatar-group/index.d.ts +0 -120
  374. package/dist/button/index.d.ts +0 -249
  375. package/dist/checkbox/index.d.ts +0 -32
  376. package/dist/checkboxes/index.d.ts +0 -38
  377. package/dist/chip/index.d.ts +0 -159
  378. package/dist/container/index.d.ts +0 -238
  379. package/dist/contexts/notifications/index.d.ts +0 -2
  380. package/dist/contexts/ui/index.d.ts +0 -2
  381. package/dist/css/index.d.ts +0 -1
  382. package/dist/div-measure/index.d.ts +0 -13
  383. package/dist/global-event-portal/index.d.ts +0 -8
  384. package/dist/input-image/index.d.ts +0 -18
  385. package/dist/input-text/index.d.ts +0 -199
  386. package/dist/inset-group/index.d.ts +0 -33
  387. package/dist/loading-spinner/index.d.ts +0 -33
  388. package/dist/modal/index.d.ts +0 -105
  389. package/dist/notification-system/index.d.ts +0 -5
  390. package/dist/radio/index.d.ts +0 -36
  391. package/dist/select-spring/index.d.ts +0 -70
  392. package/dist/spring-enter/index.d.ts +0 -16
  393. package/dist/spring-enter-offset-by/index.d.ts +0 -17
  394. package/dist/spring-menu-transition/index.d.ts +0 -15
  395. package/dist/spring-open-close-height/index.d.ts +0 -9
  396. package/dist/styled/button/index.d.ts +0 -2
  397. package/dist/styled/inputs/text/index.d.ts +0 -2
  398. package/dist/styled/inputs/text-area/index.d.ts +0 -2
  399. package/dist/styled/li/index.d.ts +0 -2
  400. package/dist/styled/ul/index.d.ts +0 -2
  401. package/dist/table-grid/index.d.ts +0 -70
  402. package/dist/table-header/index.d.ts +0 -53
  403. package/dist/table-row/index.d.ts +0 -54
  404. package/dist/tabs/index.d.ts +0 -21
  405. package/dist/text-area/index.d.ts +0 -212
  406. package/dist/texts/header/index.d.ts +0 -2
  407. package/dist/texts/p/index.d.ts +0 -2
  408. package/dist/texts/span/index.d.ts +0 -2
  409. package/dist/toggle-switch/index.d.ts +0 -35
  410. package/dist/types.d.ts +0 -2062
@@ -1,471 +1,5 @@
1
1
  "use client";
2
- import { jsx as n, Fragment as Y, jsxs as I } from "react/jsx-runtime";
3
- import { L as G } from "../component-DRXQXr2G.js";
4
- import { C as T, a as oe } from "../generics-D33J7ILI.js";
5
- import { j as ne, h as ie, b as U, i as se } from "../classes-CVxy1f4M.js";
6
- import { D as M, a as p, b as m, c as J, e as A, S as z, d as C } from "../types-Bh_j-nXM.js";
7
- import { useState as Z, useEffect as D, useReducer as ae } from "react";
8
- import { u as V } from "../web-B_p0FWHf.js";
9
- import { u as le } from "../useClickOutsideDOM-CBmttEFU.js";
10
- import { C as R } from "../component-C1Gs4nVu.js";
11
- import { T as O } from "../component-BvHdlcdE.js";
12
- import { S as l, R as x, C as de } from "../generics-C-WSPclF.js";
13
- import { d as X, c as ce, u as $ } from "../react-spring_web.modern-DgQDaJ06.js";
14
- import { F as K } from "../component-D5nxKQnT.js";
15
- import { F as ue } from "../component-DCHO9d6d.js";
16
- import { a as v, c as N } from "../values-CSE3dLnv.js";
17
- import { U as pe } from "../UIcon-BHzbeYWw.js";
18
- const fe = "_ul_5jv7w_1", me = "_li_5jv7w_5", W = {
19
- ul: fe,
20
- li: me
21
- }, F = {
22
- [p.Top]: {
23
- from: { y: -10 },
24
- enter: { y: -1 },
25
- leave: { y: -10 }
26
- },
27
- [p.Bottom]: {
28
- from: { y: 10 },
29
- enter: { y: -1 },
30
- leave: { y: 10 }
31
- }
32
- }, he = ({
33
- dropdownHeightStyle: e,
34
- isOpen: t,
35
- dropdownPosition: o,
36
- position: r,
37
- selectState: i,
38
- children: s
39
- }) => {
40
- switch (e) {
41
- case M.Default:
42
- return /* @__PURE__ */ n(
43
- j,
44
- {
45
- dropdownHeightStyle: e,
46
- isOpen: t,
47
- dropdownPosition: o,
48
- position: r,
49
- selectState: i,
50
- children: s
51
- }
52
- );
53
- case M.AutoHeight:
54
- return /* @__PURE__ */ n(
55
- Se,
56
- {
57
- dropdownHeightStyle: e,
58
- isOpen: t,
59
- dropdownPosition: o,
60
- position: r,
61
- selectState: i,
62
- children: s
63
- }
64
- );
65
- default:
66
- return /* @__PURE__ */ n(
67
- j,
68
- {
69
- dropdownHeightStyle: e,
70
- isOpen: t,
71
- dropdownPosition: o,
72
- position: r,
73
- selectState: i,
74
- children: s
75
- }
76
- );
77
- }
78
- }, j = ({
79
- isOpen: e,
80
- dropdownPosition: t,
81
- // dropdownHeightStyle,
82
- // hasSelect,
83
- position: o,
84
- children: r
85
- }) => X(e, {
86
- from: {
87
- opacity: 0,
88
- ...F[t].from
89
- },
90
- enter: {
91
- opacity: 1,
92
- ...F[t].enter
93
- },
94
- leave: {
95
- opacity: 0,
96
- ...F[t].leave
97
- }
98
- })(
99
- (s, a) => a && /* @__PURE__ */ n(
100
- K,
101
- {
102
- style: {
103
- ...s,
104
- transformOrigin: t === p.Top ? "bottom center" : t === p.Bottom ? "top center" : o < 0 ? "bottom center" : "top center"
105
- },
106
- className: W.ul,
107
- children: r
108
- }
109
- )
110
- ), Se = ({
111
- isOpen: e,
112
- // dropdownHeightStyle,
113
- // hasSelect,
114
- dropdownPosition: t,
115
- position: o,
116
- children: r
117
- }) => X(e, {
118
- from: {
119
- opacity: 0,
120
- scaleY: 0
121
- },
122
- enter: {
123
- opacity: 1,
124
- scaleY: 1
125
- },
126
- leave: {
127
- opacity: 0,
128
- scaleY: 0.5
129
- },
130
- config(s, a, d) {
131
- return d === "leave" ? { duration: 100 } : ce.default;
132
- }
133
- })(
134
- (s, a) => a && /* @__PURE__ */ n(
135
- K,
136
- {
137
- style: {
138
- ...s,
139
- transformOrigin: t === p.Top ? "bottom center" : t === p.Bottom ? "top center" : o < 0 ? "bottom center" : "top center"
140
- },
141
- className: W.ul,
142
- children: r
143
- }
144
- )
145
- ), ge = ({
146
- handleSelectItem: e,
147
- id: t,
148
- idx: o,
149
- children: r,
150
- colorSet: i
151
- }) => {
152
- const [s, a] = $(() => ({
153
- backgroundColor: v[T.Grey2]
154
- // same as SelectHeader bgColor
155
- }));
156
- return /* @__PURE__ */ n(
157
- ue,
158
- {
159
- className: W.li,
160
- paddingTop: l.Size1,
161
- paddingBottom: l.Size1,
162
- paddingLeft: l.Size2,
163
- paddingRight: l.Size2,
164
- marginTop: l.Size0,
165
- style: {
166
- listStyle: "none",
167
- cursor: "pointer",
168
- userSelect: "none",
169
- ...s
170
- },
171
- onMouseEnter: () => {
172
- a.start({
173
- backgroundColor: v[N[i][0] + 2]
174
- });
175
- },
176
- onMouseLeave: () => {
177
- a.start({ backgroundColor: v[T.Grey2] });
178
- },
179
- onMouseDown: () => {
180
- a.start({
181
- backgroundColor: v[N[i][0] + 3]
182
- });
183
- },
184
- onClick: () => e(t, o),
185
- children: r
186
- }
187
- );
188
- }, ye = (e, t) => {
189
- const [o, r] = Z(null);
190
- D(() => {
191
- const s = () => {
192
- r({
193
- width: window ? window.innerWidth : 0,
194
- height: window ? window.innerHeight : 0
195
- });
196
- };
197
- return window && window.addEventListener("resize", s), () => {
198
- window && window.removeEventListener("resize", s);
199
- };
200
- }, []);
201
- const i = e.height + 10;
202
- return o && i + e.top > o.height ? -1 : 1;
203
- }, we = ({
204
- isSelectOpen: e,
205
- selectOptions: t,
206
- handleSelectItem: o,
207
- selectState: r,
208
- dropdownHeightStyle: i,
209
- dropdownPosition: s = p.Bottom,
210
- colorSet: a,
211
- headerHeight: d,
212
- w: S
213
- // closeSelect,
214
- }) => {
215
- const [L, g] = V(), y = ye(g), h = y > 0 ? d - 1 : -g.height;
216
- return /* @__PURE__ */ n(
217
- R,
218
- {
219
- ref: L,
220
- borderRadius: m[r].dropdown.borderRadius,
221
- borderBottomLeftRadius: x.Size0,
222
- borderBottomRightRadius: x.Size0,
223
- borderWidth: m[r].header.borderWidth,
224
- borderColor: m[r].header.borderColor,
225
- style: {
226
- maxHeight: 250,
227
- width: S,
228
- overflowY: "scroll",
229
- position: "absolute",
230
- transform: `translateY(${h}px)`,
231
- overscrollBehaviorY: "none"
232
- },
233
- children: /* @__PURE__ */ n(
234
- he,
235
- {
236
- dropdownHeightStyle: i,
237
- isOpen: e,
238
- dropdownPosition: s,
239
- selectState: r,
240
- position: y,
241
- children: t.map((c, w) => /* @__PURE__ */ n(
242
- ge,
243
- {
244
- handleSelectItem: o,
245
- id: c.id,
246
- idx: w,
247
- colorSet: a,
248
- children: /* @__PURE__ */ n(
249
- R,
250
- {
251
- paddingTop: l.Size1,
252
- paddingBottom: l.Size1,
253
- paddingLeft: l.Size2,
254
- paddingRight: l.Size2,
255
- children: /* @__PURE__ */ n(O, { children: c.text })
256
- }
257
- )
258
- },
259
- c.id
260
- ))
261
- }
262
- )
263
- }
264
- );
265
- }, be = ({
266
- selectedValues: e,
267
- doubleZero: t,
268
- title: o,
269
- selectedValueStyles: r = A.Text,
270
- sizes: i = J.Medium
271
- }) => (e.length === 1 && e[0].text, e.length < 1 ? /* @__PURE__ */ n(ve, { sizes: i, title: o }) : r === A.Text ? /* @__PURE__ */ n(Y, { children: e.map((s, a) => /* @__PURE__ */ n(O, { fontSize: z[i].font.size, children: s.text }, a)) }) : (
272
- // @todo_20240503_1350("chip")
273
- /* @__PURE__ */ n(Y, { children: e.map((s, a) => /* @__PURE__ */ n(O, { fontSize: z[i].font.size, children: s.text }, a)) })
274
- )), ve = ({ title: e, sizes: t }) => /* @__PURE__ */ n(O, { fontSize: z[t].font.size, children: e }), Ce = ({
275
- // w,
276
- setOpenDropdown: e,
277
- openDropdown: t,
278
- title: o,
279
- doubleZero: r,
280
- selectState: i,
281
- // selectedItemIdx,
282
- selectedValues: s,
283
- selectedValueStyles: a,
284
- sizes: d = J.Medium
285
- }) => /* @__PURE__ */ n(
286
- R,
287
- {
288
- style: { cursor: "pointer" },
289
- paddingTop: l.Size1,
290
- paddingBottom: l.Size1,
291
- paddingLeft: l.Size2,
292
- paddingRight: l.Size2,
293
- borderRadius: m[i].header.borderRadius,
294
- borderWidth: m[i].header.borderWidth,
295
- borderColor: m[i].header.borderColor,
296
- borderTopLeftRadius: t ? x.Size0 : void 0,
297
- borderTopRightRadius: t ? x.Size0 : void 0,
298
- bgColor: m[i].header.bgColor,
299
- onClick: () => e((S) => !S),
300
- children: /* @__PURE__ */ I(
301
- G,
302
- {
303
- display: U.Flex,
304
- flexAlignItem: ie.Center,
305
- flexJustifyContent: ne.SpaceBetween,
306
- children: [
307
- /* @__PURE__ */ n(
308
- be,
309
- {
310
- sizes: d,
311
- selectedValues: s,
312
- doubleZero: r,
313
- title: o,
314
- selectedValueStyles: a
315
- }
316
- ),
317
- /* @__PURE__ */ n("div", { className: "icon", children: /* @__PURE__ */ n(De, { isSelectOpen: t, sizes: d }) })
318
- ]
319
- }
320
- )
321
- }
322
- ), De = ({
323
- isSelectOpen: e,
324
- sizes: t,
325
- cursor: o = de.Pointer
326
- }) => {
327
- const r = $({
328
- rotateX: e ? 180 : 0
329
- });
330
- return (
331
- // @todo_20241105_1045("tech debt")
332
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
333
- // @ts-expect-error
334
- /* @__PURE__ */ n(R, { style: r, children: /* @__PURE__ */ n(
335
- pe,
336
- {
337
- name: "chevron-down",
338
- colorLight: T.Grey5,
339
- colorDark: T.Grey5,
340
- size: z[t].icon.size,
341
- cursor: o
342
- }
343
- ) })
344
- );
345
- };
346
- function Te(e, t) {
347
- switch (t.type) {
348
- case "field":
349
- return { ...e, [t.field]: t.value };
350
- case "select":
351
- return {
352
- ...e,
353
- selectedItemIdx: t.value,
354
- selectOptions: e.selectOptions.map(
355
- (o, r) => t.value === r ? { ...o, selected: !0 } : { ...o, selected: !1 }
356
- ),
357
- openDropdown: !1,
358
- selectState: C.Selected
359
- };
360
- case "open":
361
- return { ...e, openDropdown: !0 };
362
- case "close":
363
- return { ...e, openDropdown: !1 };
364
- case "open-close":
365
- return { ...e, openDropdown: !e.openDropdown };
366
- case "parent-update-selected":
367
- return {
368
- ...e,
369
- selectedItemIdx: t.value,
370
- selectOptions: e.selectOptions.map((o, r) => ({
371
- ...o,
372
- selected: r === t.value
373
- }))
374
- };
375
- default:
376
- return e;
377
- }
378
- }
379
- const je = ({
380
- id: e,
381
- title: t,
382
- options: o,
383
- selectedIdx: r = null,
384
- w: i = 225,
385
- doubleZero: s = !1,
386
- required: a = !1,
387
- dropdownHeightStyle: d = M.AutoHeight,
388
- state: S = C.Default,
389
- selectedValuesStyle: L = A.Text,
390
- colorSet: g = oe.Primarys,
391
- dropdownPosition: y = p.Bottom,
392
- setSelectedIdx: h,
393
- setInput: c
394
- }) => {
395
- const [w, Q] = Z(!1), [q, u] = ae(Te, {
396
- selectState: S,
397
- openDropdown: !1,
398
- selectedItemIdx: r,
399
- selectOptions: o
400
- }), { openDropdown: b, selectedItemIdx: _, selectOptions: B, selectState: k } = q;
401
- D(() => {
402
- Q(!0), typeof r == "number" && (h && h(r), c && c((f) => ({ ...f, [e]: o[r] })));
403
- }, []), D(() => {
404
- typeof r == "number" && u({ type: "parent-update-selected", value: r });
405
- }, [r]), D(() => {
406
- a && w && !b && u(typeof _ == "number" && _ !== -1 ? {
407
- type: "field",
408
- field: "selectState",
409
- value: C.Default
410
- } : {
411
- type: "field",
412
- field: "selectState",
413
- value: C.Error
414
- });
415
- }, [w, b, a, _]);
416
- const P = (f, E) => {
417
- u({ type: "select", value: E }), h && h(E), c && c((re) => ({
418
- ...re,
419
- [f]: B[E]
420
- }));
421
- }, ee = le(() => {
422
- u({ type: "close" });
423
- }), [te, H] = V();
424
- return (
425
- // <div ref={nodeDOM}>
426
- /* @__PURE__ */ I(
427
- G,
428
- {
429
- ref: ee,
430
- display: U.Flex,
431
- flexDirection: se.Column,
432
- style: { width: i, maxWidth: i },
433
- children: [
434
- /* @__PURE__ */ n("div", { ref: te, children: /* @__PURE__ */ n(
435
- Ce,
436
- {
437
- w: i,
438
- setOpenDropdown: () => u({ type: "open-close" }),
439
- selectState: k,
440
- setSelectState: (f) => u({ type: "field", field: "selectState", value: f }),
441
- openDropdown: b,
442
- title: t,
443
- doubleZero: s,
444
- selectedValues: B.filter((f) => f.selected === !0),
445
- selectedValueStyles: L,
446
- options: o
447
- }
448
- ) }),
449
- /* @__PURE__ */ n(
450
- we,
451
- {
452
- isSelectOpen: b,
453
- closeSelect: () => u({ type: "close" }),
454
- selectOptions: B,
455
- handleSelectItem: P,
456
- selectState: k,
457
- dropdownHeightStyle: d,
458
- dropdownPosition: y,
459
- colorSet: g,
460
- headerHeight: H.height,
461
- w: H.width
462
- }
463
- )
464
- ]
465
- }
466
- )
467
- );
468
- };
2
+ import { S as t } from "../SelectSpring-BOfRXdag.js";
469
3
  export {
470
- je as SelectSpring
4
+ t as SelectSpring
471
5
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("react/jsx-runtime"),l=require("../react-spring_web.modern-W3Nkoq_6.cjs"),c=require("../component-D-EEi7NI.cjs"),r={horizontal:{from:{x:10},enter:{x:0},leave:{x:-10}},vertical:{from:{y:10},enter:{y:0},leave:{y:-10}},verticalInverted:{from:{y:-10},enter:{y:0},leave:{y:10}}},y=({direction:e,isShown:t=!0,children:i})=>{const o=l.useTransition(t,{from:{...r[e].from,opacity:0,display:"none"},enter:{...r[e].enter,opacity:1,display:"block"},leave:{...r[e].leave,opacity:0,display:"none"}});return n.jsx(n.Fragment,{children:o((a,s)=>s&&n.jsx(c.Container,{style:{...a,height:"inherit",width:"inherit",overflow:"hidden"},children:i}))})};exports.SpringEnter=y;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SpringEnter-CPw1YgNg.cjs");exports.SpringEnter=e.SpringEnter;
@@ -1,45 +1,5 @@
1
1
  "use client";
2
- import { jsx as t, Fragment as s } from "react/jsx-runtime";
3
- import { d as m } from "../react-spring_web.modern-DgQDaJ06.js";
4
- import { C as y } from "../component-C1Gs4nVu.js";
5
- const r = {
6
- horizontal: {
7
- from: { x: 10 },
8
- enter: { x: 0 },
9
- leave: { x: -10 }
10
- },
11
- vertical: {
12
- from: { y: 10 },
13
- enter: { y: 0 },
14
- leave: { y: -10 }
15
- },
16
- verticalInverted: {
17
- from: { y: -10 },
18
- enter: { y: 0 },
19
- leave: { y: 10 }
20
- }
21
- }, v = ({ direction: e, isShown: n = !0, children: o }) => {
22
- const i = m(n, {
23
- from: { ...r[e].from, opacity: 0, display: "none" },
24
- enter: { ...r[e].enter, opacity: 1, display: "block" },
25
- leave: { ...r[e].leave, opacity: 0, display: "none" }
26
- // delay: 150,
27
- });
28
- return /* @__PURE__ */ t(s, { children: i(
29
- (a, l) => l && /* @__PURE__ */ t(
30
- y,
31
- {
32
- style: {
33
- ...a,
34
- height: "inherit",
35
- width: "inherit",
36
- overflow: "hidden"
37
- },
38
- children: o
39
- }
40
- )
41
- ) });
42
- };
2
+ import { S as n } from "../SpringEnter-CoVZpW-c.js";
43
3
  export {
44
- v as SpringEnter
4
+ n as SpringEnter
45
5
  };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { S as t } from "../SpringEnterOffsetBy-DMSIQgV3.js";
2
+ import { S as t } from "../SpringEnterOffsetBy-BKglENgZ.js";
3
3
  export {
4
4
  t as SpringEnterOffsetBy
5
5
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),c=require("../react-spring_web.modern-W3Nkoq_6.cjs"),u=require("../component-D-EEi7NI.cjs"),a=require("../generics-9F1CmKPb.cjs"),d=require("../web-yC_cLoAC.cjs"),g=({isOpen:e,children:n})=>{const[o,t]=d.useMeasure(),[r,s]=c.useSpring(()=>({opacity:0,height:0,width:0}));return s.start({opacity:e?1:0,height:e?t.height:0,width:e?t.width:0}),i.jsx(u.Container,{style:{position:"absolute",overflow:"hidden",...r},boxSizing:a.BoxSizings.BorderBox,children:i.jsx("div",{ref:o,style:{width:"max-content",height:"max-content",boxSizing:"border-box"},children:n})})};exports.SpringMenuTransition=g;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../SpringMenuTransition-B_PoFoqO.cjs");exports.SpringMenuTransition=n.SpringMenuTransition;
@@ -1,43 +1,5 @@
1
1
  "use client";
2
- import { jsx as i } from "react/jsx-runtime";
3
- import { u as a } from "../react-spring_web.modern-DgQDaJ06.js";
4
- import { C as h } from "../component-C1Gs4nVu.js";
5
- import { c as m } from "../generics-C-WSPclF.js";
6
- import { u as d } from "../web-B_p0FWHf.js";
7
- const f = ({ isOpen: t, children: r }) => {
8
- const [e, o] = d(), [n, s] = a(() => ({
9
- opacity: 0,
10
- height: 0,
11
- width: 0
12
- }));
13
- return s.start({
14
- opacity: t ? 1 : 0,
15
- height: t ? o.height : 0,
16
- width: t ? o.width : 0
17
- }), /* @__PURE__ */ i(
18
- h,
19
- {
20
- style: {
21
- position: "absolute",
22
- overflow: "hidden",
23
- ...n
24
- },
25
- boxSizing: m.BorderBox,
26
- children: /* @__PURE__ */ i(
27
- "div",
28
- {
29
- ref: e,
30
- style: {
31
- width: "max-content",
32
- height: "max-content",
33
- boxSizing: "border-box"
34
- },
35
- children: r
36
- }
37
- )
38
- }
39
- );
40
- };
2
+ import { S as i } from "../SpringMenuTransition-CzSfyvDZ.js";
41
3
  export {
42
- f as SpringMenuTransition
4
+ i as SpringMenuTransition
43
5
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),n=require("../component-D-EEi7NI.cjs"),c=require("../web-yC_cLoAC.cjs"),u=({isOpen:e,children:o})=>{const[i,r]=c.useMeasure(),s={height:e?r.height:0,width:"auto",overflow:"hidden",opacity:e?1:0};return t.jsx(n.Container,{style:s,children:t.jsx("div",{ref:i,children:t.jsx(n.Container,{style:{height:"max-content"},children:o})})})};exports.SpringOpenCloseHeight=u;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../SpringOpenCloseHeight-CyxsSgRD.cjs");exports.SpringOpenCloseHeight=e.SpringOpenCloseHeight;
@@ -1,19 +1,5 @@
1
1
  "use client";
2
- import { jsx as e } from "react/jsx-runtime";
3
- import { C as o } from "../component-C1Gs4nVu.js";
4
- import { u as s } from "../web-B_p0FWHf.js";
5
- const m = ({
6
- isOpen: t,
7
- children: i
8
- }) => {
9
- const [n, r] = s(), h = {
10
- height: t ? r.height : 0,
11
- width: "auto",
12
- overflow: "hidden",
13
- opacity: t ? 1 : 0
14
- };
15
- return /* @__PURE__ */ e(o, { style: h, children: /* @__PURE__ */ e("div", { ref: n, children: /* @__PURE__ */ e(o, { style: { height: "max-content" }, children: i }) }) });
16
- };
2
+ import { S as n } from "../SpringOpenCloseHeight-COvFkc30.js";
17
3
  export {
18
- m as SpringOpenCloseHeight
4
+ n as SpringOpenCloseHeight
19
5
  };
@@ -0,0 +1,2 @@
1
+ declare function App(): import("react/jsx-runtime").JSX.Element;
2
+ export default App;
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { F as r } from "../../component-CW2JPBAq.js";
1
+ import { F as r } from "../../component-89pO-V2r.js";
2
2
  export {
3
3
  r as F__Button
4
4
  };
@@ -1,4 +1,4 @@
1
- import { F as o } from "../../../component-CBIQe7z5.js";
1
+ import { F as o } from "../../../component-JelkpADf.js";
2
2
  export {
3
3
  o as F__TextInput
4
4
  };
@@ -1,4 +1,4 @@
1
- import { F as a } from "../../../component-DdQu0mLI.js";
1
+ import { F as a } from "../../../component-SecZNuYG.js";
2
2
  export {
3
3
  a as F__TextArea
4
4
  };
@@ -1,4 +1,4 @@
1
- import { F } from "../../component-DCHO9d6d.js";
1
+ import { F } from "../../component-DBDhHeDP.js";
2
2
  export {
3
3
  F as F__Li
4
4
  };
@@ -1,4 +1,4 @@
1
- import { F } from "../../component-D5nxKQnT.js";
1
+ import { F } from "../../component-DP7cQasn.js";
2
2
  export {
3
3
  F as F__Ul
4
4
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),x=require("../component-D-EEi7NI.cjs"),w=require("../component-B1mkowwk.cjs"),o=require("../classes-HsjFV5aN.cjs"),b=require("../TableHeader-BAdYoCbb.cjs"),j=require("../TableRow-Bq58CTbU.cjs"),y=({headers:l=[],rows:i=[],templateColumns:t,emptyPlaceholder:r,hover:c=!0})=>{const[n,a]=d.useState(i);return e.jsxs(x.Container,{style:{flex:1,width:"100%",maxWidth:"100%"},children:[e.jsx(b.TableHeader,{headers:l,templateColumns:t,setTableRows:a}),n.length!==0?e.jsx(e.Fragment,{children:n.map((s,u)=>e.jsx(j.TableRow,{rowId:s.rowId,templateColumns:t,cells:s.cells,hover:c,onClickRow:s.onClickRow},s.rowId||u))}):r?e.jsx(w.Layout,{display:o.Displays.Flex,flexJustifyContent:o.FlexJustifyContents.Center,style:{width:"100%"},children:r}):e.jsx(e.Fragment,{})]})};exports.TableGrid=y;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../TableGrid-BYBVHJt9.cjs");exports.TableGrid=e.TableGrid;