@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,10 +1,10 @@
1
1
  import { jsxs as m, jsx as o } from "react/jsx-runtime";
2
2
  import u from "react";
3
3
  import { Icon as _ } from "../Icon/Icon.js";
4
- import { clsx as x } from "../../utils/clsx.js";
5
- const I = "cfxui__InfoPanel__rootUnset__7ca3f", p = "cfxui__InfoPanel__root__a19ad", P = "cfxui__InfoPanel__interactiveIcon__03510", v = "cfxui__InfoPanel__interactive__1b051", y = "cfxui__InfoPanel__icon__b2fca", d = "cfxui__InfoPanel__content__43082", n = {
6
- rootUnset: I,
7
- root: p,
4
+ import { clsx as I } from "../../utils/clsx.js";
5
+ const p = "cfxui__InfoPanel__rootUnset__7ca3f", x = "cfxui__InfoPanel__root__a19ad", P = "cfxui__InfoPanel__interactiveIcon__03510", v = "cfxui__InfoPanel__interactive__1b051", y = "cfxui__InfoPanel__icon__b2fca", d = "cfxui__InfoPanel__content__43082", n = {
6
+ rootUnset: p,
7
+ root: x,
8
8
  interactiveIcon: P,
9
9
  interactive: v,
10
10
  "type-neutral": "cfxui__InfoPanel__type-neutral__c4653",
@@ -19,13 +19,13 @@ const I = "cfxui__InfoPanel__rootUnset__7ca3f", p = "cfxui__InfoPanel__root__a19
19
19
  function b(a) {
20
20
  const {
21
21
  type: c = "neutral",
22
- size: i = "normal",
22
+ size: i = "medium",
23
23
  className: s,
24
24
  onClick: e,
25
25
  ariaLabel: r,
26
26
  icon: t,
27
27
  children: l
28
- } = a, f = x(
28
+ } = a, f = I(
29
29
  n.rootUnset,
30
30
  n.root,
31
31
  s,
@@ -43,14 +43,14 @@ function b(a) {
43
43
  onClick: e,
44
44
  "aria-label": r,
45
45
  children: [
46
- t && /* @__PURE__ */ o(_, { size: "xxsmall", name: t, className: n.icon }),
46
+ t && /* @__PURE__ */ o(_, { size: "small", name: t, className: n.icon }),
47
47
  /* @__PURE__ */ o("div", { className: n.content, children: l }),
48
- e && /* @__PURE__ */ o(_, { size: "xxsmall", name: "LeftArrow", className: n.interactiveIcon })
48
+ e && /* @__PURE__ */ o(_, { size: "small", name: "RightArrow", className: n.interactiveIcon })
49
49
  ]
50
50
  }
51
51
  );
52
52
  }
53
- const w = u.memo(b);
53
+ const U = u.memo(b);
54
54
  export {
55
- w as default
55
+ U as default
56
56
  };
@@ -1,48 +1,48 @@
1
- import { jsxs as e, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import a from "react";
3
- import n from "../Flex/Flex.js";
4
- import { Text as i } from "../Text/Text.js";
3
+ import i from "../Flex/Flex.js";
4
+ import { Text as n } from "../Text/Text.js";
5
5
  import "../../utils/ui/ui.js";
6
6
  import { LOREM_IPSUM as t } from "../../utils/loremipsum.js";
7
- import l from "./InfoPanel.js";
8
- function c() {
9
- return /* @__PURE__ */ r(i, { size: "small", children: t });
7
+ import c from "./InfoPanel.js";
8
+ function l() {
9
+ return /* @__PURE__ */ e(n, { size: "small", children: t });
10
10
  }
11
11
  const o = () => {
12
12
  };
13
- function h() {
14
- return /* @__PURE__ */ e(n, { gap: "large", vertical: !0, children: [
15
- /* @__PURE__ */ e(n, { gap: "normal", vertical: !0, children: [
16
- /* @__PURE__ */ r(i, { children: "Default" }),
17
- /* @__PURE__ */ r(l, { onClick: o, icon: "Warning", children: /* @__PURE__ */ r(c, {}) })
13
+ function d() {
14
+ return /* @__PURE__ */ r(i, { gap: "large", vertical: !0, children: [
15
+ /* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
16
+ /* @__PURE__ */ e(n, { children: "Default" }),
17
+ /* @__PURE__ */ e(c, { onClick: o, icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
18
18
  ] }),
19
- /* @__PURE__ */ e(n, { gap: "normal", vertical: !0, children: [
20
- /* @__PURE__ */ r(i, { children: "Success" }),
21
- /* @__PURE__ */ r(l, { onClick: o, type: "success", icon: "Close", children: /* @__PURE__ */ r(c, {}) })
19
+ /* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
20
+ /* @__PURE__ */ e(n, { children: "Success" }),
21
+ /* @__PURE__ */ e(c, { onClick: o, type: "success", icon: "Close", children: /* @__PURE__ */ e(l, {}) })
22
22
  ] }),
23
- /* @__PURE__ */ e(n, { gap: "normal", vertical: !0, children: [
24
- /* @__PURE__ */ r(i, { children: "Error" }),
25
- /* @__PURE__ */ r(l, { onClick: o, type: "error", icon: "Users", children: /* @__PURE__ */ r(c, {}) })
23
+ /* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
24
+ /* @__PURE__ */ e(n, { children: "Error" }),
25
+ /* @__PURE__ */ e(c, { onClick: o, type: "error", icon: "Users", children: /* @__PURE__ */ e(l, {}) })
26
26
  ] }),
27
- /* @__PURE__ */ e(n, { gap: "normal", vertical: !0, children: [
28
- /* @__PURE__ */ r(i, { children: "Warning" }),
29
- /* @__PURE__ */ r(l, { onClick: o, type: "warning", icon: "Search", children: /* @__PURE__ */ r(c, {}) })
27
+ /* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
28
+ /* @__PURE__ */ e(n, { children: "Warning" }),
29
+ /* @__PURE__ */ e(c, { onClick: o, type: "warning", icon: "Search", children: /* @__PURE__ */ e(l, {}) })
30
30
  ] }),
31
- /* @__PURE__ */ e(n, { gap: "normal", vertical: !0, children: [
32
- /* @__PURE__ */ r(i, { children: "Small" }),
33
- /* @__PURE__ */ r(l, { onClick: o, size: "small", icon: "Warning", children: /* @__PURE__ */ r(c, {}) })
31
+ /* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
32
+ /* @__PURE__ */ e(n, { children: "Small" }),
33
+ /* @__PURE__ */ e(c, { onClick: o, size: "small", icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
34
34
  ] }),
35
- /* @__PURE__ */ e(n, { gap: "normal", vertical: !0, children: [
36
- /* @__PURE__ */ r(i, { children: "Large" }),
37
- /* @__PURE__ */ r(l, { onClick: o, size: "large", icon: "Warning", children: /* @__PURE__ */ r(c, {}) })
35
+ /* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
36
+ /* @__PURE__ */ e(n, { children: "Large" }),
37
+ /* @__PURE__ */ e(c, { onClick: o, size: "large", icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
38
38
  ] }),
39
- /* @__PURE__ */ e(n, { gap: "normal", vertical: !0, children: [
40
- /* @__PURE__ */ r(i, { children: "Not interactive" }),
41
- /* @__PURE__ */ r(l, { icon: "Warning", children: /* @__PURE__ */ r(c, {}) })
39
+ /* @__PURE__ */ r(i, { gap: "medium", vertical: !0, children: [
40
+ /* @__PURE__ */ e(n, { children: "Not interactive" }),
41
+ /* @__PURE__ */ e(c, { icon: "Warning", children: /* @__PURE__ */ e(l, {}) })
42
42
  ] })
43
43
  ] });
44
44
  }
45
- const v = a.memo(h);
45
+ const v = a.memo(d);
46
46
  export {
47
47
  v as default
48
48
  };
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { IconName } from '../Icon';
3
- import { ResponsiveValueType } from '../../utils/ui';
4
- import { InputSize, InputTheme } from './Input.types';
3
+ import { StateType } from '../StyledInput/StyledInput';
4
+ import { InputTheme } from './Input.types';
5
5
 
6
6
  type InputTypeSpecificProps = {
7
7
  type?: 'text' | 'password' | 'search';
@@ -18,7 +18,6 @@ type InputTypeSpecificProps = {
18
18
  export type InputProps = InputTypeSpecificProps & {
19
19
  name?: string;
20
20
  id?: string;
21
- size?: ResponsiveValueType<InputSize>;
22
21
  theme?: InputTheme;
23
22
  tabIndex?: number;
24
23
  autofocus?: boolean;
@@ -28,6 +27,7 @@ export type InputProps = InputTypeSpecificProps & {
28
27
  containerClassName?: string;
29
28
  placeholder?: string;
30
29
  placeholderIcon?: IconName;
30
+ state?: StateType;
31
31
  disabled?: boolean;
32
32
  loading?: boolean;
33
33
  backdropBlur?: boolean;
@@ -1,143 +1,130 @@
1
- import { jsxs as q, jsx as a } from "react/jsx-runtime";
2
- import i from "react";
1
+ import { jsxs as q, jsx as o } from "react/jsx-runtime";
2
+ import l from "react";
3
3
  import { Icon as H } from "../Icon/Icon.js";
4
4
  import J from "../IconButton/IconButton.js";
5
5
  import { Indicator as L } from "../Indicator/Indicator.js";
6
6
  import O from "../StyledInput/StyledInput.js";
7
- import { clsx as R } from "../../utils/clsx.js";
7
+ import { clsx as w } from "../../utils/clsx.js";
8
8
  import { getValue as P } from "../../utils/getValue.js";
9
- import { ui as Q } from "../../utils/ui/ui.js";
10
- const U = "cfxui__Input__root__6392b", Y = "cfxui__Input__fullWidth__5a033", Z = "cfxui__Input__empty__3b36a", ee = "cfxui__Input__placeholderIcon__4d079", le = "cfxui__Input__input__07830", ae = "cfxui__Input__decorator__3b81f", te = "cfxui__Input__backdropBlur__fdde1", l = {
11
- root: U,
12
- fullWidth: Y,
13
- empty: Z,
14
- placeholderIcon: ee,
15
- input: le,
16
- decorator: ae,
17
- backdropBlur: te,
18
- "size-initial-large": "cfxui__Input__size-initial-large__61eb0",
19
- "size-initial-small": "cfxui__Input__size-initial-small__f4fae",
20
- "size-small-large": "cfxui__Input__size-small-large__6e2dd",
21
- "size-small-small": "cfxui__Input__size-small-small__d0b97",
22
- "size-small-medium-large": "cfxui__Input__size-small-medium-large__ea27c",
23
- "size-small-medium-small": "cfxui__Input__size-small-medium-small__1272f",
24
- "size-medium-large": "cfxui__Input__size-medium-large__5a941",
25
- "size-medium-small": "cfxui__Input__size-medium-small__11d17",
26
- "size-medium-large-large": "cfxui__Input__size-medium-large-large__47a52",
27
- "size-medium-large-small": "cfxui__Input__size-medium-large-small__13d07",
28
- "size-large-large": "cfxui__Input__size-large-large__70f5f",
29
- "size-large-small": "cfxui__Input__size-large-small__3aa81",
30
- "size-xlarge-large": "cfxui__Input__size-xlarge-large__2becf",
31
- "size-xlarge-small": "cfxui__Input__size-xlarge-small__3bac0"
9
+ const Q = "cfxui__Input__root__6392b", U = "cfxui__Input__fullWidth__5a033", Y = "cfxui__Input__empty__3b36a", Z = "cfxui__Input__placeholderIcon__4d079", ee = "cfxui__Input__input__07830", te = "cfxui__Input__decorator__3b81f", oe = "cfxui__Input__backdropBlur__fdde1", e = {
10
+ root: Q,
11
+ fullWidth: U,
12
+ empty: Y,
13
+ placeholderIcon: Z,
14
+ input: ee,
15
+ decorator: te,
16
+ backdropBlur: oe
32
17
  };
33
- function ie(_) {
18
+ function ae(n) {
34
19
  const {
35
- decorator: n,
36
- loading: m,
37
- type: d,
38
- hasValue: t,
39
- onCleare: u
40
- } = _;
41
- return m ? /* @__PURE__ */ a("div", { className: l.decorator, children: /* @__PURE__ */ a(L, {}) }) : n ? /* @__PURE__ */ a("div", { className: l.decorator, children: P(n) }) : d === "search" && t ? /* @__PURE__ */ a("div", { className: l.decorator, children: /* @__PURE__ */ a(J, { size: "xsmall", areaSize: "large", name: "Close", onClick: u }) }) : null;
20
+ decorator: u,
21
+ loading: f,
22
+ type: _,
23
+ hasValue: a,
24
+ onCleare: s
25
+ } = n;
26
+ return f ? /* @__PURE__ */ o("div", { className: e.decorator, children: /* @__PURE__ */ o(L, {}) }) : u ? /* @__PURE__ */ o("div", { className: e.decorator, children: P(u) }) : _ === "search" && a ? /* @__PURE__ */ o("div", { className: e.decorator, children: /* @__PURE__ */ o(J, { size: "xsmall", areaSize: "large", name: "Close", onClick: s }) }) : null;
42
27
  }
43
- function fe(_) {
28
+ function fe(n) {
44
29
  const {
45
- id: n,
46
- name: m,
47
- fullWidth: d = !1,
48
- value: t,
49
- defaultValue: u,
50
- onChange: f,
30
+ id: u,
31
+ name: f,
32
+ fullWidth: _ = !1,
33
+ value: a,
34
+ defaultValue: s,
35
+ onChange: m,
51
36
  onSubmit: p,
52
- onKeyDown: I,
53
- pattern: g,
54
- tabIndex: w,
55
- loading: v = !1,
56
- spellCheck: E = !0,
57
- autofocus: V = !1,
37
+ onKeyDown: h,
38
+ pattern: I,
39
+ tabIndex: R,
40
+ loading: E = !1,
41
+ spellCheck: V = !0,
42
+ autofocus: v = !1,
58
43
  disabled: B = !1,
59
44
  className: S,
60
45
  containerClassName: W,
61
- placeholder: o = "",
62
- placeholderIcon: c,
63
- type: z = "text",
64
- size: h = "normal",
65
- theme: b = "default",
66
- decorator: D,
46
+ placeholder: i = "",
47
+ placeholderIcon: d,
48
+ state: D,
49
+ type: x = "text",
50
+ theme: C = "default",
51
+ decorator: A,
67
52
  backdropBlur: F = !1,
68
- ref: A
69
- } = _, [x, K] = i.useState(t || u), C = typeof x < "u" && x !== "" && x !== null || typeof t < "u" && t !== "" && t !== null;
70
- let y, N, k;
71
- if (_.type === "number") {
53
+ ref: K
54
+ } = n, [b, M] = l.useState(a || s), y = typeof b < "u" && b !== "" && b !== null || typeof a < "u" && a !== "" && a !== null;
55
+ let N, k, g;
56
+ if (n.type === "number") {
72
57
  const {
73
- min: e,
74
- max: s,
58
+ min: t,
59
+ max: c,
75
60
  step: $
76
- } = _;
77
- k = $ ?? 1, y = e ?? Number.MIN_SAFE_INTEGER, N = s ?? Number.MAX_SAFE_INTEGER;
61
+ } = n;
62
+ g = $ ?? 1, N = t ?? Number.MIN_SAFE_INTEGER, k = c ?? Number.MAX_SAFE_INTEGER;
78
63
  }
79
- const r = i.useCallback((e) => {
80
- K(e), f && f(e);
81
- }, [f]), M = i.useCallback(
82
- (e) => {
64
+ const r = l.useCallback((t) => {
65
+ M(t), m && m(t);
66
+ }, [m]), j = l.useCallback(
67
+ (t) => {
83
68
  const {
84
- value: s
85
- } = e.target;
86
- if (g) {
87
- g.test(s) && r(s);
69
+ value: c
70
+ } = t.target;
71
+ if (I) {
72
+ I.test(c) && r(c);
88
73
  return;
89
74
  }
90
- r(s);
75
+ r(c);
91
76
  },
92
- [r, g]
93
- ), j = i.useCallback((e) => {
94
- I && I(e), p && e.key === "Enter" && p();
95
- }, [I, p]), G = i.useCallback(() => {
77
+ [r, I]
78
+ ), z = l.useCallback((t) => {
79
+ h && h(t), p && t.key === "Enter" && p();
80
+ }, [h, p]), G = l.useCallback(() => {
96
81
  r("");
97
- }, [r]), T = R(
98
- l.root,
99
- l[b],
82
+ }, [r]), T = w(
83
+ e.root,
84
+ e[C],
100
85
  W,
101
- Q.getResponsiveFlatClassnames("size", h).map((e) => l[e]),
102
86
  {
103
- [l.fullWidth]: d,
104
- [l.backdropBlur]: F,
105
- [l.empty]: !C
87
+ [e.fullWidth]: _,
88
+ [e.backdropBlur]: F,
89
+ [e.empty]: !y
106
90
  }
107
- ), X = i.useMemo(() => o ? c ? ` ${o.trim()}` : o.trim() : "", [o, c]);
91
+ ), X = l.useMemo(() => i ? d ? ` ${i.trim()}` : i.trim() : "", [i, d]);
108
92
  return /* @__PURE__ */ q("div", { className: T, children: [
109
- /* @__PURE__ */ a(
93
+ /* @__PURE__ */ o(
110
94
  O,
111
95
  {
112
- size: h,
113
- theme: b,
114
- id: n,
115
- name: m,
116
- ref: A,
117
- type: z,
118
- tabIndex: w,
119
- className: R(l.input, S),
120
- value: t,
96
+ theme: C,
97
+ id: u,
98
+ name: f,
99
+ ref: K,
100
+ type: x,
101
+ tabIndex: R,
102
+ className: w(
103
+ e.input,
104
+ S
105
+ ),
106
+ value: a,
121
107
  placeholder: X,
122
108
  disabled: B,
123
- onChange: M,
124
- onKeyDown: j,
125
- spellCheck: E,
126
- min: y,
127
- max: N,
128
- step: k,
129
- defaultValue: u,
130
- autoFocus: V
109
+ onChange: j,
110
+ onKeyDown: z,
111
+ spellCheck: V,
112
+ min: N,
113
+ max: k,
114
+ step: g,
115
+ defaultValue: s,
116
+ state: D,
117
+ autoFocus: v
131
118
  }
132
119
  ),
133
- c && /* @__PURE__ */ a(H, { name: c, className: l.placeholderIcon }),
134
- /* @__PURE__ */ a(
135
- ie,
120
+ d && /* @__PURE__ */ o(H, { name: d, className: e.placeholderIcon }),
121
+ /* @__PURE__ */ o(
122
+ ae,
136
123
  {
137
- decorator: D,
138
- loading: v,
139
- type: z,
140
- hasValue: C,
124
+ decorator: A,
125
+ loading: E,
126
+ type: x,
127
+ hasValue: y,
141
128
  onCleare: G
142
129
  }
143
130
  )
@@ -1,2 +1,2 @@
1
- export type InputSize = 'small' | 'normal' | 'large';
1
+ export type InputSize = 'small' | 'medium' | 'large';
2
2
  export type InputTheme = 'default' | 'onlight';
@@ -1,120 +1,136 @@
1
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
- import i from "react";
3
- import r from "../Flex/Flex.js";
4
- import { Text as a } from "../Text/Text.js";
1
+ import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
+ import d from "react";
3
+ import l from "../Flex/Flex.js";
4
+ import { FormField as a } from "../FormField/FormField.js";
5
+ import { Text as c } from "../Text/Text.js";
5
6
  import "../../utils/ui/ui.js";
6
- import c from "./Input.js";
7
- const m = /^\+?[0-9]*$/;
8
- function s() {
9
- const [o, n] = i.useState(""), [t, p] = i.useState(0), [d, h] = i.useState("");
10
- return /* @__PURE__ */ l(r, { gap: "large", vertical: !0, children: [
11
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
12
- /* @__PURE__ */ e(a, { children: "Small" }),
13
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { placeholder: "Placeholder", size: "small" }) })
7
+ import i from "./Input.js";
8
+ const s = /^\+?[0-9]*$/;
9
+ function v() {
10
+ const [o, n] = d.useState(""), [u, p] = d.useState(0), [h, t] = d.useState("");
11
+ return /* @__PURE__ */ r(l, { gap: "large", vertical: !0, children: [
12
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
13
+ /* @__PURE__ */ e(c, { children: "Default" }),
14
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder" }) })
14
15
  ] }),
15
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
16
- /* @__PURE__ */ e(a, { children: "Normal" }),
17
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { placeholder: "Placeholder" }) })
16
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
17
+ /* @__PURE__ */ e(c, { children: "Success" }),
18
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
19
+ a,
20
+ {
21
+ state: "success",
22
+ message: "This is a success message",
23
+ children: /* @__PURE__ */ e(i, { placeholder: "Placeholder" })
24
+ }
25
+ ) })
26
+ ] }),
27
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
28
+ /* @__PURE__ */ e(c, { children: "Error" }),
29
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(a, { state: "error", message: "This is an error message", children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", state: "error" }) }) })
18
30
  ] }),
19
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
20
- /* @__PURE__ */ e(a, { children: "Large" }),
21
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { placeholder: "Placeholder", size: "large" }) })
31
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
32
+ /* @__PURE__ */ e(c, { children: "Label" }),
33
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
34
+ a,
35
+ {
36
+ label: "label",
37
+ icon: "MoreInfo",
38
+ required: !0,
39
+ title: "title",
40
+ children: /* @__PURE__ */ e(i, { placeholder: "Placeholder" })
41
+ }
42
+ ) })
22
43
  ] }),
23
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
24
- /* @__PURE__ */ e(a, { children: "Disabled" }),
25
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { placeholder: "Placeholder", size: "large", disabled: !0 }) }),
26
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { placeholder: "Placeholder", size: "large", disabled: !0, value: "Some input value" }) })
44
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
45
+ /* @__PURE__ */ e(c, { children: "Disabled" }),
46
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", disabled: !0 }) }),
47
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", disabled: !0, value: "Some input value" }) })
27
48
  ] }),
28
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
29
- /* @__PURE__ */ e(a, { children: "With placrholder icon" }),
30
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { placeholder: "Placeholder", size: "large", placeholderIcon: "Tick" }) })
49
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
50
+ /* @__PURE__ */ e(c, { children: "With placrholder icon" }),
51
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { placeholder: "Placeholder", placeholderIcon: "Tick" }) })
31
52
  ] }),
