@functionalui/functionalui 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (273) hide show
  1. package/dist/lib/components/devComponent/DevComponent.d.ts +2 -0
  2. package/dist/lib/components/divMeasure/DivMeasure.d.ts +9 -0
  3. package/dist/lib/components/icons/Icon.d.ts +10 -0
  4. package/dist/lib/components/icons/Spinner.d.ts +8 -0
  5. package/dist/lib/components/icons/UIcon.d.ts +22 -0
  6. package/dist/lib/components/loadings/LoadingSpinner.d.ts +7 -0
  7. package/dist/lib/components/loadings/Spinner.d.ts +4 -0
  8. package/dist/lib/components/springAnimations/SpringOpenCloseHeight.d.ts +6 -0
  9. package/dist/lib/components/springAnimations/springTransitions/SpringEnter.d.ts +10 -0
  10. package/dist/lib/components/springAnimations/springTransitions/SpringEnterOffsetBy.d.ts +11 -0
  11. package/dist/lib/components/springAnimations/springTransitions/SpringMenuTransition.d.ts +11 -0
  12. package/dist/lib/components/ui/admonition/Admonition.d.ts +10 -0
  13. package/dist/lib/components/ui/avatar/Avatar.d.ts +15 -0
  14. package/dist/lib/components/ui/avatar/components/AvatarName.d.ts +10 -0
  15. package/dist/lib/components/ui/avatarGroup/AvatarGroup.d.ts +13 -0
  16. package/dist/lib/components/ui/buttons/Button.d.ts +22 -0
  17. package/dist/lib/components/ui/buttons/components/ButtonIcon.d.ts +12 -0
  18. package/dist/lib/components/ui/buttons/utils/colors.d.ts +0 -0
  19. package/dist/lib/components/ui/checkboxes/Checkboxes.d.ts +16 -0
  20. package/dist/lib/components/ui/checkboxes/checkbox/Checkbox.d.ts +11 -0
  21. package/dist/lib/components/ui/chip/Chip.d.ts +19 -0
  22. package/dist/{color-picker/index.d.ts → lib/components/ui/colorPicker/ColorPicker.d.ts} +11 -14
  23. package/dist/lib/components/ui/colorPicker/Picker.d.ts +9 -0
  24. package/dist/{gallery-modal/index.d.ts → lib/components/ui/galleryModal/GalleryModal.d.ts} +8 -11
  25. package/dist/lib/components/ui/galleryModal/components/GalleryClose.d.ts +6 -0
  26. package/dist/lib/components/ui/galleryModal/components/GalleryIslandMenu.d.ts +6 -0
  27. package/dist/lib/components/ui/galleryModal/components/Z.d.ts +9 -0
  28. package/dist/lib/components/ui/galleryModal/contexts/GalleryContext.d.ts +24 -0
  29. package/dist/lib/components/ui/inputs/image/InputImage.d.ts +13 -0
  30. package/dist/lib/components/ui/inputs/radio/Radio.d.ts +13 -0
  31. package/dist/lib/components/ui/inputs/radio/types.d.ts +4 -0
  32. package/dist/lib/components/ui/inputs/text/InputText.d.ts +41 -0
  33. package/dist/lib/components/ui/inputs/text/components/InputTextHelper.d.ts +6 -0
  34. package/dist/lib/components/ui/inputs/text/components/InputTextPlaceholder.d.ts +9 -0
  35. package/dist/lib/components/ui/inputs/text/components/ShowHidePassword.d.ts +7 -0
  36. package/dist/lib/components/ui/inputs/text/components/labels/InputTextLabel.d.ts +11 -0
  37. package/dist/lib/components/ui/inputs/textArea/TextArea.d.ts +42 -0
  38. package/dist/lib/components/ui/inputs/textArea/components/labels/TextAreaLabel.d.ts +12 -0
  39. package/dist/lib/components/ui/insetGroup/InsetGroup.d.ts +13 -0
  40. package/dist/lib/components/ui/insetGroup/components/InsetItem.d.ts +17 -0
  41. package/dist/{label-text/index.d.ts → lib/components/ui/label/LabelText.d.ts} +8 -11
  42. package/dist/lib/components/ui/modals/Modal.d.ts +11 -0
  43. package/dist/lib/components/ui/modals/ModalBg.d.ts +8 -0
  44. package/dist/lib/components/ui/modals/ModalGestureCard.d.ts +9 -0
  45. package/dist/lib/components/ui/modals/ModalWrapper.d.ts +7 -0
  46. package/dist/lib/components/ui/notifications/NotificationSystem.d.ts +2 -0
  47. package/dist/lib/components/ui/notifications/globalEventNotifications/GlobalEventToast.d.ts +2 -0
  48. package/dist/lib/components/ui/portals/GlobalEventPortal.d.ts +5 -0
  49. package/dist/lib/components/ui/portals/ModalPortal.d.ts +5 -0
  50. package/dist/{portals/index.d.ts → lib/components/ui/portals/types.d.ts} +7 -10
  51. package/dist/lib/components/ui/selectSpring/SelectSpring.d.ts +21 -0
  52. package/dist/lib/components/ui/selectSpring/components/DropdownAnimation.d.ts +13 -0
  53. package/dist/lib/components/ui/selectSpring/components/DropdownLi.d.ts +11 -0
  54. package/dist/lib/components/ui/selectSpring/components/HeaderValues.d.ts +12 -0
  55. package/dist/lib/components/ui/selectSpring/components/SelectDropdown.d.ts +17 -0
  56. package/dist/lib/components/ui/selectSpring/components/SelectHeader.d.ts +17 -0
  57. package/dist/lib/components/ui/selectSpring/components/useTopOrBottom.d.ts +7 -0
  58. package/dist/lib/components/ui/selectSpring/components/useWindowDimensions.d.ts +5 -0
  59. package/dist/lib/components/ui/tableGrid/TableGrid.d.ts +11 -0
  60. package/dist/lib/components/ui/tableGrid/components/tableHeader/TableHeader.d.ts +9 -0
  61. package/dist/lib/components/ui/tableGrid/components/tableHeader/TableHeaderCell.d.ts +8 -0
  62. package/dist/lib/components/ui/tableGrid/components/tableRow/TableRow.d.ts +3 -0
  63. package/dist/lib/components/ui/tableGrid/components/tableRow/TableRowAnimation.d.ts +9 -0
  64. package/dist/lib/components/ui/tableGrid/components/tableRow/TableRowCell.d.ts +4 -0
  65. package/dist/lib/components/ui/tabs/Tabs.d.ts +8 -0
  66. package/dist/lib/components/ui/tabs/TabsMenu.d.ts +12 -0
  67. package/dist/lib/components/ui/tabs/TabsRoom.d.ts +8 -0
  68. package/dist/lib/components/ui/tags/TagColor.d.ts +10 -0
  69. package/dist/lib/components/ui/toggleSwitch/ToggleSwitch.d.ts +15 -0
  70. package/dist/lib/contexts/notifications/GlobalEventContext.d.ts +6 -0
  71. package/dist/lib/contexts/ui/UiContexts.d.ts +11 -0
  72. package/dist/lib/contexts/ui/types.d.ts +18 -0
  73. package/dist/lib/css.d.ts +0 -0
  74. package/dist/lib/entries/admonition/index.d.ts +1 -0
  75. package/dist/lib/entries/avatar/index.d.ts +1 -0
  76. package/dist/lib/entries/avatar-group/index.d.ts +1 -0
  77. package/dist/lib/entries/button/index.d.ts +1 -0
  78. package/dist/lib/entries/checkbox/index.d.ts +1 -0
  79. package/dist/lib/entries/checkboxes/index.d.ts +1 -0
  80. package/dist/lib/entries/chip/index.d.ts +1 -0
  81. package/dist/lib/entries/color-picker/index.d.ts +1 -0
  82. package/dist/lib/entries/container/index.d.ts +1 -0
  83. package/dist/lib/entries/contexts/notifications/index.d.ts +2 -0
  84. package/dist/lib/entries/contexts/ui/index.d.ts +2 -0
  85. package/dist/lib/entries/div-measure/index.d.ts +1 -0
  86. package/dist/lib/entries/gallery-modal/index.d.ts +1 -0
  87. package/dist/lib/entries/global-event-portal/index.d.ts +1 -0
  88. package/dist/lib/entries/icons/index.d.ts +1 -0
  89. package/dist/lib/entries/input-image/index.d.ts +1 -0
  90. package/dist/lib/entries/input-text/index.d.ts +1 -0
  91. package/dist/lib/entries/inset-group/index.d.ts +1 -0
  92. package/dist/lib/entries/label-text/index.d.ts +1 -0
  93. package/dist/lib/entries/layout/index.d.ts +1 -0
  94. package/dist/lib/entries/loading-spinner/index.d.ts +2 -0
  95. package/dist/lib/entries/modal/index.d.ts +1 -0
  96. package/dist/lib/entries/notification-system/index.d.ts +1 -0
  97. package/dist/lib/entries/portals/index.d.ts +1 -0
  98. package/dist/lib/entries/radio/index.d.ts +1 -0
  99. package/dist/lib/entries/select-spring/index.d.ts +1 -0
  100. package/dist/lib/entries/spring-enter/index.d.ts +1 -0
  101. package/dist/lib/entries/spring-enter-offset-by/index.d.ts +1 -0
  102. package/dist/lib/entries/spring-menu-transition/index.d.ts +1 -0
  103. package/dist/lib/entries/spring-open-close-height/index.d.ts +1 -0
  104. package/dist/lib/entries/styled/button/index.d.ts +1 -0
  105. package/dist/lib/entries/styled/inputs/text/index.d.ts +1 -0
  106. package/dist/lib/entries/styled/inputs/text-area/index.d.ts +1 -0
  107. package/dist/lib/entries/styled/li/index.d.ts +1 -0
  108. package/dist/lib/entries/styled/ul/index.d.ts +1 -0
  109. package/dist/lib/entries/table-grid/index.d.ts +1 -0
  110. package/dist/lib/entries/table-header/index.d.ts +1 -0
  111. package/dist/lib/entries/table-row/index.d.ts +1 -0
  112. package/dist/lib/entries/tabs/index.d.ts +1 -0
  113. package/dist/lib/entries/tag-color/index.d.ts +1 -0
  114. package/dist/lib/entries/text-area/index.d.ts +1 -0
  115. package/dist/lib/entries/texts/header/index.d.ts +1 -0
  116. package/dist/lib/entries/texts/p/index.d.ts +1 -0
  117. package/dist/lib/entries/texts/span/index.d.ts +1 -0
  118. package/dist/lib/entries/toggle-switch/index.d.ts +1 -0
  119. package/dist/lib/hooks/useAutosizeTextArea.d.ts +2 -0
  120. package/dist/lib/hooks/useAutosizeTextAreaV2.d.ts +2 -0
  121. package/dist/lib/hooks/useClickOutsideDOM.d.ts +2 -0
  122. package/dist/lib/hooks/useCombinedRef.d.ts +2 -0
  123. package/dist/lib/hooks/useCountRender.d.ts +1 -0
  124. package/dist/lib/hooks/useDebounce.d.ts +2 -0
  125. package/dist/lib/hooks/useDelayed.d.ts +2 -0
  126. package/dist/lib/hooks/useDelayedRender.d.ts +2 -0
  127. package/dist/lib/hooks/useFirstMount.d.ts +2 -0
  128. package/dist/lib/hooks/useForm.d.ts +2 -0
  129. package/dist/lib/hooks/useKeyPress.d.ts +1 -0
  130. package/dist/lib/hooks/useNavigatorOnLine.d.ts +2 -0
  131. package/dist/lib/main.d.ts +46 -0
  132. package/dist/lib/styles/mediaQueries/mediaQuery.d.ts +0 -0
  133. package/dist/lib/styles/storybook/Mockups/FormMockup/Form.stories.d.ts +4 -0
  134. package/dist/lib/styles/storybook/Motions/Menu/ExampleOne.d.ts +2 -0
  135. package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC.d.ts +9 -0
  136. package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC2.d.ts +9 -0
  137. package/dist/lib/styles/storybook/Motions/Menu/dev/DropdownSC3.d.ts +9 -0
  138. package/dist/lib/styles/storybook/Tokens/Colors.stories.d.ts +5 -0
  139. package/dist/lib/styles/storybook/Tokens/Radius.stories.d.ts +5 -0
  140. package/dist/lib/styles/storybook/Tokens/Shadows.stories.d.ts +5 -0
  141. package/dist/lib/styles/storybook/Tokens/SizingsButton.stories.d.ts +5 -0
  142. package/dist/lib/styles/storybook/Tokens/SizingsGeneric.stories.d.ts +5 -0
  143. package/dist/lib/styles/storybook/Tokens/SizingsIcon.stories.d.ts +6 -0
  144. package/dist/lib/styles/storybook/Tokens/Spacings.stories.d.ts +5 -0
  145. package/dist/lib/styles/storybook/Tokens/themes/DarkColors.stories.d.ts +6 -0
  146. package/dist/lib/styles/storybook/Tokens/themes/LightColors.stories.d.ts +5 -0
  147. package/dist/lib/styles/storybook/Typography/DynamicFontSizes.stories.d.ts +4 -0
  148. package/dist/lib/styles/storybook/Typography/FontSizes.stories.d.ts +5 -0
  149. package/dist/lib/styles/storybook/components/Admonition/Admonition.stories.d.ts +6 -0
  150. package/dist/lib/styles/storybook/components/Admonition/Sizes.d.ts +2 -0
  151. package/dist/lib/styles/storybook/components/Avatar/Avatar.stories.d.ts +5 -0
  152. package/dist/lib/styles/storybook/components/AvatarGroup/component.d.ts +2 -0
  153. package/dist/lib/styles/storybook/components/Button/Button.stories.d.ts +7 -0
  154. package/dist/lib/styles/storybook/components/Button/Dev1Comp.d.ts +2 -0
  155. package/dist/lib/styles/storybook/components/Card/Card.stories.d.ts +5 -0
  156. package/dist/lib/styles/storybook/components/Card/Dimensions.d.ts +2 -0
  157. package/dist/lib/styles/storybook/components/Checkbox/Checkbox.stories.d.ts +5 -0
  158. package/dist/lib/styles/storybook/components/Checkbox/component.d.ts +2 -0
  159. package/dist/lib/styles/storybook/components/Checkboxes/Checkboxes.stories.d.ts +5 -0
  160. package/dist/lib/styles/storybook/components/Checkboxes/component.d.ts +2 -0
  161. package/dist/lib/styles/storybook/components/Chip/Chip.stories.d.ts +5 -0
  162. package/dist/lib/styles/storybook/components/Chip/component.d.ts +2 -0
  163. package/dist/lib/styles/storybook/components/ColorPicker/ColorPicker.stories.d.ts +5 -0
  164. package/dist/lib/styles/storybook/components/ColorPicker/component.d.ts +2 -0
  165. package/dist/lib/styles/storybook/components/GalleryModal/component.d.ts +2 -0
  166. package/dist/lib/styles/storybook/components/Inputs/Image.d.ts +2 -0
  167. package/dist/lib/styles/storybook/components/Inputs/InputImage.stories.d.ts +5 -0
  168. package/dist/lib/styles/storybook/components/Inputs/InputRadio.stories.d.ts +5 -0
  169. package/dist/lib/styles/storybook/components/Inputs/InputText.stories.d.ts +5 -0
  170. package/dist/lib/styles/storybook/components/Inputs/InputTextArea.stories.d.ts +5 -0
  171. package/dist/lib/styles/storybook/components/InsetGroup/InsetGroup.stories.d.ts +5 -0
  172. package/dist/lib/styles/storybook/components/InsetGroup/component.d.ts +2 -0
  173. package/dist/lib/styles/storybook/components/Modal/Modal.stories.d.ts +5 -0
  174. package/dist/lib/styles/storybook/components/Modal/component.d.ts +2 -0
  175. package/dist/lib/styles/storybook/components/SelectSpring/SelectSpring.stories.d.ts +5 -0
  176. package/dist/lib/styles/storybook/components/SelectSpring/component.d.ts +2 -0
  177. package/dist/lib/styles/storybook/components/TableGrid/TableGrid.stories.d.ts +5 -0
  178. package/dist/lib/styles/storybook/components/TableGrid/component.d.ts +2 -0
  179. package/dist/lib/styles/storybook/components/Tabs/Tabs.stories.d.ts +5 -0
  180. package/dist/lib/styles/storybook/components/Tabs/component.d.ts +2 -0
  181. package/dist/lib/styles/storybook/components/Texts/Texts.stories.d.ts +4 -0
  182. package/dist/lib/styles/storybook/components/ToastNotification/ToastNotification.stories.d.ts +5 -0
  183. package/dist/lib/styles/storybook/components/ToastNotification/component.d.ts +2 -0
  184. package/dist/lib/styles/storybook/components/UIcon/IconAction.d.ts +1 -0
  185. package/dist/lib/styles/storybook/components/UIcon/Sizes.d.ts +1 -0
  186. package/dist/lib/styles/storybook/components/UIcon/SizesNoPadding.d.ts +1 -0
  187. package/dist/lib/styles/storybook/components/UIcon/UIcon.stories.d.ts +4 -0
  188. package/dist/lib/styles/styled/button/component.d.ts +3 -0
  189. package/dist/lib/styles/styled/container/component.d.ts +4 -0
  190. package/dist/lib/styles/styled/inputs/text/component.d.ts +4 -0
  191. package/dist/lib/styles/styled/inputs/textArea/component.d.ts +4 -0
  192. package/dist/lib/styles/styled/layout/component.d.ts +4 -0
  193. package/dist/lib/styles/styled/li/component.d.ts +4 -0
  194. package/dist/lib/styles/styled/texts/header/component.d.ts +4 -0
  195. package/dist/lib/styles/styled/texts/p/component.d.ts +3 -0
  196. package/dist/lib/styles/styled/texts/span/component.d.ts +3 -0
  197. package/dist/lib/styles/styled/texts/utils/createHeadElement.d.ts +16 -0
  198. package/dist/lib/styles/styled/texts/utils/createTextElement.d.ts +18 -0
  199. package/dist/lib/styles/styled/ul/component.d.ts +4 -0
  200. package/dist/lib/styles/types/attributes/types.d.ts +4 -0
  201. package/dist/lib/styles/types/classes.d.ts +62 -0
  202. package/dist/lib/styles/types/colors/classes.d.ts +9 -0
  203. package/dist/{tag-color/index.d.ts → lib/styles/types/colors/generics.d.ts} +97 -104
  204. package/dist/lib/styles/types/colors/values.d.ts +42 -0
  205. package/dist/lib/styles/types/components.types.d.ts +67 -0
  206. package/dist/lib/styles/types/generics.d.ts +154 -0
  207. package/dist/{icons/index.d.ts → lib/styles/types/icons/icons.d.ts} +292 -457
  208. package/dist/lib/styles/types/icons/values.d.ts +63 -0
  209. package/dist/lib/styles/types/layout/classes.d.ts +120 -0
  210. package/dist/{layout/index.d.ts → lib/styles/types/layout/generics.d.ts} +120 -163
  211. package/dist/lib/styles/types/notification/types.d.ts +22 -0
  212. package/dist/lib/styles/types/sizings/generics.d.ts +22 -0
  213. package/dist/lib/styles/types/types.d.ts +102 -0
  214. package/dist/lib/styles/types/ui/admonition/types.d.ts +117 -0
  215. package/dist/lib/styles/types/ui/avatar/types.d.ts +57 -0
  216. package/dist/lib/styles/types/ui/button/types.d.ts +129 -0
  217. package/dist/lib/styles/types/ui/checkbox/types.d.ts +99 -0
  218. package/dist/lib/styles/types/ui/chip/types.d.ts +37 -0
  219. package/dist/lib/styles/types/ui/inputs/text/types.d.ts +42 -0
  220. package/dist/lib/styles/types/ui/inputs/textarea/types.d.ts +28 -0
  221. package/dist/lib/styles/types/ui/insetGroup/types.d.ts +5 -0
  222. package/dist/lib/styles/types/ui/modal/types.d.ts +4 -0
  223. package/dist/lib/styles/types/ui/portal/types.d.ts +4 -0
  224. package/dist/lib/styles/types/ui/selectSpring/types.d.ts +197 -0
  225. package/dist/lib/styles/types/ui/tablegrid/types.d.ts +28 -0
  226. package/dist/lib/styles/types/ui/tabs/types.d.ts +8 -0
  227. package/dist/lib/styles/types/ui/tag/types.d.ts +53 -0
  228. package/dist/lib/styles/types/ui/toggleswitch/types.d.ts +39 -0
  229. package/dist/lib/styles/types/values.d.ts +18 -0
  230. package/dist/lib/utils/gradientGenerator/gradientGenerator.d.ts +1 -0
  231. package/dist/src/App.d.ts +2 -0
  232. package/dist/src/main.d.ts +1 -0
  233. package/package.json +95 -95
  234. package/dist/admonition/index.d.ts +0 -27
  235. package/dist/avatar/index.d.ts +0 -115
  236. package/dist/avatar-group/index.d.ts +0 -120
  237. package/dist/button/index.d.ts +0 -249
  238. package/dist/checkbox/index.d.ts +0 -32
  239. package/dist/checkboxes/index.d.ts +0 -38
  240. package/dist/chip/index.d.ts +0 -159
  241. package/dist/container/index.d.ts +0 -238
  242. package/dist/contexts/notifications/index.d.ts +0 -2
  243. package/dist/contexts/ui/index.d.ts +0 -2
  244. package/dist/css/index.d.ts +0 -1
  245. package/dist/div-measure/index.d.ts +0 -13
  246. package/dist/global-event-portal/index.d.ts +0 -8
  247. package/dist/input-image/index.d.ts +0 -18
  248. package/dist/input-text/index.d.ts +0 -199
  249. package/dist/inset-group/index.d.ts +0 -33
  250. package/dist/loading-spinner/index.d.ts +0 -33
  251. package/dist/modal/index.d.ts +0 -105
  252. package/dist/notification-system/index.d.ts +0 -5
  253. package/dist/radio/index.d.ts +0 -36
  254. package/dist/select-spring/index.d.ts +0 -70
  255. package/dist/spring-enter/index.d.ts +0 -16
  256. package/dist/spring-enter-offset-by/index.d.ts +0 -17
  257. package/dist/spring-menu-transition/index.d.ts +0 -15
  258. package/dist/spring-open-close-height/index.d.ts +0 -9
  259. package/dist/styled/button/index.d.ts +0 -2
  260. package/dist/styled/inputs/text/index.d.ts +0 -2
  261. package/dist/styled/inputs/text-area/index.d.ts +0 -2
  262. package/dist/styled/li/index.d.ts +0 -2
  263. package/dist/styled/ul/index.d.ts +0 -2
  264. package/dist/table-grid/index.d.ts +0 -70
  265. package/dist/table-header/index.d.ts +0 -53
  266. package/dist/table-row/index.d.ts +0 -54
  267. package/dist/tabs/index.d.ts +0 -21
  268. package/dist/text-area/index.d.ts +0 -212
  269. package/dist/texts/header/index.d.ts +0 -2
  270. package/dist/texts/p/index.d.ts +0 -2
  271. package/dist/texts/span/index.d.ts +0 -2
  272. package/dist/toggle-switch/index.d.ts +0 -35
  273. package/dist/types.d.ts +0 -2062
