@cfx-dev/ui-components 4.5.21 → 5.0.1

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 (354) hide show
  1. package/dist/DropdownContent-BMfQCuaP.js +964 -0
  2. package/dist/Table.module-CMz5ENmI.js +17 -0
  3. package/dist/assets/all_css.css +1 -1
  4. package/dist/assets/css/Accordion.css +1 -1
  5. package/dist/assets/css/AccordionShowcase.css +1 -1
  6. package/dist/assets/css/Avatar.css +1 -1
  7. package/dist/assets/css/Badge.css +1 -1
  8. package/dist/assets/css/BurgerMenu.css +1 -1
  9. package/dist/assets/css/Button.css +1 -1
  10. package/dist/assets/css/Checkbox.css +1 -1
  11. package/dist/assets/css/ControlBox.css +1 -1
  12. package/dist/assets/css/CountryFlag.css +1 -1
  13. package/dist/assets/css/DataTable.css +1 -1
  14. package/dist/assets/css/Dot.css +1 -1
  15. package/dist/assets/css/DropdownContent.css +1 -1
  16. package/dist/assets/css/DropdownSelect.css +1 -1
  17. package/dist/assets/css/FlexShowcase.css +1 -1
  18. package/dist/assets/css/Flyout.css +1 -1
  19. package/dist/assets/css/FormField.css +1 -0
  20. package/dist/assets/css/Icon.css +1 -1
  21. package/dist/assets/css/IconButton.css +1 -1
  22. package/dist/assets/css/InfoPanel.css +1 -1
  23. package/dist/assets/css/Input.css +1 -1
  24. package/dist/assets/css/InputDropzone.css +1 -1
  25. package/dist/assets/css/Island.css +1 -1
  26. package/dist/assets/css/ItemPreview.css +1 -1
  27. package/dist/assets/css/Link.css +1 -1
  28. package/dist/assets/css/Loaf.css +1 -1
  29. package/dist/assets/css/Modal.css +1 -1
  30. package/dist/assets/css/NavList.css +1 -1
  31. package/dist/assets/css/Page.css +1 -1
  32. package/dist/assets/css/Popover.css +1 -1
  33. package/dist/assets/css/Prose.css +1 -1
  34. package/dist/assets/css/Radio.css +1 -1
  35. package/dist/assets/css/Range.css +1 -1
  36. package/dist/assets/css/RangeInput.css +1 -1
  37. package/dist/assets/css/RichInput.css +1 -1
  38. package/dist/assets/css/Select.css +1 -1
  39. package/dist/assets/css/Separator.css +1 -1
  40. package/dist/assets/css/Skeleton.css +1 -1
  41. package/dist/assets/css/Slider.css +1 -1
  42. package/dist/assets/css/StyledInput.css +1 -1
  43. package/dist/assets/css/StyledTextarea.css +1 -1
  44. package/dist/assets/css/Switch.css +1 -1
  45. package/dist/assets/css/Table.css +1 -1
  46. package/dist/assets/css/Tabular.css +1 -1
  47. package/dist/assets/css/Text.css +1 -1
  48. package/dist/assets/css/TextShowcase.css +1 -1
  49. package/dist/assets/css/Textarea.css +1 -1
  50. package/dist/assets/css/Title.css +1 -1
  51. package/dist/assets/css/ToggleGroup.css +1 -1
  52. package/dist/assets/general/global.css +1 -1
  53. package/dist/cfxIcons-0xD_EEXT.js +110 -0
  54. package/dist/cfxIconsXLarge-D0vz6Yd_.js +110 -0
  55. package/dist/components/Accordion/Accordion.d.ts +0 -3
  56. package/dist/components/Accordion/Accordion.js +117 -121
  57. package/dist/components/Accordion/AccordionShowcase.js +22 -26
  58. package/dist/components/Avatar/Avatar.d.ts +1 -1
  59. package/dist/components/Avatar/Avatar.js +12 -12
  60. package/dist/components/Avatar/AvatarShowcase.js +4 -4
  61. package/dist/components/Badge/Badge.d.ts +1 -1
  62. package/dist/components/Badge/Badge.js +7 -7
  63. package/dist/components/Badge/BadgeShowcase.js +20 -20
  64. package/dist/components/BurgerMenu/BurgerMenu.js +7 -7
  65. package/dist/components/BurgerMenu/BurgerMenuShowcase.js +8 -8
  66. package/dist/components/Button/Button.d.ts +1 -1
  67. package/dist/components/Button/Button.js +15 -15
  68. package/dist/components/Button/ButtonShowcase.js +80 -57
  69. package/dist/components/Checkbox/Checkbox.d.ts +4 -1
  70. package/dist/components/Checkbox/Checkbox.js +276 -191
  71. package/dist/components/Checkbox/CheckboxShowcase.js +170 -29
  72. package/dist/components/ControlBox/ControlBox.d.ts +1 -1
  73. package/dist/components/ControlBox/ControlBox.js +17 -17
  74. package/dist/components/DataTable/DataTableShowcase.js +5 -5
  75. package/dist/components/Dot/Dot.d.ts +1 -1
  76. package/dist/components/Dot/Dot.js +15 -15
  77. package/dist/components/DropdownContent/DropdownContent.d.ts +1 -5
  78. package/dist/components/DropdownContent/DropdownContent.js +2 -3
  79. package/dist/components/DropdownContent/index.d.ts +1 -1
  80. package/dist/components/DropdownContent/index.js +2 -3
  81. package/dist/components/DropdownMenu/DropdownMenu.d.ts +1 -2
  82. package/dist/components/DropdownMenu/DropdownMenu.js +17 -19
  83. package/dist/components/DropdownSelect/DropdownSelect.d.ts +0 -5
  84. package/dist/components/DropdownSelect/DropdownSelect.js +47 -55
  85. package/dist/components/DropdownSelect/DropdownSelectShowcase.js +10 -11
  86. package/dist/components/Flyout/Flyout.d.ts +1 -1
  87. package/dist/components/Flyout/Flyout.js +10 -10
  88. package/dist/components/FormField/FormField.d.ts +20 -0
  89. package/dist/components/FormField/FormField.js +68 -0
  90. package/dist/components/FormField/FormFieldShowcase.d.ts +5 -0
  91. package/dist/components/FormField/FormFieldShowcase.js +59 -0
  92. package/dist/components/FormField/index.d.ts +1 -0
  93. package/dist/components/FormField/index.js +4 -0
  94. package/dist/components/Icon/Icon.d.ts +6 -2
  95. package/dist/components/Icon/Icon.js +33 -32
  96. package/dist/components/IconButton/IconButton.js +1 -1
  97. package/dist/components/Icons/Icons.types.d.ts +1 -3
  98. package/dist/components/Icons/IconsShowcase.js +224 -92
  99. package/dist/components/Icons/cfx-icons/Cart.js +17 -33
  100. package/dist/components/Icons/cfx-icons/Close.js +7 -8
  101. package/dist/components/Icons/cfx-icons/Controller.js +13 -20
  102. package/dist/components/Icons/cfx-icons/Copy.js +6 -7
  103. package/dist/components/Icons/cfx-icons/DownArrow.js +4 -5
  104. package/dist/components/Icons/cfx-icons/DownChevron.js +4 -5
  105. package/dist/components/Icons/cfx-icons/Download.js +6 -7
  106. package/dist/components/Icons/cfx-icons/Expand.js +1 -1
  107. package/dist/components/Icons/cfx-icons/ExternalLink.js +9 -10
  108. package/dist/components/Icons/cfx-icons/Filter.js +9 -9
  109. package/dist/components/Icons/cfx-icons/Folder.d.ts +5 -0
  110. package/dist/components/Icons/cfx-icons/Folder.js +24 -0
  111. package/dist/components/Icons/cfx-icons/Heart.js +9 -10
  112. package/dist/components/Icons/cfx-icons/HeartFilled.js +3 -4
  113. package/dist/components/Icons/cfx-icons/Help.js +9 -10
  114. package/dist/components/Icons/cfx-icons/LeftArrow.js +9 -10
  115. package/dist/components/Icons/cfx-icons/LeftChevron.js +7 -8
  116. package/dist/components/Icons/cfx-icons/Map.js +14 -30
  117. package/dist/components/Icons/cfx-icons/Menu.js +17 -40
  118. package/dist/components/Icons/cfx-icons/Minus.js +2 -3
  119. package/dist/components/Icons/cfx-icons/More.js +4 -5
  120. package/dist/components/Icons/cfx-icons/MoreInfo.js +6 -7
  121. package/dist/components/Icons/cfx-icons/Pencil.js +3 -3
  122. package/dist/components/Icons/cfx-icons/Play.js +6 -6
  123. package/dist/components/Icons/cfx-icons/Plus.js +4 -5
  124. package/dist/components/Icons/cfx-icons/Radio.js +15 -25
  125. package/dist/components/Icons/cfx-icons/Refresh.js +10 -11
  126. package/dist/components/Icons/cfx-icons/RightArrow.js +9 -10
  127. package/dist/components/Icons/cfx-icons/RightChevron.js +4 -5
  128. package/dist/components/Icons/cfx-icons/Search.js +9 -10
  129. package/dist/components/Icons/cfx-icons/ServerList.d.ts +5 -0
  130. package/dist/components/Icons/cfx-icons/ServerList.js +24 -0
  131. package/dist/components/Icons/cfx-icons/ServerReconnect.d.ts +5 -0
  132. package/dist/components/Icons/cfx-icons/ServerReconnect.js +24 -0
  133. package/dist/components/Icons/cfx-icons/Sort.js +6 -7
  134. package/dist/components/Icons/cfx-icons/Square.js +8 -9
  135. package/dist/components/Icons/cfx-icons/SquareFilled.d.ts +5 -0
  136. package/dist/components/Icons/cfx-icons/SquareFilled.js +23 -0
  137. package/dist/components/Icons/cfx-icons/SquareTick.d.ts +5 -0
  138. package/dist/components/Icons/cfx-icons/SquareTick.js +26 -0
  139. package/dist/components/Icons/cfx-icons/Stop.js +7 -8
  140. package/dist/components/Icons/cfx-icons/Success.d.ts +5 -0
  141. package/dist/components/Icons/cfx-icons/Success.js +26 -0
  142. package/dist/components/Icons/cfx-icons/Tick.js +4 -5
  143. package/dist/components/Icons/cfx-icons/Transfer.js +7 -8
  144. package/dist/components/Icons/cfx-icons/Trash.js +6 -6
  145. package/dist/components/Icons/cfx-icons/Undo.js +5 -6
  146. package/dist/components/Icons/cfx-icons/UpArrow.js +9 -10
  147. package/dist/components/Icons/cfx-icons/UpChevron.js +4 -5
  148. package/dist/components/Icons/cfx-icons/Upload.js +7 -8
  149. package/dist/components/Icons/cfx-icons/UpvotesBurst.js +10 -10
  150. package/dist/components/Icons/cfx-icons/UpvotesRecurring.js +10 -11
  151. package/dist/components/Icons/cfx-icons/User.js +13 -20
  152. package/dist/components/Icons/cfx-icons/Users.js +13 -32
  153. package/dist/components/Icons/cfx-icons/Verified.js +1 -1
  154. package/dist/components/Icons/cfx-icons/Visibility.js +8 -8
  155. package/dist/components/Icons/cfx-icons/VisibilityOff.js +1 -1
  156. package/dist/components/Icons/cfx-icons/Warning.js +9 -10
  157. package/dist/components/Icons/cfx-iconsXLarge/Cart.d.ts +5 -0
  158. package/dist/components/Icons/cfx-iconsXLarge/Cart.js +26 -0
  159. package/dist/components/Icons/cfx-iconsXLarge/Close.d.ts +5 -0
  160. package/dist/components/Icons/cfx-iconsXLarge/Close.js +26 -0
  161. package/dist/components/Icons/cfx-iconsXLarge/Controller.d.ts +5 -0
  162. package/dist/components/Icons/cfx-iconsXLarge/Controller.js +24 -0
  163. package/dist/components/Icons/cfx-iconsXLarge/Copy.d.ts +5 -0
  164. package/dist/components/Icons/cfx-iconsXLarge/Copy.js +26 -0
  165. package/dist/components/Icons/cfx-iconsXLarge/DownArrow.d.ts +5 -0
  166. package/dist/components/Icons/cfx-iconsXLarge/DownArrow.js +26 -0
  167. package/dist/components/Icons/cfx-iconsXLarge/DownChevron.d.ts +5 -0
  168. package/dist/components/Icons/cfx-iconsXLarge/DownChevron.js +26 -0
  169. package/dist/components/Icons/cfx-iconsXLarge/Download.d.ts +5 -0
  170. package/dist/components/Icons/cfx-iconsXLarge/Download.js +26 -0
  171. package/dist/components/Icons/cfx-iconsXLarge/Expand.d.ts +5 -0
  172. package/dist/components/Icons/cfx-iconsXLarge/Expand.js +26 -0
  173. package/dist/components/Icons/cfx-iconsXLarge/ExternalLink.d.ts +5 -0
  174. package/dist/components/Icons/cfx-iconsXLarge/ExternalLink.js +26 -0
  175. package/dist/components/Icons/cfx-iconsXLarge/Filter.d.ts +5 -0
  176. package/dist/components/Icons/cfx-iconsXLarge/Filter.js +23 -0
  177. package/dist/components/Icons/cfx-iconsXLarge/Folder.d.ts +5 -0
  178. package/dist/components/Icons/cfx-iconsXLarge/Folder.js +24 -0
  179. package/dist/components/Icons/cfx-iconsXLarge/Heart.d.ts +5 -0
  180. package/dist/components/Icons/cfx-iconsXLarge/Heart.js +24 -0
  181. package/dist/components/Icons/cfx-iconsXLarge/HeartFilled.d.ts +5 -0
  182. package/dist/components/Icons/cfx-iconsXLarge/HeartFilled.js +24 -0
  183. package/dist/components/Icons/cfx-iconsXLarge/Help.d.ts +5 -0
  184. package/dist/components/Icons/cfx-iconsXLarge/Help.js +26 -0
  185. package/dist/components/Icons/cfx-iconsXLarge/LeftArrow.d.ts +5 -0
  186. package/dist/components/Icons/cfx-iconsXLarge/LeftArrow.js +26 -0
  187. package/dist/components/Icons/cfx-iconsXLarge/LeftChevron.d.ts +5 -0
  188. package/dist/components/Icons/cfx-iconsXLarge/LeftChevron.js +26 -0
  189. package/dist/components/Icons/cfx-iconsXLarge/Map.d.ts +5 -0
  190. package/dist/components/Icons/cfx-iconsXLarge/Map.js +23 -0
  191. package/dist/components/Icons/cfx-iconsXLarge/Menu.d.ts +5 -0
  192. package/dist/components/Icons/cfx-iconsXLarge/Menu.js +26 -0
  193. package/dist/components/Icons/cfx-iconsXLarge/Minus.d.ts +5 -0
  194. package/dist/components/Icons/{cfx-icons-big/Upload.js → cfx-iconsXLarge/Minus.js} +2 -3
  195. package/dist/components/Icons/cfx-iconsXLarge/More.d.ts +5 -0
  196. package/dist/components/Icons/cfx-iconsXLarge/More.js +26 -0
  197. package/dist/components/Icons/cfx-iconsXLarge/MoreInfo.d.ts +5 -0
  198. package/dist/components/Icons/cfx-iconsXLarge/MoreInfo.js +26 -0
  199. package/dist/components/Icons/cfx-iconsXLarge/Pencil.d.ts +5 -0
  200. package/dist/components/Icons/cfx-iconsXLarge/Pencil.js +25 -0
  201. package/dist/components/Icons/cfx-iconsXLarge/Play.d.ts +5 -0
  202. package/dist/components/Icons/cfx-iconsXLarge/Play.js +25 -0
  203. package/dist/components/Icons/cfx-iconsXLarge/Plus.d.ts +5 -0
  204. package/dist/components/Icons/cfx-iconsXLarge/Plus.js +26 -0
  205. package/dist/components/Icons/cfx-iconsXLarge/Radio.d.ts +5 -0
  206. package/dist/components/Icons/cfx-iconsXLarge/Radio.js +26 -0
  207. package/dist/components/Icons/cfx-iconsXLarge/Refresh.d.ts +5 -0
  208. package/dist/components/Icons/cfx-iconsXLarge/Refresh.js +26 -0
  209. package/dist/components/Icons/cfx-iconsXLarge/RightArrow.d.ts +5 -0
  210. package/dist/components/Icons/cfx-iconsXLarge/RightArrow.js +26 -0
  211. package/dist/components/Icons/cfx-iconsXLarge/RightChevron.d.ts +5 -0
  212. package/dist/components/Icons/cfx-iconsXLarge/RightChevron.js +26 -0
  213. package/dist/components/Icons/cfx-iconsXLarge/Search.d.ts +5 -0
  214. package/dist/components/Icons/cfx-iconsXLarge/Search.js +26 -0
  215. package/dist/components/Icons/cfx-iconsXLarge/ServerList.d.ts +5 -0
  216. package/dist/components/Icons/cfx-iconsXLarge/ServerList.js +24 -0
  217. package/dist/components/Icons/cfx-iconsXLarge/ServerReconnect.d.ts +5 -0
  218. package/dist/components/Icons/cfx-iconsXLarge/ServerReconnect.js +24 -0
  219. package/dist/components/Icons/cfx-iconsXLarge/Sort.d.ts +5 -0
  220. package/dist/components/Icons/cfx-iconsXLarge/Sort.js +26 -0
  221. package/dist/components/Icons/cfx-iconsXLarge/Square.d.ts +5 -0
  222. package/dist/components/Icons/cfx-iconsXLarge/Square.js +23 -0
  223. package/dist/components/Icons/cfx-iconsXLarge/SquareFilled.d.ts +5 -0
  224. package/dist/components/Icons/cfx-iconsXLarge/SquareFilled.js +26 -0
  225. package/dist/components/Icons/cfx-iconsXLarge/SquareTick.d.ts +5 -0
  226. package/dist/components/Icons/cfx-iconsXLarge/SquareTick.js +26 -0
  227. package/dist/components/Icons/cfx-iconsXLarge/Stop.d.ts +5 -0
  228. package/dist/components/Icons/cfx-iconsXLarge/Stop.js +26 -0
  229. package/dist/components/Icons/cfx-iconsXLarge/Success.d.ts +5 -0
  230. package/dist/components/Icons/cfx-iconsXLarge/Success.js +26 -0
  231. package/dist/components/Icons/cfx-iconsXLarge/Tick.d.ts +5 -0
  232. package/dist/components/Icons/cfx-iconsXLarge/Tick.js +26 -0
  233. package/dist/components/Icons/cfx-iconsXLarge/Transfer.d.ts +5 -0
  234. package/dist/components/Icons/cfx-iconsXLarge/Transfer.js +26 -0
  235. package/dist/components/Icons/cfx-iconsXLarge/Trash.d.ts +5 -0
  236. package/dist/components/Icons/cfx-iconsXLarge/Trash.js +23 -0
  237. package/dist/components/Icons/cfx-iconsXLarge/Undo.d.ts +5 -0
  238. package/dist/components/Icons/cfx-iconsXLarge/Undo.js +26 -0
  239. package/dist/components/Icons/cfx-iconsXLarge/UpArrow.d.ts +5 -0
  240. package/dist/components/Icons/cfx-iconsXLarge/UpArrow.js +26 -0
  241. package/dist/components/Icons/cfx-iconsXLarge/UpChevron.d.ts +5 -0
  242. package/dist/components/Icons/cfx-iconsXLarge/UpChevron.js +26 -0
  243. package/dist/components/Icons/cfx-iconsXLarge/Upload.js +26 -0
  244. package/dist/components/Icons/cfx-iconsXLarge/UpvotesBurst.d.ts +5 -0
  245. package/dist/components/Icons/cfx-iconsXLarge/UpvotesBurst.js +26 -0
  246. package/dist/components/Icons/cfx-iconsXLarge/UpvotesRecurring.d.ts +5 -0
  247. package/dist/components/Icons/cfx-iconsXLarge/UpvotesRecurring.js +26 -0
  248. package/dist/components/Icons/cfx-iconsXLarge/User.d.ts +5 -0
  249. package/dist/components/Icons/cfx-iconsXLarge/User.js +24 -0
  250. package/dist/components/Icons/cfx-iconsXLarge/Users.d.ts +5 -0
  251. package/dist/components/Icons/cfx-iconsXLarge/Users.js +24 -0
  252. package/dist/components/Icons/cfx-iconsXLarge/Verified.d.ts +5 -0
  253. package/dist/components/Icons/cfx-iconsXLarge/Verified.js +23 -0
  254. package/dist/components/Icons/cfx-iconsXLarge/Visibility.d.ts +5 -0
  255. package/dist/components/Icons/cfx-iconsXLarge/Visibility.js +23 -0
  256. package/dist/components/Icons/cfx-iconsXLarge/VisibilityOff.d.ts +5 -0
  257. package/dist/components/Icons/cfx-iconsXLarge/VisibilityOff.js +23 -0
  258. package/dist/components/Icons/cfx-iconsXLarge/Warning.js +26 -0
  259. package/dist/components/Icons/cfxIcons.d.ts +6 -1
  260. package/dist/components/Icons/cfxIcons.js +88 -78
  261. package/dist/components/Icons/cfxIconsXLarge.d.ts +52 -0
  262. package/dist/components/Icons/cfxIconsXLarge.js +106 -0
  263. package/dist/components/Icons/index.d.ts +2 -2
  264. package/dist/components/Icons/index.js +3 -3
  265. package/dist/components/InfoPanel/InfoPanel.d.ts +1 -1
  266. package/dist/components/InfoPanel/InfoPanel.js +10 -10
  267. package/dist/components/InfoPanel/InfoPanelShowcase.js +30 -30
  268. package/dist/components/Input/Input.d.ts +3 -3
  269. package/dist/components/Input/Input.js +94 -107
  270. package/dist/components/Input/Input.types.d.ts +1 -1
  271. package/dist/components/Input/InputShowcase.js +80 -64
  272. package/dist/components/Input/RichInput.js +48 -62
  273. package/dist/components/InputDropzone/InputDropzone.js +52 -43
  274. package/dist/components/InputDropzone/ItemPreview.js +23 -21
  275. package/dist/components/Layout/Pad/Pad.d.ts +2 -2
  276. package/dist/components/Layout/Pad/Pad.js +1 -1
  277. package/dist/components/Link/LinkShowcase.js +39 -39
  278. package/dist/components/Loaf/Loaf.d.ts +2 -2
  279. package/dist/components/Loaf/Loaf.js +15 -15
  280. package/dist/components/Modal/Modal.d.ts +3 -3
  281. package/dist/components/Modal/Modal.js +26 -26
  282. package/dist/components/Modal/ModalShowcase.js +13 -13
  283. package/dist/components/Pagination/Pagination.js +5 -5
  284. package/dist/components/RSC/Flex/Flex.d.ts +2 -2
  285. package/dist/components/RSC/Flex/Flex.js +17 -17
  286. package/dist/components/Radio/Radio.d.ts +1 -1
  287. package/dist/components/Radio/Radio.js +19 -19
  288. package/dist/components/Range/RangeShowcase.js +10 -10
  289. package/dist/components/Select/Select.d.ts +0 -3
  290. package/dist/components/Select/Select.js +372 -391
  291. package/dist/components/Select/SelectShowcase.js +20 -47
  292. package/dist/components/Separator/Separator.d.ts +1 -2
  293. package/dist/components/Separator/Separator.js +29 -42
  294. package/dist/components/Skeleton/SkeletonShowcase.js +12 -12
  295. package/dist/components/Slider/SliderShowcase.js +6 -6
  296. package/dist/components/StyledInput/StyledInput.d.ts +3 -3
  297. package/dist/components/StyledInput/StyledInput.js +16 -32
  298. package/dist/components/Switch/Switch.d.ts +6 -0
  299. package/dist/components/Switch/Switch.js +99 -85
  300. package/dist/components/Table/TableBody.js +1 -1
  301. package/dist/components/Table/TableCell.js +1 -1
  302. package/dist/components/Table/TableCellCheckbox.js +1 -1
  303. package/dist/components/Table/TableHeader.js +1 -1
  304. package/dist/components/Table/TableIconButton.js +1 -1
  305. package/dist/components/Table/TableRoot.js +1 -1
  306. package/dist/components/Table/TableRow.d.ts +1 -1
  307. package/dist/components/Table/TableRow.js +8 -8
  308. package/dist/components/TableResponsiveText/TableResponsiveText.js +4 -4
  309. package/dist/components/Tabular/TabularShowcase.js +22 -22
  310. package/dist/components/Text/BodyShowcase.js +261 -48
  311. package/dist/components/Text/HeadingShowcase.js +179 -24
  312. package/dist/components/Text/Text.d.ts +1 -0
  313. package/dist/components/Text/Text.js +62 -57
  314. package/dist/components/Text/Text.types.d.ts +6 -4
  315. package/dist/components/Text/TextShowcase.d.ts +15 -6
  316. package/dist/components/Text/TextShowcase.js +63 -38
  317. package/dist/components/Title/TitleShowcase.js +97 -17
  318. package/dist/components/ToggleGroup/ToggleGroup.d.ts +1 -1
  319. package/dist/components/ToggleGroup/ToggleGroup.js +22 -22
  320. package/dist/components/ToggleGroup/ToggleGroupShowcase.js +76 -40
  321. package/dist/main.d.ts +5 -6
  322. package/dist/main.js +87 -87
  323. package/dist/styles-scss/_ui.scss +94 -14
  324. package/dist/styles-scss/global.scss +17 -15
  325. package/dist/styles-scss/tokens.scss +158 -53
  326. package/dist/utils/ui/index.d.ts +2 -2
  327. package/dist/utils/ui/index.js +12 -10
  328. package/dist/utils/ui/ui.d.ts +7 -2
  329. package/dist/utils/ui/ui.js +64 -46
  330. package/dist/utils/ui/ui.types.d.ts +68 -23
  331. package/dist/utils/ui/ui.types.js +18 -15
  332. package/package.json +1 -1
  333. package/dist/DropdownContent-MvHlrWi6.js +0 -989
  334. package/dist/Table.module-DffST69u.js +0 -17
  335. package/dist/assets/css/IconBig.css +0 -1
  336. package/dist/cfxIcons-B4SQ4Ljd.js +0 -100
  337. package/dist/cfxIconsBig-BLJjMT-Y.js +0 -16
  338. package/dist/components/IconBig/IconBig.d.ts +0 -13
  339. package/dist/components/IconBig/IconBig.js +0 -78
  340. package/dist/components/IconBig/index.d.ts +0 -2
  341. package/dist/components/IconBig/index.js +0 -4
  342. package/dist/components/Icons/cfx-icons/SquareCheck.d.ts +0 -5
  343. package/dist/components/Icons/cfx-icons/SquareCheck.js +0 -27
  344. package/dist/components/Icons/cfx-icons-big/Confirm.d.ts +0 -5
  345. package/dist/components/Icons/cfx-icons-big/Confirm.js +0 -39
  346. package/dist/components/Icons/cfx-icons-big/Like.d.ts +0 -5
  347. package/dist/components/Icons/cfx-icons-big/Like.js +0 -25
  348. package/dist/components/Icons/cfx-icons-big/Subscriptions.d.ts +0 -5
  349. package/dist/components/Icons/cfx-icons-big/Subscriptions.js +0 -33
  350. package/dist/components/Icons/cfx-icons-big/Warning.js +0 -27
  351. package/dist/components/Icons/cfxIconsBig.d.ts +0 -5
  352. package/dist/components/Icons/cfxIconsBig.js +0 -12
  353. /package/dist/components/Icons/{cfx-icons-big → cfx-iconsXLarge}/Upload.d.ts +0 -0
  354. /package/dist/components/Icons/{cfx-icons-big → cfx-iconsXLarge}/Warning.d.ts +0 -0