32
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
33
- /* @__PURE__ */ e(a, { children: "BackdropBlur" }),
34
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { backdropBlur: !0, placeholder: "Placeholder", size: "large", placeholderIcon: "Tick" }) })
53
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
54
+ /* @__PURE__ */ e(c, { children: "BackdropBlur" }),
55
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { backdropBlur: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
35
56
  ] }),
36
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
37
- /* @__PURE__ */ e(a, { children: "Full width" }),
38
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { fullWidth: !0, placeholder: "Placeholder", size: "large", placeholderIcon: "Tick" }) })
57
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
58
+ /* @__PURE__ */ e(c, { children: "Full width" }),
59
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { fullWidth: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
39
60
  ] }),
40
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
41
- /* @__PURE__ */ e(a, { children: "Loading" }),
42
- /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(c, { disabled: !0, loading: !0, placeholder: "Placeholder", size: "large", placeholderIcon: "Tick" }) })
61
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
62
+ /* @__PURE__ */ e(c, { children: "Loading" }),
63
+ /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(i, { disabled: !0, loading: !0, placeholder: "Placeholder", placeholderIcon: "Tick" }) })
43
64
  ] }),
44
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
45
- /* @__PURE__ */ e(a, { children: "With phone pattern Regex" }),
65
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
66
+ /* @__PURE__ */ e(c, { children: "With phone pattern Regex" }),
46
67
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
47
- c,
68
+ i,
48
69
  {
49
- pattern: m,
70
+ pattern: s,
50
71
  placeholder: "Placeholder",
51
- size: "large",
52
72
  placeholderIcon: "Tick",
53
73
  value: o,
54
74
  onChange: n
55
75
  }
