@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
@@ -0,0 +1,2 @@
1
+ declare const Component: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Component;
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react-vite';
2
+ import { Tabs as COMPONENT } from '../../../../entries/tabs/index.ts';
3
+ declare const meta: Meta<typeof COMPONENT>;
4
+ export default meta;
5
+ export declare const Tabs: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const Component: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Component;
@@ -0,0 +1,4 @@
1
+ import { Meta } from '@storybook/react';
2
+ declare const meta: Meta;
3
+ export default meta;
4
+ export declare const H1: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { Meta } from '@storybook/react-vite';
2
+ import { default as GlobalEventToast } from '../../../../components/ui/notifications/globalEventNotifications/GlobalEventToast.tsx';
3
+ declare const meta: Meta<typeof GlobalEventToast>;
4
+ export default meta;
5
+ export declare const ToastNotification: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ declare const Component: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Component;
@@ -0,0 +1 @@
1
+ export default function IconAction(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function Sizes(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function SizesNoPadding(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { Meta } from '@storybook/react-vite';
2
+ import { UIcon as COMPONENT } from '../../../../entries/icons/index.ts';
3
+ declare const meta: Meta<typeof COMPONENT>;
4
+ export default meta;
@@ -0,0 +1,3 @@
1
+ import { ButtonProps } from '../../types/types.ts';
2
+ declare const F__Button: ({ margin, marginTop, marginBottom, marginLeft, marginRight, padding, paddingTop, paddingBottom, paddingLeft, paddingRight, boxShadow, borderRadius, borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, borderTopRightRadius, borderStyle, borderLeftStyle, borderRightStyle, borderTopStyle, borderBottomStyle, borderWidth, bgColor, paletteColor, borderColor, outlineColor, boxSizing, top, bottom, left, right, type, cursor, disabled, children, className, ref, ...props }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default F__Button;
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { DivProps } from '../../types/types.ts';
3
+ declare const Container: FC<DivProps>;
4
+ export default Container;
@@ -0,0 +1,4 @@
1
+ import { TextInputProps } from '../../../types/types.ts';
2
+ import { FC } from 'react';
3
+ declare const F__TextInput: FC<TextInputProps>;
4
+ export default F__TextInput;
@@ -0,0 +1,4 @@
1
+ import { TextAreaProps } from '../../../types/types.ts';
2
+ import { FC } from 'react';
3
+ declare const F__TextArea: FC<TextAreaProps>;
4
+ export default F__TextArea;
@@ -0,0 +1,4 @@
1
+ import { LayoutDivProps } from '../../types/types.ts';
2
+ import { FC } from 'react';
3
+ declare const Layout: FC<LayoutDivProps>;
4
+ export default Layout;
@@ -0,0 +1,4 @@
1
+ import { LiProps } from '../../types/types.ts';
2
+ import { FC } from 'react';
3
+ declare const F__Li: FC<LiProps>;
4
+ export default F__Li;
@@ -0,0 +1,4 @@
1
+ declare const Text_Header: <A extends keyof import("react").JSX.IntrinsicElements = keyof import("react").JSX.IntrinsicElements>(props: import("react").JSX.IntrinsicElements[A] & import('../../../types/types').HeadElementProps & {
2
+ ref?: React.Ref<any>;
3
+ }) => import("react").JSX.Element;
4
+ export default Text_Header;
@@ -0,0 +1,3 @@
1
+ import { ParagraphProps } from '../../../types/types.ts';
2
+ declare const Text_P: ({ children, ...props }: ParagraphProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Text_P;
@@ -0,0 +1,3 @@
1
+ import { SpanProps } from '../../../types/types.ts';
2
+ declare function Text_Span({ children, ...props }: SpanProps): import("react/jsx-runtime").JSX.Element;
3
+ export default Text_Span;
@@ -0,0 +1,16 @@
1
+ import { HeadElementProps } from '../../../types/types.ts';
2
+ import { JSX } from 'react';
3
+ /** helper types */
4
+ type Intrinsic = keyof JSX.IntrinsicElements;
5
+ type PropsOf<T extends Intrinsic> = JSX.IntrinsicElements[T];
6
+ /**
7
+ * createHeadElement:
8
+ * - T: default intrinsic tag (e.g. "h1")
9
+ *
10
+ * Returned component accepts intrinsic props for the chosen `as` tag (or default T),
11
+ * plus Extra props. Extra props are removed before spreading to DOM to avoid invalid attributes.
12
+ */
13
+ export declare function createHeadElement<T extends Intrinsic>(tag?: T): <A extends Intrinsic = T>(props: (PropsOf<A> & HeadElementProps) & {
14
+ ref?: React.Ref<any>;
15
+ }) => JSX.Element;
16
+ export {};
@@ -0,0 +1,18 @@
1
+ import { AnimatedProps } from '@react-spring/web';
2
+ import { JSX } from 'react';
3
+ import { TextStyleProps } from '../../../types/components.types';
4
+ type AllowedTags = "span" | "p";
5
+ type PropsOf<T extends AllowedTags> = AnimatedProps<JSX.IntrinsicElements[T]>;
6
+ type TagExtraPropsMap = {
7
+ span: TextStyleProps;
8
+ p: TextStyleProps;
9
+ };
10
+ type CompProps<Default extends AllowedTags, As extends AllowedTags = Default> = PropsOf<As> & TagExtraPropsMap[As] & {
11
+ as?: As;
12
+ children?: React.ReactNode;
13
+ className?: any;
14
+ };
15
+ export declare function createTextElement<T extends AllowedTags>(tag?: T): <As extends AllowedTags = T>(props: CompProps<T, As> & {
16
+ ref?: React.Ref<any>;
17
+ }) => JSX.Element;
18
+ export {};
@@ -0,0 +1,4 @@
1
+ import { UlProps } from '../../types/types.ts';
2
+ import { FC } from 'react';
3
+ declare const F__Ul: FC<UlProps>;
4
+ export default F__Ul;
@@ -0,0 +1,4 @@
1
+ export declare enum FUIAttributeSelectors {
2
+ FontBaseSize = "data-b-fsize",
3
+ Theme = "data-theme"
4
+ }
@@ -0,0 +1,62 @@
1
+ type ClassType = {
2
+ [key: number]: string;
3
+ };
4
+ export declare const MARGIN_CLASSES: ClassType;
5
+ export declare const MARGIN_TOP_CLASSES: ClassType;
6
+ export declare const MARGIN_BOTTOM_CLASSES: ClassType;
7
+ export declare const MARGIN_LEFT_CLASSES: ClassType;
8
+ export declare const MARGIN_RIGHT_CLASSES: ClassType;
9
+ export declare const PADDING_CLASSES: ClassType;
10
+ export declare const PADDING_TOP_CLASSES: ClassType;
11
+ export declare const PADDING_BOTTOM_CLASSES: ClassType;
12
+ export declare const PADDING_LEFT_CLASSES: ClassType;
13
+ export declare const PADDING_RIGHT_CLASSES: ClassType;
14
+ export declare const MEDIA_SIZES: ClassType;
15
+ export declare const BOX_SHADOW_CLASSES: ClassType;
16
+ export declare const BORDER_RADIUS_CLASSES: ClassType;
17
+ export declare const BORDER_TOP_LEFT_RADIUS_CLASSES: ClassType;
18
+ export declare const BORDER_TOP_RIGHT_RADIUS_CLASSES: ClassType;
19
+ export declare const BORDER_BOTTOM_LEFT_RADIUS_CLASSES: ClassType;
20
+ export declare const BORDER_BOTTOM_RIGHT_RADIUS_CLASSES: ClassType;
21
+ export declare const BORDER_STYLE_CLASSES: ClassType;
22
+ export declare const BORDER_LEFT_STYLE_CLASSES: ClassType;
23
+ export declare const BORDER_RIGHT_STYLE_CLASSES: ClassType;
24
+ export declare const BORDER_TOP_STYLE_CLASSES: ClassType;
25
+ export declare const BORDER_BOTTOM_STYLE_CLASSES: ClassType;
26
+ export declare const BORDER_WIDTH_CLASSES: ClassType;
27
+ export declare const BOX_SIZING_CLASSES: ClassType;
28
+ export declare const POSITION_TOP_CLASSES: ClassType;
29
+ export declare const POSITION_BOTTOM_CLASSES: ClassType;
30
+ export declare const POSITION_LEFT_CLASSES: ClassType;
31
+ export declare const POSITION_RIGHT_CLASSES: ClassType;
32
+ export declare const ELEMENT_RESIZE_CLASSES: {
33
+ 1: string;
34
+ 2: string;
35
+ 3: string;
36
+ 4: string;
37
+ };
38
+ export declare const TEXT_ALIGN_CLASSES: {
39
+ 1: string;
40
+ 2: string;
41
+ 3: string;
42
+ 4: string;
43
+ };
44
+ export declare const FONT_SIZE_CLASSES: ClassType;
45
+ export declare const FONT_WEIGHT_CLASSES: {
46
+ 1: string;
47
+ 2: string;
48
+ 3: string;
49
+ 4: string;
50
+ 5: string;
51
+ 6: string;
52
+ };
53
+ export declare const FONT_STYLE_CLASSES: {
54
+ 1: string;
55
+ 2: string;
56
+ };
57
+ export declare const FONT_FAMILY_CLASSES: {
58
+ 1: string;
59
+ };
60
+ export declare const CURSOR_CLASSES: ClassType;
61
+ export declare const OUTLINE_STYLE_CLASSES: ClassType;
62
+ export {};
@@ -0,0 +1,9 @@
1
+ type ClassType = {
2
+ [key: number]: string;
3
+ };
4
+ export declare const BACKGROUND_COLOR_CLASSES: ClassType;
5
+ export declare const BORDER_COLOR_CLASSES: ClassType;
6
+ export declare const COLOR_CLASSES: ClassType;
7
+ export declare const OUTLINE_COLOR_CLASSES: ClassType;
8
+ export declare const FONT_COLOR_CLASSES: ClassType;
9
+ export {};
@@ -1,104 +1,97 @@
1
- import { FC } from 'react';
2
-
3
- declare enum ColorPalettes {
4
- Transparent = 1,// (0, 1)
5
- Grey1 = 2,
6
- Grey2 = 3,
7
- Grey3 = 4,
8
- Grey4 = 5,
9
- Grey5 = 6,
10
- Grey6 = 7,
11
- Grey7 = 8,
12
- Grey8 = 9,
13
- Grey9 = 10,
14
- Grey10 = 11,// (2, 11)
15
- Primary1 = 12,
16
- Primary2 = 13,
17
- Primary3 = 14,
18
- Primary4 = 15,
19
- Primary5 = 16,
20
- Primary6 = 17,
21
- Primary7 = 18,
22
- Primary8 = 19,
23
- Primary9 = 20,// (12, 20)
24
- Secondary1 = 21,
25
- Secondary2 = 22,
26
- Secondary3 = 23,
27
- Secondary4 = 24,
28
- Secondary5 = 25,
29
- Secondary6 = 26,
30
- Secondary7 = 27,
31
- Secondary8 = 28,
32
- Secondary9 = 29,// (21, 29)
33
- Red1 = 30,
34
- Red2 = 31,
35
- Red3 = 32,
36
- Red4 = 33,
37
- Red5 = 34,
38
- Red6 = 35,
39
- Red7 = 36,
40
- Red8 = 37,
41
- Red9 = 38,// (30, 38)
42
- Green1 = 39,
43
- Green2 = 40,
44
- Green3 = 41,
45
- Green4 = 42,
46
- Green5 = 43,
47
- Green6 = 44,
48
- Green7 = 45,
49
- Green8 = 46,
50
- Green9 = 47,// (39, 47)
51
- Blue1 = 48,
52
- Blue2 = 49,
53
- Blue3 = 50,
54
- Blue4 = 51,
55
- Blue5 = 52,
56
- Blue6 = 53,
57
- Blue7 = 54,
58
- Blue8 = 55,
59
- Blue9 = 56,// (48, 56)
60
- Yellow1 = 57,
61
- Yellow2 = 58,
62
- Yellow3 = 59,
63
- Yellow4 = 60,
64
- Yellow5 = 61,
65
- Yellow6 = 62,
66
- Yellow7 = 63,
67
- Yellow8 = 64,
68
- Yellow9 = 65,// (57, 65)
69
- Accent1_1 = 66,
70
- Accent1_2 = 67,
71
- Accent1_3 = 68,
72
- Accent1_4 = 69,
73
- Accent1_5 = 70,
74
- Accent1_6 = 71,
75
- Accent1_7 = 72,
76
- Accent1_8 = 73,
77
- Accent1_9 = 74,// (57, 65)
78
- Accent2_1 = 75,
79
- Accent2_2 = 76,
80
- Accent2_3 = 77,
81
- Accent2_4 = 78,
82
- Accent2_5 = 79,
83
- Accent2_6 = 80,
84
- Accent2_7 = 81,
85
- Accent2_8 = 82,
86
- Accent2_9 = 83
87
- }
88
-
89
- declare interface P {
90
- size: TagColorSizes;
91
- color?: ColorPalettes | string;
92
- text?: string | number;
93
- }
94
-
95
- export declare const TagColor: FC<P>;
96
-
97
- declare enum TagColorSizes {
98
- Small = 1,
99
- Medium = 2,
100
- Big = 3,
101
- Large = 4
102
- }
103
-
104
- export { }
1
+ export declare enum ColorPalettes {
2
+ Transparent = 1,// (0, 1)
3
+ Grey1 = 2,
4
+ Grey2 = 3,
5
+ Grey3 = 4,
6
+ Grey4 = 5,
7
+ Grey5 = 6,
8
+ Grey6 = 7,
9
+ Grey7 = 8,
10
+ Grey8 = 9,
11
+ Grey9 = 10,
12
+ Grey10 = 11,// (2, 11)
13
+ Primary1 = 12,
14
+ Primary2 = 13,
15
+ Primary3 = 14,
16
+ Primary4 = 15,
17
+ Primary5 = 16,
18
+ Primary6 = 17,
19
+ Primary7 = 18,
20
+ Primary8 = 19,
21
+ Primary9 = 20,// (12, 20)
22
+ Secondary1 = 21,
23
+ Secondary2 = 22,
24
+ Secondary3 = 23,
25
+ Secondary4 = 24,
26
+ Secondary5 = 25,
27
+ Secondary6 = 26,
28
+ Secondary7 = 27,
29
+ Secondary8 = 28,
30
+ Secondary9 = 29,// (21, 29)
31
+ Red1 = 30,
32
+ Red2 = 31,
33
+ Red3 = 32,
34
+ Red4 = 33,
35
+ Red5 = 34,
36
+ Red6 = 35,
37
+ Red7 = 36,
38
+ Red8 = 37,
39
+ Red9 = 38,// (30, 38)
40
+ Green1 = 39,
41
+ Green2 = 40,
42
+ Green3 = 41,
43
+ Green4 = 42,
44
+ Green5 = 43,
45
+ Green6 = 44,
46
+ Green7 = 45,
47
+ Green8 = 46,
48
+ Green9 = 47,// (39, 47)
49
+ Blue1 = 48,
50
+ Blue2 = 49,
51
+ Blue3 = 50,
52
+ Blue4 = 51,
53
+ Blue5 = 52,
54
+ Blue6 = 53,
55
+ Blue7 = 54,
56
+ Blue8 = 55,
57
+ Blue9 = 56,// (48, 56)
58
+ Yellow1 = 57,
59
+ Yellow2 = 58,
60
+ Yellow3 = 59,
61
+ Yellow4 = 60,
62
+ Yellow5 = 61,
63
+ Yellow6 = 62,
64
+ Yellow7 = 63,
65
+ Yellow8 = 64,
66
+ Yellow9 = 65,// (57, 65)
67
+ Accent1_1 = 66,
68
+ Accent1_2 = 67,
69
+ Accent1_3 = 68,
70
+ Accent1_4 = 69,
71
+ Accent1_5 = 70,
72
+ Accent1_6 = 71,
73
+ Accent1_7 = 72,
74
+ Accent1_8 = 73,
75
+ Accent1_9 = 74,// (57, 65)
76
+ Accent2_1 = 75,
77
+ Accent2_2 = 76,
78
+ Accent2_3 = 77,
79
+ Accent2_4 = 78,
80
+ Accent2_5 = 79,
81
+ Accent2_6 = 80,
82
+ Accent2_7 = 81,
83
+ Accent2_8 = 82,
84
+ Accent2_9 = 83
85
+ }
86
+ export declare enum ColorSets {
87
+ Transparents = 1,
88
+ Greys = 2,
89
+ Primarys = 3,
90
+ Secondarys = 4,
91
+ Reds = 5,
92
+ Greens = 6,
93
+ Blues = 7,
94
+ Yellows = 8,
95
+ Accents1 = 9,
96
+ Accents2 = 10
97
+ }
@@ -0,0 +1,42 @@
1
+ export declare let COLOR_VALUES: {
2
+ [key: number]: string;
3
+ };
4
+ export declare const ColorRanges: {
5
+ 1: number[];
6
+ 2: number[];
7
+ 3: number[];
8
+ 4: number[];
9
+ 5: number[];
10
+ 6: number[];
11
+ 7: number[];
12
+ 8: number[];
13
+ 9: number[];
14
+ 10: number[];
15
+ };
16
+ export declare enum ColorRGBAAlphas {
17
+ Opaque = 1,// max, max
18
+ Dark3 = 2,
19
+ Dark2 = 3,
20
+ Dark1 = 4,
21
+ Light1 = 5,
22
+ Light2 = 6,
23
+ Light3 = 7,
24
+ Transparent = 8
25
+ }
26
+ export declare const COLOR_RGBA_ALPHA: {
27
+ /**
28
+ * 6 (a-f (f is darker)) + 10 (0-9 (9 is darker)) | same concept (starts with 0 end with f)
29
+ * 18 | 18
30
+ * 18 / 2 = 9 | 2, 4, 6, 8 | 10 | 12, 14, 16, 18
31
+ * 0 2 4 6 8 a c e(f)
32
+ */
33
+ 1: string;
34
+ 2: string;
35
+ 3: string;
36
+ 4: string;
37
+ 5: string;
38
+ 6: string;
39
+ 7: string;
40
+ 8: string;
41
+ };
42
+ export declare function disconnectThemeObserver(): void;
@@ -0,0 +1,67 @@
1
+ import { AlignSelfs, BorderStyles, BorderWidths, BoxShadows, BoxSizings, ButtonTypes, ColorPalettes, Displays, FlexAlignContents, FlexAlignItems, FlexDirections, FlexJustifyContents, FlexWraps, FontFamilies, FontSizes, FontStyles, FontWeights, GridAlignContents, GridColumnGaps, GridGaps, GridJustifyContents, GridRowGaps, JustifySelfs, Positions, Radiuses, Spacings, TextAligns } from './types.ts';
2
+ import { Cursors } from './generics';
3
+ export interface StyleProps {
4
+ margin?: Spacings;
5
+ marginTop?: Spacings;
6
+ marginBottom?: Spacings;
7
+ marginLeft?: Spacings;
8
+ marginRight?: Spacings;
9
+ padding?: Spacings;
10
+ paddingTop?: Spacings;
11
+ paddingBottom?: Spacings;
12
+ paddingLeft?: Spacings;
13
+ paddingRight?: Spacings;
14
+ boxShadow?: BoxShadows;
15
+ borderRadius?: Radiuses;
16
+ borderBottomLeftRadius?: Radiuses;
17
+ borderBottomRightRadius?: Radiuses;
18
+ borderTopLeftRadius?: Radiuses;
19
+ borderTopRightRadius?: Radiuses;
20
+ borderStyle?: BorderStyles;
21
+ borderLeftStyle?: BorderStyles;
22
+ borderRightStyle?: BorderStyles;
23
+ borderTopStyle?: BorderStyles;
24
+ borderBottomStyle?: BorderStyles;
25
+ borderWidth?: BorderWidths;
26
+ bgColor?: ColorPalettes;
27
+ paletteColor?: ColorPalettes;
28
+ borderColor?: ColorPalettes;
29
+ outlineColor?: ColorPalettes;
30
+ boxSizing?: BoxSizings;
31
+ top?: Positions;
32
+ bottom?: Positions;
33
+ left?: Positions;
34
+ right?: Positions;
35
+ cursor?: Cursors;
36
+ }
37
+ export interface LayoutProps {
38
+ display?: Displays;
39
+ flexDirection?: FlexDirections;
40
+ flexWrap?: FlexWraps;
41
+ flexJustifyContent?: FlexJustifyContents;
42
+ flexAlignItem?: FlexAlignItems;
43
+ flexAlignContent?: FlexAlignContents;
44
+ gridGap?: GridGaps;
45
+ gridRowGap?: GridRowGaps;
46
+ gridColumnGap?: GridColumnGaps;
47
+ gridJustifyContent?: GridJustifyContents;
48
+ gridAlignContent?: GridAlignContents;
49
+ justifySelf?: JustifySelfs;
50
+ alignSelf?: AlignSelfs;
51
+ }
52
+ export interface TextStyleProps {
53
+ paletteColor?: ColorPalettes;
54
+ fontSize?: FontSizes;
55
+ fontFamily?: FontFamilies;
56
+ fontWeight?: FontWeights;
57
+ fontStyle?: FontStyles;
58
+ textAlign?: TextAligns;
59
+ cursor?: Cursors;
60
+ }
61
+ export interface ButtonStyleProps {
62
+ disabled?: boolean;
63
+ type?: ButtonTypes;
64
+ }
65
+ export interface HeaderProps {
66
+ header: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
67
+ }