@@ -1,23 +1,103 @@
1
- import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import i from "react";
3
- import r from "../Flex/Flex.js";
1
+ import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
+ import n from "react";
3
+ import t from "../Flex/Flex.js";
4
+ import { Icon as r } from "../Icon/Icon.js";
4
5
  import { Text as o } from "../Text/Text.js";
5
6
  import "../../utils/ui/ui.js";
6
7
  import { Title as l } from "./Title.js";
7
- function m() {
8
- return /* @__PURE__ */ e(r, { gap: "large", vertical: !0, children: /* @__PURE__ */ t(r, { gap: "normal", vertical: !0, children: [
9
- /* @__PURE__ */ e(o, { children: "Hover case" }),
10
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
11
- l,
12
- {
13
- title: "This is a title",
14
- fixedOn: "bottom",
15
- children: /* @__PURE__ */ e("span", { style: { marginTop: "100px" }, children: "Hover me" })
16
- }
17
- ) })
18
- ] }) });
8
+ function d() {
9
+ return /* @__PURE__ */ i(t, { gap: "xxxlarge", vertical: !0, children: [
10
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
11
+ /* @__PURE__ */ e(o, { children: "Icon" }),
12
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
13
+ l,
14
+ {
15
+ title: "This can be used for tooltips",
16
+ fixedOn: "top",
17
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
18
+ }
19
+ ) })
20
+ ] }),
21
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
22
+ /* @__PURE__ */ e(o, { children: "Top" }),
23
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
24
+ l,
25
+ {
26
+ title: "This should be on the top",
27
+ fixedOn: "top",
28
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
29
+ }
30
+ ) })
31
+ ] }),
32
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
33
+ /* @__PURE__ */ e(o, { children: "Bottom" }),
34
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
35
+ l,
36
+ {
37
+ title: "This should be on the bottom",
38
+ fixedOn: "bottom",
39
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
40
+ }
41
+ ) })
42
+ ] }),
43
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
44
+ /* @__PURE__ */ e(o, { children: "Left" }),
45
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
46
+ l,
47
+ {
48
+ title: "This should be on the left",
49
+ fixedOn: "left",
50
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
51
+ }
52
+ ) })
53
+ ] }),
54
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
55
+ /* @__PURE__ */ e(o, { children: "Right" }),
56
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
57
+ l,
58
+ {
59
+ title: "This should be on the right",
60
+ fixedOn: "right",
61
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
62
+ }
63
+ ) })
64
+ ] }),
65
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
66
+ /* @__PURE__ */ e(o, { children: "Top-left" }),
67
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
68
+ l,
69
+ {
70
+ title: "This should be on the top-left",
71
+ fixedOn: "top-left",
72
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
73
+ }
74
+ ) })
75
+ ] }),
76
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
77
+ /* @__PURE__ */ e(o, { children: "Bottom-left" }),
78
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
79
+ l,
80
+ {
81
+ title: "This should be on the bottom-left",
82
+ fixedOn: "bottom-left",
83
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
84
+ }
85
+ ) })
86
+ ] }),
87
+ /* @__PURE__ */ i(t, { gap: "medium", vertical: !0, children: [
88
+ /* @__PURE__ */ e(o, { children: "Bottom-right" }),
89
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
90
+ l,
91
+ {
92
+ title: "This should be on the bottom-right",
93
+ fixedOn: "bottom-right",
94
+ children: /* @__PURE__ */ e(r, { name: "MoreInfo" })
95
+ }
96
+ ) })
97
+ ] })
98
+ ] });
19
99
  }
