@weni/unnnic-system 3.10.0 → 3.11.0-alpha.2

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 (331) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/dist/assets/tokens/colors.json.d.ts +376 -0
  3. package/dist/components/Accordion/Accordion.vue.d.ts +1 -1
  4. package/dist/components/Alert/Alert.vue.d.ts +17 -116
  5. package/dist/components/Alert/Alert.vue.d.ts.map +1 -1
  6. package/dist/components/Alert/Version1dot1.vue.d.ts +2 -38
  7. package/dist/components/Alert/Version1dot1.vue.d.ts.map +1 -1
  8. package/dist/components/AudioRecorder/AudioHandler.vue.d.ts +111 -20
  9. package/dist/components/AudioRecorder/AudioPlayer.vue.d.ts +1 -1
  10. package/dist/components/AudioRecorder/AudioRecorder.vue.d.ts +223 -41
  11. package/dist/components/AvatarIcon/AvatarIcon.vue.d.ts +3 -3
  12. package/dist/components/Banner/Banner.vue.d.ts +1 -1
  13. package/dist/components/Banner/InfoBanner.vue.d.ts +1 -1
  14. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +1 -1
  15. package/dist/components/Button/Button.vue.d.ts +3 -3
  16. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  17. package/dist/components/Button/ButtonIcon.vue.d.ts +1 -1
  18. package/dist/components/Button/types.d.ts +1 -1
  19. package/dist/components/Button/types.d.ts.map +1 -1
  20. package/dist/components/Card/AccountCard.vue.d.ts +4 -4
  21. package/dist/components/Card/BlankCard.vue.d.ts +1 -1
  22. package/dist/components/Card/Card.vue.d.ts +128 -37
  23. package/dist/components/Card/CardCompany.vue.d.ts +12 -415
  24. package/dist/components/Card/CardData.vue.d.ts +1 -1
  25. package/dist/components/Card/CardStatusesContainer.vue.d.ts +114 -23
  26. package/dist/components/Card/ContentCard.vue.d.ts +2 -2
  27. package/dist/components/Card/DashCard.vue.d.ts +4 -4
  28. package/dist/components/Card/MarketplaceCard.vue.d.ts +1 -1
  29. package/dist/components/Card/SimpleCard.vue.d.ts +112 -21
  30. package/dist/components/Card/StatusCard.vue.d.ts +1 -1
  31. package/dist/components/Card/TitleCard.vue.d.ts +112 -21
  32. package/dist/components/CardImage/CardImage.vue.d.ts +23 -30
  33. package/dist/components/CardInformation/CardInformation.vue.d.ts +114 -23
  34. package/dist/components/CardProject/CardProject.vue.d.ts +3 -3
  35. package/dist/components/Carousel/Carousel.vue.d.ts +14 -417
  36. package/dist/components/Carousel/TagCarousel.vue.d.ts +13 -416
  37. package/dist/components/ChartBar/ChartBar.vue.d.ts +120 -29
  38. package/dist/components/ChartLine/ChartLine.vue.d.ts +110 -19
  39. package/dist/components/ChatText/ChatText.vue.d.ts +111 -20
  40. package/dist/components/ChatsContact/ChatsContact.vue.d.ts +22 -447
  41. package/dist/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue.d.ts +1 -1
  42. package/dist/components/ChatsHeader/ChatsHeader.vue.d.ts +1 -1
  43. package/dist/components/ChatsHeader/ChatsHeader.vue.d.ts.map +1 -1
  44. package/dist/components/ChatsMessage/ChatsMessage.vue.d.ts +114 -23
  45. package/dist/components/ChatsMessage/ChatsMessageStatusBackdrop.vue.d.ts +2 -2
  46. package/dist/components/ChatsNavbar/ChatsNavbar.vue.d.ts +1 -1
  47. package/dist/components/ChatsUserAvatar/ChatsUserAvatar.vue.d.ts +3 -3
  48. package/dist/components/Checkbox/Checkbox.vue.d.ts +17 -24
  49. package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
  50. package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts +28 -0
  51. package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts.map +1 -0
  52. package/dist/components/Comment/Comment.vue.d.ts +1 -1
  53. package/dist/components/DataArea/DataArea.vue.d.ts +111 -20
  54. package/dist/components/DataTable/index.vue.d.ts +2 -2
  55. package/dist/components/DataTable/index.vue.d.ts.map +1 -1
  56. package/dist/components/DateFilter/DateFilter.vue.d.ts +172 -41
  57. package/dist/components/DatePicker/DatePicker.vue.d.ts +69 -249
  58. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  59. package/dist/components/Drawer/Drawer.vue.d.ts +35 -207
  60. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  61. package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
  62. package/dist/components/Dropdown/LanguageSelect.vue.d.ts +3 -3
  63. package/dist/components/Flag.vue.d.ts +2 -2
  64. package/dist/components/FormElement/FormElement.vue.d.ts +50 -27
  65. package/dist/components/FormElement/FormElement.vue.d.ts.map +1 -1
  66. package/dist/components/Icon.vue.d.ts +1 -1
  67. package/dist/components/Icon.vue.d.ts.map +1 -1
  68. package/dist/components/IconLoading/IconLoading.vue.d.ts +1 -1
  69. package/dist/components/ImportCard/ImportCard.vue.d.ts +10 -10
  70. package/dist/components/Input/BaseInput.vue.d.ts +11 -2
  71. package/dist/components/Input/BaseInput.vue.d.ts.map +1 -1
  72. package/dist/components/Input/Input.vue.d.ts +171 -40
  73. package/dist/components/Input/Input.vue.d.ts.map +1 -1
  74. package/dist/components/Input/TextInput.vue.d.ts +33 -24
  75. package/dist/components/Input/TextInput.vue.d.ts.map +1 -1
  76. package/dist/components/InputNext/InputNext.vue.d.ts +3 -3
  77. package/dist/components/Label/Label.vue.d.ts +9 -15
  78. package/dist/components/Label/Label.vue.d.ts.map +1 -1
  79. package/dist/components/Modal/Modal.vue.d.ts +1 -1
  80. package/dist/components/ModalDialog/ModalDialog.vue.d.ts +214 -40
  81. package/dist/components/ModalDialog/ModalDialog.vue.d.ts.map +1 -1
  82. package/dist/components/ModalNext/ModalNext.vue.d.ts +182 -51
  83. package/dist/components/ModalUpload/ModalUpload.vue.d.ts +21 -21
  84. package/dist/components/MoodRating/MoodRating.vue.d.ts +110 -19
  85. package/dist/components/MultiSelect/MultiSelect.vue.d.ts +26 -14
  86. package/dist/components/PageHeader/PageHeader.vue.d.ts +28 -0
  87. package/dist/components/PageHeader/PageHeader.vue.d.ts.map +1 -0
  88. package/dist/components/PageHeader/index.d.ts +3 -0
  89. package/dist/components/PageHeader/index.d.ts.map +1 -0
  90. package/dist/components/PageHeader/types.d.ts +9 -0
  91. package/dist/components/PageHeader/types.d.ts.map +1 -0
  92. package/dist/components/Pagination/Pagination.vue.d.ts +9 -9
  93. package/dist/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
  94. package/dist/components/Radio/Radio.vue.d.ts +10 -6
  95. package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
  96. package/dist/components/Select/SelectItem.vue.d.ts +1 -1
  97. package/dist/components/SelectSmart/SelectSmart.vue.d.ts +68 -469
  98. package/dist/components/SelectSmart/SelectSmartMultipleHeader.vue.d.ts +12 -415
  99. package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts +19 -26
  100. package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts.map +1 -1
  101. package/dist/components/SelectTime/index.vue.d.ts +34 -25
  102. package/dist/components/SkeletonLoading/skeletonTheme.vue.d.ts +1 -1
  103. package/dist/components/Slider/Slider.vue.d.ts +111 -20
  104. package/dist/components/StarRating/StarRating.vue.d.ts +1 -1
  105. package/dist/components/Switch/Switch.vue.d.ts +56 -22
  106. package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
  107. package/dist/components/Tab/Tab.vue.d.ts +122 -20
  108. package/dist/components/TableNext/TablePagination.vue.d.ts +9 -9
  109. package/dist/components/TabsExpanded/TabsExpanded.vue.d.ts +1 -1
  110. package/dist/components/Tag/DefaultTag.vue.d.ts +4 -83
  111. package/dist/components/Tag/DefaultTag.vue.d.ts.map +1 -1
  112. package/dist/components/Tag/Tag.vue.d.ts +13 -415
  113. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  114. package/dist/components/Tag/types.d.ts +18 -0
  115. package/dist/components/Tag/types.d.ts.map +1 -0
  116. package/dist/components/TextArea/TextArea.vue.d.ts +78 -33
  117. package/dist/components/TextArea/TextArea.vue.d.ts.map +1 -1
  118. package/dist/components/Toast/Toast.vue.d.ts +16 -0
  119. package/dist/components/Toast/Toast.vue.d.ts.map +1 -0
  120. package/dist/components/Toast/ToastManager.d.ts +14 -0
  121. package/dist/components/Toast/ToastManager.d.ts.map +1 -0
  122. package/dist/components/Toast/types.d.ts +35 -0
  123. package/dist/components/Toast/types.d.ts.map +1 -0
  124. package/dist/components/ToolTip/ToolTip.vue.d.ts +110 -19
  125. package/dist/components/ToolTip/ToolTip.vue.d.ts.map +1 -1
  126. package/dist/components/Tour/Tour.vue.d.ts +9 -9
  127. package/dist/components/Tour/TourPopover.vue.d.ts +9 -9
  128. package/dist/components/UploadArea/UploadArea.vue.d.ts +10 -10
  129. package/dist/components/ui/dialog/Dialog.vue.d.ts +23 -0
  130. package/dist/components/ui/dialog/Dialog.vue.d.ts.map +1 -0
  131. package/dist/components/ui/dialog/DialogClose.vue.d.ts +19 -0
  132. package/dist/components/ui/dialog/DialogClose.vue.d.ts.map +1 -0
  133. package/dist/components/ui/dialog/DialogContent.vue.d.ts +43 -0
  134. package/dist/components/ui/dialog/DialogContent.vue.d.ts.map +1 -0
  135. package/dist/components/ui/dialog/DialogFooter.vue.d.ts +25 -0
  136. package/dist/components/ui/dialog/DialogFooter.vue.d.ts.map +1 -0
  137. package/dist/components/ui/dialog/DialogHeader.vue.d.ts +29 -0
  138. package/dist/components/ui/dialog/DialogHeader.vue.d.ts.map +1 -0
  139. package/dist/components/ui/dialog/DialogTitle.vue.d.ts +23 -0
  140. package/dist/components/ui/dialog/DialogTitle.vue.d.ts.map +1 -0
  141. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +19 -0
  142. package/dist/components/ui/dialog/DialogTrigger.vue.d.ts.map +1 -0
  143. package/dist/components/ui/dialog/index.d.ts +8 -0
  144. package/dist/components/ui/dialog/index.d.ts.map +1 -0
  145. package/dist/components/ui/drawer/Drawer.vue.d.ts +35 -0
  146. package/dist/components/ui/drawer/Drawer.vue.d.ts.map +1 -0
  147. package/dist/components/ui/drawer/DrawerClose.vue.d.ts +19 -0
  148. package/dist/components/ui/drawer/DrawerClose.vue.d.ts.map +1 -0
  149. package/dist/components/ui/drawer/DrawerContent.vue.d.ts +42 -0
  150. package/dist/components/ui/drawer/DrawerContent.vue.d.ts.map +1 -0
  151. package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +23 -0
  152. package/dist/components/ui/drawer/DrawerDescription.vue.d.ts.map +1 -0
  153. package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +22 -0
  154. package/dist/components/ui/drawer/DrawerFooter.vue.d.ts.map +1 -0
  155. package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +25 -0
  156. package/dist/components/ui/drawer/DrawerHeader.vue.d.ts.map +1 -0
  157. package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +8 -0
  158. package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts.map +1 -0
  159. package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +23 -0
  160. package/dist/components/ui/drawer/DrawerTitle.vue.d.ts.map +1 -0
  161. package/dist/components/ui/drawer/DrawerTrigger.vue.d.ts +19 -0
  162. package/dist/components/ui/drawer/DrawerTrigger.vue.d.ts.map +1 -0
  163. package/dist/components/ui/drawer/index.d.ts +11 -0
  164. package/dist/components/ui/drawer/index.d.ts.map +1 -0
  165. package/dist/components/ui/popover/PopoverContent.vue.d.ts +2 -2
  166. package/dist/components/ui/popover/PopoverContent.vue.d.ts.map +1 -1
  167. package/dist/components/ui/segmented-control/SegmentedControlList.vue.d.ts +26 -0
  168. package/dist/components/ui/segmented-control/SegmentedControlList.vue.d.ts.map +1 -0
  169. package/dist/components/ui/segmented-control/SegmentedControlTrigger.vue.d.ts +24 -0
  170. package/dist/components/ui/segmented-control/SegmentedControlTrigger.vue.d.ts.map +1 -0
  171. package/dist/components/ui/segmented-control/index.d.ts +5 -0
  172. package/dist/components/ui/segmented-control/index.d.ts.map +1 -0
  173. package/dist/components/ui/tabs/TabsTrigger.vue.d.ts.map +1 -1
  174. package/dist/components/ui/tooltip/Tooltip.vue.d.ts +23 -0
  175. package/dist/components/ui/tooltip/Tooltip.vue.d.ts.map +1 -0
  176. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +31 -0
  177. package/dist/components/ui/tooltip/TooltipContent.vue.d.ts.map +1 -0
  178. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +19 -0
  179. package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts.map +1 -0
  180. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +19 -0
  181. package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts.map +1 -0
  182. package/dist/components/ui/tooltip/index.d.ts +5 -0
  183. package/dist/components/ui/tooltip/index.d.ts.map +1 -0
  184. package/dist/{es-4b899f97.mjs → es-34baba30.mjs} +1 -1
  185. package/dist/{index-23489897.mjs → index-147b4c7d.mjs} +99341 -95991
  186. package/dist/{pt-br-5a914a63.mjs → pt-br-3921d504.mjs} +1 -1
  187. package/dist/style.css +1 -1
  188. package/dist/unnnic.mjs +229 -185
  189. package/dist/unnnic.umd.js +50 -47
  190. package/dist/utils/call.d.ts +2 -1
  191. package/dist/utils/call.d.ts.map +1 -1
  192. package/package.json +3 -2
  193. package/src/assets/icons/checkbox-checked-disabled.svg +3 -0
  194. package/src/assets/icons/checkbox-checked.svg +3 -0
  195. package/src/assets/icons/checkbox-less-disabled.svg +3 -0
  196. package/src/assets/icons/checkbox-less.svg +3 -0
  197. package/src/assets/icons/radio-checked.svg +3 -0
  198. package/src/assets/icons/switch-checked-disabled.svg +3 -0
  199. package/src/assets/icons/switch-checked.svg +3 -0
  200. package/src/assets/scss/tailwind.scss +8 -0
  201. package/src/components/Alert/Alert.vue +26 -135
  202. package/src/components/Alert/Version1dot1.vue +0 -36
  203. package/src/components/Alert/__tests__/Alert.spec.js +2 -45
  204. package/src/components/Alert/__tests__/Version1dot1.spec.js +0 -21
  205. package/src/components/Alert/__tests__/__snapshots__/Alert.spec.js.snap +11 -7
  206. package/src/components/Alert/__tests__/__snapshots__/AlertBanner.spec.js.snap +2 -2
  207. package/src/components/Alert/__tests__/__snapshots__/Version1dot1.spec.js.snap +1 -1
  208. package/src/components/Button/Button.vue +67 -117
  209. package/src/components/Button/types.ts +0 -1
  210. package/src/components/ChatsContact/ChatsContact.vue +10 -6
  211. package/src/components/Checkbox/Checkbox.vue +117 -65
  212. package/src/components/Checkbox/__tests__/Checkbox.spec.js +6 -21
  213. package/src/components/CheckboxGroup/CheckboxGroup.vue +96 -0
  214. package/src/components/DatePicker/DatePicker.vue +628 -516
  215. package/src/components/DatePicker/__tests__/DatePicker.spec.js +227 -0
  216. package/src/components/Drawer/Drawer.vue +177 -270
  217. package/src/components/Drawer/__tests__/Drawer.spec.js +31 -46
  218. package/src/components/Drawer/__tests__/__snapshots__/Drawer.spec.js.snap +18 -19
  219. package/src/components/FormElement/FormElement.vue +63 -93
  220. package/src/components/Icon.vue +2 -0
  221. package/src/components/Input/BaseInput.vue +12 -12
  222. package/src/components/Input/Input.scss +19 -20
  223. package/src/components/Input/Input.vue +60 -55
  224. package/src/components/Input/TextInput.vue +25 -54
  225. package/src/components/Input/__test__/Input.spec.js +13 -33
  226. package/src/components/Input/__test__/TextInput.spec.js +6 -8
  227. package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +14 -5
  228. package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +1 -1
  229. package/src/components/Label/Label.vue +52 -21
  230. package/src/components/Label/__tests__/Label.spec.js +1 -1
  231. package/src/components/Label/__tests__/__snapshots__/Label.spec.js.snap +1 -1
  232. package/src/components/ModalDialog/ModalDialog.vue +62 -148
  233. package/src/components/ModalDialog/__tests__/ModalDialog.spec.js +11 -221
  234. package/src/components/ModalDialog/__tests__/__snapshots__/ModalDialog.spec.js.snap +1 -22
  235. package/src/components/PageHeader/PageHeader.vue +148 -0
  236. package/src/components/PageHeader/index.ts +2 -0
  237. package/src/components/PageHeader/types.ts +10 -0
  238. package/src/components/Radio/Radio.vue +118 -66
  239. package/src/components/Radio/__test__/Radio.spec.js +14 -20
  240. package/src/components/Radio/__test__/__snapshots__/Radio.spec.js.snap +4 -3
  241. package/src/components/RadioGroup/RadioGroup.vue +142 -0
  242. package/src/components/SelectSmart/SelectSmart.vue +4 -3
  243. package/src/components/Switch/Switch.vue +132 -91
  244. package/src/components/Switch/__tests__/Switch.spec.js +8 -75
  245. package/src/components/Switch/__tests__/__snapshots__/Switch.spec.js.snap +5 -6
  246. package/src/components/Tab/Tab.vue +37 -23
  247. package/src/components/Tab/__test__/__snapshots__/Tab.spec.js.snap +3 -1
  248. package/src/components/TableNext/__test__/__snapshots__/TableNext.spec.js.snap +2 -2
  249. package/src/components/TableNext/__test__/__snapshots__/TablePagination.spec.js.snap +2 -2
  250. package/src/components/Tag/DefaultTag.vue +51 -107
  251. package/src/components/Tag/Tag.vue +32 -79
  252. package/src/components/Tag/types.ts +19 -0
  253. package/src/components/TextArea/TextArea.vue +41 -12
  254. package/src/components/TextArea/__test__/__snapshots__/TextArea.spec.js.snap +11 -3
  255. package/src/components/Toast/Toast.vue +246 -0
  256. package/src/components/Toast/ToastManager.ts +110 -0
  257. package/src/components/Toast/__tests__/Toast.spec.js +291 -0
  258. package/src/components/Toast/__tests__/ToastManager.spec.js +294 -0
  259. package/src/components/Toast/types.ts +57 -0
  260. package/src/components/ToolTip/ToolTip.vue +41 -188
  261. package/src/components/ToolTip/__tests__/ToolTip.spec.js +345 -61
  262. package/src/components/index.ts +95 -5
  263. package/src/components/ui/dialog/Dialog.vue +15 -0
  264. package/src/components/ui/dialog/DialogClose.vue +25 -0
  265. package/src/components/ui/dialog/DialogContent.vue +133 -0
  266. package/src/components/ui/dialog/DialogFooter.vue +46 -0
  267. package/src/components/ui/dialog/DialogHeader.vue +79 -0
  268. package/src/components/ui/dialog/DialogTitle.vue +34 -0
  269. package/src/components/ui/dialog/DialogTrigger.vue +12 -0
  270. package/src/components/ui/dialog/index.ts +7 -0
  271. package/src/components/ui/drawer/Drawer.vue +27 -0
  272. package/src/components/ui/drawer/DrawerClose.vue +37 -0
  273. package/src/components/ui/drawer/DrawerContent.vue +102 -0
  274. package/src/components/ui/drawer/DrawerDescription.vue +40 -0
  275. package/src/components/ui/drawer/DrawerFooter.vue +38 -0
  276. package/src/components/ui/drawer/DrawerHeader.vue +57 -0
  277. package/src/components/ui/drawer/DrawerOverlay.vue +34 -0
  278. package/src/components/ui/drawer/DrawerTitle.vue +37 -0
  279. package/src/components/ui/drawer/DrawerTrigger.vue +31 -0
  280. package/src/components/ui/drawer/index.ts +10 -0
  281. package/src/components/ui/segmented-control/SegmentedControlList.vue +51 -0
  282. package/src/components/ui/segmented-control/SegmentedControlTrigger.vue +81 -0
  283. package/src/components/ui/segmented-control/index.ts +4 -0
  284. package/src/components/ui/tabs/TabsTrigger.vue +4 -20
  285. package/src/components/ui/tooltip/Tooltip.vue +15 -0
  286. package/src/components/ui/tooltip/TooltipContent.vue +73 -0
  287. package/src/components/ui/tooltip/TooltipProvider.vue +15 -0
  288. package/src/components/ui/tooltip/TooltipTrigger.vue +22 -0
  289. package/src/components/ui/tooltip/index.ts +4 -0
  290. package/src/stories/Alert.stories.js +6 -67
  291. package/src/stories/Button.stories.js +29 -39
  292. package/src/stories/Checkbox.stories.js +11 -4
  293. package/src/stories/CheckboxGroup.stories.js +105 -0
  294. package/src/stories/DatePicker.stories.js +71 -0
  295. package/src/stories/Dialog.stories.js +832 -0
  296. package/src/stories/Drawer.stories.js +1 -1
  297. package/src/stories/DrawerNext.stories.js +610 -0
  298. package/src/stories/Input.stories.js +71 -76
  299. package/src/stories/Label.stories.js +7 -0
  300. package/src/stories/ModalDialog.mdx +3 -0
  301. package/src/stories/ModalDialog.stories.js +1 -1
  302. package/src/stories/PageHeader.stories.js +330 -0
  303. package/src/stories/Radio.stories.js +28 -1
  304. package/src/stories/RadioGroup.stories.js +144 -0
  305. package/src/stories/SegmentedControl.stories.js +253 -0
  306. package/src/stories/Switch.stories.js +10 -5
  307. package/src/stories/Tab.stories.js +11 -4
  308. package/src/stories/Tabs.stories.js +1 -1
  309. package/src/stories/Tag.stories.js +24 -43
  310. package/src/stories/TextArea.stories.js +14 -2
  311. package/src/stories/Toast.mdx +123 -0
  312. package/src/stories/Toast.stories.js +126 -0
  313. package/src/types/scheme-colors.d.ts +1 -0
  314. package/src/utils/call.js +46 -18
  315. package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts +0 -792
  316. package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts.map +0 -1
  317. package/dist/components/Tag/BrandTag.vue.d.ts +0 -51
  318. package/dist/components/Tag/BrandTag.vue.d.ts.map +0 -1
  319. package/dist/components/Tag/IndicatorTag.vue.d.ts +0 -151
  320. package/dist/components/Tag/IndicatorTag.vue.d.ts.map +0 -1
  321. package/dist/components/Tag/TagNext.vue.d.ts +0 -24
  322. package/dist/components/Tag/TagNext.vue.d.ts.map +0 -1
  323. package/dist/components/index.d.ts +0 -24078
  324. package/dist/components/index.d.ts.map +0 -1
  325. package/src/components/Alert/AlertBanner.vue +0 -182
  326. package/src/components/Alert/AlertCaller.vue +0 -49
  327. package/src/components/Alert/__tests__/AlertBanner.spec.js +0 -89
  328. package/src/components/Alert/__tests__/AlertCaller.spec.js +0 -98
  329. package/src/components/Tag/BrandTag.vue +0 -96
  330. package/src/components/Tag/IndicatorTag.vue +0 -107
  331. package/src/components/Tag/TagNext.vue +0 -60
