@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,7 +1,42 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import i from "react";
3
- import t from "./TextShowcase.js";
4
- const a = [
3
+ import s from "./TextShowcase.js";
4
+ const p = [
5
+ {
6
+ textProps: {
7
+ size: "xxxxlarge",
8
+ weight: "bold",
9
+ as: "h1",
10
+ family: "secondary"
11
+ },
12
+ title: "00",
13
+ descriptions: [
14
+ "Helvetica Now Display Bold",
15
+ "-2.5% Letter Spacing"
16
+ ],
17
+ responsiveInfo: {
18
+ mobile: {
19
+ size: "gs(450), 48px",
20
+ lineHeight: "110%",
21
+ paragraph: "gs(200), 20px"
22
+ },
23
+ tablet: {
24
+ size: "gs(800), 80px",
25
+ lineHeight: "110%",
26
+ paragraph: "gs(350), 32px"
27
+ },
28
+ desktop: {
29
+ size: "gs(1200), 120px",
30
+ lineHeight: "110%",
31
+ paragraph: "gs(500), 50px"
32
+ },
33
+ ldesktop: {
34
+ size: "gs(1200), 120px",
35
+ lineHeight: "110%",
36
+ paragraph: "gs(500), 50px"
37
+ }
38
+ }
39
+ },
5
40
  {
6
41
  textProps: {
7
42
  size: "xxxlarge",
@@ -12,10 +47,30 @@ const a = [
12
47
  title: "01",
13
48
  descriptions: [
14
49
  "Helvetica Now Display Bold",
15
- "70px",
16
- "115% Line Height",
17
50
  "-2.5% Letter Spacing"
18
- ]
51
+ ],
52
+ responsiveInfo: {
53
+ mobile: {
54
+ size: "gs(400), 40px",
55
+ lineHeight: "110%",
56
+ paragraph: "gs(140), 14px"
57
+ },
58
+ tablet: {
59
+ size: "gs(700), 72px",
60
+ lineHeight: "110%",
61
+ paragraph: "gs(300), 30px"
62
+ },
63
+ desktop: {
64
+ size: "gs(1000), 100px",
65
+ lineHeight: "110%",
66
+ paragraph: "gs(400), 40px"
67
+ },
68
+ ldesktop: {
69
+ size: "gs(1000), 100px",
70
+ lineHeight: "110%",
71
+ paragraph: "gs(400), 40px"
72
+ }
73
+ }
19
74
  },
20
75
  {
21
76
  textProps: {
@@ -27,10 +82,30 @@ const a = [
27
82
  title: "02",
28
83
  descriptions: [
29
84
  "Helvetica Now Display Bold",
30
- "50px",
31
- "135% Line Height",
32
85
  "-2.5% Letter Spacing"
33
- ]
86
+ ],
87
+ responsiveInfo: {
88
+ mobile: {
89
+ size: "gs(350), 32px",
90
+ lineHeight: "120%",
91
+ paragraph: "gs(120), 12px"
92
+ },
93
+ tablet: {
94
+ size: "gs(400), 40px",
95
+ lineHeight: "120%",
96
+ paragraph: "gs(150), 15px"
97
+ },
98
+ desktop: {
99
+ size: "gs(500), 50px",
100
+ lineHeight: "120%",
101
+ paragraph: "gs(200), 20px"
102
+ },
103
+ ldesktop: {
104
+ size: "gs(500), 50px",
105
+ lineHeight: "120%",
106
+ paragraph: "gs(200), 20px"
107
+ }
108
+ }
34
109
  },
35
110
  {
36
111
  textProps: {
@@ -42,10 +117,30 @@ const a = [
42
117
  title: "03",
43
118
  descriptions: [
44
119
  "Helvetica Now Display Bold",
45
- "40px",
46
- "130% Line Height",
47
120
  "-2.5% Letter Spacing"
48
- ]
121
+ ],
122
+ responsiveInfo: {
123
+ mobile: {
124
+ size: "gs(250), 25px",
125
+ lineHeight: "120%",
126
+ paragraph: "gs(110), 10px"
127
+ },
128
+ tablet: {
129
+ size: "gs(300), 30px",
130
+ lineHeight: "120%",
131
+ paragraph: "gs(140), 14px"
132
+ },
133
+ desktop: {
134
+ size: "gs(400), 40px",
135
+ lineHeight: "120%",
136
+ paragraph: "gs(180), 18px"
137
+ },
138
+ ldesktop: {
139
+ size: "gs(400), 40px",
140
+ lineHeight: "120%",
141
+ paragraph: "gs(180), 18px"
142
+ }
143
+ }
49
144
  },
50
145
  {
51
146
  textProps: {
@@ -57,10 +152,30 @@ const a = [
57
152
  title: "04",
58
153
  descriptions: [
59
154
  "Helvetica Now Display Bold",
60
- "30px",
61
- "130% Line Height",
62
155
  "-2.5% Letter Spacing"
63
- ]
156
+ ],
157
+ responsiveInfo: {
158
+ mobile: {
159
+ size: "gs(240), 24px",
160
+ lineHeight: "120%",
161
+ paragraph: "gs(110), 10px"
162
+ },
163
+ tablet: {
164
+ size: "gs(240), 24px",
165
+ lineHeight: "120%",
166
+ paragraph: "gs(110), 10px"
167
+ },
168
+ desktop: {
169
+ size: "gs(300), 30px",
170
+ lineHeight: "120%",
171
+ paragraph: "gs(200), 20px"
172
+ },
173
+ ldesktop: {
174
+ size: "gs(300), 30px",
175
+ lineHeight: "120%",
176
+ paragraph: "gs(200), 20px"
177
+ }
178
+ }
64
179
  },
65
180
  {
66
181
  textProps: {
@@ -72,10 +187,30 @@ const a = [
72
187
  title: "05",
73
188
  descriptions: [
74
189
  "Helvetica Now Display Bold",
75
- "25px",
76
- "130% Line Height",
77
190
  "-2.5% Letter Spacing"
78
- ]
191
+ ],
192
+ responsiveInfo: {
193
+ mobile: {
194
+ size: "gs(200), 20px",
195
+ lineHeight: "130%",
196
+ paragraph: "gs(100), 8px"
197
+ },
198
+ tablet: {
199
+ size: "gs(200), 20px",
200
+ lineHeight: "130%",
201
+ paragraph: "gs(100), 8px"
202
+ },
203
+ desktop: {
204
+ size: "gs(240), 24px",
205
+ lineHeight: "130%",
206
+ paragraph: "gs(110), 10px"
207
+ },
208
+ ldesktop: {
209
+ size: "gs(240), 24px",
210
+ lineHeight: "130%",
211
+ paragraph: "gs(110), 10px"
212
+ }
213
+ }
79
214
  },
80
215
  {
81
216
  textProps: {
@@ -86,16 +221,36 @@ const a = [
86
221
  title: "06",
87
222
  descriptions: [
88
223
  "Helvetica Now Display Regular",
89
- "25px",
90
- "130% Line Height",
91
224
  "-2.5% Letter Spacing"
92
- ]
225
+ ],
226
+ responsiveInfo: {
227
+ mobile: {
228
+ size: "gs(200), 20px",
229
+ lineHeight: "130%",
230
+ paragraph: "gs(100), 8px"
231
+ },
232
+ tablet: {
233
+ size: "gs(200), 20px",
234
+ lineHeight: "130%",
235
+ paragraph: "gs(100), 8px"
236
+ },
237
+ desktop: {
238
+ size: "gs(240), 24px",
239
+ lineHeight: "130%",
240
+ paragraph: "gs(110), 10px"
241
+ },
242
+ ldesktop: {
243
+ size: "gs(240), 24px",
244
+ lineHeight: "130%",
245
+ paragraph: "gs(110), 10px"
246
+ }
247
+ }
93
248
  }
94
249
  ];
95
- function s() {
96
- return /* @__PURE__ */ e(t, { items: a });
250
+ function a() {
251
+ return /* @__PURE__ */ e(s, { items: p });
97
252
  }
98
- const p = i.memo(s);
253
+ const l = i.memo(a);
99
254
  export {
100
- p as default
255
+ l as default
101
256
  };
@@ -2,6 +2,7 @@ import { TextOpacity, ResponsiveTextSize, TextPropsWithRef, TextSpecificOpacity
2
2
 
3
3
  export declare const textSizeResponsiveValueFormatter: (val: ResponsiveTextSize) => string;
4
4
  export declare const lineHeightResponsiveValueFormatter: (val: ResponsiveTextSize) => string;
5
+ export declare const paragraphSpacingResponsiveValueFormatter: (val: ResponsiveTextSize) => string;
5
6
  export declare const TEXT_OPACITY_MAP: Record<TextSpecificOpacity, number | string>;
6
7
  export declare const getTextOpacity: (opacity?: TextOpacity, otherwise?: string | number) => string | number;
7
8
  export declare const DEFAULT_TEXT_COLOR = "primary";
@@ -1,17 +1,17 @@
1
- import { jsx as a } from "react/jsx-runtime";
2
- import { clsx as H } from "../../utils/clsx.js";
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { clsx as v } from "../../utils/clsx.js";
3
3
  import { getColor as N } from "../../utils/color.js";
4
4
  import { ui as t } from "../../utils/ui/ui.js";
5
- import { TextSizeEnum as s } from "../../utils/ui/ui.types.js";
6
- const O = "cfxui__Text__root__2fe11", P = "cfxui__Text__centered__4d7bd", $ = "cfxui__Text__underlined__5860e", w = "cfxui__Text__strikethrough__e3ee3", B = "cfxui__Text__truncated__417f4", D = "cfxui__Text__typographic__d8155", I = "cfxui__Text__block__cb1b6", r = {
5
+ import { TextSizeEnum as i } from "../../utils/ui/ui.types.js";
6
+ const O = "cfxui__Text__root__2fe11", P = "cfxui__Text__centered__4d7bd", V = "cfxui__Text__underlined__5860e", $ = "cfxui__Text__strikethrough__e3ee3", q = "cfxui__Text__truncated__417f4", w = "cfxui__Text__typographic__d8155", B = "cfxui__Text__block__cb1b6", r = {
7
7
  root: O,
8
8
  centered: P,
9
- underlined: $,
10
- strikethrough: w,
11
- truncated: B,
12
- typographic: D,
13
- block: I
14
- }, L = (e) => e in s ? t.fontSize(e) : typeof e == "number" ? t.q(e) : e, M = (e) => e in s ? t.lineHeight(e) : typeof e == "number" ? e >= 100 ? (e / 100).toFixed(2) : t.lineHeight(s.normal) : e, V = {
9
+ underlined: V,
10
+ strikethrough: $,
11
+ truncated: q,
12
+ typographic: w,
13
+ block: B
14
+ }, D = (e) => e in i ? t.fontSize(e) : typeof e == "number" ? t.q(e) : e, I = (e) => e in i ? t.lineHeight(e) : typeof e == "number" ? e >= 100 ? (e / 100).toFixed(2) : t.lineHeight(i.small) : e, L = (e) => e in i ? t.paragraphSpacing(e) : typeof e == "number" ? t.q(e) : e, M = {
15
15
  0: 0,
16
16
  25: "var(--text-opacity-25)",
17
17
  50: "var(--text-opacity-50)",
@@ -24,79 +24,84 @@ const O = "cfxui__Text__root__2fe11", P = "cfxui__Text__centered__4d7bd", $ = "c
24
24
  h4: "h4",
25
25
  h5: "h5",
26
26
  h6: "h6"
27
- }, j = (e, o = 1) => typeof e == "number" ? e : typeof e == "string" && V[e] || o, q = "primary";
28
- function G(e) {
27
+ }, j = (e, n = 1) => typeof e == "number" ? e : typeof e == "string" && M[e] || n, G = "primary";
28
+ function U(e) {
29
29
  const {
30
- family: o,
31
- size: n = "normal",
32
- lineHeight: l = n,
33
- weight: f = "normal",
34
- letterSpacing: u = "normal",
35
- color: _,
36
- opacity: p,
37
- as: i = "span",
30
+ family: n,
31
+ size: o = "small",
32
+ lineHeight: c = o,
33
+ weight: l = "regular",
34
+ letterSpacing: u = "small",
35
+ color: f,
36
+ opacity: _,
37
+ as: s = "span",
38
38
  centered: h = !1,
39
- truncated: m = !1,
40
- typographic: d = !1,
41
- uppercase: g = !1,
39
+ truncated: g = !1,
40
+ typographic: m = !1,
41
+ uppercase: d = !1,
42
42
  userSelectable: x = !1,
43
43
  underlined: y = !1,
44
44
  strikethrough: T = !1,
45
45
  children: b,
46
- className: k,
47
- style: S,
48
- ref: C,
49
- htmlFor: R,
46
+ className: S,
47
+ style: k,
48
+ ref: R,
49
+ htmlFor: C,
50
50
  id: F
51
- } = e, z = i === "div", v = H(
51
+ } = e, z = s === "div", A = v(
52
52
  r.root,
53
- k,
54
- t.getResponsiveClassnames("font-size", n),
55
- t.getResponsiveClassnames("line-height", n),
53
+ S,
54
+ // TODO: do we need reposive in text now?
55
+ // all sizes is responsive by default
56
+ t.getResponsiveClassnames("font-size", o),
57
+ t.getResponsiveClassnames("line-height", o),
58
+ t.getResponsiveClassnames("paragraph-spacing", o),
56
59
  {
57
60
  [r.block]: z,
58
61
  [r.centered]: h,
59
- [r.truncated]: m,
62
+ [r.truncated]: g,
60
63
  [r.underlined]: y,
61
64
  [r.strikethrough]: T,
62
- [r.typographic]: d,
65
+ [r.typographic]: m,
63
66
  [t.cls.userSelectableText]: x
64
67
  }
65
- ), A = N({
68
+ ), E = N({
66
69
  ...e,
67
- color: _ || q,
68
- opacity: j(p)
69
- }), E = typeof o == "string" ? o : X[i] || "primary", c = {
70
- color: A,
71
- fontFamily: `var(--font-family-${E})`,
70
+ color: f || G,
71
+ opacity: j(_)
72
+ }), H = typeof n == "string" ? n : X[s] || "primary", a = {
73
+ color: E,
74
+ fontFamily: `var(--font-family-${H})`,
72
75
  letterSpacing: `var(--letter-spacing-${u})`,
73
- fontWeight: `var(--font-weight-${f})`,
74
- ...t.getResponsiveStyles("font-size", n, L),
75
- ...t.getResponsiveStyles("line-height", l, M),
76
- ...S
76
+ fontWeight: `var(--font-weight-${l})`,
77
+ ...t.getResponsiveStyles("font-size", o, D),
78
+ ...t.getResponsiveStyles("line-height", c, I),
79
+ ...t.getResponsiveStyles("paragraph-spacing", c, L),
80
+ ...k
77
81
  };
78
- return g && (c.textTransform = "uppercase"), /* @__PURE__ */ a(
79
- i,
82
+ return d && (a.textTransform = "uppercase"), /* @__PURE__ */ p(
83
+ s,
80
84
  {
81
- ref: C,
85
+ ref: R,
82
86
  dir: "auto",
83
- className: v,
84
- style: c,
85
- htmlFor: R,
87
+ className: A,
88
+ style: a,
89
+ htmlFor: C,
86
90
  id: F,
87
91
  children: b
88
92
  }
89
93
  );
90
94
  }
91
- function Z(e) {
92
- return /* @__PURE__ */ a(G, { ...e, as: "div" });
95
+ function ee(e) {
96
+ return /* @__PURE__ */ p(U, { ...e, as: "div" });
93
97
  }
94
98
  export {
95
- q as DEFAULT_TEXT_COLOR,
96
- V as TEXT_OPACITY_MAP,
97
- G as Text,
98
- Z as TextBlock,
99
+ G as DEFAULT_TEXT_COLOR,
100
+ M as TEXT_OPACITY_MAP,
101
+ U as Text,
102
+ ee as TextBlock,
99
103
  j as getTextOpacity,
100
- M as lineHeightResponsiveValueFormatter,
101
- L as textSizeResponsiveValueFormatter
104
+ I as lineHeightResponsiveValueFormatter,
105
+ L as paragraphSpacingResponsiveValueFormatter,
106
+ D as textSizeResponsiveValueFormatter
102
107
  };
@@ -1,15 +1,16 @@
1
1
  import { default as React } from 'react';
2
2
  import { GetColorProps } from '../../utils/color';
3
3
  import { ResponsiveValueType, TextSize as RawTextSize } from '../../utils/ui';
4
- import { OpacityRange } from '../../utils/ui/ui.types';
4
+ import { IconSizeType, OpacityRange } from '../../utils/ui/ui.types';
5
5
 
6
6
  export type TextSize = RawTextSize;
7
7
  export type ResponsiveTextSize = TextSize | string | number;
8
- export type TextWeight = 'thin' | 'normal' | 'bold' | 'bolder';
8
+ export type ResponsiveIconSize = IconSizeType | string | number;
9
+ export type TextWeight = 'thin' | 'regular' | 'bold' | 'bolder';
9
10
  export type TextSpecificOpacity = '0' | '25' | '50' | '75' | '100';
10
11
  export type TextOpacity = TextSpecificOpacity | OpacityRange;
11
12
  export type TextAs = 'span' | 'div' | 'p' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
12
- export type TextLetterSpacing = 'normal' | 'large' | 'xlarge';
13
+ export type TextLetterSpacing = 'small' | 'large' | 'xlarge';
13
14
  export type TextFamaly = 'primary' | 'secondary';
14
15
  interface TextPropsBase {
15
16
  as?: TextAs;
@@ -29,7 +30,8 @@ interface TextPropsBase {
29
30
  size?: ResponsiveValueType<ResponsiveTextSize>;
30
31
  weight?: TextWeight;
31
32
  letterSpacing?: TextLetterSpacing;
32
- lineHeight?: ResponsiveValueType<number>;
33
+ lineHeight?: ResponsiveValueType<TextSize | number>;
34
+ paragraphSpacing?: ResponsiveValueType<TextSize | number>;
33
35
  family?: TextFamaly;
34
36
  children?: React.ReactNode;
35
37
  className?: string;
@@ -1,12 +1,21 @@
1
1
  import { default as React } from 'react';
2
2
  import { TextProps } from './Text.types';
3
3
 
4
- interface TextShowcaseProps {
5
- items: {
6
- textProps: TextProps;
7
- title: string;
8
- descriptions: string[];
9
- }[];
4
+ declare enum ResponsiveKeyEnum {
5
+ mobile = "mobile",
6
+ tablet = "tablet",
7
+ desktop = "desktop",
8
+ ldesktop = "ldesktop"
9
+ }
10
+ type ResponsiveKeyType = keyof typeof ResponsiveKeyEnum;
11
+ export interface TextShowcaseItemType {
12
+ textProps: TextProps;
13
+ title: string;
14
+ descriptions: string[];
15
+ responsiveInfo: Record<ResponsiveKeyType, Record<string, string>>;
16
+ }
17
+ export interface TextShowcaseProps {
18
+ items: TextShowcaseItemType[];
10
19
  }
11
20
  declare const _default: React.NamedExoticComponent<TextShowcaseProps>;
12
21
  export default _default;
@@ -1,50 +1,75 @@
1
- import { jsx as o, jsxs as t, Fragment as a } from "react/jsx-runtime";
2
- import s from "react";
3
- import m from "../Flex/Flex.js";
4
- import { Separator as l } from "../Separator/Separator.js";
5
- import { Text as c } from "./Text.js";
6
- const _ = "cfxui__TextShowcase__root__a3632", f = {
7
- root: _
8
- }, u = "The quick brown fox jumps over the lazy dog.", T = "How vexingly quick daft zebras jump.";
1
+ import { jsx as r, jsxs as e, Fragment as f } from "react/jsx-runtime";
2
+ import a from "react";
3
+ import s from "../Box/Box.js";
4
+ import "../../utils/ui/ui.js";
5
+ import l from "../Flex/Flex.js";
6
+ import { Separator as d } from "../Separator/Separator.js";
7
+ import { Text as i } from "./Text.js";
8
+ const u = "cfxui__TextShowcase__responsiveInfoItem__bce26", g = {
9
+ responsiveInfoItem: u
10
+ }, _ = "The quick brown fox jumps over the lazy dog.", b = "How vexingly quick daft zebras jump.";
11
+ var p = /* @__PURE__ */ ((c) => (c.mobile = "mobile", c.tablet = "tablet", c.desktop = "desktop", c.ldesktop = "ldesktop", c))(p || {});
9
12
  function x() {
10
- return /* @__PURE__ */ t(a, { children: [
11
- u,
12
- /* @__PURE__ */ o("br", {}),
13
- T
13
+ return /* @__PURE__ */ e(f, { children: [
14
+ _,
15
+ /* @__PURE__ */ r("br", {}),
16
+ b
14
17
  ] });
15
18
  }
16
- function g(p) {
19
+ function T(c) {
17
20
  const {
18
- items: d
19
- } = p;
20
- return /* @__PURE__ */ o(m, { direction: "column", children: d.map((r, h) => /* @__PURE__ */ t(a, { children: [
21
- h > 0 && /* @__PURE__ */ o(l, { mt: 6, mb: 6 }),
22
- /* @__PURE__ */ t("div", { className: f.root, children: [
23
- /* @__PURE__ */ t("div", { children: [
24
- /* @__PURE__ */ o(c, { ...r.textProps, children: r.title }),
25
- /* @__PURE__ */ o("br", {}),
26
- /* @__PURE__ */ t(c, { color: "secondary", children: [
27
- r.descriptions.map((e, n) => (
21
+ items: h
22
+ } = c;
23
+ return /* @__PURE__ */ r(l, { direction: "column", gap: "xlarge", children: h.map((o) => /* @__PURE__ */ e(a.Fragment, { children: [
24
+ /* @__PURE__ */ e(l, { direction: "column", gap: 2, children: [
25
+ /* @__PURE__ */ r(i, { ...o.textProps, children: /* @__PURE__ */ r(x, {}) }),
26
+ /* @__PURE__ */ e(l, { gap: 2, children: [
27
+ /* @__PURE__ */ e(s, { fullWidth: !0, children: [
28
+ /* @__PURE__ */ r(d, { content: "description", my: "large" }),
29
+ /* @__PURE__ */ r(i, { size: "large", children: o.title }),
30
+ /* @__PURE__ */ r("br", {}),
31
+ /* @__PURE__ */ r(i, { color: "secondary", children: o.descriptions.map((t, n) => (
28
32
  // eslint-disable-next-line react/no-array-index-key
29
- /* @__PURE__ */ t(s.Fragment, { children: [
30
- e,
31
- n < r.descriptions.length - 1 && /* @__PURE__ */ o("br", {})
33
+ /* @__PURE__ */ e(a.Fragment, { children: [
34
+ t,
35
+ n < o.descriptions.length - 1 && /* @__PURE__ */ r("br", {})
32
36
  ] }, `description_${n}`)
33
- )),
34
- Object.entries(r.textProps).map(([e, n], i) => /* @__PURE__ */ t(s.Fragment, { children: [
35
- r.descriptions.length > 0 && i === 0 && /* @__PURE__ */ o(l, { content: "props", offset: "large" }),
36
- e,
37
+ )) })
38
+ ] }),
39
+ /* @__PURE__ */ e(s, { fullWidth: !0, children: [
40
+ /* @__PURE__ */ r(d, { content: "props", my: "large" }),
41
+ /* @__PURE__ */ r(i, { color: "secondary", children: Object.entries(o.textProps).map(([t, n], m) => /* @__PURE__ */ e(a.Fragment, { children: [
42
+ t,
37
43
  ":",
44
+ " ",
38
45
  n.toString(),
39
- i < r.descriptions.length - 1 && /* @__PURE__ */ o("br", {})
40
- ] }, `prop_${e}`))
46
+ m < o.descriptions.length - 1 && /* @__PURE__ */ r("br", {})
47
+ ] }, `prop_${t}`)) })
41
48
  ] })
42
- ] }),
43
- /* @__PURE__ */ o(c, { ...r.textProps, children: /* @__PURE__ */ o(x, {}) })
44
- ] }, `prop_${r.title}`)
45
- ] })) });
49
+ ] })
50
+ ] }),
51
+ /* @__PURE__ */ e(l, { direction: "column", gap: 2, children: [
52
+ /* @__PURE__ */ r(d, { content: "responsive", my: "large" }),
53
+ /* @__PURE__ */ r(l, { wrap: !0, gap: 2, children: Object.keys(p).map((t) => /* @__PURE__ */ e("div", { className: g.responsiveInfoItem, children: [
54
+ /* @__PURE__ */ r(i, { size: "xsmall", color: "secondary", luminance: 300, children: t }),
55
+ Object.keys(o.responsiveInfo[t]).map((n) => /* @__PURE__ */ e(
56
+ l,
57
+ {
58
+ fullWidth: !0,
59
+ justifyContent: "space-between",
60
+ gap: 1,
61
+ children: [
62
+ /* @__PURE__ */ r("div", { children: n }),
63
+ /* @__PURE__ */ r("div", { children: o.responsiveInfo[t][n] })
64
+ ]
65
+ },
66
+ `${t}_${n}`
67
+ ))
68
+ ] }, t)) })
69
+ ] })
70
+ ] }, `prop_${o.title}`)) });
46
71
  }
47
- const C = s.memo(g);
72
+ const F = a.memo(T);
48
73
  export {
49
- C as default
74
+ F as default
50
75
  };