20
- const f = i.memo(m);
100
+ const s = n.memo(d);
21
101
  export {
22
- f as default
102
+ s as default
23
103
  };
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
 
3
3
  export declare enum ToggleGroupSizeEnum {
4
- normal = "normal",
4
+ small = "small",
5
5
  large = "large"
6
6
  }
7
7
  export type ToggleGroupSizeType = keyof typeof ToggleGroupSizeEnum;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as m, jsx as d } from "react/jsx-runtime";
2
2
  import p from "react";
3
3
  import { clsx as g } from "../../utils/clsx.js";
4
- const x = "cfxui__ToggleGroup__unsetAll__6911e", h = "cfxui__ToggleGroup__root__fb460", v = "cfxui__ToggleGroup__disabled__75462", G = "cfxui__ToggleGroup__fullWidth__0c589", T = "cfxui__ToggleGroup__large__ad624", C = "cfxui__ToggleGroup__options__7bc0c", W = "cfxui__ToggleGroup__option__8436c", k = "cfxui__ToggleGroup__active__84da0", N = "cfxui__ToggleGroup__multiline__6b784", o = {
4
+ const x = "cfxui__ToggleGroup__unsetAll__6911e", h = "cfxui__ToggleGroup__root__fb460", v = "cfxui__ToggleGroup__disabled__75462", G = "cfxui__ToggleGroup__fullWidth__0c589", T = "cfxui__ToggleGroup__large__ad624", C = "cfxui__ToggleGroup__options__7bc0c", W = "cfxui__ToggleGroup__option__8436c", k = "cfxui__ToggleGroup__active__84da0", N = "cfxui__ToggleGroup__multiline__6b784", l = {
5
5
  unsetAll: x,
6
6
  root: h,
7
7
  disabled: v,
@@ -12,52 +12,52 @@ const x = "cfxui__ToggleGroup__unsetAll__6911e", h = "cfxui__ToggleGroup__root__
12
12
  active: k,
13
13
  multiline: N
14
14
  };
15
- var A = /* @__PURE__ */ ((t) => (t.normal = "normal", t.large = "large", t))(A || {});
16
- const y = p.memo(function(s) {
15
+ var A = /* @__PURE__ */ ((t) => (t.small = "small", t.large = "large", t))(A || {});
16
+ const y = p.memo(function(_) {
17
17
  const {
18
18
  option: e,
19
19
  onClick: i,
20
20
  active: c = !1,
21
21
  disabled: n = !1
22
- } = s, {
23
- value: l,
22
+ } = _, {
23
+ value: o,
24
24
  label: a,
25
- icon: _
25
+ icon: s
26
26
  } = e, u = p.useCallback(() => {
27
- i(l);
28
- }, [i, l]);
27
+ i(o);
28
+ }, [i, o]);
29
29
  return /* @__PURE__ */ m(
30
30
  "button",
31
31
  {
32
32
  type: "button",
33
- className: g(o.unsetAll, o.option, {
34
- [o.active]: c
33
+ className: g(l.unsetAll, l.option, {
34
+ [l.active]: c
35
35
  }),
36
36
  tabIndex: n ? 0 : 1,
37
37
  onClick: u,
38
38
  disabled: n,
39
39
  children: [
40
- _ || null,
40
+ s || null,
41
41
  a
42
42
  ]
43
43
  },
44
- l
44
+ o
45
45
  );
46
- }), I = p.memo(function(s) {
46
+ }), I = p.memo(function(_) {
47
47
  const {
48
48
  value: e,
49
49
  options: i,
50
50
  onChange: c,
51
51
  className: n = "",
52
- disabled: l = !1,
52
+ disabled: o = !1,
53
53
  multiline: a = !1,
54
- fullWidth: _ = !1,
55
- size: u = "normal",
54
+ fullWidth: s = !1,
55
+ size: u = "small",
56
56
  name: f
57
- } = s, b = g(o.root, o[u], n, {
58
- [o.disabled]: l,
59
- [o.multiline]: a,
60
- [o.fullWidth]: _
57
+ } = _, b = g(l.root, l[u], n, {
58
+ [l.disabled]: o,
59
+ [l.multiline]: a,
60
+ [l.fullWidth]: s
61
61
  });
62
62
  return /* @__PURE__ */ m("div", { className: b, children: [
63
63
  f && /* @__PURE__ */ d(
@@ -68,13 +68,13 @@ const y = p.memo(function(s) {
68
68
  value: e
69
69
  }
70
70
  ),
71
- /* @__PURE__ */ d("div", { className: g(o.options, { [o.fullWidth]: _ }), children: i.map((r) => /* @__PURE__ */ d(
71
+ /* @__PURE__ */ d("div", { className: g(l.options, { [l.fullWidth]: s }), children: i.map((r) => /* @__PURE__ */ d(
72
72
  y,
73
73
  {
74
74
  option: r,
75
75
  onClick: c,
76
76
  active: r.value === e,
77
- disabled: l
77
+ disabled: o
78
78
  },
79
79
  r.value
80
80
  )) })
@@ -1,10 +1,10 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import u from "react";
3
- import r from "../Flex/Flex.js";
4
- import { Text as o } from "../Text/Text.js";
2
+ import a from "react";
3
+ import i from "../Flex/Flex.js";
4
+ import { Text as n } from "../Text/Text.js";
5
5
  import "../../utils/ui/ui.js";
6
- import { ToggleGroup as n } from "./ToggleGroup.js";
7
- const a = [
6
+ import { ToggleGroup as o } from "./ToggleGroup.js";
7
+ const d = [
8
8
  {
9
9
  value: "weekly",
10
10
  label: "Weekly"
@@ -13,85 +13,121 @@ const a = [
13
13
  value: "monthly",
14
14
  label: "Monthly"
15
15
  }
16
+ ], u = [
17
+ {
18
+ value: "weekly",
19
+ label: "Weekly"
20
+ },
21
+ {
22
+ value: "monthly",
23
+ label: "Monthly"
24
+ },
25
+ {
26
+ value: "yearly",
27
+ label: "Yearly"
28
+ }
16
29
  ];
17
- function d() {
18
- const [i, t] = u.useState("weekly");
19
- return /* @__PURE__ */ l(r, { gap: "large", vertical: !0, children: [
20
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
21
- /* @__PURE__ */ e(o, { children: "Default ToggleGroup" }),
30
+ function h() {
31
+ const [r, t] = a.useState("weekly");
32
+ return /* @__PURE__ */ l(i, { gap: "large", vertical: !0, children: [
33
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
34
+ /* @__PURE__ */ e(n, { children: "Default ToggleGroup" }),
22
35
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
23
- n,
36
+ o,
24
37
  {
25
- value: i,
38
+ value: r,
26
39
  onChange: t,
27
- options: a
40
+ options: d
28
41
  }
29
42
  ) })
30
43
  ] }),
31
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
32
- /* @__PURE__ */ e(o, { children: "Full Width ToggleGroup" }),
44
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
45
+ /* @__PURE__ */ e(n, { children: "Full Width ToggleGroup" }),
33
46
  /* @__PURE__ */ e("div", { style: { width: "100%" }, children: /* @__PURE__ */ e(
34
- n,
47
+ o,
35
48
  {
36
- value: i,
49
+ value: r,
37
50
  onChange: t,
38
- options: a,
51
+ options: d,
39
52
  fullWidth: !0
40
53
  }
41
54
  ) })
42
55
  ] }),
43
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
44
- /* @__PURE__ */ e(o, { children: "Disabled ToggleGroup" }),
56
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
57
+ /* @__PURE__ */ e(n, { children: "Disabled ToggleGroup" }),
45
58
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
46
- n,
59
+ o,
47
60
  {
48
- value: i,
61
+ value: r,
49
62
  onChange: t,
50
- options: a,
63
+ options: d,
51
64
  disabled: !0
52
65
  }
53
66
  ) })
54
67
  ] }),
55
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
56
- /* @__PURE__ */ e(o, { children: "Multiline ToggleGroup" }),
68
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
69
+ /* @__PURE__ */ e(n, { children: "Multiline ToggleGroup" }),
57
70
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
58
- n,
71
+ o,
59
72
  {
60
- value: i,
73
+ value: r,
61
74
  onChange: t,
62
- options: a,
75
+ options: d,
63
76
  multiline: !0
64
77
  }
65
78
  ) })
66
79
  ] }),
67
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
68
- /* @__PURE__ */ e(o, { children: "Multiline Full Width ToggleGroup" }),
80
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
81
+ /* @__PURE__ */ e(n, { children: "Multiline Full Width ToggleGroup" }),
69
82
  /* @__PURE__ */ e("div", { style: { width: "100%" }, children: /* @__PURE__ */ e(
70
- n,
83
+ o,
71
84
  {
72
- value: i,
85
+ value: r,
73
86
  onChange: t,
74
- options: a,
87
+ options: d,
75
88
  multiline: !0,
76
89
  fullWidth: !0
77
90
  }
78
91
  ) })
79
92
  ] }),