56
76
  ) })
57
77
  ] }),
58
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
59
- /* @__PURE__ */ e(a, { children: "Decorator" }),
78
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
79
+ /* @__PURE__ */ e(c, { children: "Decorator" }),
60
80
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
61
- c,
81
+ i,
62
82
  {
63
83
  placeholder: "Placeholder",
64
- size: "large",
65
84
  placeholderIcon: "Tick",
66
- decorator: /* @__PURE__ */ e(a, { size: "xxsmall", children: "Decorator" })
85
+ decorator: /* @__PURE__ */ e(c, { children: "Decorator" })
67
86
  }
68
87
  ) })
69
88
  ] }),
70
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
71
- /* @__PURE__ */ e(a, { children: "Type Number input with min=1 max=100" }),
89
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
90
+ /* @__PURE__ */ e(c, { children: "Type Number input with min=1 max=100" }),
72
91
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
73
- c,
92
+ i,
74
93
  {
75
94
  placeholder: "Placeholder",
76
- size: "large",
77
95
  placeholderIcon: "Tick",
78
96
  type: "number",
79
97
  min: 1,
80
98
  max: 100,
81
- value: t,
82
- onChange: (u) => p(Number(u))
99
+ value: u,
100
+ onChange: (m) => p(Number(m))
83
101
  }
