@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,117 @@
1
+ import { ColorPalettes, FontSizes, FontWeights, Sizings, Spacings } from '../../types.ts';
2
+ export declare enum AdmonitionLevels {
3
+ Info = 1,
4
+ Note = 2,
5
+ Success = 3,
6
+ Warning = 4,
7
+ Attention = 5,
8
+ Error = 6
9
+ }
10
+ /** colors
11
+ * types - info, warning, success, error, attention
12
+ * border color
13
+ * bg color
14
+ * title color
15
+ * icon color
16
+ * text description color
17
+ */
18
+ export declare const AdmonitionColors: {
19
+ 1: {
20
+ borderColor: ColorPalettes;
21
+ bgColor: ColorPalettes;
22
+ textTitleColor: ColorPalettes;
23
+ textDescriptionColor: ColorPalettes;
24
+ iconColor: ColorPalettes;
25
+ };
26
+ 2: {
27
+ borderColor: ColorPalettes;
28
+ bgColor: ColorPalettes;
29
+ textTitleColor: ColorPalettes;
30
+ textDescriptionColor: ColorPalettes;
31
+ iconColor: ColorPalettes;
32
+ };
33
+ 3: {
34
+ borderColor: ColorPalettes;
35
+ bgColor: ColorPalettes;
36
+ textTitleColor: ColorPalettes;
37
+ textDescriptionColor: ColorPalettes;
38
+ iconColor: ColorPalettes;
39
+ };
40
+ 4: {
41
+ borderColor: ColorPalettes;
42
+ bgColor: ColorPalettes;
43
+ textTitleColor: ColorPalettes;
44
+ textDescriptionColor: ColorPalettes;
45
+ iconColor: ColorPalettes;
46
+ };
47
+ 5: {
48
+ borderColor: ColorPalettes;
49
+ bgColor: ColorPalettes;
50
+ textTitleColor: ColorPalettes;
51
+ textDescriptionColor: ColorPalettes;
52
+ iconColor: ColorPalettes;
53
+ };
54
+ 6: {
55
+ borderColor: ColorPalettes;
56
+ bgColor: ColorPalettes;
57
+ textTitleColor: ColorPalettes;
58
+ textDescriptionColor: ColorPalettes;
59
+ iconColor: ColorPalettes;
60
+ };
61
+ };
62
+ export declare const AdmonitionIcons: {
63
+ 1: {
64
+ titleIcon: string;
65
+ };
66
+ 2: {
67
+ titleIcon: string;
68
+ };
69
+ 3: {
70
+ titleIcon: string;
71
+ };
72
+ 4: {
73
+ titleIcon: string;
74
+ };
75
+ 5: {
76
+ titleIcon: string;
77
+ };
78
+ 6: {
79
+ titleIcon: string;
80
+ };
81
+ };
82
+ export declare const AdmonitionTitles: {
83
+ 1: string;
84
+ 2: string;
85
+ 3: string;
86
+ 4: string;
87
+ 5: string;
88
+ 6: string;
89
+ };
90
+ export declare enum AdmonitionSizes {
91
+ Small = 1,
92
+ Medium = 2,
93
+ Big = 3
94
+ }
95
+ interface AdmoitionSize {
96
+ title: {
97
+ padding: Spacings;
98
+ paddingBottom: Spacings;
99
+ paddingLeft?: Spacings;
100
+ paddingRight?: Spacings;
101
+ fontSize: FontSizes;
102
+ fontWeight: FontWeights;
103
+ iconSize: Sizings;
104
+ iconMargin: Spacings;
105
+ };
106
+ content: {
107
+ padding: Spacings;
108
+ paddingTop: Spacings;
109
+ paddingLeft?: Spacings;
110
+ paddingRight?: Spacings;
111
+ fontSize: FontSizes;
112
+ };
113
+ }
114
+ export declare const ADMONITION_SIZE: {
115
+ [key: number]: AdmoitionSize;
116
+ };
117
+ export {};
@@ -0,0 +1,57 @@
1
+ import { FontSizes } from '../../types.ts';
2
+ import { ReactNode } from 'react';
3
+ export interface FUI__Avatar {
4
+ children: ReactNode;
5
+ name?: string;
6
+ isLoading?: boolean;
7
+ onClick?: (v?: any) => void;
8
+ }
9
+ export declare enum AvatarSizes {
10
+ Size1 = 1,
11
+ Size2 = 2,
12
+ Size3 = 3,
13
+ Size4 = 4,
14
+ Size5 = 5,
15
+ Size6 = 6,
16
+ Size7 = 7,
17
+ Size8 = 8,
18
+ Size9 = 9
19
+ }
20
+ export declare const AVATAR_SIZE: {
21
+ 1: {
22
+ image: number;
23
+ fontSize: FontSizes;
24
+ };
25
+ 2: {
26
+ image: number;
27
+ fontSize: FontSizes;
28
+ };
29
+ 3: {
30
+ image: number;
31
+ fontSize: FontSizes;
32
+ };
33
+ 4: {
34
+ image: number;
35
+ fontSize: FontSizes;
36
+ };
37
+ 5: {
38
+ image: number;
39
+ fontSize: FontSizes;
40
+ };
41
+ 6: {
42
+ image: number;
43
+ fontSize: FontSizes;
44
+ };
45
+ 7: {
46
+ image: number;
47
+ fontSize: FontSizes;
48
+ };
49
+ 8: {
50
+ image: number;
51
+ fontSize: FontSizes;
52
+ };
53
+ 9: {
54
+ image: number;
55
+ fontSize: FontSizes;
56
+ };
57
+ };
@@ -0,0 +1,129 @@
1
+ import { BorderStyles, BorderWidths, BoxShadows, ColorPalettes, FontSizes, Icons, Radiuses, Sizings, Spacings } from '../../types.ts';
2
+ import { Cursors } from '../../generics';
3
+ export declare enum ButtonIconPositions {
4
+ Left = 1,
5
+ Right = 2
6
+ }
7
+ export declare enum ButtonTypes {
8
+ Button = "button",
9
+ Submit = "submit",
10
+ Reset = "reset"
11
+ }
12
+ export declare enum ButtonShadows {
13
+ Size1 = 1,
14
+ Size2 = 2,
15
+ Size3 = 3,
16
+ Size4 = 4,
17
+ Size5 = 5
18
+ }
19
+ export declare const BUTTON_SHADOWS_CLASSES: {
20
+ 1: string;
21
+ 2: string;
22
+ 3: string;
23
+ 4: string;
24
+ 5: string;
25
+ 6: string;
26
+ 7: string;
27
+ };
28
+ export declare enum ButtonStates {
29
+ Icon = 1,// default
30
+ Loading = 2,
31
+ Success = 3,
32
+ Error = 4,
33
+ Disabled = 5
34
+ }
35
+ type ButtonStateType = {
36
+ icon?: {
37
+ icon?: Icons | string;
38
+ iconColor?: ColorPalettes;
39
+ };
40
+ color?: {
41
+ bgColor?: ColorPalettes;
42
+ borderColor?: ColorPalettes;
43
+ };
44
+ text?: {
45
+ color?: ColorPalettes;
46
+ };
47
+ cursor?: Cursors;
48
+ animation?: boolean;
49
+ };
50
+ export declare const BUTTON_STATE: {
51
+ [key: number]: ButtonStateType;
52
+ };
53
+ export declare const ButtonStateIcon: {
54
+ 2: string;
55
+ 3: string;
56
+ 4: string;
57
+ 5: string;
58
+ };
59
+ export declare enum ButtonColors {
60
+ Primary5 = 1,
61
+ Secondary5 = 2,
62
+ Grey5 = 3,
63
+ Blue5 = 4,
64
+ Green5 = 5,
65
+ Red5 = 6,
66
+ Yellow5 = 7,
67
+ OutlinePrimary5 = 8,
68
+ OutlineSecondary5 = 9,
69
+ OutlineGrey5 = 10,
70
+ OutlineBlue5 = 11,
71
+ OutlineGreen5 = 12,
72
+ OutlineRed5 = 13,
73
+ OutlineYellow5 = 14
74
+ }
75
+ type ButtonColorType = {
76
+ text: ColorPalettes;
77
+ icon: ColorPalettes;
78
+ background: ColorPalettes;
79
+ outline?: ColorPalettes;
80
+ shadow?: ColorPalettes;
81
+ hover?: ColorPalettes;
82
+ borderColor: ColorPalettes;
83
+ };
84
+ export declare const BUTTON_COLORS: {
85
+ [key: number]: ButtonColorType;
86
+ };
87
+ export declare enum ButtonSizes {
88
+ Tiny = 1,
89
+ Smaller = 2,
90
+ Small = 3,
91
+ Medium = 4,
92
+ Big = 5,
93
+ Large = 6
94
+ }
95
+ type ButtonSizeType = {
96
+ paddingTop: Spacings;
97
+ paddingBottom: Spacings;
98
+ paddingLeft: Spacings;
99
+ paddingRight: Spacings;
100
+ icon: Sizings;
101
+ iconMargin?: Spacings;
102
+ text: FontSizes;
103
+ borderRadius: Radiuses;
104
+ };
105
+ export declare const BUTTON_SIZE: {
106
+ [key: number]: ButtonSizeType;
107
+ };
108
+ export declare enum ButtonStyles {
109
+ Plain = 1,
110
+ Gray = 2,
111
+ Tinted = 3,
112
+ Outlined = 4,
113
+ Filled = 5
114
+ }
115
+ type ButtonStyleType = {
116
+ bgColor?: ColorPalettes;
117
+ fontColor?: ColorPalettes;
118
+ border: {
119
+ borderWidth: BorderWidths;
120
+ borderColor?: ColorPalettes;
121
+ borderStyle: BorderStyles;
122
+ };
123
+ shadow?: BoxShadows;
124
+ cursor?: Cursors;
125
+ };
126
+ export declare const BUTTON_STYLE: {
127
+ [key: number]: ButtonStyleType;
128
+ };
129
+ export {};
@@ -0,0 +1,99 @@
1
+ import { Radiuses } from '../../types.ts';
2
+ export declare enum CheckboxColors {
3
+ Primary5 = 1,
4
+ Secondary5 = 2,
5
+ Grey5 = 3,
6
+ Red5 = 4,
7
+ Green5 = 5,
8
+ Blue5 = 6,
9
+ Yellow5 = 7
10
+ }
11
+ export declare enum CheckboxSizes {
12
+ Size1 = 1,
13
+ Size2 = 2,
14
+ Size3 = 3,
15
+ Size4 = 4,
16
+ Size5 = 5
17
+ }
18
+ export declare const CHECKBOX_SIZES: {
19
+ 1: {
20
+ checkedColor: {
21
+ w: number;
22
+ h: number;
23
+ };
24
+ checkedBorderRadius: Radiuses;
25
+ boxBorderRadius: Radiuses;
26
+ padding: number;
27
+ borderWidth: string;
28
+ };
29
+ 2: {
30
+ checkedColor: {
31
+ w: number;
32
+ h: number;
33
+ };
34
+ checkedBorderRadius: Radiuses;
35
+ boxBorderRadius: Radiuses;
36
+ padding: number;
37
+ borderWidth: string;
38
+ };
39
+ 3: {
40
+ checkedColor: {
41
+ w: number;
42
+ h: number;
43
+ };
44
+ checkedBorderRadius: Radiuses;
45
+ boxBorderRadius: Radiuses;
46
+ padding: number;
47
+ borderWidth: string;
48
+ };
49
+ 4: {
50
+ checkedColor: {
51
+ w: number;
52
+ h: number;
53
+ };
54
+ checkedBorderRadius: Radiuses;
55
+ boxBorderRadius: Radiuses;
56
+ padding: number;
57
+ borderWidth: string;
58
+ };
59
+ 5: {
60
+ checkedColor: {
61
+ w: number;
62
+ h: number;
63
+ };
64
+ checkedBorderRadius: Radiuses;
65
+ boxBorderRadius: Radiuses;
66
+ padding: number;
67
+ borderWidth: string;
68
+ };
69
+ };
70
+ export declare const CHECKBOX_COLORS: {
71
+ 1: {
72
+ borderColor: string;
73
+ checkedColor: string;
74
+ };
75
+ 2: {
76
+ borderColor: string;
77
+ checkedColor: string;
78
+ };
79
+ 3: {
80
+ borderColor: string;
81
+ checkedColor: string;
82
+ };
83
+ 4: {
84
+ borderColor: string;
85
+ checkedColor: string;
86
+ };
87
+ 5: {
88
+ borderColor: string;
89
+ checkedColor: string;
90
+ };
91
+ 6: {
92
+ borderColor: string;
93
+ checkedColor: string;
94
+ };
95
+ 7: {
96
+ borderColor: string;
97
+ checkedColor: string;
98
+ };
99
+ };
@@ -0,0 +1,37 @@
1
+ import { BorderStyles, BorderWidths, ColorPalettes, FontSizes, Radiuses, Spacings } from '../../types.ts';
2
+ export declare enum ChipSizes {
3
+ Tiny = 1,
4
+ Small = 2,
5
+ Medium = 3,
6
+ Big = 4
7
+ }
8
+ interface ChipSize {
9
+ fontSize: FontSizes;
10
+ paddingTop: Spacings;
11
+ paddingBottom: Spacings;
12
+ paddingLeft: Spacings;
13
+ paddingRight: Spacings;
14
+ borderRadius: Radiuses;
15
+ }
16
+ export declare const CHIP_SIZE: {
17
+ [key: number]: ChipSize;
18
+ };
19
+ export declare enum ChipStyles {
20
+ Filled = 1,
21
+ Outlined = 2
22
+ }
23
+ interface ChipStyle {
24
+ border?: {
25
+ borderColor: ColorPalettes;
26
+ borderStyle: BorderStyles;
27
+ borderWidth: BorderWidths;
28
+ };
29
+ bgColor?: ColorPalettes;
30
+ font: {
31
+ fontColor?: ColorPalettes;
32
+ };
33
+ }
34
+ export declare const CHIP_STYLE: {
35
+ [key: number]: ChipStyle;
36
+ };
37
+ export {};
@@ -0,0 +1,42 @@
1
+ export declare const INPUT_TEXT_COLOR: {
2
+ [key: number]: any;
3
+ };
4
+ /**
5
+ * text size
6
+ * label size
7
+ * padding left right
8
+ * padding top bottom
9
+ * border width
10
+ */
11
+ export declare enum InputTextSizes {
12
+ Small = 1,
13
+ Default = 2,// medium
14
+ Big = 3,
15
+ Huge = 4
16
+ }
17
+ export declare const INPUT_TEXT_SIZE: {
18
+ [key: number]: any;
19
+ };
20
+ export declare enum InputTextStyles {
21
+ Default = 1,// border bottom
22
+ Outlined = 2,// outline overall
23
+ Filled = 3
24
+ }
25
+ export declare const INPUT_TEXT_STYLE: {
26
+ [key: number]: any;
27
+ };
28
+ export declare enum InputTextModes {
29
+ Default = 1,
30
+ Error = 2,
31
+ Disabled = 3,
32
+ ReadOnly = 4
33
+ }
34
+ export declare enum InputTextTypes {
35
+ Text = "text",
36
+ Number = "number",
37
+ Password = "password"
38
+ }
39
+ export declare enum InputTextLabelStyles {
40
+ Top = 1,
41
+ Material = 2
42
+ }
@@ -0,0 +1,28 @@
1
+ export declare enum TextAreaStyles {
2
+ Default = 1,// outline
3
+ Outlined = 2,// outline overall
4
+ Filled = 3,// border bottom & bg color
5
+ BorderBottom = 4,
6
+ Transparent = 5
7
+ }
8
+ export declare const TEXT_AREA_STYLE: {
9
+ [key: number]: any;
10
+ };
11
+ export declare enum TextAreaSizes {
12
+ Small = 1,
13
+ Default = 2,// medium
14
+ Big = 3,
15
+ Huge = 4
16
+ }
17
+ export declare const TEXT_AREA_SIZE: {
18
+ [key: number]: any;
19
+ };
20
+ export declare enum TextAreaModes {
21
+ Default = 1,
22
+ Error = 2,
23
+ Disabled = 3,
24
+ ReadOnly = 4
25
+ }
26
+ export declare const TEXT_AREA_COLOR: {
27
+ [key: number]: any;
28
+ };
@@ -0,0 +1,5 @@
1
+ export interface InsetGroupOption {
2
+ id: string | number;
3
+ text: string;
4
+ value?: any;
5
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum ModalStyles {
2
+ Default = 1,
3
+ Nocard = 2
4
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum Portals {
2
+ GlobalEventNotification = 1,
3
+ Modals = 2
4
+ }