@weni/unnnic-system 2.0.0 → 2.0.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/.vscode/extensions.json +3 -0
- package/README.md +36 -2
- package/dist/favicon.ico +0 -0
- package/dist/style.css +1 -0
- package/dist/unnnic.mjs +68338 -0
- package/dist/unnnic.umd.js +661 -44367
- package/package.json +76 -65
- package/src/assets/fonts/Material Symbols Rounded Filled.woff2 +0 -0
- package/src/assets/fonts/Material Symbols Rounded.woff2 +0 -0
- package/src/assets/fonts/fonts/icomoon.svg +163 -163
- package/src/assets/fonts/icons.css +582 -582
- package/src/assets/icons/Add1.vue +16 -0
- package/src/assets/icons/AddCircle1.vue +20 -0
- package/src/assets/icons/AlarmBell2.vue +20 -0
- package/src/assets/icons/AlarmBell3.vue +20 -0
- package/src/assets/icons/AlarmBellRing.vue +40 -0
- package/src/assets/icons/AlertCircle1.vue +25 -0
- package/src/assets/icons/AlertCircle11.vue +15 -0
- package/src/assets/icons/AmericanExpress.vue +18 -0
- package/src/assets/icons/AppWindowEdit1.vue +20 -0
- package/src/assets/icons/AppWindowEdit2.vue +45 -0
- package/src/assets/icons/ArrowButtonDown1.vue +15 -0
- package/src/assets/icons/ArrowButtonRight1.vue +15 -0
- package/src/assets/icons/ArrowButtonUp1.vue +15 -0
- package/src/assets/icons/ArrowDown11.vue +14 -0
- package/src/assets/icons/ArrowLeft11.vue +15 -0
- package/src/assets/icons/ArrowRedo.vue +15 -0
- package/src/assets/icons/ArrowRight11.vue +15 -0
- package/src/assets/icons/ArrowUndo.vue +15 -0
- package/src/assets/icons/Attachment.vue +16 -0
- package/src/assets/icons/Bin11.vue +26 -0
- package/src/assets/icons/BookAddress12.vue +20 -0
- package/src/assets/icons/BookAddress2.vue +15 -0
- package/src/assets/icons/BookLibrary1.vue +45 -0
- package/src/assets/icons/BookLibrary2.vue +17 -0
- package/src/assets/icons/Brazil.svg +21 -21
- package/src/assets/icons/Brazil.vue +74 -0
- package/src/assets/icons/Building21.vue +66 -0
- package/src/assets/icons/ButtonPlay1.vue +20 -0
- package/src/assets/icons/ButtonRefreshArrow1.vue +15 -0
- package/src/assets/icons/ButtonRefreshArrows1.vue +20 -0
- package/src/assets/icons/Charger1.vue +21 -0
- package/src/assets/icons/ChatTranslate1.vue +30 -0
- package/src/assets/icons/Check2.vue +16 -0
- package/src/assets/icons/CheckCircle11.vue +20 -0
- package/src/assets/icons/CheckCircle111.vue +15 -0
- package/src/assets/icons/CheckDouble.vue +15 -0
- package/src/assets/icons/CheckSquare1.vue +20 -0
- package/src/assets/icons/CheckSquare2.vue +20 -0
- package/src/assets/icons/CheckboxDefault.vue +19 -0
- package/src/assets/icons/CheckboxDisable.vue +19 -0
- package/src/assets/icons/CheckboxLess.vue +23 -0
- package/src/assets/icons/CheckboxSelect.vue +25 -0
- package/src/assets/icons/Close1.vue +16 -0
- package/src/assets/icons/Cog1.vue +21 -0
- package/src/assets/icons/Cog2.vue +16 -0
- package/src/assets/icons/CommonFileEmpty1.vue +15 -0
- package/src/assets/icons/CommonFileHorizontalImage1.vue +25 -0
- package/src/assets/icons/ControlsPause1.vue +20 -0
- package/src/assets/icons/ControlsPlay1.vue +15 -0
- package/src/assets/icons/CopyPaste1.vue +35 -0
- package/src/assets/icons/CurrencyDollarCircle1.vue +20 -0
- package/src/assets/icons/DefaultAvatar.vue +28 -0
- package/src/assets/icons/Delete1.vue +16 -0
- package/src/assets/icons/Delete11.vue +21 -0
- package/src/assets/icons/Delete21.vue +16 -0
- package/src/assets/icons/DeveloperCommunityGithub11.vue +15 -0
- package/src/assets/icons/DinersClub.vue +26 -0
- package/src/assets/icons/Discover.vue +47 -0
- package/src/assets/icons/DownloadBottom1.vue +20 -0
- package/src/assets/icons/DownloadThickBottom1.vue +20 -0
- package/src/assets/icons/Drag1.vue +27 -0
- package/src/assets/icons/EmailActionUnread1.vue +27 -0
- package/src/assets/icons/EmailActionUnread11.vue +18 -0
- package/src/assets/icons/Emoji.vue +31 -0
- package/src/assets/icons/Expand81.vue +31 -0
- package/src/assets/icons/ExpandFull1.vue +35 -0
- package/src/assets/icons/Export1.vue +26 -0
- package/src/assets/icons/Filter.vue +18 -0
- package/src/assets/icons/FitnessBiceps1.vue +15 -0
- package/src/assets/icons/Flash13.vue +16 -0
- package/src/assets/icons/Flash14.vue +16 -0
- package/src/assets/icons/FloppyDisk1.vue +30 -0
- package/src/assets/icons/Folder1.vue +16 -0
- package/src/assets/icons/Folder2.vue +16 -0
- package/src/assets/icons/GaugeDashboard1.vue +20 -0
- package/src/assets/icons/GaugeDashboard2.vue +40 -0
- package/src/assets/icons/GenericCard.vue +18 -0
- package/src/assets/icons/GraphStats1.vue +15 -0
- package/src/assets/icons/GraphStatsAscend2.vue +15 -0
- package/src/assets/icons/GraphStatsCircle1.vue +20 -0
- package/src/assets/icons/GraphStatsCircle11.vue +20 -0
- package/src/assets/icons/GraphStatsDescend2.vue +17 -0
- package/src/assets/icons/HeadphonesCustomerSupport1.vue +15 -0
- package/src/assets/icons/HeadphonesCustomerSupport2.vue +15 -0
- package/src/assets/icons/HeadphonesCustomerSupportHuman11.vue +20 -0
- package/src/assets/icons/Hierarchy32.vue +16 -0
- package/src/assets/icons/Hierarchy33.vue +16 -0
- package/src/assets/icons/House11.vue +21 -0
- package/src/assets/icons/House22.vue +16 -0
- package/src/assets/icons/Indicator.vue +18 -0
- package/src/assets/icons/InformationCircle4.vue +15 -0
- package/src/assets/icons/InteractionTime.vue +31 -0
- package/src/assets/icons/Jcb.vue +75 -0
- package/src/assets/icons/KeyboardArrowDown1.vue +15 -0
- package/src/assets/icons/KeyboardArrowLeft1.vue +15 -0
- package/src/assets/icons/KeyboardArrowRight1.vue +15 -0
- package/src/assets/icons/KeyboardReturn1.vue +18 -0
- package/src/assets/icons/KeyboardReturn11.vue +14 -0
- package/src/assets/icons/LayoutDashboard1.vue +30 -0
- package/src/assets/icons/LayoutDashboard2.vue +30 -0
- package/src/assets/icons/LayoutModule12.vue +26 -0
- package/src/assets/icons/LoadingCircle1.vue +72 -0
- package/src/assets/icons/Lock21.vue +21 -0
- package/src/assets/icons/Lock22.vue +16 -0
- package/src/assets/icons/LockUnlock11.vue +20 -0
- package/src/assets/icons/Logout11.vue +21 -0
- package/src/assets/icons/Mastercard.vue +27 -0
- package/src/assets/icons/Messages.vue +18 -0
- package/src/assets/icons/MessagesBubble1.vue +15 -0
- package/src/assets/icons/MessagesBubble3.vue +15 -0
- package/src/assets/icons/MessagesBubble4.vue +15 -0
- package/src/assets/icons/MessagingWeChat2.vue +20 -0
- package/src/assets/icons/MessagingWeChat3.vue +40 -0
- package/src/assets/icons/MessagingWhatsapp1.vue +20 -0
- package/src/assets/icons/Microphone.vue +21 -0
- package/src/assets/icons/NavigationMenuVertical1.vue +25 -0
- package/src/assets/icons/Notes1.vue +36 -0
- package/src/assets/icons/OfficeFilePdf11.vue +30 -0
- package/src/assets/icons/PaginateFilterText1.vue +35 -0
- package/src/assets/icons/PencilWrite1.vue +20 -0
- package/src/assets/icons/Phone3.vue +16 -0
- package/src/assets/icons/Phone4.vue +16 -0
- package/src/assets/icons/PhoneCharger1.vue +15 -0
- package/src/assets/icons/PhotographyEquipmentBag1.vue +25 -0
- package/src/assets/icons/PieLineGraph1.vue +35 -0
- package/src/assets/icons/Preferences.vue +74 -0
- package/src/assets/icons/QuestionCircle1.vue +25 -0
- package/src/assets/icons/QuestionCircle2.vue +15 -0
- package/src/assets/icons/RadioDefault.vue +17 -0
- package/src/assets/icons/RadioDisable.vue +17 -0
- package/src/assets/icons/RadioSelected.vue +23 -0
- package/src/assets/icons/RatingStar1.vue +13 -0
- package/src/assets/icons/RatingStar11.vue +15 -0
- package/src/assets/icons/ReadEmailAt1.vue +27 -0
- package/src/assets/icons/ResponseTime.vue +48 -0
- package/src/assets/icons/ScienceFictionRobot1.vue +40 -0
- package/src/assets/icons/ScienceFictionRobot2.vue +25 -0
- package/src/assets/icons/Search1.vue +16 -0
- package/src/assets/icons/SendEmail31.vue +13 -0
- package/src/assets/icons/SingleNeutral2.vue +20 -0
- package/src/assets/icons/SingleNeutralActions1.vue +20 -0
- package/src/assets/icons/SocialInstagram1.vue +15 -0
- package/src/assets/icons/SocialMediaFacebook1.vue +15 -0
- package/src/assets/icons/SocialMediaGoogle1.vue +26 -0
- package/src/assets/icons/SortAsc.vue +19 -0
- package/src/assets/icons/SortDefault.vue +20 -0
- package/src/assets/icons/SortDesc.vue +19 -0
- package/src/assets/icons/Spain.svg +498 -498
- package/src/assets/icons/Spain.vue +1846 -0
- package/src/assets/icons/StudyLightIdea1.vue +50 -0
- package/src/assets/icons/Subtract1.vue +16 -0
- package/src/assets/icons/SubtractCircle1.vue +20 -0
- package/src/assets/icons/SwitchDefault.vue +31 -0
- package/src/assets/icons/SwitchDefaultDisabled.vue +25 -0
- package/src/assets/icons/SwitchSelected.vue +31 -0
- package/src/assets/icons/SwitchSelectedDisabled.vue +23 -0
- package/src/assets/icons/SynchronizeArrowClock4.vue +20 -0
- package/src/assets/icons/SynchronizeArrowClock5.vue +20 -0
- package/src/assets/icons/TaskChecklist1.vue +20 -0
- package/src/assets/icons/TaskListClock1.vue +45 -0
- package/src/assets/icons/TextBold.vue +15 -0
- package/src/assets/icons/TextCenter.vue +35 -0
- package/src/assets/icons/TextItalic.vue +15 -0
- package/src/assets/icons/TextJustified.vue +35 -0
- package/src/assets/icons/TextLeft.vue +35 -0
- package/src/assets/icons/TextRight.vue +35 -0
- package/src/assets/icons/TextUnderline.vue +20 -0
- package/src/assets/icons/Ticket1.vue +39 -0
- package/src/assets/icons/Ticket2.vue +21 -0
- package/src/assets/icons/TimeClockCircle1.vue +20 -0
- package/src/assets/icons/TransferMessage.vue +24 -0
- package/src/assets/icons/Translate1.vue +41 -0
- package/src/assets/icons/Translate2.vue +41 -0
- package/src/assets/icons/Typing1.vue +21 -0
- package/src/assets/icons/USA.svg +28 -28
- package/src/assets/icons/USA.vue +192 -0
- package/src/assets/icons/Unionpay.vue +31 -0
- package/src/assets/icons/UnorderedList.vue +40 -0
- package/src/assets/icons/UploadBottom1.vue +20 -0
- package/src/assets/icons/VideoFileMp41.vue +30 -0
- package/src/assets/icons/View11.vue +21 -0
- package/src/assets/icons/ViewOff1.vue +35 -0
- package/src/assets/icons/VipCrownQueen2.vue +20 -0
- package/src/assets/icons/Visa.vue +35 -0
- package/src/assets/icons/add-1.svg +3 -3
- package/src/assets/icons/add-circle-1.svg +4 -4
- package/src/assets/icons/alarm-bell-ring.svg +8 -8
- package/src/assets/icons/alert-circle-1-1.svg +3 -3
- package/src/assets/icons/alert-circle-1.svg +5 -5
- package/src/assets/icons/american-express.svg +4 -4
- package/src/assets/icons/app-window-edit-1.svg +4 -4
- package/src/assets/icons/app-window-edit-2.svg +9 -9
- package/src/assets/icons/arrow-button-down-1.svg +3 -3
- package/src/assets/icons/arrow-button-up-1.svg +3 -3
- package/src/assets/icons/arrow-down-1-1.svg +3 -3
- package/src/assets/icons/arrow-left-1-1.svg +3 -3
- package/src/assets/icons/arrow-redo.svg +3 -3
- package/src/assets/icons/arrow-right-1-1.svg +3 -3
- package/src/assets/icons/arrow-undo.svg +3 -3
- package/src/assets/icons/attachment.svg +3 -3
- package/src/assets/icons/bin-1-1.svg +5 -5
- package/src/assets/icons/book-address-1-2.svg +4 -4
- package/src/assets/icons/book-address-2.svg +3 -3
- package/src/assets/icons/book-library-1.svg +9 -9
- package/src/assets/icons/book-library-2.svg +3 -3
- package/src/assets/icons/bookmark-tag-1.svg +3 -3
- package/src/assets/icons/bookmarkTag1.vue +17 -0
- package/src/assets/icons/building-2-1.svg +13 -13
- package/src/assets/icons/button-play-1.svg +4 -4
- package/src/assets/icons/button-refresh-arrow-1.svg +3 -3
- package/src/assets/icons/button-refresh-arrows-1.svg +4 -4
- package/src/assets/icons/charger-1.svg +4 -4
- package/src/assets/icons/chat-translate-1.svg +6 -6
- package/src/assets/icons/check-2.svg +3 -3
- package/src/assets/icons/check-circle-1-1-1.svg +3 -3
- package/src/assets/icons/check-circle-1-1.svg +4 -4
- package/src/assets/icons/check-double.svg +3 -3
- package/src/assets/icons/check-square-1.svg +4 -4
- package/src/assets/icons/check-square-2.svg +4 -4
- package/src/assets/icons/checkbox-default.svg +3 -3
- package/src/assets/icons/checkbox-disable.svg +3 -3
- package/src/assets/icons/checkbox-less.svg +4 -4
- package/src/assets/icons/checkbox-select.svg +4 -4
- package/src/assets/icons/close-1.svg +3 -3
- package/src/assets/icons/cog-1.svg +4 -4
- package/src/assets/icons/cog-2.svg +3 -3
- package/src/assets/icons/common-file-empty-1.svg +3 -3
- package/src/assets/icons/common-file-horizontal-image-1.svg +5 -5
- package/src/assets/icons/controls-pause-1.svg +4 -4
- package/src/assets/icons/controls-play-1.svg +3 -3
- package/src/assets/icons/copy-paste-1.svg +7 -7
- package/src/assets/icons/currency-dollar-circle-1.svg +4 -4
- package/src/assets/icons/default-avatar.svg +5 -5
- package/src/assets/icons/delete-1-1.svg +4 -4
- package/src/assets/icons/delete-1.svg +3 -3
- package/src/assets/icons/delete-2-1.svg +3 -3
- package/src/assets/icons/developer-community-github-1-1.svg +3 -3
- package/src/assets/icons/diners-club.svg +6 -6
- package/src/assets/icons/discover.svg +11 -11
- package/src/assets/icons/download-bottom-1.svg +4 -4
- package/src/assets/icons/download-thick-bottom-1.svg +4 -4
- package/src/assets/icons/drag-1.svg +10 -10
- package/src/assets/icons/email-action-unread-1-1.svg +4 -4
- package/src/assets/icons/email-action-unread-1.svg +10 -10
- package/src/assets/icons/emoji.svg +6 -6
- package/src/assets/icons/expand-8-1.svg +6 -6
- package/src/assets/icons/expand-full-1.svg +7 -7
- package/src/assets/icons/export-1.svg +5 -5
- package/src/assets/icons/filter.svg +3 -3
- package/src/assets/icons/fitness-biceps-1.svg +3 -3
- package/src/assets/icons/flash-1-3.svg +3 -3
- package/src/assets/icons/flash-1-4.svg +3 -3
- package/src/assets/icons/floppy-disk-1.svg +6 -6
- package/src/assets/icons/folder-1.svg +3 -3
- package/src/assets/icons/folder-2.svg +3 -3
- package/src/assets/icons/gauge-dashboard-1.svg +4 -4
- package/src/assets/icons/gauge-dashboard-2.svg +8 -8
- package/src/assets/icons/generic-card.svg +4 -4
- package/src/assets/icons/graph-stats-1.svg +3 -3
- package/src/assets/icons/graph-stats-ascend-2.svg +3 -3
- package/src/assets/icons/graph-stats-circle-1-1.svg +4 -4
- package/src/assets/icons/graph-stats-circle-1.svg +4 -4
- package/src/assets/icons/graph-stats-descend-2.svg +4 -4
- package/src/assets/icons/headphones-customer-support-1.svg +3 -3
- package/src/assets/icons/headphones-customer-support-2.svg +3 -3
- package/src/assets/icons/headphones-customer-support-human-1-1.svg +4 -4
- package/src/assets/icons/hierarchy-3-2.svg +3 -3
- package/src/assets/icons/hierarchy-3-3.svg +3 -3
- package/src/assets/icons/house-1-1.svg +4 -4
- package/src/assets/icons/house-2-2.svg +3 -3
- package/src/assets/icons/icon-script.py +27 -27
- package/src/assets/icons/indicator.svg +3 -3
- package/src/assets/icons/information-circle-4.svg +3 -3
- package/src/assets/icons/interaction-time.svg +5 -5
- package/src/assets/icons/jcb.svg +21 -21
- package/src/assets/icons/keyboard-arrow-down-1.svg +3 -3
- package/src/assets/icons/keyboard-arrow-left-1.svg +3 -3
- package/src/assets/icons/keyboard-arrow-right-1.svg +3 -3
- package/src/assets/icons/keyboard-return-1-1.svg +3 -3
- package/src/assets/icons/keyboard-return-1.svg +4 -4
- package/src/assets/icons/layout-dashboard-1.svg +6 -6
- package/src/assets/icons/layout-dashboard-2.svg +6 -6
- package/src/assets/icons/layout-module-1-2.svg +6 -6
- package/src/assets/icons/loading-circle-1.svg +19 -19
- package/src/assets/icons/lock-2-1.svg +4 -4
- package/src/assets/icons/lock-2-2.svg +3 -3
- package/src/assets/icons/lock-unlock-1-1.svg +4 -4
- package/src/assets/icons/logout-1-1.svg +4 -4
- package/src/assets/icons/mastercard.svg +6 -6
- package/src/assets/icons/messages-bubble-1.svg +3 -3
- package/src/assets/icons/messages-bubble-3.svg +3 -3
- package/src/assets/icons/messages-bubble-4.svg +3 -3
- package/src/assets/icons/messages.svg +3 -3
- package/src/assets/icons/messaging-we-chat-2.svg +4 -4
- package/src/assets/icons/messaging-we-chat-3.svg +8 -8
- package/src/assets/icons/messaging-whatsapp-1.svg +4 -4
- package/src/assets/icons/microphone.svg +4 -4
- package/src/assets/icons/move-expand-vertical-1.svg +3 -3
- package/src/assets/icons/moveExpandVertical1.vue +17 -0
- package/src/assets/icons/navigation-menu-vertical-1.svg +5 -5
- package/src/assets/icons/notes-1.svg +7 -7
- package/src/assets/icons/office-file-pdf-1-1.svg +6 -6
- package/src/assets/icons/paginate-filter-text-1.svg +7 -7
- package/src/assets/icons/pencil-write-1.svg +4 -4
- package/src/assets/icons/phone-3.svg +3 -3
- package/src/assets/icons/phone-4.svg +3 -3
- package/src/assets/icons/phone-charger-1.svg +3 -3
- package/src/assets/icons/photography-equipment-bag-1.svg +5 -5
- package/src/assets/icons/pie-line-graph-1.svg +7 -7
- package/src/assets/icons/preferences.svg +11 -11
- package/src/assets/icons/question-circle-1.svg +5 -5
- package/src/assets/icons/question-circle-2.svg +3 -3
- package/src/assets/icons/radio-default.svg +3 -3
- package/src/assets/icons/radio-disable.svg +3 -3
- package/src/assets/icons/radio-selected.svg +4 -4
- package/src/assets/icons/rating-star-1-1.svg +3 -3
- package/src/assets/icons/rating-star-1.svg +3 -3
- package/src/assets/icons/read-email-at-1.svg +10 -10
- package/src/assets/icons/response-time.svg +12 -12
- package/src/assets/icons/science-fiction-robot-1.svg +8 -8
- package/src/assets/icons/science-fiction-robot-2.svg +5 -5
- package/src/assets/icons/script-to-convert-svg-to-vue.js +20 -0
- package/src/assets/icons/search-1.svg +3 -3
- package/src/assets/icons/send-email-3-1.svg +3 -3
- package/src/assets/icons/single-neutral-2.svg +4 -4
- package/src/assets/icons/single-neutral-actions-1.svg +4 -4
- package/src/assets/icons/social-instagram-1.svg +3 -3
- package/src/assets/icons/social-media-facebook-1.svg +3 -3
- package/src/assets/icons/social-media-google-1.svg +6 -6
- package/src/assets/icons/sort-asc.svg +4 -4
- package/src/assets/icons/sort-default.svg +4 -4
- package/src/assets/icons/sort-desc.svg +4 -4
- package/src/assets/icons/study-light-idea-1.svg +10 -10
- package/src/assets/icons/subtract-1.svg +3 -3
- package/src/assets/icons/subtract-circle-1.svg +4 -4
- package/src/assets/icons/switch-default-disabled.svg +4 -4
- package/src/assets/icons/switch-default.svg +11 -11
- package/src/assets/icons/switch-selected-disabled.svg +4 -4
- package/src/assets/icons/switch-selected.svg +11 -11
- package/src/assets/icons/synchronize-arrow-clock-4.svg +4 -4
- package/src/assets/icons/synchronize-arrow-clock-5.svg +4 -4
- package/src/assets/icons/task-checklist-1.svg +4 -4
- package/src/assets/icons/task-list-clock-1.svg +9 -9
- package/src/assets/icons/text-bold.svg +3 -3
- package/src/assets/icons/text-center.svg +7 -7
- package/src/assets/icons/text-italic.svg +3 -3
- package/src/assets/icons/text-justified.svg +7 -7
- package/src/assets/icons/text-left.svg +7 -7
- package/src/assets/icons/text-right.svg +7 -7
- package/src/assets/icons/text-underline.svg +4 -4
- package/src/assets/icons/ticket-1.svg +9 -9
- package/src/assets/icons/ticket-2.svg +4 -4
- package/src/assets/icons/time-clock-circle-1.svg +4 -4
- package/src/assets/icons/transfer-message.svg +4 -4
- package/src/assets/icons/translate-1.svg +8 -8
- package/src/assets/icons/translate-2.svg +8 -8
- package/src/assets/icons/typing-1.svg +4 -4
- package/src/assets/icons/unionpay.svg +7 -7
- package/src/assets/icons/unordered-list.svg +8 -8
- package/src/assets/icons/upload-bottom-1.svg +4 -4
- package/src/assets/icons/video-file-mp4-1.svg +6 -6
- package/src/assets/icons/view-1-1.svg +4 -4
- package/src/assets/icons/view-off-1.svg +7 -7
- package/src/assets/icons/vip-crown-queen-2.svg +4 -4
- package/src/assets/icons/visa.svg +8 -8
- package/src/assets/img/flag/en.svg +28 -28
- package/src/assets/img/flag/pt-br.svg +21 -21
- package/src/assets/scss/colors.scss +241 -241
- package/src/assets/scss/fonts.scss +123 -123
- package/src/assets/scss/grid.scss +51 -51
- package/src/assets/scss/spacing.scss +103 -103
- package/src/assets/scss/unnnic.scss +10 -10
- package/src/components/Accordion/Accordion.vue +17 -10
- package/src/components/Alert/Alert.vue +73 -53
- package/src/components/Alert/AlertCaller.vue +1 -1
- package/src/components/Alert/Version1dot1.vue +196 -77
- package/src/components/AudioRecorder/AudioHandler.vue +16 -18
- package/src/components/AudioRecorder/AudioPlayer.vue +47 -7
- package/src/components/AudioRecorder/AudioRecorder.vue +47 -31
- package/src/components/AvatarIcon/AvatarIcon.vue +33 -16
- package/src/components/Banner/Banner.vue +1 -2
- package/src/components/Banner/InfoBanner.vue +5 -5
- package/src/components/Breadcrumb/Breadcrumb.vue +13 -15
- package/src/components/Button/Button.vue +174 -99
- package/src/components/Button/ButtonIcon.vue +13 -7
- package/src/components/Card/AccountCard.vue +3 -3
- package/src/components/Card/BlankCard.vue +11 -9
- package/src/components/Card/Card.vue +62 -35
- package/src/components/Card/CardCompany.vue +45 -22
- package/src/components/Card/CardData.vue +11 -5
- package/src/components/Card/CardStatusesContainer.vue +45 -14
- package/src/components/Card/ContentCard.vue +15 -5
- package/src/components/Card/DashCard.vue +8 -5
- package/src/components/Card/DefaultCard.vue +11 -5
- package/src/components/Card/MarketplaceCard.vue +19 -6
- package/src/components/Card/StatusCard.vue +12 -3
- package/src/components/Card/TitleCard.vue +9 -5
- package/src/components/CardImage/CardImage.vue +48 -26
- package/src/components/CardInformation/CardInformation.vue +6 -6
- package/src/components/CardNumber/CardNumber.vue +1 -1
- package/src/components/CardProject/CardProject.vue +31 -21
- package/src/components/Carousel/Carousel.vue +13 -15
- package/src/components/Carousel/TagCarousel.vue +27 -16
- package/src/components/ChartBar/ChartBar.vue +101 -64
- package/src/components/ChartLine/ChartLine.vue +64 -40
- package/src/components/ChartMultiLine/ChartMultiLine.vue +328 -0
- package/src/components/ChartMultiLine/Line/Line.vue +170 -0
- package/src/components/ChartRainbow/ChartRainbow.vue +87 -46
- package/src/components/ChatText/ChatText.vue +41 -15
- package/src/components/ChatsContact/ChatsContact.vue +332 -0
- package/src/components/ChatsDashboardTagLive/ChatsDashboardTagLive.vue +82 -0
- package/src/components/ChatsHeader/ChatsHeader.vue +320 -0
- package/src/components/ChatsMessage/ChatsMessage.vue +318 -0
- package/src/components/ChatsMessage/ChatsMessageStatusBackdrop.vue +78 -0
- package/src/components/ChatsMessage/ChatsMessageText.vue +80 -0
- package/src/components/{NavbarChats/NavbarChats.vue → ChatsNavbar/ChatsNavbar.vue} +30 -25
- package/src/components/ChatsUserAvatar/ChatsUserAvatar.vue +140 -0
- package/src/components/Checkbox/Checkbox.vue +14 -12
- package/src/components/CircleProgressBar/CircleProgressBar.vue +7 -3
- package/src/components/Collapse/Collapse.vue +141 -0
- package/src/components/DataArea/DataArea.vue +6 -3
- package/src/components/DateFilter/DateFilter.vue +9 -5
- package/src/components/DatePicker/DatePicker.vue +133 -76
- package/src/components/Dropdown/Dropdown.vue +66 -54
- package/src/components/Dropdown/DropdownItem.vue +15 -17
- package/src/components/Dropdown/DropdownSkeleton.vue +15 -8
- package/src/components/Dropdown/LanguageSelect.vue +56 -21
- package/src/components/EmojiPicker/EmojiPicker.vue +83 -0
- package/src/components/Flag.vue +2 -2
- package/src/components/FormElement/FormElement.vue +44 -4
- package/src/components/Icon/OldIconsMap.json +97 -0
- package/src/components/Icon.vue +228 -133
- package/src/components/IconLoading/IconLoading.vue +48 -0
- package/src/components/ImportCard/ImportCard.vue +36 -15
- package/src/components/Indicator/Indicator.vue +4 -2
- package/src/components/Input/BaseInput.vue +9 -22
- package/src/components/Input/Input.vue +30 -26
- package/src/components/Input/TextInput.vue +33 -31
- package/src/components/InputDatePicker/InputDatePicker.vue +38 -22
- package/src/components/Label/Label.vue +1 -1
- package/src/components/Modal/CallModal.vue +1 -1
- package/src/components/Modal/Modal.vue +62 -19
- package/src/components/ModalUpload/ModalUpload.vue +19 -16
- package/src/components/MoodRating/MoodRating.vue +36 -21
- package/src/components/MultiSelect/MultiSelect.vue +48 -25
- package/src/components/Pagination/Pagination.vue +22 -15
- package/src/components/ProgressBar/ProgressBar.vue +30 -17
- package/src/components/Radio/Radio.vue +45 -65
- package/src/components/Select/SelectItem.vue +49 -43
- package/src/components/SelectSmart/SelectSmart.vue +133 -70
- package/src/components/SelectSmart/SelectSmartMultipleHeader.vue +18 -4
- package/src/components/SelectSmart/SelectSmartOption.vue +22 -15
- package/src/components/Sidebar/Sidebar.vue +62 -59
- package/src/components/Sidebar/SidebarItem.vue +47 -36
- package/src/components/Sidebar/SidebarMenu.vue +16 -16
- package/src/components/Sidebar/SidebarPrimary.vue +79 -45
- package/src/components/SkeletonLoading/SkeletonLoading.vue +73 -60
- package/src/components/SkeletonLoading/skeletonTheme.vue +30 -19
- package/src/components/Slider/Slider.vue +25 -12
- package/src/components/StarRating/StarRating.vue +9 -5
- package/src/components/Switch/Switch.vue +23 -16
- package/src/components/Tab/Tab.vue +6 -3
- package/src/components/Table/Table.vue +14 -5
- package/src/components/Table/TableRow.vue +5 -4
- package/src/components/TabsExpanded/TabsExpanded.vue +29 -16
- package/src/components/Tag/BrandTag.vue +7 -4
- package/src/components/Tag/DefaultTag.vue +39 -41
- package/src/components/Tag/IndicatorTag.vue +9 -6
- package/src/components/Tag/Tag.vue +16 -20
- package/src/components/TextArea/TextArea.vue +22 -8
- package/src/components/ToolTip/ToolTip.vue +82 -64
- package/src/components/TransitionRipple/TransitionRipple.vue +126 -0
- package/src/components/UploadArea/UploadArea.vue +31 -14
- package/src/components/config.js +0 -1
- package/src/components/grid/Grid.vue +16 -11
- package/src/components/icons/IconCommunity.vue +12 -0
- package/src/components/icons/IconDocumentation.vue +12 -0
- package/src/components/icons/IconEcosystem.vue +12 -0
- package/src/components/icons/IconSupport.vue +12 -0
- package/src/components/icons/IconTooling.vue +19 -0
- package/src/components/index.js +48 -32
- package/src/index.js +10 -0
- package/src/locales/en.json +15 -19
- package/src/locales/es.json +15 -19
- package/src/locales/pt_br.json +15 -19
- package/src/main.js +5 -10
- package/src/mixins/i18n.js +60 -0
- package/src/stories/Accordion.stories.js +9 -4
- package/src/stories/Alert.stories.js +79 -4
- package/src/stories/AvatarIcon.stories.js +28 -12
- package/src/stories/Banner.stories.js +28 -21
- package/src/stories/Breadcrumb.stories.js +10 -10
- package/src/stories/Button.stories.js +112 -38
- package/src/stories/ButtonIcon.stories.js +4 -13
- package/src/stories/Card.stories.js +126 -91
- package/src/stories/CardCompany.stories.js +50 -32
- package/src/stories/CardData.stories.js +2 -1
- package/src/stories/CardImage.stories.js +15 -12
- package/src/stories/CardNumber.stories.js +4 -25
- package/src/stories/CardProject.stories.js +1 -1
- package/src/stories/Carousel.stories.js +4 -3
- package/src/stories/ChartBar.stories.js +68 -51
- package/src/stories/ChartLine.stories.js +32 -23
- package/src/stories/ChartMultiLine.stories.js +59 -0
- package/src/stories/ChartRainbow.stories.js +8 -25
- package/src/stories/ChatsContact.stories.js +90 -0
- package/src/stories/ChatsDashboardTagLive.stories.js +24 -0
- package/src/stories/ChatsHeader.stories.js +93 -0
- package/src/stories/ChatsMessage.stories.js +246 -0
- package/src/stories/ChatsNavbar.stories.js +65 -0
- package/src/stories/ChatsUserAvatar.stories.js +35 -0
- package/src/stories/Checkbox.stories.js +24 -17
- package/src/stories/CircleProgressBar.stories.js +1 -7
- package/src/stories/Collapse.stories.js +97 -0
- package/src/stories/Comment.stories.js +13 -10
- package/src/stories/DataArea.stories.js +22 -18
- package/src/stories/DatePicker.stories.js +28 -21
- package/src/stories/Dropdown.stories.js +8 -2
- package/src/stories/EmojiPicker.stories.js +59 -0
- package/src/stories/Grid.stories.js +6 -1
- package/src/stories/Icon.stories.js +4 -13
- package/src/stories/IconLoading.stories.js +126 -0
- package/src/stories/ImportCard.stories.js +6 -1
- package/src/stories/Input.stories.js +13 -7
- package/src/stories/Introduction.mdx +196 -0
- package/src/stories/Label.stories.js +4 -9
- package/src/stories/LanguageSelect.stories.js +3 -1
- package/src/stories/Modal.stories.js +22 -5
- package/src/stories/ModalUpload.stories.js +17 -21
- package/src/stories/MoodRating.stories.js +5 -4
- package/src/stories/MultiSelect.stories.js +2 -1
- package/src/stories/Pagination.stories.js +19 -5
- package/src/stories/ProgressBar.stories.js +1 -1
- package/src/stories/Radio.stories.js +6 -4
- package/src/stories/SelectSmart.mdx +138 -0
- package/src/stories/SelectSmart.stories.js +144 -117
- package/src/stories/Sidebar.stories.js +3 -2
- package/src/stories/SidebarPrimary.stories.js +54 -40
- package/src/stories/SkeletonLoading.stories.js +15 -4
- package/src/stories/Slider.stories.js +6 -8
- package/src/stories/StarRating.stories.js +6 -9
- package/src/stories/Switch.stories.js +2 -1
- package/src/stories/Table.stories.js +1 -1
- package/src/stories/TabsExpanded.stories.js +30 -27
- package/src/stories/Tag.stories.js +23 -24
- package/src/stories/TextArea.stories.js +2 -0
- package/src/stories/ToolTip.stories.js +10 -13
- package/src/stories/TransitionRipple.stories.js +34 -0
- package/src/stories/UploadArea.stories.js +22 -31
- package/src/stories/assets/images/un.png +0 -0
- package/src/stories/assets/images/unnnic.png +0 -0
- package/src/stories/assets/images/unnnicPortrait.png +0 -0
- package/src/stories/assets/videos/weni.mp4 +0 -0
- package/src/utils/call.js +37 -14
- package/src/utils/colorTokens.js +2 -0
- package/src/utils/icons.js +352 -353
- package/src/utils/plugins/i18n.js +2 -7
- package/.eslintrc.js +0 -20
- package/babel.config.js +0 -16
- package/dist/demo.html +0 -10
- package/dist/img/u1F601.0f41115c.png +0 -0
- package/dist/img/u1F610.a415c879.png +0 -0
- package/dist/img/u1F625.01b659bc.png +0 -0
- package/dist/img/u1F641.f740da74.png +0 -0
- package/dist/img/u1F645.1ff7ba1e.png +0 -0
- package/dist/scss/colors.scss +0 -241
- package/dist/scss/fonts.scss +0 -123
- package/dist/scss/grid.scss +0 -52
- package/dist/scss/spacing.scss +0 -103
- package/dist/scss/unnnic.scss +0 -10
- package/dist/unnnic.common.js +0 -44493
- package/dist/unnnic.common.js.map +0 -1
- package/dist/unnnic.css +0 -1
- package/dist/unnnic.umd.js.map +0 -1
- package/dist/unnnic.umd.min.js +0 -292
- package/dist/unnnic.umd.min.js.map +0 -1
- package/jest.config.js +0 -3
- package/package-lock.json +0 -60419
- package/public/index.html +0 -17
- package/src/assets/logo.png +0 -0
- package/src/components/AutocompleteSelect/AutocompleteSelect.vue +0 -338
- package/src/components/CardFlow/CardFlow.vue +0 -175
- package/src/components/Input/Autocomplete.vue +0 -325
- package/src/components/InputNext/InputNext.vue +0 -260
- package/src/components/ModalNext/ModalNext.vue +0 -396
- package/src/components/Select/Select.vue +0 -409
- package/src/components/SelectListItem/SelectListItem.vue +0 -125
- package/src/components/TextEditor/TextEditor.vue +0 -530
- package/src/stories/Autocomplete.stories.js +0 -55
- package/src/stories/AutocompleteSelect.stories.js +0 -45
- package/src/stories/CardFlow.stories.js +0 -44
- package/src/stories/Colors.stories.mdx +0 -91
- package/src/stories/DropdownSkeleton.stories.js +0 -15
- package/src/stories/Font.stories.mdx +0 -80
- package/src/stories/InputNext.stories.js +0 -109
- package/src/stories/Introduction.stories.mdx +0 -207
- package/src/stories/ModalNext.stories.js +0 -171
- package/src/stories/NavbarChats.stories.js +0 -68
- package/src/stories/Select.stories.js +0 -62
- package/src/stories/SelectListItem.stories.js +0 -63
- package/src/stories/TextEditor.stories.js +0 -80
- package/vue.config.js +0 -26
|
@@ -4,25 +4,32 @@ export default {
|
|
|
4
4
|
title: 'Form/Checkbox',
|
|
5
5
|
component: unnnicCheckbox,
|
|
6
6
|
argTypes: {
|
|
7
|
-
value: { control:
|
|
8
|
-
disabled: { control:
|
|
9
|
-
size: { control:
|
|
7
|
+
value: { control: 'inline-radio', options: [true, false, 'less'] },
|
|
8
|
+
disabled: { control: 'boolean' },
|
|
9
|
+
size: { control: 'select', options: ['md', 'sm'] },
|
|
10
10
|
},
|
|
11
|
+
render: (args) => ({
|
|
12
|
+
components: {
|
|
13
|
+
unnnicCheckbox,
|
|
14
|
+
},
|
|
15
|
+
setup() {
|
|
16
|
+
return { args };
|
|
17
|
+
},
|
|
18
|
+
data() {
|
|
19
|
+
return {
|
|
20
|
+
value: true,
|
|
21
|
+
};
|
|
22
|
+
},
|
|
23
|
+
template: `
|
|
24
|
+
<unnnicCheckbox v-model="value" />
|
|
25
|
+
`,
|
|
26
|
+
}),
|
|
11
27
|
};
|
|
12
28
|
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
29
|
+
export const Default = {
|
|
30
|
+
args: {
|
|
31
|
+
value: true,
|
|
32
|
+
disabled: false,
|
|
33
|
+
size: 'md',
|
|
17
34
|
},
|
|
18
|
-
template: `
|
|
19
|
-
<unnnic-checkbox v-bind="$props"></unnnic-checkbox>
|
|
20
|
-
`,
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
export const Default = Template.bind({});
|
|
24
|
-
Default.args = {
|
|
25
|
-
value: true,
|
|
26
|
-
disabled: false,
|
|
27
|
-
size: 'md',
|
|
28
35
|
};
|
|
@@ -17,11 +17,7 @@ const Template = (args, { argTypes }) => ({
|
|
|
17
17
|
return {};
|
|
18
18
|
},
|
|
19
19
|
|
|
20
|
-
template:
|
|
21
|
-
<div>
|
|
22
|
-
<unnnic-circle-progress-bar v-bind="$props" />
|
|
23
|
-
</div>
|
|
24
|
-
`,
|
|
20
|
+
template: `<unnnic-circle-progress-bar v-bind="$props" />`,
|
|
25
21
|
|
|
26
22
|
methods: {},
|
|
27
23
|
});
|
|
@@ -29,8 +25,6 @@ const Template = (args, { argTypes }) => ({
|
|
|
29
25
|
export const Default = Template.bind({});
|
|
30
26
|
|
|
31
27
|
Default.args = {
|
|
32
|
-
value: 50,
|
|
33
28
|
progress: 4,
|
|
34
29
|
totalProgress: 8,
|
|
35
|
-
description: 'Description',
|
|
36
30
|
};
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import unnnicCollapse from '../components/Collapse/Collapse.vue';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: 'accordion/Collapse',
|
|
5
|
+
component: unnnicCollapse,
|
|
6
|
+
argTypes: {
|
|
7
|
+
'on-update:model-value': { action: '@update:model-value' },
|
|
8
|
+
size: {
|
|
9
|
+
control: {
|
|
10
|
+
type: 'select',
|
|
11
|
+
options: ['md', 'lg'],
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
borderBottom: { control: { type: 'boolean' } },
|
|
15
|
+
unspacedIcon: { control: { type: 'boolean' } },
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const Template = (args, { argTypes }) => ({
|
|
20
|
+
props: Object.keys(argTypes),
|
|
21
|
+
|
|
22
|
+
components: {
|
|
23
|
+
unnnicCollapse,
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
data() {
|
|
27
|
+
return {
|
|
28
|
+
active: true,
|
|
29
|
+
};
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
template: `
|
|
33
|
+
<div>
|
|
34
|
+
<button @click="active = !active">External change active</button>
|
|
35
|
+
|
|
36
|
+
<pre>v-model: {{ active }}</pre>
|
|
37
|
+
|
|
38
|
+
<unnnic-collapse v-bind="$props" v-model="active">
|
|
39
|
+
Default slot
|
|
40
|
+
<br />
|
|
41
|
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
|
|
42
|
+
labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
|
|
43
|
+
laboris nisi ut aliquip ex ea commodo consequat.
|
|
44
|
+
</unnnic-collapse>
|
|
45
|
+
|
|
46
|
+
<pre>
|
|
47
|
+
|
|
48
|
+
<b>Basic usage:</b>
|
|
49
|
+
|
|
50
|
+
<unnnic-collapse title="Title">
|
|
51
|
+
Collapse body
|
|
52
|
+
</unnnic-collapse>
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
<b>With header slot:</b>
|
|
56
|
+
|
|
57
|
+
<unnnic-collapse>
|
|
58
|
+
<template slot="header">Title</template>
|
|
59
|
+
|
|
60
|
+
Collapse body
|
|
61
|
+
</unnnic-collapse>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
<b>With v-model:</b>
|
|
65
|
+
|
|
66
|
+
<unnnic-collapse title="Title" v-model="active">
|
|
67
|
+
Collapse body
|
|
68
|
+
</unnnic-collapse>
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<b>Complete usage:</b>
|
|
72
|
+
|
|
73
|
+
<unnnic-collapse
|
|
74
|
+
title String
|
|
75
|
+
border-bottom Boolean
|
|
76
|
+
unspaced-icon Boolean
|
|
77
|
+
active Boolean
|
|
78
|
+
@change Boolean Event
|
|
79
|
+
>
|
|
80
|
+
<template slot="header">Title</template>
|
|
81
|
+
|
|
82
|
+
Collapse body
|
|
83
|
+
</unnnic-collapse>
|
|
84
|
+
</pre>
|
|
85
|
+
</div>
|
|
86
|
+
`,
|
|
87
|
+
|
|
88
|
+
methods: {
|
|
89
|
+
click() {},
|
|
90
|
+
},
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
export const Default = Template.bind({});
|
|
94
|
+
|
|
95
|
+
Default.args = {
|
|
96
|
+
title: 'Title prop or header slot',
|
|
97
|
+
};
|
|
@@ -21,15 +21,18 @@ const Template = (args, { argTypes }) => ({
|
|
|
21
21
|
template: `
|
|
22
22
|
<unnnic-comment v-bind="$props">
|
|
23
23
|
<img slot="avatar" src="https://images.unsplash.com/photo-1568564321589-3e581d074f9b?ixid=MnwxMjA3fDB8MHxzZWFyY2h8NTl8fGRvZ3xlbnwwfHwwfHw%3D&ixlib=rb-1.2.1&w=1000&q=80" />
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
icon
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
<template v-slot:actions>
|
|
25
|
+
<unnnic-dropdown>
|
|
26
|
+
<template v-slot:trigger>
|
|
27
|
+
<unnnic-icon-svg
|
|
28
|
+
slot="trigger"
|
|
29
|
+
icon="navigation-menu-vertical-1"
|
|
30
|
+
size="sm"
|
|
31
|
+
/>
|
|
32
|
+
</template>
|
|
30
33
|
<unnnic-dropdown-item>
|
|
31
34
|
<unnnic-button
|
|
32
|
-
type="
|
|
35
|
+
type="tertiary"
|
|
33
36
|
iconLeft="pencil-write-1"
|
|
34
37
|
text="Edit comment"
|
|
35
38
|
size="small"
|
|
@@ -37,13 +40,14 @@ const Template = (args, { argTypes }) => ({
|
|
|
37
40
|
</unnnic-dropdown-item>
|
|
38
41
|
<unnnic-dropdown-item>
|
|
39
42
|
<unnnic-button
|
|
40
|
-
type="
|
|
43
|
+
type="tertiary"
|
|
41
44
|
iconLeft="delete-1"
|
|
42
45
|
text="Delete Comment"
|
|
43
46
|
size="small"
|
|
44
47
|
/>
|
|
45
48
|
</unnnic-dropdown-item>
|
|
46
49
|
</unnnic-dropdown>
|
|
50
|
+
</template>
|
|
47
51
|
</unnnic-comment>
|
|
48
52
|
`,
|
|
49
53
|
});
|
|
@@ -54,6 +58,5 @@ Default.args = {
|
|
|
54
58
|
'https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT8qiVsOfzasQWdcm81N6WmPicyHp50mMkvgw&usqp=CAU',
|
|
55
59
|
title: 'This is the username',
|
|
56
60
|
time: '- 2 hours ago',
|
|
57
|
-
text:
|
|
58
|
-
'This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment',
|
|
61
|
+
text: 'This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment This is a very very very very very very very very very very very long comment',
|
|
59
62
|
};
|
|
@@ -37,25 +37,29 @@ const Template = (args, { argTypes }) => ({
|
|
|
37
37
|
template: `
|
|
38
38
|
<div>
|
|
39
39
|
<unnnic-data-area v-bind="$props">
|
|
40
|
-
<
|
|
41
|
-
<
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
<template v-slot:links>
|
|
41
|
+
<div :style="slotStyle">
|
|
42
|
+
<a href="#" :style="linkStyle">Link1</a>
|
|
43
|
+
<a href="#" :style="linkStyle">Link2</a>
|
|
44
|
+
</div>
|
|
45
|
+
</template>
|
|
44
46
|
|
|
45
|
-
<
|
|
46
|
-
<
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
47
|
+
<template v-slot:buttons>
|
|
48
|
+
<div :style="slotStyle">
|
|
49
|
+
<unnnic-button
|
|
50
|
+
slot="trigger"
|
|
51
|
+
size="small"
|
|
52
|
+
type="secondary"
|
|
53
|
+
iconCenter="copy-paste-1"
|
|
54
|
+
/>
|
|
55
|
+
<unnnic-button
|
|
56
|
+
slot="trigger"
|
|
57
|
+
size="small"
|
|
58
|
+
type="secondary"
|
|
59
|
+
iconCenter="button-refresh-arrows-1"
|
|
60
|
+
/>
|
|
61
|
+
</div>
|
|
62
|
+
</template>
|
|
59
63
|
</unnnic-data-area>
|
|
60
64
|
</div>
|
|
61
65
|
`,
|
|
@@ -7,14 +7,14 @@ export default {
|
|
|
7
7
|
type: {
|
|
8
8
|
control: {
|
|
9
9
|
type: 'select',
|
|
10
|
-
options: ['day', 'month', 'year'],
|
|
11
10
|
},
|
|
11
|
+
options: ['day', 'month', 'year'],
|
|
12
12
|
},
|
|
13
13
|
size: {
|
|
14
14
|
control: {
|
|
15
15
|
type: 'select',
|
|
16
|
-
options: ['small', 'large'],
|
|
17
16
|
},
|
|
17
|
+
options: ['small', 'large'],
|
|
18
18
|
},
|
|
19
19
|
months: { control: { type: 'array' } },
|
|
20
20
|
days: { control: { type: 'array' } },
|
|
@@ -65,23 +65,30 @@ Default.args = {
|
|
|
65
65
|
'Dezembro',
|
|
66
66
|
],
|
|
67
67
|
days: ['D', 'S', 'T', 'Q', 'Q', 'S', 'S'],
|
|
68
|
-
options: [
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
68
|
+
options: [
|
|
69
|
+
{
|
|
70
|
+
name: 'Últimos 7 dias',
|
|
71
|
+
id: 'last-7-days',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
name: 'Últimos 14 dias',
|
|
75
|
+
id: 'last-14-days',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Últimos 30 dias',
|
|
79
|
+
id: 'last-30-days',
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
name: 'Últimos 12 meses',
|
|
83
|
+
id: 'last-12-months',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: 'Mês Atual',
|
|
87
|
+
id: 'current-month',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
name: 'Personalizar',
|
|
91
|
+
id: 'custom',
|
|
92
|
+
},
|
|
93
|
+
],
|
|
87
94
|
};
|
|
@@ -6,14 +6,20 @@ export default {
|
|
|
6
6
|
title: 'example/Dropdown',
|
|
7
7
|
component: unnnicDropdown,
|
|
8
8
|
argTypes: {
|
|
9
|
-
position: {
|
|
9
|
+
position: {
|
|
10
|
+
control: {
|
|
11
|
+
type: 'select',
|
|
12
|
+
options: ['top-left', 'top-right', 'bottom-left', 'bottom-right'],
|
|
13
|
+
},
|
|
14
|
+
},
|
|
10
15
|
},
|
|
11
16
|
};
|
|
12
17
|
|
|
13
18
|
const Template = (args, { argTypes }) => ({
|
|
14
19
|
props: Object.keys(argTypes),
|
|
15
20
|
components: { unnnicDropdown, unnnicDropdownItem, unnnicButton },
|
|
16
|
-
template:
|
|
21
|
+
template:
|
|
22
|
+
'<unnnic-dropdown v-bind="$props"> <template v-slot:trigger><unnnic-button text="click me"/></template> <unnnic-dropdown-item> Item1 </unnnic-dropdown-item> <unnnic-dropdown-item> Item2 </unnnic-dropdown-item> </unnnic-dropdown>',
|
|
17
23
|
});
|
|
18
24
|
|
|
19
25
|
export const Normal = Template.bind({});
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import unnnicButton from '../components/Button/Button.vue';
|
|
2
|
+
import unnnicEmojiPicker from '../components/EmojiPicker/EmojiPicker.vue';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'Form/EmojiPicker',
|
|
6
|
+
decorators: () => {
|
|
7
|
+
return {
|
|
8
|
+
template:
|
|
9
|
+
'<div style="height: 90vh; display: flex; align-items: end"><story/></div>',
|
|
10
|
+
};
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export const Default = () => ({
|
|
15
|
+
components: { unnnicEmojiPicker, unnnicButton },
|
|
16
|
+
template: `
|
|
17
|
+
<section style="position: relative;">
|
|
18
|
+
<unnnicButton @click.stop="handleEmojiPicker" type="secondary" iconCenter="emoji" size="small"/>
|
|
19
|
+
<unnnicEmojiPicker
|
|
20
|
+
v-show="isEmojiPickerOpen"
|
|
21
|
+
@emojiSelected="handleInput"
|
|
22
|
+
@close="closeEmojiPicker"
|
|
23
|
+
/>
|
|
24
|
+
<input
|
|
25
|
+
placeholder="..."
|
|
26
|
+
:value="inputValue"
|
|
27
|
+
@input="handleInput"
|
|
28
|
+
/>
|
|
29
|
+
</section>
|
|
30
|
+
`,
|
|
31
|
+
data() {
|
|
32
|
+
return {
|
|
33
|
+
isEmojiPickerOpen: false,
|
|
34
|
+
inputValue: '',
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
openEmojiPicker() {
|
|
39
|
+
this.isEmojiPickerOpen = true;
|
|
40
|
+
},
|
|
41
|
+
closeEmojiPicker() {
|
|
42
|
+
this.isEmojiPickerOpen = false;
|
|
43
|
+
},
|
|
44
|
+
handleEmojiPicker() {
|
|
45
|
+
if (this.isEmojiPickerOpen) {
|
|
46
|
+
this.closeEmojiPicker();
|
|
47
|
+
} else {
|
|
48
|
+
this.openEmojiPicker();
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
handleInput(event) {
|
|
52
|
+
if (typeof event === 'string') {
|
|
53
|
+
this.inputValue += event;
|
|
54
|
+
} else {
|
|
55
|
+
this.inputValue = event.target.value;
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
});
|
|
@@ -4,7 +4,12 @@ export default {
|
|
|
4
4
|
title: 'Example/Grid',
|
|
5
5
|
component: Grid,
|
|
6
6
|
argTypes: {
|
|
7
|
-
size: {
|
|
7
|
+
size: {
|
|
8
|
+
control: {
|
|
9
|
+
type: 'select',
|
|
10
|
+
options: ['xs', 'sm', 'md', 'lg', 'xl', 'giant'],
|
|
11
|
+
},
|
|
12
|
+
},
|
|
8
13
|
},
|
|
9
14
|
};
|
|
10
15
|
|
|
@@ -97,7 +97,6 @@ export default {
|
|
|
97
97
|
title: 'example/Icon',
|
|
98
98
|
component: unnnicIcon,
|
|
99
99
|
argTypes: {
|
|
100
|
-
icon: { control: { type: 'select', options: iconsOptions } },
|
|
101
100
|
scheme: { control: { type: 'select', options: schemes } },
|
|
102
101
|
size: {
|
|
103
102
|
control: {
|
|
@@ -119,16 +118,8 @@ export default {
|
|
|
119
118
|
},
|
|
120
119
|
};
|
|
121
120
|
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
<unnnic-icon v-bind="$props" />
|
|
127
|
-
`,
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
export const Normal = Template.bind({});
|
|
131
|
-
|
|
132
|
-
Normal.args = {
|
|
133
|
-
icon: iconsOptions[0],
|
|
121
|
+
export const Normal = {
|
|
122
|
+
args: {
|
|
123
|
+
icon: iconsOptions[0],
|
|
124
|
+
},
|
|
134
125
|
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import unnnicIconLoading from '../components/IconLoading/IconLoading.vue';
|
|
2
|
+
|
|
3
|
+
const schemes = [
|
|
4
|
+
'background-solo',
|
|
5
|
+
'background-sky',
|
|
6
|
+
'background-grass',
|
|
7
|
+
'background-carpet',
|
|
8
|
+
'background-snow',
|
|
9
|
+
'background-lightest',
|
|
10
|
+
'background-white',
|
|
11
|
+
'neutral-black',
|
|
12
|
+
'neutral-darkest',
|
|
13
|
+
'neutral-dark',
|
|
14
|
+
'neutral-cloudy',
|
|
15
|
+
'neutral-cleanest',
|
|
16
|
+
'neutral-clean',
|
|
17
|
+
'neutral-soft',
|
|
18
|
+
'neutral-lightest',
|
|
19
|
+
'neutral-light',
|
|
20
|
+
'neutral-white',
|
|
21
|
+
'neutral-snow',
|
|
22
|
+
'feedback-red',
|
|
23
|
+
'feedback-green',
|
|
24
|
+
'feedback-yellow',
|
|
25
|
+
'feedback-blue',
|
|
26
|
+
'feedback-grey',
|
|
27
|
+
'aux-blue',
|
|
28
|
+
'aux-purple',
|
|
29
|
+
'aux-orange',
|
|
30
|
+
'aux-lemon',
|
|
31
|
+
'aux-pink',
|
|
32
|
+
'aux-baby-blue',
|
|
33
|
+
'aux-baby-yellow',
|
|
34
|
+
'aux-baby-red',
|
|
35
|
+
'aux-baby-green',
|
|
36
|
+
'aux-baby-pink',
|
|
37
|
+
'aux-green-100',
|
|
38
|
+
'aux-green-300',
|
|
39
|
+
'aux-green-500',
|
|
40
|
+
'aux-green-700',
|
|
41
|
+
'aux-green-900',
|
|
42
|
+
'aux-blue-100',
|
|
43
|
+
'aux-blue-300',
|
|
44
|
+
'aux-blue-500',
|
|
45
|
+
'aux-blue-700',
|
|
46
|
+
'aux-blue-900',
|
|
47
|
+
'aux-purple-100',
|
|
48
|
+
'aux-purple-300',
|
|
49
|
+
'aux-purple-500',
|
|
50
|
+
'aux-purple-700',
|
|
51
|
+
'aux-purple-900',
|
|
52
|
+
'aux-red-100',
|
|
53
|
+
'aux-red-300',
|
|
54
|
+
'aux-red-500',
|
|
55
|
+
'aux-red-700',
|
|
56
|
+
'aux-red-900',
|
|
57
|
+
'aux-orange-100',
|
|
58
|
+
'aux-orange-300',
|
|
59
|
+
'aux-orange-500',
|
|
60
|
+
'aux-orange-700',
|
|
61
|
+
'aux-orange-900',
|
|
62
|
+
'aux-yellow-100',
|
|
63
|
+
'aux-yellow-300',
|
|
64
|
+
'aux-yellow-500',
|
|
65
|
+
'aux-yellow-700',
|
|
66
|
+
'aux-yellow-900',
|
|
67
|
+
'floweditor-blue',
|
|
68
|
+
'floweditor-purple',
|
|
69
|
+
'floweditor-wine',
|
|
70
|
+
'floweditor-orange',
|
|
71
|
+
'floweditor-pink',
|
|
72
|
+
'floweditor-turquoise',
|
|
73
|
+
'floweditor-green',
|
|
74
|
+
'weni-50',
|
|
75
|
+
'weni-100',
|
|
76
|
+
'weni-200',
|
|
77
|
+
'weni-300',
|
|
78
|
+
'weni-400',
|
|
79
|
+
'weni-500',
|
|
80
|
+
'weni-600',
|
|
81
|
+
'weni-700',
|
|
82
|
+
'weni-800',
|
|
83
|
+
'weni-900',
|
|
84
|
+
'weni-950',
|
|
85
|
+
'brand-weni',
|
|
86
|
+
'brand-weni-dark',
|
|
87
|
+
'brand-weni-soft',
|
|
88
|
+
'brand-sec-dark',
|
|
89
|
+
'brand-sec-soft',
|
|
90
|
+
'brand-sec',
|
|
91
|
+
];
|
|
92
|
+
|
|
93
|
+
export default {
|
|
94
|
+
title: 'example/IconLoading',
|
|
95
|
+
component: unnnicIconLoading,
|
|
96
|
+
argTypes: {
|
|
97
|
+
scheme: { control: { type: 'select', options: schemes } },
|
|
98
|
+
size: {
|
|
99
|
+
control: {
|
|
100
|
+
type: 'select',
|
|
101
|
+
options: [
|
|
102
|
+
'nano',
|
|
103
|
+
'xs',
|
|
104
|
+
'sm',
|
|
105
|
+
'md',
|
|
106
|
+
'lg',
|
|
107
|
+
'avatar-lg',
|
|
108
|
+
'avatar-md',
|
|
109
|
+
'avatar-sm',
|
|
110
|
+
'avatar-xs',
|
|
111
|
+
'avatar-nano',
|
|
112
|
+
],
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
const Template = (args, { argTypes }) => ({
|
|
119
|
+
props: Object.keys(argTypes),
|
|
120
|
+
components: { unnnicIconLoading },
|
|
121
|
+
template: `
|
|
122
|
+
<unnnic-icon-loading v-bind="$props" />
|
|
123
|
+
`,
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
export const Default = Template.bind({});
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import i18n from '../utils/plugins/i18n';
|
|
2
2
|
import unnnicImportCard from '../components/ImportCard/ImportCard.vue';
|
|
3
3
|
|
|
4
|
+
import { setup } from '@storybook/vue3';
|
|
5
|
+
|
|
6
|
+
setup((app) => {
|
|
7
|
+
app.use(i18n);
|
|
8
|
+
});
|
|
9
|
+
|
|
4
10
|
export default {
|
|
5
11
|
title: 'Example/ImportCard',
|
|
6
12
|
component: unnnicImportCard,
|
|
@@ -20,7 +26,6 @@ const Template = (args, { argTypes }) => ({
|
|
|
20
26
|
components: { unnnicImportCard },
|
|
21
27
|
|
|
22
28
|
template: '<unnnic-import-card v-bind="$props" />',
|
|
23
|
-
i18n,
|
|
24
29
|
});
|
|
25
30
|
|
|
26
31
|
export const Default = Template.bind({});
|
|
@@ -6,21 +6,27 @@ export default {
|
|
|
6
6
|
component: unnnicInput,
|
|
7
7
|
argTypes: {
|
|
8
8
|
label: { control: { type: 'text' } },
|
|
9
|
-
size: { control: { type: 'select', options: ['md', 'sm'] }
|
|
10
|
-
type: { control: { type: 'select', options: ['normal', 'error'] }
|
|
11
|
-
nativeType: { control: { type: 'select', options: ['text', 'password'] }
|
|
9
|
+
size: { control: { type: 'select' }, options: ['md', 'sm'] },
|
|
10
|
+
type: { control: { type: 'select' }, options: ['normal', 'error'] },
|
|
11
|
+
nativeType: { control: { type: 'select' }, options: ['text', 'password'] },
|
|
12
12
|
placeholder: { control: { type: 'text' } },
|
|
13
|
-
iconLeft: { control: { type: 'select', options: iconList }
|
|
14
|
-
iconRight: { control: { type: 'select', options: iconList }
|
|
13
|
+
iconLeft: { control: { type: 'select' }, options: iconList },
|
|
14
|
+
iconRight: { control: { type: 'select' }, options: iconList },
|
|
15
15
|
allowTogglePassword: { control: { type: 'boolean' } },
|
|
16
|
-
hasCloudyColor: { control: { type: 'select', options: [true, false] }
|
|
16
|
+
hasCloudyColor: { control: { type: 'select' }, options: [true, false] },
|
|
17
17
|
},
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
const Template = (args, { argTypes }) => ({
|
|
21
21
|
props: Object.keys(argTypes),
|
|
22
22
|
components: { unnnicInput },
|
|
23
|
-
|
|
23
|
+
data() {
|
|
24
|
+
return {
|
|
25
|
+
v: '',
|
|
26
|
+
};
|
|
27
|
+
},
|
|
28
|
+
template:
|
|
29
|
+
'<div><pre>v-model: {{ v }}</pre><unnnic-input v-bind="$props" v-model="v" /></div>',
|
|
24
30
|
});
|
|
25
31
|
|
|
26
32
|
export const Normal = Template.bind({});
|