80
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
81
- /* @__PURE__ */ e(o, { children: "ToggleGroup Size Large" }),
93
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
94
+ /* @__PURE__ */ e(n, { children: "ToggleGroup Size Large" }),
82
95
  /* @__PURE__ */ e("div", { style: { width: "100%" }, children: /* @__PURE__ */ e(
83
- n,
96
+ o,
84
97
  {
85
- value: i,
98
+ value: r,
86
99
  onChange: t,
87
- options: a,
100
+ options: d,
88
101
  size: "large"
89
102
  }
90
103
  ) })
104
+ ] }),
105
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
106
+ /* @__PURE__ */ e(n, { children: "3 Items" }),
107
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
108
+ o,
109
+ {
110
+ value: r,
111
+ onChange: t,
112
+ options: u
113
+ }
114
+ ) })
115
+ ] }),
116
+ /* @__PURE__ */ l(i, { gap: "medium", vertical: !0, children: [
117
+ /* @__PURE__ */ e(n, { children: "3 Items Full width" }),
118
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
119
+ o,
120
+ {
121
+ value: r,
122
+ onChange: t,
123
+ options: u,
124
+ fullWidth: !0
125
+ }
126
+ ) })
91
127
  ] })
92
128
  ] });
93
129
  }
94
- const v = u.memo(d);
130
+ const y = a.memo(h);
95
131
  export {
96
- v as default
132
+ y as default
97
133
  };