package/CHANGELOG.md CHANGED
@@ -5,6 +5,112 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ # 3.11.1 (2025-11-27)
9
+
10
+ ### Added
11
+
12
+ - **DatePicker Component**:
13
+ - Added `periodBaseDate` prop to allow custom reference dates for predefined periods (e.g. `last-7-days`, `last-12-months`, `current-month`, `previous-month`), enabling use cases like "Last 7 days (up to 24h ago)".
14
+ - Added `data-testid` attributes to key interactive elements (root, navigation buttons, day/month/year cells, options, clear/apply buttons) to improve testability and coverage quality.
15
+ - Added new Storybook stories demonstrating multiple usage patterns:
16
+ - `SmallDayPicker` (type `day`, size `small`)
17
+ - `MonthView` (type `month`)
18
+ - `YearView` (type `year`)
19
+ - `WithMinAndMaxDateRange` (date range constrained by `minDate` and `maxDate`)
20
+ - `WithCustomLabelsAndDisableClear` (custom action/clear labels and `disableClear`)
21
+ - `CustomRelativePeriodsWithBaseDate` (custom relative filters backed by `periodBaseDate`).
22
+
23
+ ### Changed
24
+
25
+ - **DatePicker Component**:
26
+ - Migrated implementation to `<script setup lang="ts">` with Vue 3 Composition API while preserving the existing public API (props, events, and behavior) for backward compatibility.
27
+ - Normalized internal date-handling logic to use typed helpers (`dateToString`, `stringToTime`, etc.) for safer arithmetic across day, month, and year views.
28
+
29
+ ### Fixed
30
+
31
+ - **DatePicker Component**:
32
+ - Corrected month label rendering in `type="month"` view by aligning month indices with the localized `monthsLocale` array (fixes incorrect labels and potential indexing errors).
33
+
34
+ # 3.11.0 (2025-11-24)
35
+
36
+ ### Added
37
+
38
+ - **Toast Component**: New inline notification system with ToastManager for programmatic toast display
39
+ - **Component**: Complete Toast component with multiple variants (success, info, warning, error)
40
+ - **Toast Manager**: Programmatic API for displaying toasts via `this.$unnnicCallToast()`
41
+ - **Storybook Documentation**: Complete documentation with interactive examples
42
+
43
+ - **PageHeader Component**: New page header component for consistent page layouts
44
+ - **Flexible Layout**: Support for title, subtitle, and custom content slots
45
+ - **Slot Support**: Left and right content slots for custom elements
46
+
47
+ - **Form Group Components**: New wrapper components for better form organization
48
+ - **CheckboxGroup**: Group multiple checkboxes with shared label and tooltip support
49
+ - **RadioGroup**: Group radio buttons with helper text and label styling
50
+
51
+ - **Form Elements Enhancement**: Major improvements to all form components
52
+ - **Tooltip Support**: Added to Input, TextArea, Label, and Radio components
53
+ - **Helper Text**: Added to Radio and RadioGroup components
54
+ - **MaxLength Support**: Added to Input component with visual feedback
55
+ - **Disabled State**: Improved disabled state styling across all form elements
56
+
57
+ - **New Icons**: Added dedicated SVG icons for form states
58
+ - `checkbox-checked.svg` and `checkbox-checked-disabled.svg`
59
+ - `checkbox-less.svg` and `checkbox-less-disabled.svg`
60
+ - `radio-checked.svg`
61
+ - `switch-checked.svg` and `switch-checked-disabled.svg`
62
+
63
+ - **Icon Component**: New foreground color types added to color scheme
64
+
65
+ ### Changed
66
+
67
+ - **Form Elements Redesign**: Complete visual and structural redesign of form components
68
+ - **Button**: Updated to use new design tokens, removed 'alternative' type, added transition effects
69
+ - **Checkbox**: Redesigned with improved styling, restored intermediate state, new disabled state handling, also removed size prop
70
+ - **Radio**: Complete redesign with improved structure and styling, also removed size prop
71
+ - **Switch**: Redesigned with updated icons and improved component styles
72
+ - **Input**: Enhanced with computed error handling, improved layout, dynamic styling based on size
73
+ - **TextArea**: Restructured with improved error handling and message display
74
+ - **Label**: Refactored with tooltip support and improved structure
75
+
76
+ - **FormElement Component**: Major refactoring for better structure and maintainability
77
+ - **Label Integration**: Now uses UnnnicLabel component for improved consistency
78
+ - **Error Handling**: Updated to allow null type for TextArea errors
79
+ - **Improved Layout**: Restructured for better clarity and usability
80
+ - **Spacing Updates**: Enhanced spacing for improved visual hierarchy
81
+
82
+ - **Tag Component**: Restructured and simplified
83
+ - **Default Variation**: Consolidated to contain only default variation
84
+ - **Improved Styling**: Enhanced with fit-content width and text overflow handling
85
+ - **Type Safety**: Added comprehensive prop type definitions
86
+
87
+ - **Alert Component**: Simplified architecture
88
+ - **Toast Integration**: Integrated with new UnnnicToast component
89
+ - **Removed Deprecated**: Removed version variation 1.0 and AlertBanner and AlertCaller components
90
+ - **Streamlined version 1.1**: Removed link (linkHref prop) variation
91
+ - **Updated Tests**: Reflected version changes and removed deprecated props
92
+
93
+ - **Tab Component**: Enhanced functionality
94
+ - **Disabled State**: Added support for disabled tabs
95
+ - **Dynamic Tooltip**: Tooltip icon size now adjusts based on tab size
96
+
97
+ - **SelectSmart Component**: Improved consistency
98
+ - **Border Styling**: Updated border radius and border styling
99
+ - **Layout Adjustments**: Improved margin properties for better layout
100
+
101
+ - **ChatsContact Component**: Changed to have its own tag instead of using UnnnicTag
102
+
103
+ ### Fixed
104
+
105
+ - **Input Component**: Added transition effect for smoother border color change on focus
106
+ - **Icon Component**: Fixed cursor styling for better UX
107
+
108
+ ### Refactored
109
+
110
+ - **Button Component**: Replaced 'next' prop with 'clickable' for icon buttons, standardized text across stories
111
+ - **Input Component**: Replaced label section with UnnnicLabel component for improved structure
112
+ - **Label Component**: Renamed Props interface to LabelProps for clarity
113
+
8
114
  # 3.10.0 (2025-11-24)