84
102
  ) })
85
103
  ] }),
86
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
87
- /* @__PURE__ */ e(a, { children: "Type search" }),
104
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
105
+ /* @__PURE__ */ e(c, { children: "Type search" }),
88
106
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
89
- c,
107
+ i,
90
108
  {
91
109
  placeholder: "Placeholder",
92
- size: "large",
93
110
  placeholderIcon: "Search",
94
111
  type: "search",
95
- value: d,
96
- onChange: h
112
+ value: h,
113
+ onChange: t
97
114
  }
98
115
  ) })
99
116
  ] }),
100
- /* @__PURE__ */ l(r, { gap: "normal", vertical: !0, children: [
101
- /* @__PURE__ */ e(a, { children: "Theme onlight" }),
117
+ /* @__PURE__ */ r(l, { gap: "medium", vertical: !0, children: [
118
+ /* @__PURE__ */ e(c, { children: "Theme onlight" }),
102
119
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
103
- c,
120
+ i,
104
121
  {
105
122
  placeholder: "Placeholder",
106
- size: "large",
107
123
  placeholderIcon: "Search",
108
124
  type: "search",
109
- value: d,
110
- onChange: h,
125
+ value: h,
126
+ onChange: t,
111
127
  theme: "onlight"
112
128
  }
113
129
  ) })
114
130
  ] })
115
131
  ] });
116
132
  }
117
- const x = i.memo(s);
133
+ const k = d.memo(v);
118
134
  export {
119
- x as default
135
+ k as default
120
136
  };