@@ -0,0 +1,2 @@
1
+ declare const DevComponent: () => import("react/jsx-runtime").JSX.Element;
2
+ export default DevComponent;
@@ -0,0 +1,9 @@
1
+ import { FC, ReactNode } from 'react';
2
+ interface P {
3
+ children: ReactNode;
4
+ inherit?: boolean;
5
+ width?: "100%" | "auto" | number;
6
+ height?: "100%" | "auto" | number;
7
+ }
8
+ declare const DivMeasure: FC<P>;
9
+ export default DivMeasure;
@@ -0,0 +1,10 @@
1
+ import { Sizings } from '../../styles/types/types.ts';
2
+ type P = {
3
+ name: string;
4
+ size?: Sizings;
5
+ width?: number;
6
+ height?: number;
7
+ className?: string;
8
+ };
9
+ declare const _default: import('react').NamedExoticComponent<P>;
10
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { Sizings } from '../../styles/types/types.ts';
2
+ import { SVGProps } from 'react';
3
+ interface Props extends SVGProps<SVGSVGElement> {
4
+ size: Sizings;
5
+ className?: string;
6
+ }
7
+ export default function Spinner({ size, className, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,22 @@
1
+ import { AnimatedProps } from '@react-spring/web';
2
+ import { ColorPalettes, Icons, Sizings } from '../../styles/types/types.ts';
3
+ import { FC, HTMLAttributes } from 'react';
4
+ import { Cursors, Radiuses } from '../../styles/types/generics';
5
+ interface P extends AnimatedProps<HTMLAttributes<HTMLDivElement>> {
6
+ name: Icons | string;
7
+ withMargin?: boolean;
8
+ size?: Sizings;
9
+ width?: number;
10
+ height?: number;
11
+ lazy?: boolean;
12
+ colorLight?: ColorPalettes;
13
+ colorDark?: ColorPalettes;
14
+ iconAction?: (v?: any) => void;
15
+ animated?: boolean;
16
+ cursor?: Cursors;
17
+ overflow?: string;
18
+ borderRadius?: Radiuses | string;
19
+ bgColor?: ColorPalettes;
20
+ }
21
+ declare const UIcon: FC<P>;
22
+ export default UIcon;
@@ -0,0 +1,7 @@
1
+ import { Sizings } from '../../styles/types/types.ts';
2
+ type Props = {
3
+ isLoading: boolean;
4
+ size?: Sizings;
5
+ };
6
+ declare const LoadingSpinner: ({ isLoading, size }: Props) => import("react").JSX.Element;
7
+ export default LoadingSpinner;
@@ -0,0 +1,4 @@
1
+ import { Sizings } from '../../styles/types/types.ts';
2
+ export default function Spinner({ size }: {
3
+ size?: Sizings | undefined;
4
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ declare const SpringOpenCloseHeight: ({ isOpen, children, }: {
3
+ isOpen: boolean;
4
+ children: ReactNode;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export default SpringOpenCloseHeight;
@@ -0,0 +1,10 @@
1
+ import { FC, ReactNode } from 'react';
2
+ type directions = "horizontal" | "vertical" | "verticalInverted";
3
+ declare const directions: any;
4
+ interface P {
5
+ direction: directions;
6
+ isShown: boolean;
7
+ children?: ReactNode;
8
+ }
9
+ declare const SpringEnter: FC<P>;
10
+ export default SpringEnter;
@@ -0,0 +1,11 @@
1
+ import { FC, ReactNode } from 'react';
2
+ type directions = "horizontal" | "vertical";
3
+ declare const directions: any;
4
+ interface P {
5
+ direction: directions;
6
+ isShown?: boolean;
7
+ enterOffsetBy?: number;
8
+ children?: ReactNode;
9
+ }
10
+ declare const SpringEnterOffsetBy: FC<P>;
11
+ export default SpringEnterOffsetBy;
@@ -0,0 +1,11 @@
1
+ import { FC, ReactNode } from 'react';
2
+ /**
3
+ * top left, top right
4
+ * bottom left, bottom right
5
+ */
6
+ type Props = {
7
+ isOpen: boolean;
8
+ children: ReactNode;
9
+ };
10
+ declare const SpringMenuTransition: FC<Props>;
11
+ export default SpringMenuTransition;
@@ -0,0 +1,10 @@
1
+ import { AdmonitionLevels } from '../../../styles/types/types.ts';
2
+ import { AdmonitionSizes } from '../../../styles/types/ui/admonition/types';
3
+ type Props = {
4
+ level: AdmonitionLevels;
5
+ size?: AdmonitionSizes;
6
+ descriptionText: string;
7
+ children?: React.ReactNode;
8
+ };
9
+ declare const Admonition: ({ level, size, descriptionText, children, }: Props) => import("react/jsx-runtime").JSX.Element;
10
+ export default Admonition;
@@ -0,0 +1,15 @@
1
+ import { ColorPalettes } from '../../../styles/types/types.ts';
2
+ import { FC, ReactNode } from 'react';
3
+ import { AvatarSizes } from '../../../styles/types/ui/avatar/types';
4
+ interface P {
5
+ isLoading?: boolean;
6
+ size?: AvatarSizes;
7
+ avatarName?: string | null;
8
+ withHover?: boolean;
9
+ onClick?: (v?: any) => void;
10
+ children?: ReactNode;
11
+ border?: boolean;
12
+ borderColor?: ColorPalettes;
13
+ }
14
+ declare const Avatar: FC<P>;
15
+ export default Avatar;
@@ -0,0 +1,10 @@
1
+ import { FC } from 'react';
2
+ import { AvatarSizes } from '../../../../styles/types/ui/avatar/types';
3
+ interface P {
4
+ hoverAnimation: any;
5
+ size?: AvatarSizes;
6
+ avatarName?: string | null;
7
+ withHover?: boolean;
8
+ }
9
+ declare const AvatarName: FC<P>;
10
+ export default AvatarName;
@@ -0,0 +1,13 @@
1
+ import { AvatarSizes, ColorPalettes } from '../../../styles/types/types.ts';
2
+ import { FC } from 'react';
3
+ import { FUI__Avatar } from '../../../styles/types/ui/avatar/types';
4
+ interface P {
5
+ avatars: FUI__Avatar[];
6
+ isLoading?: boolean;
7
+ size?: AvatarSizes;
8
+ withHover?: boolean;
9
+ border?: boolean;
10
+ borderColor?: ColorPalettes;
11
+ }
12
+ declare const AvatarGroup: FC<P>;
13
+ export default AvatarGroup;
@@ -0,0 +1,22 @@
1
+ import { BoxShadows, ColorPalettes } from '../../../styles/types/types.ts';
2
+ import { ButtonColors, ButtonIconPositions, ButtonSizes, ButtonStates, ButtonStyles, ButtonTypes } from '../../../styles/types/ui/button/types';
3
+ type P = {
4
+ name: string;
5
+ buttonSize?: ButtonSizes;
6
+ buttonColor?: ButtonColors;
7
+ buttonState?: ButtonStates;
8
+ buttonType?: ButtonTypes;
9
+ buttonShadow?: BoxShadows;
10
+ buttonStyle?: ButtonStyles;
11
+ icon?: string;
12
+ iconColor?: ColorPalettes;
13
+ iconPosition?: ButtonIconPositions;
14
+ animate?: boolean;
15
+ hover?: boolean;
16
+ parentHover?: boolean;
17
+ hoverColor?: ButtonColors;
18
+ type?: "submit" | "reset" | "button";
19
+ clickAction?: (v: any) => void;
20
+ };
21
+ declare const Button: ({ name, buttonSize, buttonColor, buttonState, buttonType, buttonStyle, buttonShadow, icon, iconColor, iconPosition, animate, hover, clickAction, }: P) => import("react/jsx-runtime").JSX.Element;
22
+ export default Button;
@@ -0,0 +1,12 @@
1
+ import { ColorPalettes, Sizings, Spacings } from '../../../../styles/types/types.ts';
2
+ import { ButtonIconPositions, ButtonStates } from '../../../../styles/types/ui/button/types';
3
+ type Props = {
4
+ icon: string;
5
+ iconState: ButtonStates;
6
+ iconSize: Sizings;
7
+ iconColor: ColorPalettes;
8
+ iconPosition?: ButtonIconPositions;
9
+ iconMargin?: Spacings;
10
+ };
11
+ declare const ButtonIcon: ({ icon, iconSize, iconState, iconColor, iconPosition, iconMargin, }: Props) => import("react/jsx-runtime").JSX.Element;
12
+ export default ButtonIcon;
@@ -0,0 +1,16 @@
1
+ import { CheckboxColors, CheckboxSizes } from '../../../styles/types/ui/checkbox/types';
2
+ export type CheckboxOption = {
3
+ id: number;
4
+ name: string;
5
+ value?: any;
6
+ isChecked: boolean;
7
+ };
8
+ type CheckboxesProps = {
9
+ options: CheckboxOption[];
10
+ multiselect: boolean;
11
+ checkboxColor: CheckboxColors;
12
+ size?: CheckboxSizes;
13
+ handleClick: (v: any) => void;
14
+ };
15
+ declare const Checkboxes: ({ options, multiselect, checkboxColor, size, handleClick, }: CheckboxesProps) => import("react/jsx-runtime").JSX.Element;
16
+ export default Checkboxes;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ import { CheckboxColors, CheckboxSizes } from '../../../../styles/types/ui/checkbox/types';
3
+ type Props = {
4
+ isChecked: boolean;
5
+ children?: React.ReactNode;
6
+ size?: CheckboxSizes;
7
+ checkboxColor?: CheckboxColors;
8
+ onClick?: (v?: any) => void;
9
+ };
10
+ declare const Checkbox: ({ isChecked, size, checkboxColor, onClick, }: Props) => import("react/jsx-runtime").JSX.Element;
11
+ export default Checkbox;
@@ -0,0 +1,19 @@
1
+ import { ColorPalettes, ColorSets, FontSizes, Spacings } from '../../../styles/types/types.ts';
2
+ import { FC, ReactNode } from 'react';
3
+ import { ChipSizes, ChipStyles } from '../../../styles/types/ui/chip/types';
4
+ interface P {
5
+ children: ReactNode;
6
+ paddings?: "top bottom" | "left right" | "all";
7
+ margin?: Spacings | undefined;
8
+ marginTop?: Spacings | undefined;
9
+ marginBottom?: Spacings | undefined;
10
+ marginLeft?: Spacings | undefined;
11
+ marginRight?: Spacings | undefined;
12
+ bgColor?: ColorPalettes;
13
+ chipStyle?: ChipStyles;
14
+ fontSize?: FontSizes;
15
+ chipColor?: ColorSets;
16
+ size?: ChipSizes;
17
+ }
18
+ declare const Chip: FC<P>;
19
+ export default Chip;
@@ -1,14 +1,11 @@
1
- import { FC } from 'react';
2
-
3
- export declare const ColorPicker: FC<P>;
4
-
5
- declare interface P {
6
- defaultColor?: string;
7
- setInput?: (v: any) => any;
8
- setColor?: (color: string) => void;
9
- inputName?: string | undefined;
10
- closePicker?: ((p?: boolean) => void) | undefined;
11
- position?: "absolute" | "static";
12
- }
13
-
14
- export { }
1
+ import { FC } from 'react';
2
+ interface P {
3
+ defaultColor?: string;
4
+ setInput?: (v: any) => any;
5
+ setColor?: (color: string) => void;
6
+ inputName?: string | undefined;
7
+ closePicker?: ((p?: boolean) => void) | undefined;
8
+ position?: "absolute" | "static";
9
+ }
10
+ declare const ColorPicker: FC<P>;
11
+ export default ColorPicker;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ interface P {
3
+ selectColor: string;
4
+ handleColorChange: (a: any) => void;
5
+ closePicker: ((p?: any) => void) | undefined;
6
+ position: "absolute" | "static";
7
+ }
8
+ declare const Picker: FC<P>;
9
+ export default Picker;
@@ -1,11 +1,8 @@
1
- import { FC } from 'react';
2
-
3
- export declare const GalleryModal: FC<P>;
4
-
5
- declare interface P {
6
- showModal: boolean;
7
- closeModal: (v?: any) => void;
8
- images: Array<any>;
9
- }
10
-
11
- export { }
1
+ import { FC } from 'react';
2
+ interface P {
3
+ showModal: boolean;
4
+ closeModal: (v?: any) => void;
5
+ images: Array<any>;
6
+ }
7
+ declare const GalleryModal: FC<P>;
8
+ export default GalleryModal;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ interface P {
3
+ handleCloseGallery: () => void;
4
+ }
5
+ declare const GalleryClose: FC<P>;
6
+ export default GalleryClose;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ interface P {
3
+ openMenu: boolean;
4
+ }
5
+ declare const GalleryIslandMenu: FC<P>;
6
+ export default GalleryIslandMenu;
@@ -0,0 +1,9 @@
1
+ import { FC, ReactNode } from 'react';
2
+ interface P {
3
+ children: ReactNode;
4
+ }
5
+ declare const Zzz: FC<P>;
6
+ export default Zzz;
7
+ /**
8
+ * pinch zoom HOC
9
+ */
@@ -0,0 +1,24 @@
1
+ import { FC, ReactNode } from 'react';
2
+ type GalleryContextType = {
3
+ galleryImages: Array<any>;
4
+ imgIndex: number;
5
+ props: any;
6
+ ref: any;
7
+ bind: any;
8
+ isZooming: boolean;
9
+ manualZoomScale: number;
10
+ handleSetImages: (v: Array<any>) => void;
11
+ handleCloseGallery: (v?: () => void) => void;
12
+ handleIncrease: (v?: any) => void;
13
+ handleDecrease: (v?: any) => void;
14
+ handleSetIsZooming: (v?: any) => void;
15
+ handleZoomIn: (v?: any) => void;
16
+ handleZoomOut: (v?: any) => void;
17
+ handleZoomReset: (v?: any) => void;
18
+ };
19
+ interface P {
20
+ children: ReactNode;
21
+ }
22
+ export declare const ProvideGalleryContext: FC<P>;
23
+ export declare const useGalleryContext: () => GalleryContextType;
24
+ export {};
@@ -0,0 +1,13 @@
1
+ import { HTMLAttributes, Ref } from 'react';
2
+ interface P extends HTMLAttributes<HTMLInputElement> {
3
+ id: string;
4
+ name: string;
5
+ handleImageChange?: (v: File | undefined) => void;
6
+ labelname?: string;
7
+ defaultValue?: string;
8
+ width?: number | string;
9
+ height?: number | string;
10
+ ref?: Ref<HTMLInputElement> | undefined;
11
+ }
12
+ declare const InputImage: ({ id, name, handleImageChange, labelname, defaultValue, width, height, ref, ...props }: P) => import("react/jsx-runtime").JSX.Element;
13
+ export default InputImage;
@@ -0,0 +1,13 @@
1
+ import { Sizings } from '../../../../styles/types/types.ts';
2
+ import { FC, HTMLAttributes, ReactNode, Ref } from 'react';
3
+ interface P extends HTMLAttributes<HTMLInputElement> {
4
+ checked: boolean;
5
+ id: string;
6
+ handleChange: (id: string, checked: boolean) => void;
7
+ size?: Sizings;
8
+ children: ReactNode;
9
+ vertigo?: boolean;
10
+ ref?: Ref<HTMLInputElement> | undefined;
11
+ }
12
+ declare const Radio: FC<P>;
13
+ export default Radio;
@@ -0,0 +1,4 @@
1
+ export interface RadioInput {
2
+ id: string;
3
+ checked: boolean;
4
+ }
@@ -0,0 +1,41 @@
1
+ import { ColorPalettes, ColorSets, FontSizes, FontWeights } from '../../../../styles/types/types.ts';
2
+ import { ChangeEvent, HTMLAttributes, RefObject } from 'react';
3
+ import { InputTextModes, InputTextSizes, InputTextStyles, InputTextTypes } from '../../../../styles/types/ui/inputs/text/types';
4
+ /**
5
+ * icon on left or right side
6
+ */
7
+ interface P extends HTMLAttributes<HTMLInputElement> {
8
+ id: string;
9
+ name: string;
10
+ type?: InputTextTypes;
11
+ value?: any;
12
+ modes?: InputTextModes;
13
+ label: string;
14
+ focus?: boolean;
15
+ width?: number | string;
16
+ required?: boolean;
17
+ fullWidth?: boolean;
18
+ placeholder?: string;
19
+ helperText?: string;
20
+ step?: number;
21
+ min?: number;
22
+ handleChange?: (v: ChangeEvent<HTMLInputElement>) => void;
23
+ handleFocus?: (v?: any) => void;
24
+ handleBlur?: (v?: any) => void;
25
+ handleCheck?: (v?: any) => Promise<any> | void;
26
+ fontColor?: ColorPalettes;
27
+ fontWeight?: FontWeights;
28
+ fontSize?: FontSizes;
29
+ size?: InputTextSizes;
30
+ inputStyle?: InputTextStyles;
31
+ inputColor?: ColorSets;
32
+ /**
33
+ * colors
34
+ * - border color, input text color, label color, icon color
35
+ */
36
+ labelTextColor?: boolean | ColorPalettes;
37
+ transparent?: boolean;
38
+ ref?: RefObject<HTMLInputElement | null>;
39
+ }
40
+ declare const InputText: ({ id, name, type, value, modes, label, focus, required, width, fullWidth, helperText, placeholder, step, min, handleChange, handleFocus, handleBlur, handleCheck, size, inputStyle, inputColor, labelTextColor, transparent, ref, ...props }: P) => import("react/jsx-runtime").JSX.Element;
41
+ export default InputText;
@@ -0,0 +1,6 @@
1
+ import { FC } from 'react';
2
+ interface P {
3
+ inputHelper: string;
4
+ }
5
+ declare const InputTextHelper: FC<P>;
6
+ export default InputTextHelper;
@@ -0,0 +1,9 @@
1
+ import { FC } from 'react';
2
+ interface P {
3
+ id: string;
4
+ isEmpty: boolean;
5
+ labelName: string;
6
+ onFocus: boolean;
7
+ }
8
+ declare const InputTextPlaceholder: FC<P>;
9
+ export default InputTextPlaceholder;
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ interface P {
3
+ isShow: boolean;
4
+ handleShowHideText: (v?: any) => void;
5
+ }
6
+ declare const ShowHidePassword: FC<P>;
7
+ export default ShowHidePassword;
@@ -0,0 +1,11 @@
1
+ import { ColorPalettes, ColorSets, InputTextSizes } from '../../../../../../styles/types/types.ts';
2
+ import { FC } from 'react';
3
+ interface P {
4
+ id: string;
5
+ label: string;
6
+ size: InputTextSizes;
7
+ inputColor: ColorSets;
8
+ labelTextColor?: boolean | ColorPalettes;
9
+ }
10
+ declare const InputTextLabel: FC<P>;
11
+ export default InputTextLabel;
@@ -0,0 +1,42 @@
1
+ import { ColorPalettes, ColorSets, Cursors, ElementResizes, FontFamilies, FontSizes, FontStyles, FontWeights, OutlineStyles, TextAligns } from '../../../../styles/types/types.ts';
2
+ import { ChangeEvent, HTMLAttributes, Ref } from 'react';
3
+ import { TextAreaModes, TextAreaSizes, TextAreaStyles } from '../../../../styles/types/ui/inputs/textarea/types';
4
+ interface P extends HTMLAttributes<HTMLTextAreaElement> {
5
+ id: string;
6
+ name: string;
7
+ value?: any;
8
+ modes?: TextAreaModes;
9
+ label: string;
10
+ rows?: number;
11
+ focus?: boolean;
12
+ width?: number;
13
+ required?: boolean;
14
+ fullWidth?: boolean;
15
+ helperText?: string;
16
+ placeholder?: string;
17
+ onChange?: (v: ChangeEvent<HTMLTextAreaElement>) => void;
18
+ handleBlur?: (...args: any[]) => void;
19
+ handleFocus?: (...args: any[]) => void;
20
+ handleCheck?: (v?: any) => Promise<any> | void;
21
+ size?: TextAreaSizes;
22
+ textAreaStyle?: TextAreaStyles;
23
+ textAreaColor?: ColorSets;
24
+ labelTextColor?: boolean | ColorPalettes;
25
+ noLabel?: boolean;
26
+ ref?: Ref<HTMLTextAreaElement> | undefined;
27
+ type?: string;
28
+ disabled?: boolean;
29
+ min?: number;
30
+ step?: number;
31
+ resize?: ElementResizes;
32
+ textOutlineStyle?: OutlineStyles;
33
+ paletteColor?: ColorPalettes;
34
+ fontSize?: FontSizes;
35
+ fontFamily?: FontFamilies;
36
+ fontWeight?: FontWeights;
37
+ fontStyle?: FontStyles;
38
+ textAlign?: TextAligns;
39
+ cursor?: Cursors;
40
+ }
41
+ declare const TextArea: ({ id, name, value, modes, label, required, rows, width, fullWidth, placeholder, onChange, handleBlur, handleFocus, handleCheck, size, textAreaStyle, textAreaColor, labelTextColor, noLabel, ref, ...props }: P) => import("react/jsx-runtime").JSX.Element;
42
+ export default TextArea;
@@ -0,0 +1,12 @@
1
+ import { ColorPalettes, ColorSets } from '../../../../../../styles/types/types.ts';
2
+ import { FC } from 'react';
3
+ import { TextAreaSizes } from '../../../../../../styles/types/ui/inputs/textarea/types';
4
+ interface P {
5
+ id: string;
6
+ label: string;
7
+ size: TextAreaSizes;
8
+ textAreaColor: ColorSets;
9
+ labelTextColor?: boolean | ColorPalettes;
10
+ }
11
+ declare const TextAreaLabel: FC<P>;
12
+ export default TextAreaLabel;
@@ -0,0 +1,13 @@
1
+ import { ColorSets } from '../../../styles/types/types.ts';
2
+ import { FC } from 'react';
3
+ import { InsetGroupOption } from '../../../styles/types/ui/insetGroup/types';
4
+ interface P {
5
+ id: any;
6
+ options: InsetGroupOption[];
7
+ valueIndex?: any;
8
+ setInput?: any;
9
+ setSelect?: (v: InsetGroupOption) => void;
10
+ insetColor?: ColorSets;
11
+ }
12
+ declare const InsetGroup: FC<P>;
13
+ export default InsetGroup;
@@ -0,0 +1,17 @@
1
+ import { ColorSets, Radiuses } from '../../../../styles/types/types.ts';
2
+ import { FC } from 'react';
3
+ interface P {
4
+ text: any;
5
+ value: any;
6
+ idx: any;
7
+ id: any;
8
+ handleSelectInset: any;
9
+ isSelected: any;
10
+ insetColor?: ColorSets;
11
+ borderTopLeftRadius?: Radiuses;
12
+ borderTopRightRadius?: Radiuses;
13
+ borderBottomLeftRadius?: Radiuses;
14
+ borderBottomRightRadius?: Radiuses;
15
+ }
16
+ declare const InsetItem: FC<P>;
17
+ export default InsetItem;
@@ -1,11 +1,8 @@
1
- import { JSX } from 'react/jsx-runtime';
2
-
3
- export declare const LabelText: ({ labelName, offsetX, y, x, hover, }: {
4
- labelName?: string | undefined;
5
- offsetX?: number | undefined;
6
- y?: number | undefined;
7
- x?: number | undefined;
8
- hover?: boolean | undefined;
9
- }) => JSX.Element;
10
-
11
- export { }
1
+ declare const LabelText: ({ labelName, offsetX, y, x, hover, }: {
2
+ labelName?: string | undefined;
3
+ offsetX?: number | undefined;
4
+ y?: number | undefined;
5
+ x?: number | undefined;
6
+ hover?: boolean | undefined;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ export default LabelText;
@@ -0,0 +1,11 @@
1
+ import { ColorPalettes, ModalStyles } from '../../../styles/types/types.ts';
2
+ import { FC, ReactNode } from 'react';
3
+ interface P {
4
+ showModal: boolean;
5
+ closeModal: (v?: any) => void;
6
+ children: ReactNode;
7
+ modalStyles?: ModalStyles;
8
+ modalBackground?: ColorPalettes;
9
+ }
10
+ declare const Modal: FC<P>;
11
+ export default Modal;
@@ -0,0 +1,8 @@
1
+ import { ColorPalettes } from '../../../styles/types/types.ts';
2
+ import { FC } from 'react';
3
+ interface P {
4
+ isShown: boolean;
5
+ modalBackground?: ColorPalettes;
6
+ }
7
+ declare const ModalBg: FC<P>;
8
+ export default ModalBg;
@@ -0,0 +1,9 @@
1
+ import { ModalStyles } from '../../../styles/types/types.ts';
2
+ import { FC, ReactNode } from 'react';
3
+ interface P {
4
+ closeModal: (v?: any) => void;
5
+ children: ReactNode;
6
+ modalStyles: ModalStyles;
7
+ }
8
+ declare const ModalGesturedCard: FC<P>;
9
+ export default ModalGesturedCard;
@@ -0,0 +1,7 @@
1
+ import { FC, ReactNode } from 'react';
2
+ interface P {
3
+ isShown: boolean;
4
+ children: ReactNode;
5
+ }
6
+ declare const ModalWrapper: FC<P>;
7
+ export default ModalWrapper;