package/dist/main.d.ts CHANGED
@@ -15,8 +15,8 @@ export { debounce, throttle, } from './utils/execution';
15
15
  export type { SetTimeoutReturn } from './utils/execution';
16
16
  export { getColor } from './utils/color';
17
17
  export type { GetColorProps } from './utils/color';
18
- export { ui, OffsetEnum, MediaQueryEnum, MediaQueryValuesMap, BorderRadiusEnum, ZIndexEnum, ColorEnum, } from './utils/ui';
19
- export type { OffsetType, MediaQueryType, ResponsiveOffsetType, ResponsiveValueType, MPProps, BorderRadiusType, ZIndexType, ColorType, OpacityRange, } from './utils/ui';
18
+ export { ui, OffsetEnum, MediaQueryEnum, MediaQueryValuesMap, BorderRadiusEnum, ZIndexEnum, ColorEnum, SpacerEnum, SpacingEnum, } from './utils/ui';
19
+ export type { SpacerType, SpacingType, OffsetType, MediaQueryType, ResponsiveOffsetType, ResponsiveSizeUnitType, ResponsiveValueType, MPProps, BorderRadiusType, ZIndexType, ColorType, OpacityRange, } from './utils/ui';
20
20
  export { isInEnum } from './utils/enum';
21
21
  export { joaat32 } from './utils/joaat32';
22
22
  export { IconButton } from './components/IconButton';
@@ -51,12 +51,11 @@ export { Flyout, FLYOUT_OUTLET_ID, FLYOUT_ROOT_ID, FLYOUT_ROOT_SHRINK_CLASSNAME,
51
51
  export type { FlyoutSize, FlyoutProps } from './components/Flyout';
52
52
  export { Logos } from './components/Logos';
53
53
  export type { LogoNames } from './components/Logos';
54
- export { Icons, IconsBig } from './components/Icons';
55
- export type { IconName, IconBigName } from './components/Icons';
54
+ export { Icons } from './components/Icons';
55
+ export { IconsXLarge } from './components/Icons';
56
+ export type { IconName } from './components/Icons';
56
57
  export { Icon } from './components/Icon';
57
58
  export type { IconProps, IconSize } from './components/Icon';
58
- export { IconBig } from './components/IconBig';
59
- export type { IconBigProps, IconBigSize } from './components/IconBig';
60
59
  export { Indicator } from './components/Indicator';
61
60
  export type { IndicatorProps } from './components/Indicator';
62
61
  export { InfoPanel } from './components/InfoPanel';