9
115
 
10
116
  ### Added
@@ -0,0 +1,376 @@
1
+ declare const _default: {
2
+ "color": {
3
+ "white": {
4
+ "value": "#FFFFFF"
5
+ },
6
+ "black": {
7
+ "value": "#000000"
8
+ },
9
+ "gray": {
10
+ "50": {
11
+ "value": "#F6F7F9"
12
+ },
13
+ "100": {
14
+ "value": "#ECEEF2"
15
+ },
16
+ "200": {
17
+ "value": "#D6D9E1"
18
+ },
19
+ "300": {
20
+ "value": "#B2B9C7"
21
+ },
22
+ "400": {
23
+ "value": "#8893A8"
24
+ },
25
+ "500": {
26
+ "value": "#67738B"
27
+ },
28
+ "600": {
29
+ "value": "#545E75"
30
+ },
31
+ "700": {
32
+ "value": "#454D5F"
33
+ },
34
+ "800": {
35
+ "value": "#3B4151"
36
+ },
37
+ "900": {
38
+ "value": "#353945"
39
+ },
40
+ "950": {
41
+ "value": "#23262E"
42
+ }
43
+ },
44
+ "teal": {
45
+ "50": {
46
+ "value": "#EFFEFC"
47
+ },
48
+ "100": {
49
+ "value": "#C7FFF7"
50
+ },
51
+ "200": {
52
+ "value": "#90FFEF"
53
+ },
54
+ "300": {
55
+ "value": "#51F7E7"
56
+ },
57
+ "400": {
58
+ "value": "#1DE4D7"
59
+ },
60
+ "500": {
61
+ "value": "#04C8BD"
62
+ },
63
+ "600": {
64
+ "value": "#00A49F"
65
+ },
66
+ "700": {
67
+ "value": "#05807D"
68
+ },
69
+ "800": {
70
+ "value": "#0A6564"
71
+ },
72
+ "900": {
73
+ "value": "#0D5453"
74
+ },
75
+ "950": {
76
+ "value": "#003133"
77
+ }
78
+ },
79
+ "green": {
80
+ "50": {
81
+ "value": "#F0F9F3"
82
+ },
83
+ "100": {
84
+ "value": "#DAF1E0"
85
+ },
86
+ "200": {
87
+ "value": "#B7E3C6"
88
+ },
89
+ "300": {
90
+ "value": "#88CDA4"
91
+ },
92
+ "400": {
93
+ "value": "#56B17E"
94
+ },
95
+ "500": {
96
+ "value": "#38A169"
97
+ },
98
+ "600": {
99
+ "value": "#24774C"
100
+ },
101
+ "700": {
102
+ "value": "#1D5F3F"
103
+ },
104
+ "800": {
105
+ "value": "#194C34"
106
+ },
107
+ "900": {
108
+ "value": "#153F2C"
109
+ },
110
+ "950": {
111
+ "value": "#0B2318"
112
+ }
113
+ },
114
+ "blue": {
115
+ "50": {
116
+ "value": "#F2F7FD"
117
+ },
118
+ "100": {
119
+ "value": "#E5EEF9"
120
+ },
121
+ "200": {
122
+ "value": "#C4DBF3"
123
+ },
124
+ "300": {
125
+ "value": "#90BDE9"
126
+ },
127
+ "400": {
128
+ "value": "#559BDB"
129
+ },
130
+ "500": {
131
+ "value": "#3182CE"
132
+ },
133
+ "600": {
134
+ "value": "#2062A9"
135
+ },
136
+ "700": {
137
+ "value": "#1B4F89"
138
+ },
139
+ "800": {
140
+ "value": "#1A4472"
141
+ },
142
+ "900": {
143
+ "value": "#1B3A5F"
144
+ },
145
+ "950": {
146
+ "value": "#12253F"
147
+ }
148
+ },
149
+ "purple": {
150
+ "50": {
151
+ "value": "#F6F5FD"
152
+ },
153
+ "100": {
154
+ "value": "#EEECFB"
155
+ },
156
+ "200": {
157
+ "value": "#DFDCF8"
158
+ },
159
+ "300": {
160
+ "value": "#C7BFF3"
161
+ },
162
+ "400": {
163
+ "value": "#AA9BEA"
164
+ },
165
+ "500": {
166
+ "value": "#8D72E0"
167
+ },
168
+ "600": {
169
+ "value": "#805AD5"
170
+ },
171
+ "700": {
172
+ "value": "#6B41C0"
173
+ },
174
+ "800": {
175
+ "value": "#5A36A1"
176
+ },
177
+ "900": {
178
+ "value": "#4B2E84"
179
+ },
180
+ "950": {
181
+ "value": "#2E1C59"
182
+ }
183
+ },
184
+ "red": {
185
+ "50": {
186
+ "value": "#FDF3F3"
187
+ },
188
+ "100": {
189
+ "value": "#FDE3E3"
190
+ },
191
+ "200": {
192
+ "value": "#FCCCCC"
193
+ },
194
+ "300": {
195
+ "value": "#F8A9A9"
196
+ },
197
+ "400": {
198
+ "value": "#F27777"
199
+ },
200
+ "500": {
201
+ "value": "#E53E3E"
202
+ },
203
+ "600": {
204
+ "value": "#D32F2F"
205
+ },
206
+ "700": {
207
+ "value": "#B22323"
208
+ },
209
+ "800": {
210
+ "value": "#932121"
211
+ },
212
+ "900": {
213
+ "value": "#7A2222"
214
+ },
215
+ "950": {
216
+ "value": "#420D0D"
217
+ }
218
+ },
219
+ "orange": {
220
+ "50": {
221
+ "value": "#FDF8EF"
222
+ },
223
+ "100": {
224
+ "value": "#FBEED9"
225
+ },
226
+ "200": {
227
+ "value": "#F7DAB1"
228
+ },
229
+ "300": {
230
+ "value": "#F1C080"
231
+ },
232
+ "400": {
233
+ "value": "#EB9D4C"
234
+ },
235
+ "500": {
236
+ "value": "#E5812A"
237
+ },
238
+ "600": {
239
+ "value": "#DD6B20"
240
+ },
241
+ "700": {
242
+ "value": "#B2501C"
243
+ },
244
+ "800": {
245
+ "value": "#8E401E"
246
+ },
247
+ "900": {
248
+ "value": "#73361B"
249
+ },
250
+ "950": {
251
+ "value": "#3E1A0C"
252
+ }
253
+ },
254
+ "yellow": {
255
+ "50": {
256
+ "value": "#FBF7EB"
257
+ },
258
+ "100": {
259
+ "value": "#F5EDCC"
260
+ },
261
+ "200": {
262
+ "value": "#EDD89B"
263
+ },
264
+ "300": {
265
+ "value": "#E2BC62"
266
+ },
267
+ "400": {
268
+ "value": "#D69E2E"
269
+ },
270
+ "500": {
271
+ "value": "#C88D2A"
272
+ },
273
+ "600": {
274
+ "value": "#AC6E22"
275
+ },
276
+ "700": {
277
+ "value": "#8A501E"
278
+ },
279
+ "800": {
280
+ "value": "#734120"
281
+ },
282
+ "900": {
283
+ "value": "#633720"
284
+ },
285
+ "950": {
286
+ "value": "#391B0F"
287
+ }
288
+ },
289
+ "bg": {
290
+ "base": {
291
+ "value": "{color.white}"
292
+ },
293
+ "soft": {
294
+ "value": "{color.gray.50}"
295
+ },
296
+ "muted": {
297
+ "value": "{color.gray.100}"
298
+ },
299
+ "active": {
300
+ "value": "{color.teal.600}"
301
+ },
302
+ "info": {
303
+ "value": "{color.blue.50}"
304
+ },
305
+ "success": {
306
+ "value": "{color.green.50}"
307
+ },
308
+ "warning": {
309
+ "value": "{color.yellow.50}"
310
+ },
311
+ "critical": {
312
+ "value": "{color.red.50}"
313
+ }
314
+ },
315
+ "fg": {
316
+ "base": {
317
+ "value": "{color.gray.500}"
318
+ },
319
+ "muted": {
320
+ "value": "{color.gray.300}"
321
+ },
322
+ "emphasized": {
323
+ "value": "{color.gray.900}"
324
+ },
325
+ "inverted": {
326
+ "value": "{color.white}"
327
+ },
328
+ "active": {
329
+ "value": "{color.teal.600}"
330
+ },
331
+ "info": {
332
+ "value": "{color.blue.500}"
333
+ },
334
+ "success": {
335
+ "value": "{color.green.500}"
336
+ },
337
+ "warning": {
338
+ "value": "{color.yellow.500}"
339
+ },
340
+ "critical": {
341
+ "value": "{color.red.500}"
342
+ }
343
+ },
344
+ "border": {
345
+ "base": {
346
+ "value": "{color.gray.200}"
347
+ },
348
+ "soft": {
349
+ "value": "{color.gray.100}"
350
+ },
351
+ "muted": {
352
+ "value": "{color.gray.200}"
353
+ },
354
+ "emphasized": {
355
+ "value": "{color.gray.400}"
356
+ },
357
+ "active": {
358
+ "value": "{color.teal.600}"
359
+ },
360
+ "info": {
361
+ "value": "{color.blue.300}"
362
+ },
363
+ "success": {
364
+ "value": "{color.green.300}"
365
+ },
366
+ "warning": {
367
+ "value": "{color.yellow.300}"
368
+ },
369
+ "critical": {
370
+ "value": "{color.red.300}"
371
+ }
372
+ }
373
+ }
374
+ };
375
+
376
+ export default _default;
@@ -29,10 +29,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
29
29
  onMousedown?: ((event: Event) => any) | undefined;
30
30
  onMouseup?: ((event: Event) => any) | undefined;
31
31
  }>, {
32
+ size: import('../Icon.vue').IconSize;
32
33
  filled: boolean;
33
34
  icon: string | null;
34
35
  clickable: boolean;
35
- size: import('../Icon.vue').IconSize;
36
36
  scheme: import('../Icon.vue').SchemeColor;
37
37
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
38
38
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;