@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.
- package/CHANGELOG.md +106 -0
- package/dist/assets/tokens/colors.json.d.ts +376 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +1 -1
- package/dist/components/Alert/Alert.vue.d.ts +17 -116
- package/dist/components/Alert/Alert.vue.d.ts.map +1 -1
- package/dist/components/Alert/Version1dot1.vue.d.ts +2 -38
- package/dist/components/Alert/Version1dot1.vue.d.ts.map +1 -1
- package/dist/components/AudioRecorder/AudioHandler.vue.d.ts +111 -20
- package/dist/components/AudioRecorder/AudioPlayer.vue.d.ts +1 -1
- package/dist/components/AudioRecorder/AudioRecorder.vue.d.ts +223 -41
- package/dist/components/AvatarIcon/AvatarIcon.vue.d.ts +3 -3
- package/dist/components/Banner/Banner.vue.d.ts +1 -1
- package/dist/components/Banner/InfoBanner.vue.d.ts +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts +1 -1
- package/dist/components/Button/Button.vue.d.ts +3 -3
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/ButtonIcon.vue.d.ts +1 -1
- package/dist/components/Button/types.d.ts +1 -1
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Card/AccountCard.vue.d.ts +4 -4
- package/dist/components/Card/BlankCard.vue.d.ts +1 -1
- package/dist/components/Card/Card.vue.d.ts +128 -37
- package/dist/components/Card/CardCompany.vue.d.ts +12 -415
- package/dist/components/Card/CardData.vue.d.ts +1 -1
- package/dist/components/Card/CardStatusesContainer.vue.d.ts +114 -23
- package/dist/components/Card/ContentCard.vue.d.ts +2 -2
- package/dist/components/Card/DashCard.vue.d.ts +4 -4
- package/dist/components/Card/MarketplaceCard.vue.d.ts +1 -1
- package/dist/components/Card/SimpleCard.vue.d.ts +112 -21
- package/dist/components/Card/StatusCard.vue.d.ts +1 -1
- package/dist/components/Card/TitleCard.vue.d.ts +112 -21
- package/dist/components/CardImage/CardImage.vue.d.ts +23 -30
- package/dist/components/CardInformation/CardInformation.vue.d.ts +114 -23
- package/dist/components/CardProject/CardProject.vue.d.ts +3 -3
- package/dist/components/Carousel/Carousel.vue.d.ts +14 -417
- package/dist/components/Carousel/TagCarousel.vue.d.ts +13 -416
- package/dist/components/ChartBar/ChartBar.vue.d.ts +120 -29
- package/dist/components/ChartLine/ChartLine.vue.d.ts +110 -19
- package/dist/components/ChatText/ChatText.vue.d.ts +111 -20
- package/dist/components/ChatsContact/ChatsContact.vue.d.ts +22 -447
- package/dist/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue.d.ts +1 -1
- package/dist/components/ChatsHeader/ChatsHeader.vue.d.ts +1 -1
- package/dist/components/ChatsHeader/ChatsHeader.vue.d.ts.map +1 -1
- package/dist/components/ChatsMessage/ChatsMessage.vue.d.ts +114 -23
- package/dist/components/ChatsMessage/ChatsMessageStatusBackdrop.vue.d.ts +2 -2
- package/dist/components/ChatsNavbar/ChatsNavbar.vue.d.ts +1 -1
- package/dist/components/ChatsUserAvatar/ChatsUserAvatar.vue.d.ts +3 -3
- package/dist/components/Checkbox/Checkbox.vue.d.ts +17 -24
- package/dist/components/Checkbox/Checkbox.vue.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts +28 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts.map +1 -0
- package/dist/components/Comment/Comment.vue.d.ts +1 -1
- package/dist/components/DataArea/DataArea.vue.d.ts +111 -20
- package/dist/components/DataTable/index.vue.d.ts +2 -2
- package/dist/components/DataTable/index.vue.d.ts.map +1 -1
- package/dist/components/DateFilter/DateFilter.vue.d.ts +172 -41
- package/dist/components/DatePicker/DatePicker.vue.d.ts +69 -249
- package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.vue.d.ts +35 -207
- package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
- package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
- package/dist/components/Dropdown/LanguageSelect.vue.d.ts +3 -3
- package/dist/components/Flag.vue.d.ts +2 -2
- package/dist/components/FormElement/FormElement.vue.d.ts +50 -27
- package/dist/components/FormElement/FormElement.vue.d.ts.map +1 -1
- package/dist/components/Icon.vue.d.ts +1 -1
- package/dist/components/Icon.vue.d.ts.map +1 -1
- package/dist/components/IconLoading/IconLoading.vue.d.ts +1 -1
- package/dist/components/ImportCard/ImportCard.vue.d.ts +10 -10
- package/dist/components/Input/BaseInput.vue.d.ts +11 -2
- package/dist/components/Input/BaseInput.vue.d.ts.map +1 -1
- package/dist/components/Input/Input.vue.d.ts +171 -40
- package/dist/components/Input/Input.vue.d.ts.map +1 -1
- package/dist/components/Input/TextInput.vue.d.ts +33 -24
- package/dist/components/Input/TextInput.vue.d.ts.map +1 -1
- package/dist/components/InputNext/InputNext.vue.d.ts +3 -3
- package/dist/components/Label/Label.vue.d.ts +9 -15
- package/dist/components/Label/Label.vue.d.ts.map +1 -1
- package/dist/components/Modal/Modal.vue.d.ts +1 -1
- package/dist/components/ModalDialog/ModalDialog.vue.d.ts +214 -40
- package/dist/components/ModalDialog/ModalDialog.vue.d.ts.map +1 -1
- package/dist/components/ModalNext/ModalNext.vue.d.ts +182 -51
- package/dist/components/ModalUpload/ModalUpload.vue.d.ts +21 -21
- package/dist/components/MoodRating/MoodRating.vue.d.ts +110 -19
- package/dist/components/MultiSelect/MultiSelect.vue.d.ts +26 -14
- package/dist/components/PageHeader/PageHeader.vue.d.ts +28 -0
- package/dist/components/PageHeader/PageHeader.vue.d.ts.map +1 -0
- package/dist/components/PageHeader/index.d.ts +3 -0
- package/dist/components/PageHeader/index.d.ts.map +1 -0
- package/dist/components/PageHeader/types.d.ts +9 -0
- package/dist/components/PageHeader/types.d.ts.map +1 -0
- package/dist/components/Pagination/Pagination.vue.d.ts +9 -9
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts +1 -1
- package/dist/components/Radio/Radio.vue.d.ts +10 -6
- package/dist/components/Radio/Radio.vue.d.ts.map +1 -1
- package/dist/components/Select/SelectItem.vue.d.ts +1 -1
- package/dist/components/SelectSmart/SelectSmart.vue.d.ts +68 -469
- package/dist/components/SelectSmart/SelectSmartMultipleHeader.vue.d.ts +12 -415
- package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts +19 -26
- package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts.map +1 -1
- package/dist/components/SelectTime/index.vue.d.ts +34 -25
- package/dist/components/SkeletonLoading/skeletonTheme.vue.d.ts +1 -1
- package/dist/components/Slider/Slider.vue.d.ts +111 -20
- package/dist/components/StarRating/StarRating.vue.d.ts +1 -1
- package/dist/components/Switch/Switch.vue.d.ts +56 -22
- package/dist/components/Switch/Switch.vue.d.ts.map +1 -1
- package/dist/components/Tab/Tab.vue.d.ts +122 -20
- package/dist/components/TableNext/TablePagination.vue.d.ts +9 -9
- package/dist/components/TabsExpanded/TabsExpanded.vue.d.ts +1 -1
- package/dist/components/Tag/DefaultTag.vue.d.ts +4 -83
- package/dist/components/Tag/DefaultTag.vue.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts +13 -415
- package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
- package/dist/components/Tag/types.d.ts +18 -0
- package/dist/components/Tag/types.d.ts.map +1 -0
- package/dist/components/TextArea/TextArea.vue.d.ts +78 -33
- package/dist/components/TextArea/TextArea.vue.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts +16 -0
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -0
- package/dist/components/Toast/ToastManager.d.ts +14 -0
- package/dist/components/Toast/ToastManager.d.ts.map +1 -0
- package/dist/components/Toast/types.d.ts +35 -0
- package/dist/components/Toast/types.d.ts.map +1 -0
- package/dist/components/ToolTip/ToolTip.vue.d.ts +110 -19
- package/dist/components/ToolTip/ToolTip.vue.d.ts.map +1 -1
- package/dist/components/Tour/Tour.vue.d.ts +9 -9
- package/dist/components/Tour/TourPopover.vue.d.ts +9 -9
- package/dist/components/UploadArea/UploadArea.vue.d.ts +10 -10
- package/dist/components/ui/dialog/Dialog.vue.d.ts +23 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +19 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +43 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +25 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +29 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +23 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +19 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts.map +1 -0
- package/dist/components/ui/dialog/index.d.ts +8 -0
- package/dist/components/ui/dialog/index.d.ts.map +1 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts +35 -0
- package/dist/components/ui/drawer/Drawer.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerClose.vue.d.ts +19 -0
- package/dist/components/ui/drawer/DrawerClose.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts +42 -0
- package/dist/components/ui/drawer/DrawerContent.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts +23 -0
- package/dist/components/ui/drawer/DrawerDescription.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts +22 -0
- package/dist/components/ui/drawer/DrawerFooter.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts +25 -0
- package/dist/components/ui/drawer/DrawerHeader.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts +8 -0
- package/dist/components/ui/drawer/DrawerOverlay.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts +23 -0
- package/dist/components/ui/drawer/DrawerTitle.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/DrawerTrigger.vue.d.ts +19 -0
- package/dist/components/ui/drawer/DrawerTrigger.vue.d.ts.map +1 -0
- package/dist/components/ui/drawer/index.d.ts +11 -0
- package/dist/components/ui/drawer/index.d.ts.map +1 -0
- package/dist/components/ui/popover/PopoverContent.vue.d.ts +2 -2
- package/dist/components/ui/popover/PopoverContent.vue.d.ts.map +1 -1
- package/dist/components/ui/segmented-control/SegmentedControlList.vue.d.ts +26 -0
- package/dist/components/ui/segmented-control/SegmentedControlList.vue.d.ts.map +1 -0
- package/dist/components/ui/segmented-control/SegmentedControlTrigger.vue.d.ts +24 -0
- package/dist/components/ui/segmented-control/SegmentedControlTrigger.vue.d.ts.map +1 -0
- package/dist/components/ui/segmented-control/index.d.ts +5 -0
- package/dist/components/ui/segmented-control/index.d.ts.map +1 -0
- package/dist/components/ui/tabs/TabsTrigger.vue.d.ts.map +1 -1
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +23 -0
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts.map +1 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +31 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts.map +1 -0
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +19 -0
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts.map +1 -0
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +19 -0
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts.map +1 -0
- package/dist/components/ui/tooltip/index.d.ts +5 -0
- package/dist/components/ui/tooltip/index.d.ts.map +1 -0
- package/dist/{es-4b899f97.mjs → es-34baba30.mjs} +1 -1
- package/dist/{index-23489897.mjs → index-147b4c7d.mjs} +99341 -95991
- package/dist/{pt-br-5a914a63.mjs → pt-br-3921d504.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +229 -185
- package/dist/unnnic.umd.js +50 -47
- package/dist/utils/call.d.ts +2 -1
- package/dist/utils/call.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/assets/icons/checkbox-checked-disabled.svg +3 -0
- package/src/assets/icons/checkbox-checked.svg +3 -0
- package/src/assets/icons/checkbox-less-disabled.svg +3 -0
- package/src/assets/icons/checkbox-less.svg +3 -0
- package/src/assets/icons/radio-checked.svg +3 -0
- package/src/assets/icons/switch-checked-disabled.svg +3 -0
- package/src/assets/icons/switch-checked.svg +3 -0
- package/src/assets/scss/tailwind.scss +8 -0
- package/src/components/Alert/Alert.vue +26 -135
- package/src/components/Alert/Version1dot1.vue +0 -36
- package/src/components/Alert/__tests__/Alert.spec.js +2 -45
- package/src/components/Alert/__tests__/Version1dot1.spec.js +0 -21
- package/src/components/Alert/__tests__/__snapshots__/Alert.spec.js.snap +11 -7
- package/src/components/Alert/__tests__/__snapshots__/AlertBanner.spec.js.snap +2 -2
- package/src/components/Alert/__tests__/__snapshots__/Version1dot1.spec.js.snap +1 -1
- package/src/components/Button/Button.vue +67 -117
- package/src/components/Button/types.ts +0 -1
- package/src/components/ChatsContact/ChatsContact.vue +10 -6
- package/src/components/Checkbox/Checkbox.vue +117 -65
- package/src/components/Checkbox/__tests__/Checkbox.spec.js +6 -21
- package/src/components/CheckboxGroup/CheckboxGroup.vue +96 -0
- package/src/components/DatePicker/DatePicker.vue +628 -516
- package/src/components/DatePicker/__tests__/DatePicker.spec.js +227 -0
- package/src/components/Drawer/Drawer.vue +177 -270
- package/src/components/Drawer/__tests__/Drawer.spec.js +31 -46
- package/src/components/Drawer/__tests__/__snapshots__/Drawer.spec.js.snap +18 -19
- package/src/components/FormElement/FormElement.vue +63 -93
- package/src/components/Icon.vue +2 -0
- package/src/components/Input/BaseInput.vue +12 -12
- package/src/components/Input/Input.scss +19 -20
- package/src/components/Input/Input.vue +60 -55
- package/src/components/Input/TextInput.vue +25 -54
- package/src/components/Input/__test__/Input.spec.js +13 -33
- package/src/components/Input/__test__/TextInput.spec.js +6 -8
- package/src/components/Input/__test__/__snapshots__/Input.spec.js.snap +14 -5
- package/src/components/Input/__test__/__snapshots__/TextInput.spec.js.snap +1 -1
- package/src/components/Label/Label.vue +52 -21
- package/src/components/Label/__tests__/Label.spec.js +1 -1
- package/src/components/Label/__tests__/__snapshots__/Label.spec.js.snap +1 -1
- package/src/components/ModalDialog/ModalDialog.vue +62 -148
- package/src/components/ModalDialog/__tests__/ModalDialog.spec.js +11 -221
- package/src/components/ModalDialog/__tests__/__snapshots__/ModalDialog.spec.js.snap +1 -22
- package/src/components/PageHeader/PageHeader.vue +148 -0
- package/src/components/PageHeader/index.ts +2 -0
- package/src/components/PageHeader/types.ts +10 -0
- package/src/components/Radio/Radio.vue +118 -66
- package/src/components/Radio/__test__/Radio.spec.js +14 -20
- package/src/components/Radio/__test__/__snapshots__/Radio.spec.js.snap +4 -3
- package/src/components/RadioGroup/RadioGroup.vue +142 -0
- package/src/components/SelectSmart/SelectSmart.vue +4 -3
- package/src/components/Switch/Switch.vue +132 -91
- package/src/components/Switch/__tests__/Switch.spec.js +8 -75
- package/src/components/Switch/__tests__/__snapshots__/Switch.spec.js.snap +5 -6
- package/src/components/Tab/Tab.vue +37 -23
- package/src/components/Tab/__test__/__snapshots__/Tab.spec.js.snap +3 -1
- package/src/components/TableNext/__test__/__snapshots__/TableNext.spec.js.snap +2 -2
- package/src/components/TableNext/__test__/__snapshots__/TablePagination.spec.js.snap +2 -2
- package/src/components/Tag/DefaultTag.vue +51 -107
- package/src/components/Tag/Tag.vue +32 -79
- package/src/components/Tag/types.ts +19 -0
- package/src/components/TextArea/TextArea.vue +41 -12
- package/src/components/TextArea/__test__/__snapshots__/TextArea.spec.js.snap +11 -3
- package/src/components/Toast/Toast.vue +246 -0
- package/src/components/Toast/ToastManager.ts +110 -0
- package/src/components/Toast/__tests__/Toast.spec.js +291 -0
- package/src/components/Toast/__tests__/ToastManager.spec.js +294 -0
- package/src/components/Toast/types.ts +57 -0
- package/src/components/ToolTip/ToolTip.vue +41 -188
- package/src/components/ToolTip/__tests__/ToolTip.spec.js +345 -61
- package/src/components/index.ts +95 -5
- package/src/components/ui/dialog/Dialog.vue +15 -0
- package/src/components/ui/dialog/DialogClose.vue +25 -0
- package/src/components/ui/dialog/DialogContent.vue +133 -0
- package/src/components/ui/dialog/DialogFooter.vue +46 -0
- package/src/components/ui/dialog/DialogHeader.vue +79 -0
- package/src/components/ui/dialog/DialogTitle.vue +34 -0
- package/src/components/ui/dialog/DialogTrigger.vue +12 -0
- package/src/components/ui/dialog/index.ts +7 -0
- package/src/components/ui/drawer/Drawer.vue +27 -0
- package/src/components/ui/drawer/DrawerClose.vue +37 -0
- package/src/components/ui/drawer/DrawerContent.vue +102 -0
- package/src/components/ui/drawer/DrawerDescription.vue +40 -0
- package/src/components/ui/drawer/DrawerFooter.vue +38 -0
- package/src/components/ui/drawer/DrawerHeader.vue +57 -0
- package/src/components/ui/drawer/DrawerOverlay.vue +34 -0
- package/src/components/ui/drawer/DrawerTitle.vue +37 -0
- package/src/components/ui/drawer/DrawerTrigger.vue +31 -0
- package/src/components/ui/drawer/index.ts +10 -0
- package/src/components/ui/segmented-control/SegmentedControlList.vue +51 -0
- package/src/components/ui/segmented-control/SegmentedControlTrigger.vue +81 -0
- package/src/components/ui/segmented-control/index.ts +4 -0
- package/src/components/ui/tabs/TabsTrigger.vue +4 -20
- package/src/components/ui/tooltip/Tooltip.vue +15 -0
- package/src/components/ui/tooltip/TooltipContent.vue +73 -0
- package/src/components/ui/tooltip/TooltipProvider.vue +15 -0
- package/src/components/ui/tooltip/TooltipTrigger.vue +22 -0
- package/src/components/ui/tooltip/index.ts +4 -0
- package/src/stories/Alert.stories.js +6 -67
- package/src/stories/Button.stories.js +29 -39
- package/src/stories/Checkbox.stories.js +11 -4
- package/src/stories/CheckboxGroup.stories.js +105 -0
- package/src/stories/DatePicker.stories.js +71 -0
- package/src/stories/Dialog.stories.js +832 -0
- package/src/stories/Drawer.stories.js +1 -1
- package/src/stories/DrawerNext.stories.js +610 -0
- package/src/stories/Input.stories.js +71 -76
- package/src/stories/Label.stories.js +7 -0
- package/src/stories/ModalDialog.mdx +3 -0
- package/src/stories/ModalDialog.stories.js +1 -1
- package/src/stories/PageHeader.stories.js +330 -0
- package/src/stories/Radio.stories.js +28 -1
- package/src/stories/RadioGroup.stories.js +144 -0
- package/src/stories/SegmentedControl.stories.js +253 -0
- package/src/stories/Switch.stories.js +10 -5
- package/src/stories/Tab.stories.js +11 -4
- package/src/stories/Tabs.stories.js +1 -1
- package/src/stories/Tag.stories.js +24 -43
- package/src/stories/TextArea.stories.js +14 -2
- package/src/stories/Toast.mdx +123 -0
- package/src/stories/Toast.stories.js +126 -0
- package/src/types/scheme-colors.d.ts +1 -0
- package/src/utils/call.js +46 -18
- package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts +0 -792
- package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts.map +0 -1
- package/dist/components/Tag/BrandTag.vue.d.ts +0 -51
- package/dist/components/Tag/BrandTag.vue.d.ts.map +0 -1
- package/dist/components/Tag/IndicatorTag.vue.d.ts +0 -151
- package/dist/components/Tag/IndicatorTag.vue.d.ts.map +0 -1
- package/dist/components/Tag/TagNext.vue.d.ts +0 -24
- package/dist/components/Tag/TagNext.vue.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -24078
- package/dist/components/index.d.ts.map +0 -1
- package/src/components/Alert/AlertBanner.vue +0 -182
- package/src/components/Alert/AlertCaller.vue +0 -49
- package/src/components/Alert/__tests__/AlertBanner.spec.js +0 -89
- package/src/components/Alert/__tests__/AlertCaller.spec.js +0 -98
- package/src/components/Tag/BrandTag.vue +0 -96
- package/src/components/Tag/IndicatorTag.vue +0 -107
- 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>;
|