@wallarm-org/claude-design 0.0.0-stage → 4.9.0
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/README.md +114 -2
- package/bin/claude-design.js +347 -0
- package/dist/SETUP.md +130 -0
- package/dist/UPDATE.md +84 -0
- package/dist/assets/Icons/activity.svg +1 -0
- package/dist/assets/Icons/alt.svg +1 -0
- package/dist/assets/Icons/android-neutral.svg +1 -0
- package/dist/assets/Icons/android.svg +1 -0
- package/dist/assets/Icons/api.svg +1 -0
- package/dist/assets/Icons/apple-music-neutral.svg +1 -0
- package/dist/assets/Icons/apple-music.svg +1 -0
- package/dist/assets/Icons/apple-neutral.svg +1 -0
- package/dist/assets/Icons/apple-podcasts-neutral.svg +1 -0
- package/dist/assets/Icons/apple-podcasts.svg +1 -0
- package/dist/assets/Icons/apple.svg +1 -0
- package/dist/assets/Icons/archive.svg +1 -0
- package/dist/assets/Icons/arrow-big-up-dash.svg +1 -0
- package/dist/assets/Icons/arrow-big-up.svg +1 -0
- package/dist/assets/Icons/arrow-down-left.svg +1 -0
- package/dist/assets/Icons/arrow-down-right.svg +1 -0
- package/dist/assets/Icons/arrow-down.svg +1 -0
- package/dist/assets/Icons/arrow-left.svg +1 -0
- package/dist/assets/Icons/arrow-right-alt.svg +1 -0
- package/dist/assets/Icons/arrow-right.svg +1 -0
- package/dist/assets/Icons/arrow-up-down.svg +1 -0
- package/dist/assets/Icons/arrow-up-left.svg +1 -0
- package/dist/assets/Icons/arrow-up-right.svg +1 -0
- package/dist/assets/Icons/arrow-up.svg +1 -0
- package/dist/assets/Icons/artstation-neutral.svg +1 -0
- package/dist/assets/Icons/artstation.svg +1 -0
- package/dist/assets/Icons/asterisk.svg +1 -0
- package/dist/assets/Icons/audio-waveform.svg +1 -0
- package/dist/assets/Icons/aws-neutral.svg +1 -0
- package/dist/assets/Icons/aws.svg +1 -0
- package/dist/assets/Icons/badge-check.svg +1 -0
- package/dist/assets/Icons/baidu-neutral.svg +1 -0
- package/dist/assets/Icons/baidu.svg +1 -0
- package/dist/assets/Icons/bandage.svg +1 -0
- package/dist/assets/Icons/behance-neutral.svg +1 -0
- package/dist/assets/Icons/behance.svg +1 -0
- package/dist/assets/Icons/bell-cog.svg +1 -0
- package/dist/assets/Icons/bell.svg +1 -0
- package/dist/assets/Icons/binary.svg +1 -0
- package/dist/assets/Icons/book-open.svg +1 -0
- package/dist/assets/Icons/book.svg +1 -0
- package/dist/assets/Icons/boosty-neutral.svg +1 -0
- package/dist/assets/Icons/boosty.svg +1 -0
- package/dist/assets/Icons/bot.svg +1 -0
- package/dist/assets/Icons/brain.svg +1 -0
- package/dist/assets/Icons/braze-neutral.svg +1 -0
- package/dist/assets/Icons/braze.svg +1 -0
- package/dist/assets/Icons/brevo-neutral.svg +1 -0
- package/dist/assets/Icons/brevo.svg +1 -0
- package/dist/assets/Icons/bug-off.svg +1 -0
- package/dist/assets/Icons/bug-play.svg +1 -0
- package/dist/assets/Icons/bug.svg +1 -0
- package/dist/assets/Icons/building.svg +1 -0
- package/dist/assets/Icons/building2.svg +1 -0
- package/dist/assets/Icons/calendar-check.svg +1 -0
- package/dist/assets/Icons/calendar-check2.svg +1 -0
- package/dist/assets/Icons/calendar-clock.svg +1 -0
- package/dist/assets/Icons/calendar-cog.svg +1 -0
- package/dist/assets/Icons/calendar-days.svg +1 -0
- package/dist/assets/Icons/calendar-fold.svg +1 -0
- package/dist/assets/Icons/calendar-heart.svg +1 -0
- package/dist/assets/Icons/calendar-minus.svg +1 -0
- package/dist/assets/Icons/calendar-minus2.svg +1 -0
- package/dist/assets/Icons/calendar-off.svg +1 -0
- package/dist/assets/Icons/calendar-plus.svg +1 -0
- package/dist/assets/Icons/calendar-plus2.svg +1 -0
- package/dist/assets/Icons/calendar-range.svg +1 -0
- package/dist/assets/Icons/calendar-search.svg +1 -0
- package/dist/assets/Icons/calendar-x.svg +1 -0
- package/dist/assets/Icons/calendar-x2.svg +1 -0
- package/dist/assets/Icons/calendar.svg +1 -0
- package/dist/assets/Icons/chart-area.svg +1 -0
- package/dist/assets/Icons/chart-bar.svg +1 -0
- package/dist/assets/Icons/chart-column.svg +1 -0
- package/dist/assets/Icons/chart-no-axes-column.svg +1 -0
- package/dist/assets/Icons/check-check.svg +1 -0
- package/dist/assets/Icons/check.svg +1 -0
- package/dist/assets/Icons/checkbox-indeterminate.svg +1 -0
- package/dist/assets/Icons/chevron-down.svg +1 -0
- package/dist/assets/Icons/chevron-first.svg +1 -0
- package/dist/assets/Icons/chevron-last.svg +1 -0
- package/dist/assets/Icons/chevron-left.svg +1 -0
- package/dist/assets/Icons/chevron-right.svg +1 -0
- package/dist/assets/Icons/chevron-up-down.svg +1 -0
- package/dist/assets/Icons/chevron-up.svg +1 -0
- package/dist/assets/Icons/chevrons-down-up.svg +1 -0
- package/dist/assets/Icons/chevrons-down.svg +1 -0
- package/dist/assets/Icons/chevrons-left-right.svg +1 -0
- package/dist/assets/Icons/chevrons-left.svg +1 -0
- package/dist/assets/Icons/chevrons-right-left.svg +1 -0
- package/dist/assets/Icons/chevrons-right.svg +1 -0
- package/dist/assets/Icons/chevrons-up-down.svg +1 -0
- package/dist/assets/Icons/chevrons-up.svg +1 -0
- package/dist/assets/Icons/circle-arrow-down.svg +1 -0
- package/dist/assets/Icons/circle-arrow-left.svg +1 -0
- package/dist/assets/Icons/circle-arrow-out-down-left.svg +1 -0
- package/dist/assets/Icons/circle-arrow-out-down-right.svg +1 -0
- package/dist/assets/Icons/circle-arrow-out-up-left.svg +1 -0
- package/dist/assets/Icons/circle-arrow-out-up-right.svg +1 -0
- package/dist/assets/Icons/circle-arrow-right.svg +1 -0
- package/dist/assets/Icons/circle-arrow-up.svg +1 -0
- package/dist/assets/Icons/circle-check-big.svg +1 -0
- package/dist/assets/Icons/circle-check.svg +1 -0
- package/dist/assets/Icons/circle-chevron-down.svg +1 -0
- package/dist/assets/Icons/circle-chevron-left.svg +1 -0
- package/dist/assets/Icons/circle-chevron-right.svg +1 -0
- package/dist/assets/Icons/circle-chevron-up.svg +1 -0
- package/dist/assets/Icons/circle-dashed.svg +1 -0
- package/dist/assets/Icons/circle-dot-dashed.svg +1 -0
- package/dist/assets/Icons/circle-ellipsis.svg +1 -0
- package/dist/assets/Icons/circle-gauge.svg +1 -0
- package/dist/assets/Icons/circle-help.svg +1 -0
- package/dist/assets/Icons/circle-minus.svg +1 -0
- package/dist/assets/Icons/circle-plus.svg +1 -0
- package/dist/assets/Icons/circle-slash.svg +1 -0
- package/dist/assets/Icons/circle-slash2.svg +1 -0
- package/dist/assets/Icons/circle-stop.svg +1 -0
- package/dist/assets/Icons/circle.svg +1 -0
- package/dist/assets/Icons/clipboard-check.svg +1 -0
- package/dist/assets/Icons/clipboard-x.svg +1 -0
- package/dist/assets/Icons/clipboard.svg +1 -0
- package/dist/assets/Icons/clock-fading.svg +1 -0
- package/dist/assets/Icons/clock.svg +1 -0
- package/dist/assets/Icons/cloud-off.svg +1 -0
- package/dist/assets/Icons/cloud-sync.svg +1 -0
- package/dist/assets/Icons/cloud.svg +1 -0
- package/dist/assets/Icons/code.svg +1 -0
- package/dist/assets/Icons/collapse.svg +1 -0
- package/dist/assets/Icons/columns3-cog.svg +1 -0
- package/dist/assets/Icons/command.svg +1 -0
- package/dist/assets/Icons/compass.svg +1 -0
- package/dist/assets/Icons/copy-slash.svg +1 -0
- package/dist/assets/Icons/copy.svg +1 -0
- package/dist/assets/Icons/corner-down-left.svg +1 -0
- package/dist/assets/Icons/corner-down-right.svg +1 -0
- package/dist/assets/Icons/corner-left-down.svg +1 -0
- package/dist/assets/Icons/corner-left-up.svg +1 -0
- package/dist/assets/Icons/corner-right-down.svg +1 -0
- package/dist/assets/Icons/corner-right-up.svg +1 -0
- package/dist/assets/Icons/corner-up-left.svg +1 -0
- package/dist/assets/Icons/corner-up-right.svg +1 -0
- package/dist/assets/Icons/cpu.svg +1 -0
- package/dist/assets/Icons/credit-card.svg +1 -0
- package/dist/assets/Icons/crosshair.svg +1 -0
- package/dist/assets/Icons/ctrl.svg +1 -0
- package/dist/assets/Icons/database.svg +1 -0
- package/dist/assets/Icons/devianart-neutral.svg +1 -0
- package/dist/assets/Icons/devianart.svg +1 -0
- package/dist/assets/Icons/discord-neutral.svg +1 -0
- package/dist/assets/Icons/discord.svg +1 -0
- package/dist/assets/Icons/dollar-sign.svg +1 -0
- package/dist/assets/Icons/dot.svg +1 -0
- package/dist/assets/Icons/download.svg +1 -0
- package/dist/assets/Icons/dprofile-neutral.svg +1 -0
- package/dist/assets/Icons/dprofile.svg +1 -0
- package/dist/assets/Icons/dribbble-neutral.svg +1 -0
- package/dist/assets/Icons/dribbble.svg +1 -0
- package/dist/assets/Icons/droplet.svg +1 -0
- package/dist/assets/Icons/duplicate.svg +1 -0
- package/dist/assets/Icons/dzen-neutral.svg +1 -0
- package/dist/assets/Icons/dzen.svg +1 -0
- package/dist/assets/Icons/earth-lock.svg +1 -0
- package/dist/assets/Icons/earth.svg +1 -0
- package/dist/assets/Icons/ellipsis.svg +1 -0
- package/dist/assets/Icons/expand.svg +1 -0
- package/dist/assets/Icons/external-link.svg +1 -0
- package/dist/assets/Icons/eye-off.svg +1 -0
- package/dist/assets/Icons/eye.svg +1 -0
- package/dist/assets/Icons/facebook-neutral.svg +1 -0
- package/dist/assets/Icons/facebook.svg +1 -0
- package/dist/assets/Icons/fast-forward.svg +1 -0
- package/dist/assets/Icons/figma-neutral.svg +1 -0
- package/dist/assets/Icons/figma.svg +1 -0
- package/dist/assets/Icons/file-down.svg +1 -0
- package/dist/assets/Icons/file-plus.svg +1 -0
- package/dist/assets/Icons/file-text.svg +1 -0
- package/dist/assets/Icons/file.svg +1 -0
- package/dist/assets/Icons/film.svg +1 -0
- package/dist/assets/Icons/filter-x.svg +1 -0
- package/dist/assets/Icons/filter.svg +1 -0
- package/dist/assets/Icons/fingerprint-pattern.svg +1 -0
- package/dist/assets/Icons/flag.svg +1 -0
- package/dist/assets/Icons/flask-conical.svg +1 -0
- package/dist/assets/Icons/folder.svg +1 -0
- package/dist/assets/Icons/funnel-plus.svg +1 -0
- package/dist/assets/Icons/ghost.svg +1 -0
- package/dist/assets/Icons/git-branch.svg +1 -0
- package/dist/assets/Icons/git-commit-horizontal.svg +1 -0
- package/dist/assets/Icons/git-commit-vertical.svg +1 -0
- package/dist/assets/Icons/git-compare-arrows-alt.svg +1 -0
- package/dist/assets/Icons/git-compare-arrows.svg +1 -0
- package/dist/assets/Icons/git-compare.svg +1 -0
- package/dist/assets/Icons/git-fork.svg +1 -0
- package/dist/assets/Icons/git-graph.svg +1 -0
- package/dist/assets/Icons/git-merge.svg +1 -0
- package/dist/assets/Icons/git-pull-request-arrow.svg +1 -0
- package/dist/assets/Icons/git-pull-request-closed.svg +1 -0
- package/dist/assets/Icons/git-pull-request-create-arrow.svg +1 -0
- package/dist/assets/Icons/git-pull-request-create.svg +1 -0
- package/dist/assets/Icons/git-pull-request-draft.svg +1 -0
- package/dist/assets/Icons/git-pull-request.svg +1 -0
- package/dist/assets/Icons/github-neutral.svg +1 -0
- package/dist/assets/Icons/github.svg +1 -0
- package/dist/assets/Icons/globe-lock.svg +1 -0
- package/dist/assets/Icons/globe.svg +1 -0
- package/dist/assets/Icons/gmail-neutral.svg +1 -0
- package/dist/assets/Icons/gmail.svg +1 -0
- package/dist/assets/Icons/google-meet-neutral.svg +1 -0
- package/dist/assets/Icons/google-meet.svg +1 -0
- package/dist/assets/Icons/google-neutral.svg +1 -0
- package/dist/assets/Icons/google-play-neutral.svg +1 -0
- package/dist/assets/Icons/google-play.svg +1 -0
- package/dist/assets/Icons/google-podcast-neutral.svg +1 -0
- package/dist/assets/Icons/google-podcast.svg +1 -0
- package/dist/assets/Icons/google.svg +1 -0
- package/dist/assets/Icons/grip-horizontal.svg +1 -0
- package/dist/assets/Icons/grip-vertical.svg +1 -0
- package/dist/assets/Icons/hammer.svg +1 -0
- package/dist/assets/Icons/heart-pulse.svg +1 -0
- package/dist/assets/Icons/history.svg +1 -0
- package/dist/assets/Icons/home.svg +1 -0
- package/dist/assets/Icons/imo-neutral.svg +1 -0
- package/dist/assets/Icons/imo.svg +1 -0
- package/dist/assets/Icons/infinity.svg +1 -0
- package/dist/assets/Icons/info.svg +1 -0
- package/dist/assets/Icons/infobip-neutral.svg +1 -0
- package/dist/assets/Icons/infobip.svg +1 -0
- package/dist/assets/Icons/instagram-neutral.svg +1 -0
- package/dist/assets/Icons/instagram.svg +1 -0
- package/dist/assets/Icons/key-round.svg +1 -0
- package/dist/assets/Icons/key-square.svg +1 -0
- package/dist/assets/Icons/keyboard.svg +1 -0
- package/dist/assets/Icons/kickstarter-neutral.svg +1 -0
- package/dist/assets/Icons/kickstarter.svg +1 -0
- package/dist/assets/Icons/laptop.svg +1 -0
- package/dist/assets/Icons/layers.svg +1 -0
- package/dist/assets/Icons/layers2.svg +1 -0
- package/dist/assets/Icons/layers3.svg +1 -0
- package/dist/assets/Icons/layout-dashboard.svg +1 -0
- package/dist/assets/Icons/layout-grid.svg +1 -0
- package/dist/assets/Icons/layout-list.svg +1 -0
- package/dist/assets/Icons/layout-panel-left.svg +1 -0
- package/dist/assets/Icons/layout-panel-top.svg +1 -0
- package/dist/assets/Icons/layout-template.svg +1 -0
- package/dist/assets/Icons/library-big.svg +1 -0
- package/dist/assets/Icons/life-buoy.svg +1 -0
- package/dist/assets/Icons/lightbulb-off.svg +1 -0
- package/dist/assets/Icons/lightbulb.svg +1 -0
- package/dist/assets/Icons/line-neutral.svg +1 -0
- package/dist/assets/Icons/line.svg +1 -0
- package/dist/assets/Icons/link.svg +1 -0
- package/dist/assets/Icons/link2-off.svg +1 -0
- package/dist/assets/Icons/link2.svg +1 -0
- package/dist/assets/Icons/linkedin-neutral.svg +1 -0
- package/dist/assets/Icons/linkedin.svg +1 -0
- package/dist/assets/Icons/list-checks.svg +1 -0
- package/dist/assets/Icons/list-collapse.svg +1 -0
- package/dist/assets/Icons/list-filter.svg +1 -0
- package/dist/assets/Icons/list-minus.svg +1 -0
- package/dist/assets/Icons/list-ordered.svg +1 -0
- package/dist/assets/Icons/list-plus.svg +1 -0
- package/dist/assets/Icons/list-restart.svg +1 -0
- package/dist/assets/Icons/list-start.svg +1 -0
- package/dist/assets/Icons/list-todo.svg +1 -0
- package/dist/assets/Icons/list-tree.svg +1 -0
- package/dist/assets/Icons/list-video.svg +1 -0
- package/dist/assets/Icons/list-x.svg +1 -0
- package/dist/assets/Icons/list.svg +1 -0
- package/dist/assets/Icons/loader-circle.svg +1 -0
- package/dist/assets/Icons/loader.svg +1 -0
- package/dist/assets/Icons/lock-open.svg +1 -0
- package/dist/assets/Icons/lock.svg +1 -0
- package/dist/assets/Icons/log-in.svg +1 -0
- package/dist/assets/Icons/log-out.svg +1 -0
- package/dist/assets/Icons/mail-check.svg +1 -0
- package/dist/assets/Icons/mail-minus.svg +1 -0
- package/dist/assets/Icons/mail-open.svg +1 -0
- package/dist/assets/Icons/mail-plus.svg +1 -0
- package/dist/assets/Icons/mail-question.svg +1 -0
- package/dist/assets/Icons/mail-search.svg +1 -0
- package/dist/assets/Icons/mail-warning.svg +1 -0
- package/dist/assets/Icons/mail-x.svg +1 -0
- package/dist/assets/Icons/mail.svg +1 -0
- package/dist/assets/Icons/mailbox.svg +1 -0
- package/dist/assets/Icons/mailersend-neutral.svg +1 -0
- package/dist/assets/Icons/mailersend.svg +1 -0
- package/dist/assets/Icons/mailgun-neutral.svg +1 -0
- package/dist/assets/Icons/mailgun.svg +1 -0
- package/dist/assets/Icons/mailjet-neutral.svg +1 -0
- package/dist/assets/Icons/mailjet.svg +1 -0
- package/dist/assets/Icons/mails.svg +1 -0
- package/dist/assets/Icons/mailtrap-neutral.svg +1 -0
- package/dist/assets/Icons/mailtrap.svg +1 -0
- package/dist/assets/Icons/mandrill-neutral.svg +1 -0
- package/dist/assets/Icons/mandrill.svg +1 -0
- package/dist/assets/Icons/map-pin.svg +1 -0
- package/dist/assets/Icons/maqsam-neutral.svg +1 -0
- package/dist/assets/Icons/maqsam.svg +1 -0
- package/dist/assets/Icons/mattermost-neutral.svg +1 -0
- package/dist/assets/Icons/mattermost.svg +1 -0
- package/dist/assets/Icons/maximize.svg +1 -0
- package/dist/assets/Icons/maximize2.svg +1 -0
- package/dist/assets/Icons/medium-neutral.svg +1 -0
- package/dist/assets/Icons/medium.svg +1 -0
- package/dist/assets/Icons/megaphone-off.svg +1 -0
- package/dist/assets/Icons/megaphone.svg +1 -0
- package/dist/assets/Icons/menu.svg +1 -0
- package/dist/assets/Icons/merge.svg +1 -0
- package/dist/assets/Icons/message-square-code.svg +1 -0
- package/dist/assets/Icons/message-square-dashed.svg +1 -0
- package/dist/assets/Icons/message-square-diff.svg +1 -0
- package/dist/assets/Icons/message-square-dot.svg +1 -0
- package/dist/assets/Icons/message-square-heart.svg +1 -0
- package/dist/assets/Icons/message-square-off.svg +1 -0
- package/dist/assets/Icons/message-square-plus.svg +1 -0
- package/dist/assets/Icons/message-square-quote.svg +1 -0
- package/dist/assets/Icons/message-square-reply.svg +1 -0
- package/dist/assets/Icons/message-square-share.svg +1 -0
- package/dist/assets/Icons/message-square-text.svg +1 -0
- package/dist/assets/Icons/message-square-warning.svg +1 -0
- package/dist/assets/Icons/message-square-x.svg +1 -0
- package/dist/assets/Icons/message-square.svg +1 -0
- package/dist/assets/Icons/messages-square.svg +1 -0
- package/dist/assets/Icons/messenger-neutral.svg +1 -0
- package/dist/assets/Icons/messenger.svg +1 -0
- package/dist/assets/Icons/microsoft-neutral.svg +1 -0
- package/dist/assets/Icons/microsoft-teams-neutral.svg +1 -0
- package/dist/assets/Icons/microsoft-teams.svg +1 -0
- package/dist/assets/Icons/microsoft.svg +1 -0
- package/dist/assets/Icons/minimize.svg +1 -0
- package/dist/assets/Icons/minimize2.svg +1 -0
- package/dist/assets/Icons/minus.svg +1 -0
- package/dist/assets/Icons/moon.svg +1 -0
- package/dist/assets/Icons/mouse-pointer-ban.svg +1 -0
- package/dist/assets/Icons/mouse-pointer-click.svg +1 -0
- package/dist/assets/Icons/mouse-pointer.svg +1 -0
- package/dist/assets/Icons/mouse-pointer2.svg +1 -0
- package/dist/assets/Icons/mouse.svg +1 -0
- package/dist/assets/Icons/move-diagonal.svg +1 -0
- package/dist/assets/Icons/move-diagonal2.svg +1 -0
- package/dist/assets/Icons/move-down-left.svg +1 -0
- package/dist/assets/Icons/move-down-right.svg +1 -0
- package/dist/assets/Icons/move-down.svg +1 -0
- package/dist/assets/Icons/move-horizontal.svg +1 -0
- package/dist/assets/Icons/move-left.svg +1 -0
- package/dist/assets/Icons/move-right.svg +1 -0
- package/dist/assets/Icons/move-up-left.svg +1 -0
- package/dist/assets/Icons/move-up-right.svg +1 -0
- package/dist/assets/Icons/move-up.svg +1 -0
- package/dist/assets/Icons/move-vertical.svg +1 -0
- package/dist/assets/Icons/move3-d.svg +1 -0
- package/dist/assets/Icons/netcore-neutral.svg +1 -0
- package/dist/assets/Icons/netcore.svg +1 -0
- package/dist/assets/Icons/notebook-pen.svg +1 -0
- package/dist/assets/Icons/notebook-tabs.svg +1 -0
- package/dist/assets/Icons/notebook-text.svg +1 -0
- package/dist/assets/Icons/notebook.svg +1 -0
- package/dist/assets/Icons/notepad-text-dashed.svg +1 -0
- package/dist/assets/Icons/notepad-text.svg +1 -0
- package/dist/assets/Icons/notion-neutral.svg +1 -0
- package/dist/assets/Icons/notion.svg +1 -0
- package/dist/assets/Icons/octagon-alert.svg +1 -0
- package/dist/assets/Icons/octagon-pause.svg +1 -0
- package/dist/assets/Icons/octagon-x.svg +1 -0
- package/dist/assets/Icons/octagon.svg +1 -0
- package/dist/assets/Icons/ok-neutral.svg +1 -0
- package/dist/assets/Icons/ok-only-sign-neutral.svg +1 -0
- package/dist/assets/Icons/ok-only-sign.svg +1 -0
- package/dist/assets/Icons/ok.svg +1 -0
- package/dist/assets/Icons/onlyfans-neutral.svg +1 -0
- package/dist/assets/Icons/onlyfans.svg +1 -0
- package/dist/assets/Icons/option.svg +1 -0
- package/dist/assets/Icons/outlook365-neutral.svg +1 -0
- package/dist/assets/Icons/outlook365.svg +1 -0
- package/dist/assets/Icons/paintbrush.svg +1 -0
- package/dist/assets/Icons/panel-bottom-open.svg +1 -0
- package/dist/assets/Icons/panel-bottom.svg +1 -0
- package/dist/assets/Icons/panel-left-close.svg +1 -0
- package/dist/assets/Icons/panel-left-dashed.svg +1 -0
- package/dist/assets/Icons/panel-left-open.svg +1 -0
- package/dist/assets/Icons/panel-left.svg +1 -0
- package/dist/assets/Icons/panel-right-animated.svg +1 -0
- package/dist/assets/Icons/panel-right-close.svg +1 -0
- package/dist/assets/Icons/panel-right-dashed.svg +1 -0
- package/dist/assets/Icons/panel-right-open.svg +1 -0
- package/dist/assets/Icons/panel-right.svg +1 -0
- package/dist/assets/Icons/panel-top-bottom-dashed.svg +1 -0
- package/dist/assets/Icons/panel-top-close.svg +1 -0
- package/dist/assets/Icons/panel-top-open.svg +1 -0
- package/dist/assets/Icons/panel-top.svg +1 -0
- package/dist/assets/Icons/panels-left-bottom.svg +1 -0
- package/dist/assets/Icons/panels-right-bottom.svg +1 -0
- package/dist/assets/Icons/panels-top-left.svg +1 -0
- package/dist/assets/Icons/paperclip.svg +1 -0
- package/dist/assets/Icons/patreon-neutral.svg +1 -0
- package/dist/assets/Icons/patreon.svg +1 -0
- package/dist/assets/Icons/paypal-neutral.svg +1 -0
- package/dist/assets/Icons/paypal.svg +1 -0
- package/dist/assets/Icons/pen-line.svg +1 -0
- package/dist/assets/Icons/pen-off.svg +1 -0
- package/dist/assets/Icons/pen-tool.svg +1 -0
- package/dist/assets/Icons/pen.svg +1 -0
- package/dist/assets/Icons/pencil-line.svg +1 -0
- package/dist/assets/Icons/pencil-off.svg +1 -0
- package/dist/assets/Icons/pencil-ruler.svg +1 -0
- package/dist/assets/Icons/pencil.svg +1 -0
- package/dist/assets/Icons/pentagon.svg +1 -0
- package/dist/assets/Icons/percentage.svg +1 -0
- package/dist/assets/Icons/phone.svg +1 -0
- package/dist/assets/Icons/pin-off.svg +1 -0
- package/dist/assets/Icons/pin.svg +1 -0
- package/dist/assets/Icons/pinterest-neutral.svg +1 -0
- package/dist/assets/Icons/pinterest.svg +1 -0
- package/dist/assets/Icons/play.svg +1 -0
- package/dist/assets/Icons/plug.svg +1 -0
- package/dist/assets/Icons/plunk-neutral.svg +1 -0
- package/dist/assets/Icons/plunk.svg +1 -0
- package/dist/assets/Icons/plus.svg +1 -0
- package/dist/assets/Icons/postmark-neutral.svg +1 -0
- package/dist/assets/Icons/postmark.svg +1 -0
- package/dist/assets/Icons/product-hunt-neutral.svg +1 -0
- package/dist/assets/Icons/product-hunt.svg +1 -0
- package/dist/assets/Icons/quora-neutral.svg +1 -0
- package/dist/assets/Icons/quora.svg +1 -0
- package/dist/assets/Icons/quote.svg +1 -0
- package/dist/assets/Icons/radar.svg +1 -0
- package/dist/assets/Icons/reddit-neutral.svg +1 -0
- package/dist/assets/Icons/reddit.svg +1 -0
- package/dist/assets/Icons/redo-dot.svg +1 -0
- package/dist/assets/Icons/redo.svg +1 -0
- package/dist/assets/Icons/redo2.svg +1 -0
- package/dist/assets/Icons/refresh-ccw.svg +1 -0
- package/dist/assets/Icons/refresh-cw-off.svg +1 -0
- package/dist/assets/Icons/resend-neutral.svg +1 -0
- package/dist/assets/Icons/resend.svg +1 -0
- package/dist/assets/Icons/rss.svg +1 -0
- package/dist/assets/Icons/rules.svg +1 -0
- package/dist/assets/Icons/scan-line.svg +1 -0
- package/dist/assets/Icons/scroll-text.svg +1 -0
- package/dist/assets/Icons/search-hint.svg +1 -0
- package/dist/assets/Icons/search-x.svg +1 -0
- package/dist/assets/Icons/search.svg +1 -0
- package/dist/assets/Icons/sendgrid-neutral.svg +1 -0
- package/dist/assets/Icons/sendgrid.svg +1 -0
- package/dist/assets/Icons/server.svg +1 -0
- package/dist/assets/Icons/ses-neutral.svg +1 -0
- package/dist/assets/Icons/ses.svg +1 -0
- package/dist/assets/Icons/settings.svg +1 -0
- package/dist/assets/Icons/settings2.svg +1 -0
- package/dist/assets/Icons/shapes.svg +1 -0
- package/dist/assets/Icons/share.svg +1 -0
- package/dist/assets/Icons/sheet.svg +1 -0
- package/dist/assets/Icons/shield-alert.svg +1 -0
- package/dist/assets/Icons/shield-ban.svg +1 -0
- package/dist/assets/Icons/shield-check.svg +1 -0
- package/dist/assets/Icons/shield-ellipsis.svg +1 -0
- package/dist/assets/Icons/shield-half.svg +1 -0
- package/dist/assets/Icons/shield-minus.svg +1 -0
- package/dist/assets/Icons/shield-off.svg +1 -0
- package/dist/assets/Icons/shield-plus.svg +1 -0
- package/dist/assets/Icons/shield-question.svg +1 -0
- package/dist/assets/Icons/shield-user.svg +1 -0
- package/dist/assets/Icons/shield-x.svg +1 -0
- package/dist/assets/Icons/shield.svg +1 -0
- package/dist/assets/Icons/shift.svg +1 -0
- package/dist/assets/Icons/signal-neutral.svg +1 -0
- package/dist/assets/Icons/signal.svg +1 -0
- package/dist/assets/Icons/signpost.svg +1 -0
- package/dist/assets/Icons/sina-weibo-neutral.svg +1 -0
- package/dist/assets/Icons/sina-weibo.svg +1 -0
- package/dist/assets/Icons/skull.svg +1 -0
- package/dist/assets/Icons/skype-neutral.svg +1 -0
- package/dist/assets/Icons/skype.svg +1 -0
- package/dist/assets/Icons/slack-neutral.svg +1 -0
- package/dist/assets/Icons/slack.svg +1 -0
- package/dist/assets/Icons/sliders-horizontal.svg +1 -0
- package/dist/assets/Icons/sliders-vertical.svg +1 -0
- package/dist/assets/Icons/smtp-neutral.svg +1 -0
- package/dist/assets/Icons/smtp.svg +1 -0
- package/dist/assets/Icons/snapchat-neutral.svg +1 -0
- package/dist/assets/Icons/snapchat.svg +1 -0
- package/dist/assets/Icons/soundcloud-neutral.svg +1 -0
- package/dist/assets/Icons/soundcloud.svg +1 -0
- package/dist/assets/Icons/space.svg +1 -0
- package/dist/assets/Icons/sparkpost-neutral.svg +1 -0
- package/dist/assets/Icons/sparkpost.svg +1 -0
- package/dist/assets/Icons/speed.svg +1 -0
- package/dist/assets/Icons/split.svg +1 -0
- package/dist/assets/Icons/spotify-neutral.svg +1 -0
- package/dist/assets/Icons/spotify.svg +1 -0
- package/dist/assets/Icons/square-arrow-out-up-right.svg +1 -0
- package/dist/assets/Icons/square-minus.svg +1 -0
- package/dist/assets/Icons/square-pen.svg +1 -0
- package/dist/assets/Icons/square-plus.svg +1 -0
- package/dist/assets/Icons/square-user-round.svg +1 -0
- package/dist/assets/Icons/stack-overflow-neutral.svg +1 -0
- package/dist/assets/Icons/stack-overflow.svg +1 -0
- package/dist/assets/Icons/star.svg +1 -0
- package/dist/assets/Icons/sun.svg +1 -0
- package/dist/assets/Icons/syringe.svg +1 -0
- package/dist/assets/Icons/tag.svg +1 -0
- package/dist/assets/Icons/target.svg +1 -0
- package/dist/assets/Icons/teams-neutral.svg +1 -0
- package/dist/assets/Icons/teams.svg +1 -0
- package/dist/assets/Icons/telegram-neutral.svg +1 -0
- package/dist/assets/Icons/telegram-only-sign-neutral.svg +1 -0
- package/dist/assets/Icons/telegram-only-sign.svg +1 -0
- package/dist/assets/Icons/telegram.svg +1 -0
- package/dist/assets/Icons/terminal.svg +1 -0
- package/dist/assets/Icons/test-policies.svg +1 -0
- package/dist/assets/Icons/threads-neutral.svg +1 -0
- package/dist/assets/Icons/threads.svg +1 -0
- package/dist/assets/Icons/thumbs-down.svg +1 -0
- package/dist/assets/Icons/thumbs-up.svg +1 -0
- package/dist/assets/Icons/tiktok-neutral.svg +1 -0
- package/dist/assets/Icons/tiktok.svg +1 -0
- package/dist/assets/Icons/tinder-neutral.svg +1 -0
- package/dist/assets/Icons/tinder.svg +1 -0
- package/dist/assets/Icons/trash.svg +1 -0
- package/dist/assets/Icons/trash2.svg +1 -0
- package/dist/assets/Icons/triangle-alert.svg +1 -0
- package/dist/assets/Icons/tumblr-neutral.svg +1 -0
- package/dist/assets/Icons/tumblr.svg +1 -0
- package/dist/assets/Icons/twitch-neutral.svg +1 -0
- package/dist/assets/Icons/twitch.svg +1 -0
- package/dist/assets/Icons/undo-dot.svg +1 -0
- package/dist/assets/Icons/undo.svg +1 -0
- package/dist/assets/Icons/undo2.svg +1 -0
- package/dist/assets/Icons/unplug.svg +1 -0
- package/dist/assets/Icons/user-check.svg +1 -0
- package/dist/assets/Icons/user-minus.svg +1 -0
- package/dist/assets/Icons/user-plus.svg +1 -0
- package/dist/assets/Icons/user-round-x.svg +1 -0
- package/dist/assets/Icons/user-round.svg +1 -0
- package/dist/assets/Icons/user.svg +1 -0
- package/dist/assets/Icons/username.svg +1 -0
- package/dist/assets/Icons/users-round.svg +1 -0
- package/dist/assets/Icons/users.svg +1 -0
- package/dist/assets/Icons/viber-neutral.svg +1 -0
- package/dist/assets/Icons/viber.svg +1 -0
- package/dist/assets/Icons/video.svg +1 -0
- package/dist/assets/Icons/vimeo-neutral.svg +1 -0
- package/dist/assets/Icons/vimeo.svg +1 -0
- package/dist/assets/Icons/vk-music-neutral.svg +1 -0
- package/dist/assets/Icons/vk-music.svg +1 -0
- package/dist/assets/Icons/vk-neutral.svg +1 -0
- package/dist/assets/Icons/vk-only-sign-neutral.svg +1 -0
- package/dist/assets/Icons/vk-only-sign.svg +1 -0
- package/dist/assets/Icons/vk.svg +1 -0
- package/dist/assets/Icons/webhook-neutral.svg +1 -0
- package/dist/assets/Icons/webhook.svg +1 -0
- package/dist/assets/Icons/wechat-neutral.svg +1 -0
- package/dist/assets/Icons/wechat.svg +1 -0
- package/dist/assets/Icons/whatsapp-badge-neutral.svg +1 -0
- package/dist/assets/Icons/whatsapp-badge.svg +1 -0
- package/dist/assets/Icons/whatsapp-neutral.svg +1 -0
- package/dist/assets/Icons/whatsapp.svg +1 -0
- package/dist/assets/Icons/workflow.svg +1 -0
- package/dist/assets/Icons/wrap-text.svg +1 -0
- package/dist/assets/Icons/wrench.svg +1 -0
- package/dist/assets/Icons/x-ex-twitter-neutral.svg +1 -0
- package/dist/assets/Icons/x-ex-twitter.svg +1 -0
- package/dist/assets/Icons/x.svg +1 -0
- package/dist/assets/Icons/xing-neutral.svg +1 -0
- package/dist/assets/Icons/xing.svg +1 -0
- package/dist/assets/Icons/yandex-music-neutral.svg +1 -0
- package/dist/assets/Icons/yandex-music.svg +1 -0
- package/dist/assets/Icons/yelp-neutral.svg +1 -0
- package/dist/assets/Icons/yelp.svg +1 -0
- package/dist/assets/Icons/youtube-music-neutral.svg +1 -0
- package/dist/assets/Icons/youtube-music.svg +1 -0
- package/dist/assets/Icons/youtube-neutral.svg +1 -0
- package/dist/assets/Icons/youtube-shorts-neutral.svg +1 -0
- package/dist/assets/Icons/youtube-shorts.svg +1 -0
- package/dist/assets/Icons/youtube.svg +1 -0
- package/dist/assets/Icons/zap.svg +1 -0
- package/dist/assets/Icons/zoom-in.svg +1 -0
- package/dist/assets/Icons/zoom-neutral.svg +1 -0
- package/dist/assets/Icons/zoom-out.svg +1 -0
- package/dist/assets/Icons/zoom.svg +1 -0
- package/dist/assets/Icons/zulip-neutral.svg +1 -0
- package/dist/assets/Icons/zulip.svg +1 -0
- package/dist/assets/Logos/wallarm.svg +1 -0
- package/dist/assets.json +4666 -0
- package/dist/project/README.md +265 -0
- package/dist/project/components/Accordion/README.md +354 -0
- package/dist/project/components/Accordion/preview.html +2 -0
- package/dist/project/components/Accordion/stories.js +12 -0
- package/dist/project/components/AgentAvatar/README.md +127 -0
- package/dist/project/components/AgentAvatar/preview.html +2 -0
- package/dist/project/components/AgentAvatar/stories.js +12 -0
- package/dist/project/components/AgentAvatar/stories.md +1805 -0
- package/dist/project/components/AgentGlyph/README.md +1182 -0
- package/dist/project/components/AgentGlyph/preview.html +2 -0
- package/dist/project/components/AgentGlyph/stories.js +12 -0
- package/dist/project/components/AgentLookBuilder/README.md +269 -0
- package/dist/project/components/AgentLookBuilder/preview.html +2 -0
- package/dist/project/components/AgentLookBuilder/stories.js +12 -0
- package/dist/project/components/Alert/README.md +492 -0
- package/dist/project/components/Alert/preview.html +2 -0
- package/dist/project/components/Alert/stories.js +12 -0
- package/dist/project/components/AnimatedBackground/README.md +124 -0
- package/dist/project/components/AnimatedBackground/preview.html +2 -0
- package/dist/project/components/AnimatedBackground/stories.js +12 -0
- package/dist/project/components/AppShell/README.md +75 -0
- package/dist/project/components/AppShell/preview.html +2 -0
- package/dist/project/components/AppShell/stories.js +28 -0
- package/dist/project/components/AppShell/stories.md +2878 -0
- package/dist/project/components/ApprovalCard/README.md +353 -0
- package/dist/project/components/ApprovalCard/preview.html +2 -0
- package/dist/project/components/ApprovalCard/stories.js +12 -0
- package/dist/project/components/AreaChart/README.md +673 -0
- package/dist/project/components/AreaChart/preview.html +2 -0
- package/dist/project/components/AreaChart/stories.js +12 -0
- package/dist/project/components/AssistantMessage/README.md +724 -0
- package/dist/project/components/AssistantMessage/preview.html +2 -0
- package/dist/project/components/AssistantMessage/stories.js +55 -0
- package/dist/project/components/Attribute/README.md +1174 -0
- package/dist/project/components/Attribute/preview.html +2 -0
- package/dist/project/components/Attribute/stories.js +12 -0
- package/dist/project/components/Avatar/README.md +416 -0
- package/dist/project/components/Avatar/preview.html +2 -0
- package/dist/project/components/Avatar/stories.js +12 -0
- package/dist/project/components/Badge/README.md +853 -0
- package/dist/project/components/Badge/preview.html +2 -0
- package/dist/project/components/Badge/stories.js +12 -0
- package/dist/project/components/Banner/README.md +341 -0
- package/dist/project/components/Banner/preview.html +2 -0
- package/dist/project/components/Banner/stories.js +12 -0
- package/dist/project/components/BarList/README.md +757 -0
- package/dist/project/components/BarList/preview.html +2 -0
- package/dist/project/components/BarList/stories.js +12 -0
- package/dist/project/components/Breadcrumbs/README.md +274 -0
- package/dist/project/components/Breadcrumbs/preview.html +2 -0
- package/dist/project/components/Breadcrumbs/stories.js +12 -0
- package/dist/project/components/BulkBar/README.md +19 -0
- package/dist/project/components/Button/README.md +467 -0
- package/dist/project/components/Button/preview.html +2 -0
- package/dist/project/components/Button/stories.js +12 -0
- package/dist/project/components/Calendar/README.md +654 -0
- package/dist/project/components/Calendar/preview.html +2 -0
- package/dist/project/components/Calendar/stories.js +12 -0
- package/dist/project/components/Card/README.md +367 -0
- package/dist/project/components/Card/preview.html +2 -0
- package/dist/project/components/Card/stories.js +12 -0
- package/dist/project/components/ChainOfThought/README.md +412 -0
- package/dist/project/components/ChainOfThought/preview.html +2 -0
- package/dist/project/components/ChainOfThought/stories.js +12 -0
- package/dist/project/components/Chart/README.md +224 -0
- package/dist/project/components/Chart/preview.html +2 -0
- package/dist/project/components/Chart/stories.js +12 -0
- package/dist/project/components/Chat/README.md +1244 -0
- package/dist/project/components/Chat/preview.html +2 -0
- package/dist/project/components/Chat/stories.js +12 -0
- package/dist/project/components/ChatInput/README.md +378 -0
- package/dist/project/components/ChatInput/preview.html +2 -0
- package/dist/project/components/ChatInput/stories.js +12 -0
- package/dist/project/components/ChatPermissions/README.md +218 -0
- package/dist/project/components/ChatPermissions/preview.html +2 -0
- package/dist/project/components/ChatPermissions/stories.js +12 -0
- package/dist/project/components/Checkbox/README.md +367 -0
- package/dist/project/components/Checkbox/preview.html +2 -0
- package/dist/project/components/Checkbox/stories.js +12 -0
- package/dist/project/components/Code/README.md +243 -0
- package/dist/project/components/Code/preview.html +2 -0
- package/dist/project/components/Code/stories.js +12 -0
- package/dist/project/components/CodeEditor/README.md +280 -0
- package/dist/project/components/CodeEditor/preview.html +2 -0
- package/dist/project/components/CodeEditor/stories.js +162 -0
- package/dist/project/components/CodeEditor/stories.md +1533 -0
- package/dist/project/components/CodeSnippet/README.md +1352 -0
- package/dist/project/components/CodeSnippet/preview.html +2 -0
- package/dist/project/components/CodeSnippet/stories.js +156 -0
- package/dist/project/components/ColumnChart/README.md +521 -0
- package/dist/project/components/ColumnChart/preview.html +2 -0
- package/dist/project/components/ColumnChart/stories.js +12 -0
- package/dist/project/components/Conversation/README.md +314 -0
- package/dist/project/components/Conversation/preview.html +2 -0
- package/dist/project/components/Conversation/stories.js +12 -0
- package/dist/project/components/Copyable/README.md +406 -0
- package/dist/project/components/Copyable/preview.html +2 -0
- package/dist/project/components/Copyable/stories.js +12 -0
- package/dist/project/components/Country/README.md +226 -0
- package/dist/project/components/Country/preview.html +2 -0
- package/dist/project/components/Country/stories.js +12 -0
- package/dist/project/components/Cover/preview.html +43 -0
- package/dist/project/components/DateInput/README.md +458 -0
- package/dist/project/components/DateInput/preview.html +2 -0
- package/dist/project/components/DateInput/stories.js +12 -0
- package/dist/project/components/DateRangeInput/README.md +412 -0
- package/dist/project/components/DateRangeInput/preview.html +2 -0
- package/dist/project/components/DateRangeInput/stories.js +12 -0
- package/dist/project/components/Dialog/README.md +1140 -0
- package/dist/project/components/Dialog/preview.html +2 -0
- package/dist/project/components/Dialog/stories.js +12 -0
- package/dist/project/components/Drawer/README.md +1163 -0
- package/dist/project/components/Drawer/preview.html +2 -0
- package/dist/project/components/Drawer/stories.js +12 -0
- package/dist/project/components/DropdownMenu/README.md +678 -0
- package/dist/project/components/DropdownMenu/preview.html +2 -0
- package/dist/project/components/DropdownMenu/stories.js +12 -0
- package/dist/project/components/EmptyState/README.md +276 -0
- package/dist/project/components/EmptyState/preview.html +2 -0
- package/dist/project/components/EmptyState/stories.js +12 -0
- package/dist/project/components/FeedbackPulse/README.md +125 -0
- package/dist/project/components/FeedbackPulse/preview.html +2 -0
- package/dist/project/components/FeedbackPulse/stories.js +12 -0
- package/dist/project/components/Field/README.md +676 -0
- package/dist/project/components/Field/preview.html +2 -0
- package/dist/project/components/Field/stories.js +12 -0
- package/dist/project/components/FileUpload/README.md +544 -0
- package/dist/project/components/FileUpload/preview.html +2 -0
- package/dist/project/components/FileUpload/stories.js +12 -0
- package/dist/project/components/FilterCascade/README.md +348 -0
- package/dist/project/components/FilterCascade/preview.html +2 -0
- package/dist/project/components/FilterCascade/stories.js +12 -0
- package/dist/project/components/FilterDropdown/README.md +542 -0
- package/dist/project/components/FilterDropdown/preview.html +2 -0
- package/dist/project/components/FilterDropdown/stories.js +12 -0
- package/dist/project/components/FilterInput/README.md +416 -0
- package/dist/project/components/FilterInput/preview.html +2 -0
- package/dist/project/components/FilterInput/stories.js +12 -0
- package/dist/project/components/FilterInput/stories.md +6682 -0
- package/dist/project/components/Flex/README.md +225 -0
- package/dist/project/components/Flex/preview.html +2 -0
- package/dist/project/components/Flex/stories.js +12 -0
- package/dist/project/components/FormatDateTime/README.md +315 -0
- package/dist/project/components/FormatDateTime/preview.html +2 -0
- package/dist/project/components/FormatDateTime/stories.js +12 -0
- package/dist/project/components/FormatNumber/README.md +317 -0
- package/dist/project/components/FormatNumber/preview.html +2 -0
- package/dist/project/components/FormatNumber/stories.js +12 -0
- package/dist/project/components/Heading/README.md +240 -0
- package/dist/project/components/Heading/preview.html +2 -0
- package/dist/project/components/Heading/stories.js +12 -0
- package/dist/project/components/HorizontalBarStack/README.md +281 -0
- package/dist/project/components/HorizontalBarStack/preview.html +2 -0
- package/dist/project/components/HorizontalBarStack/stories.js +12 -0
- package/dist/project/components/HttpMethod/README.md +137 -0
- package/dist/project/components/HttpMethod/preview.html +2 -0
- package/dist/project/components/HttpMethod/stories.js +12 -0
- package/dist/project/components/ImageCropper/README.md +332 -0
- package/dist/project/components/ImageCropper/preview.html +2 -0
- package/dist/project/components/ImageCropper/stories.js +33 -0
- package/dist/project/components/Indicator/README.md +110 -0
- package/dist/project/components/Indicator/preview.html +2 -0
- package/dist/project/components/Indicator/stories.js +12 -0
- package/dist/project/components/InlineEdit/README.md +977 -0
- package/dist/project/components/InlineEdit/preview.html +2 -0
- package/dist/project/components/InlineEdit/stories.js +12 -0
- package/dist/project/components/Input/README.md +187 -0
- package/dist/project/components/Input/preview.html +2 -0
- package/dist/project/components/Input/stories.js +12 -0
- package/dist/project/components/InputGroup/README.md +423 -0
- package/dist/project/components/InputGroup/preview.html +2 -0
- package/dist/project/components/InputGroup/stories.js +12 -0
- package/dist/project/components/InputOTP/README.md +201 -0
- package/dist/project/components/InputOTP/preview.html +2 -0
- package/dist/project/components/InputOTP/stories.js +12 -0
- package/dist/project/components/Ip/README.md +226 -0
- package/dist/project/components/Ip/preview.html +2 -0
- package/dist/project/components/Ip/stories.js +12 -0
- package/dist/project/components/Kbd/README.md +126 -0
- package/dist/project/components/Kbd/preview.html +2 -0
- package/dist/project/components/Kbd/stories.js +12 -0
- package/dist/project/components/LineChart/README.md +1479 -0
- package/dist/project/components/LineChart/preview.html +2 -0
- package/dist/project/components/LineChart/stories.js +12 -0
- package/dist/project/components/Link/README.md +160 -0
- package/dist/project/components/Link/preview.html +2 -0
- package/dist/project/components/Link/stories.js +12 -0
- package/dist/project/components/List/README.md +181 -0
- package/dist/project/components/List/preview.html +2 -0
- package/dist/project/components/List/stories.js +12 -0
- package/dist/project/components/Loader/README.md +145 -0
- package/dist/project/components/Loader/preview.html +2 -0
- package/dist/project/components/Loader/stories.js +12 -0
- package/dist/project/components/Logo/README.md +183 -0
- package/dist/project/components/Logo/preview.html +2 -0
- package/dist/project/components/Logo/stories.js +12 -0
- package/dist/project/components/MessageActions/README.md +255 -0
- package/dist/project/components/MessageActions/preview.html +2 -0
- package/dist/project/components/MessageActions/stories.js +12 -0
- package/dist/project/components/Metric/README.md +324 -0
- package/dist/project/components/Metric/preview.html +2 -0
- package/dist/project/components/Metric/stories.js +12 -0
- package/dist/project/components/NavRail/README.md +25 -0
- package/dist/project/components/NotificationCenter/README.md +91 -0
- package/dist/project/components/NotificationCenter/preview.html +2 -0
- package/dist/project/components/NotificationCenter/stories.js +12 -0
- package/dist/project/components/NotificationCenter/stories.md +2170 -0
- package/dist/project/components/NumberInput/README.md +177 -0
- package/dist/project/components/NumberInput/preview.html +2 -0
- package/dist/project/components/NumberInput/stories.js +12 -0
- package/dist/project/components/NumericBadge/README.md +252 -0
- package/dist/project/components/NumericBadge/preview.html +2 -0
- package/dist/project/components/NumericBadge/stories.js +12 -0
- package/dist/project/components/OverflowList/README.md +324 -0
- package/dist/project/components/OverflowList/preview.html +2 -0
- package/dist/project/components/OverflowList/stories.js +12 -0
- package/dist/project/components/OverflowTooltip/README.md +421 -0
- package/dist/project/components/OverflowTooltip/preview.html +2 -0
- package/dist/project/components/OverflowTooltip/stories.js +12 -0
- package/dist/project/components/Overlay/README.md +95 -0
- package/dist/project/components/Overlay/preview.html +2 -0
- package/dist/project/components/Overlay/stories.js +12 -0
- package/dist/project/components/Overview/README.md +445 -0
- package/dist/project/components/Overview/preview.html +2 -0
- package/dist/project/components/Overview/stories.js +12 -0
- package/dist/project/components/Page/README.md +215 -0
- package/dist/project/components/Page/preview.html +2 -0
- package/dist/project/components/Page/stories.js +12 -0
- package/dist/project/components/Pagination/README.md +302 -0
- package/dist/project/components/Pagination/preview.html +2 -0
- package/dist/project/components/Pagination/stories.js +12 -0
- package/dist/project/components/ParameterPath/README.md +284 -0
- package/dist/project/components/ParameterPath/preview.html +2 -0
- package/dist/project/components/ParameterPath/stories.js +12 -0
- package/dist/project/components/PasswordComplexity/README.md +171 -0
- package/dist/project/components/PasswordComplexity/preview.html +2 -0
- package/dist/project/components/PasswordComplexity/stories.js +12 -0
- package/dist/project/components/PasswordInput/README.md +254 -0
- package/dist/project/components/PasswordInput/preview.html +2 -0
- package/dist/project/components/PasswordInput/stories.js +12 -0
- package/dist/project/components/PieChart/README.md +895 -0
- package/dist/project/components/PieChart/preview.html +2 -0
- package/dist/project/components/PieChart/stories.js +12 -0
- package/dist/project/components/Popover/README.md +282 -0
- package/dist/project/components/Popover/preview.html +2 -0
- package/dist/project/components/Popover/stories.js +12 -0
- package/dist/project/components/Progress/README.md +174 -0
- package/dist/project/components/Progress/preview.html +2 -0
- package/dist/project/components/Progress/stories.js +12 -0
- package/dist/project/components/Radio/README.md +264 -0
- package/dist/project/components/Radio/preview.html +2 -0
- package/dist/project/components/Radio/stories.js +12 -0
- package/dist/project/components/RemoteShell/README.md +1758 -0
- package/dist/project/components/RemoteShell/preview.html +2 -0
- package/dist/project/components/RemoteShell/stories.js +28 -0
- package/dist/project/components/Resizable/README.md +290 -0
- package/dist/project/components/Resizable/preview.html +2 -0
- package/dist/project/components/Resizable/stories.js +12 -0
- package/dist/project/components/ResponseCode/README.md +205 -0
- package/dist/project/components/ResponseCode/preview.html +2 -0
- package/dist/project/components/ResponseCode/stories.js +12 -0
- package/dist/project/components/ScrollArea/README.md +234 -0
- package/dist/project/components/ScrollArea/preview.html +2 -0
- package/dist/project/components/ScrollArea/stories.js +12 -0
- package/dist/project/components/SearchInput/README.md +158 -0
- package/dist/project/components/SearchInput/preview.html +2 -0
- package/dist/project/components/SearchInput/stories.js +12 -0
- package/dist/project/components/SearchModal/README.md +836 -0
- package/dist/project/components/SearchModal/preview.html +2 -0
- package/dist/project/components/SearchModal/stories.js +12 -0
- package/dist/project/components/SegmentedControl/README.md +382 -0
- package/dist/project/components/SegmentedControl/preview.html +2 -0
- package/dist/project/components/SegmentedControl/stories.js +12 -0
- package/dist/project/components/SegmentedTabs/README.md +390 -0
- package/dist/project/components/SegmentedTabs/preview.html +2 -0
- package/dist/project/components/SegmentedTabs/stories.js +12 -0
- package/dist/project/components/Select/README.md +1311 -0
- package/dist/project/components/Select/preview.html +2 -0
- package/dist/project/components/Select/stories.js +12 -0
- package/dist/project/components/Selection/README.md +648 -0
- package/dist/project/components/Selection/preview.html +2 -0
- package/dist/project/components/Selection/stories.js +12 -0
- package/dist/project/components/Separator/README.md +77 -0
- package/dist/project/components/Separator/preview.html +2 -0
- package/dist/project/components/Separator/stories.js +12 -0
- package/dist/project/components/Skeleton/README.md +358 -0
- package/dist/project/components/Skeleton/preview.html +2 -0
- package/dist/project/components/Skeleton/stories.js +12 -0
- package/dist/project/components/Slider/README.md +433 -0
- package/dist/project/components/Slider/preview.html +2 -0
- package/dist/project/components/Slider/stories.js +12 -0
- package/dist/project/components/SplashScreen/README.md +192 -0
- package/dist/project/components/SplashScreen/preview.html +2 -0
- package/dist/project/components/SplashScreen/stories.js +12 -0
- package/dist/project/components/SplitButton/README.md +402 -0
- package/dist/project/components/SplitButton/preview.html +2 -0
- package/dist/project/components/SplitButton/stories.js +12 -0
- package/dist/project/components/Stack/README.md +269 -0
- package/dist/project/components/Stack/preview.html +2 -0
- package/dist/project/components/Stack/stories.js +12 -0
- package/dist/project/components/Stepper/README.md +682 -0
- package/dist/project/components/Stepper/preview.html +2 -0
- package/dist/project/components/Stepper/stories.js +12 -0
- package/dist/project/components/Switch/README.md +236 -0
- package/dist/project/components/Switch/preview.html +2 -0
- package/dist/project/components/Switch/stories.js +12 -0
- package/dist/project/components/Table/README.md +471 -0
- package/dist/project/components/Table/preview.html +2 -0
- package/dist/project/components/Table/stories.js +12 -0
- package/dist/project/components/Table/stories.md +3697 -0
- package/dist/project/components/Tabs/README.md +443 -0
- package/dist/project/components/Tabs/preview.html +2 -0
- package/dist/project/components/Tabs/stories.js +12 -0
- package/dist/project/components/Tag/README.md +324 -0
- package/dist/project/components/Tag/preview.html +2 -0
- package/dist/project/components/Tag/stories.js +12 -0
- package/dist/project/components/Text/README.md +200 -0
- package/dist/project/components/Text/preview.html +2 -0
- package/dist/project/components/Text/stories.js +12 -0
- package/dist/project/components/Textarea/README.md +273 -0
- package/dist/project/components/Textarea/preview.html +2 -0
- package/dist/project/components/Textarea/stories.js +12 -0
- package/dist/project/components/TimeInput/README.md +359 -0
- package/dist/project/components/TimeInput/preview.html +2 -0
- package/dist/project/components/TimeInput/stories.js +12 -0
- package/dist/project/components/Timeline/README.md +204 -0
- package/dist/project/components/Timeline/preview.html +2 -0
- package/dist/project/components/Timeline/stories.js +12 -0
- package/dist/project/components/Toast/README.md +718 -0
- package/dist/project/components/Toast/preview.html +2 -0
- package/dist/project/components/Toast/stories.js +12 -0
- package/dist/project/components/ToggleButton/README.md +292 -0
- package/dist/project/components/ToggleButton/preview.html +2 -0
- package/dist/project/components/ToggleButton/stories.js +12 -0
- package/dist/project/components/Tooltip/README.md +199 -0
- package/dist/project/components/Tooltip/preview.html +2 -0
- package/dist/project/components/Tooltip/stories.js +12 -0
- package/dist/project/components/TopHeader/README.md +21 -0
- package/dist/project/components/Tour/README.md +532 -0
- package/dist/project/components/Tour/preview.html +2 -0
- package/dist/project/components/Tour/stories.js +12 -0
- package/dist/project/components/Tree/README.md +450 -0
- package/dist/project/components/Tree/preview.html +2 -0
- package/dist/project/components/Tree/stories.js +12 -0
- package/dist/project/components/TreeView/README.md +531 -0
- package/dist/project/components/TreeView/preview.html +2 -0
- package/dist/project/components/TreeView/stories.js +12 -0
- package/dist/project/components/UTILITIES.md +647 -0
- package/dist/project/components/UserMessage/README.md +166 -0
- package/dist/project/components/UserMessage/preview.html +2 -0
- package/dist/project/components/UserMessage/stories.js +12 -0
- package/dist/project/components/UtilityPage/README.md +147 -0
- package/dist/project/components/UtilityPage/preview.html +2 -0
- package/dist/project/components/UtilityPage/stories.js +12 -0
- package/dist/project/components/WallyAssistant/README.md +1380 -0
- package/dist/project/components/WallyAssistant/preview.html +2 -0
- package/dist/project/components/WallyAssistant/stories.js +12 -0
- package/dist/project/components/WallyIcon/README.md +130 -0
- package/dist/project/components/WallyIcon/preview.html +2 -0
- package/dist/project/components/WallyIcon/stories.js +12 -0
- package/dist/project/components/WallySkeleton/README.md +96 -0
- package/dist/project/components/WallySkeleton/preview.html +2 -0
- package/dist/project/components/WallySkeleton/stories.js +12 -0
- package/dist/project/components/bundle.css +18734 -0
- package/dist/project/components/bundle.js +167 -0
- package/dist/project/components/index.d.ts +27226 -0
- package/dist/project/design-system.json +35 -0
- package/dist/project/fonts/Geist-Variable.woff2 +0 -0
- package/dist/project/fonts/GeistMono-Variable.woff2 +0 -0
- package/dist/project/fonts/GeistPixel-Square.woff2 +0 -0
- package/dist/project/sampler.dc.html +238 -0
- package/dist/project/tokens.css +1395 -0
- package/dist/project/tokens.json +5235 -0
- package/dist/wallarm-sampler.dc.html +239 -0
- package/package.json +67 -3
|
@@ -0,0 +1,718 @@
|
|
|
1
|
+
A transient notification fired from `useToast()` — you never place one in the tree, and a single `Toaster` at the app root owns placement, stacking and the timer. Because it disappears, nothing may live only here: reach for a `Dialog` when the reader has to decide, `Banner` for standing account state, and `Alert` for a message that belongs to a region. Actions on a toast stay optional for the same reason.
|
|
2
|
+
|
|
3
|
+
## Props as canvas attributes
|
|
4
|
+
|
|
5
|
+
Use kebab-case attribute names. Pass non-string values through renderVals holes, including booleans. The full emitted API is in `components/index.d.ts`.
|
|
6
|
+
|
|
7
|
+
| Attribute | Type | Required | Default | Description |
|
|
8
|
+
| --- | --- | --- | --- | --- |
|
|
9
|
+
| `toast` | `ToastData` | yes | — | |
|
|
10
|
+
|
|
11
|
+
## Sub-components
|
|
12
|
+
|
|
13
|
+
- `WallarmDS.ToastActions` — `ToastActionsProps` in the declaration bundle.
|
|
14
|
+
- `WallarmDS.Toaster` — `ToasterProps` in the declaration bundle.
|
|
15
|
+
|
|
16
|
+
## Stories
|
|
17
|
+
|
|
18
|
+
### Basic
|
|
19
|
+
|
|
20
|
+
Every `type` from one place: the icon and colour come from it, and `default` has none. The second row fires the same toasts with the timer stopped, which is what the screenshot tests use.
|
|
21
|
+
|
|
22
|
+
Source: Toast/Toast.stories.tsx#Basic
|
|
23
|
+
|
|
24
|
+
### WithNestedOverlays
|
|
25
|
+
|
|
26
|
+
A toast fired from inside a `Drawer`, and again from a `Dialog` on top of it, to prove it renders above every open overlay rather than behind them.
|
|
27
|
+
|
|
28
|
+
Source: Toast/Toast.stories.tsx#WithNestedOverlays
|
|
29
|
+
|
|
30
|
+
### UpdateLoadingToSuccess
|
|
31
|
+
|
|
32
|
+
A loading toast has no timer and no progress bar, so it will not clear itself: `update()` the same id to resolve it to success or error.
|
|
33
|
+
|
|
34
|
+
Source: Toast/Toast.stories.tsx#UpdateLoadingToSuccess
|
|
35
|
+
|
|
36
|
+
### DescriptionKeepsExtended
|
|
37
|
+
|
|
38
|
+
A `description` is never dropped: ask for `simple` alongside one and the toast still reflows to `extended`, timer included. Passing no description keeps the one-line layout.
|
|
39
|
+
|
|
40
|
+
Source: Toast/Toast.stories.tsx#DescriptionKeepsExtended
|
|
41
|
+
|
|
42
|
+
### SimpleWithActions
|
|
43
|
+
|
|
44
|
+
`simple` is a one-line title for about five seconds — as long as no `description` is passed with it. One action is the norm and two is the ceiling — they have to be optional, since the toast leaves on its own.
|
|
45
|
+
|
|
46
|
+
Source: Toast/Toast.stories.tsx#SimpleWithActions
|
|
47
|
+
|
|
48
|
+
### ExtendedWithActions
|
|
49
|
+
|
|
50
|
+
`extended` adds a description and about ten seconds, for the cases where one sentence of context genuinely helps.
|
|
51
|
+
|
|
52
|
+
Source: Toast/Toast.stories.tsx#ExtendedWithActions
|
|
53
|
+
|
|
54
|
+
### LongText
|
|
55
|
+
|
|
56
|
+
The title clamps to one line simple, two extended, and the description to four, with the full text in a tooltip. Pre-truncating your own copy fights it.
|
|
57
|
+
|
|
58
|
+
Source: Toast/Toast.stories.tsx#LongText
|
|
59
|
+
|
|
60
|
+
### WithoutCloseButton
|
|
61
|
+
|
|
62
|
+
`closable: false` takes the X away, which is only right for an in-flight loading toast the reader must not lose.
|
|
63
|
+
|
|
64
|
+
Source: Toast/Toast.stories.tsx#WithoutCloseButton
|
|
65
|
+
|
|
66
|
+
### CustomIcon
|
|
67
|
+
|
|
68
|
+
A custom `icon` replaces the type’s own. It inherits the type colour unless it sets one, so the first here is deliberately purple and the second is not.
|
|
69
|
+
|
|
70
|
+
Source: Toast/Toast.stories.tsx#CustomIcon
|
|
71
|
+
|
|
72
|
+
### CustomIconColors
|
|
73
|
+
|
|
74
|
+
Neutral custom icons follow the toast's foreground. A status supplies its colour, while an explicit icon colour takes precedence.
|
|
75
|
+
|
|
76
|
+
Source: Toast/Toast.stories.tsx#CustomIconColors
|
|
77
|
+
|
|
78
|
+
## Story sources
|
|
79
|
+
|
|
80
|
+
### Toast/Toast.stories.tsx
|
|
81
|
+
|
|
82
|
+
```tsx
|
|
83
|
+
import { useRef } from 'react';
|
|
84
|
+
import { fn } from 'storybook/test';
|
|
85
|
+
import type { Meta, StoryFn } from 'storybook-react-rsbuild';
|
|
86
|
+
import {
|
|
87
|
+
Activity,
|
|
88
|
+
CircleCheck,
|
|
89
|
+
Info,
|
|
90
|
+
LoaderCircle,
|
|
91
|
+
OctagonAlert,
|
|
92
|
+
TriangleAlert,
|
|
93
|
+
} from '../../icons';
|
|
94
|
+
import { Button } from '../Button';
|
|
95
|
+
import {
|
|
96
|
+
Dialog,
|
|
97
|
+
DialogBody,
|
|
98
|
+
DialogContent,
|
|
99
|
+
DialogHeader,
|
|
100
|
+
DialogTitle,
|
|
101
|
+
DialogTrigger,
|
|
102
|
+
} from '../Dialog';
|
|
103
|
+
import {
|
|
104
|
+
Drawer,
|
|
105
|
+
DrawerBody,
|
|
106
|
+
DrawerContent,
|
|
107
|
+
DrawerHeader,
|
|
108
|
+
DrawerTitle,
|
|
109
|
+
DrawerTrigger,
|
|
110
|
+
} from '../Drawer';
|
|
111
|
+
import { HStack, VStack } from '../Stack';
|
|
112
|
+
import { ToastActions, Toaster, useToast } from './index';
|
|
113
|
+
|
|
114
|
+
const onToastAction = fn().mockName('onToastAction');
|
|
115
|
+
|
|
116
|
+
const DESCRIPTION = [
|
|
117
|
+
'A transient notification fired from `useToast()` — you never place one in the tree, and a single `Toaster` at the app root owns placement, stacking and the timer.',
|
|
118
|
+
'Because it disappears, nothing may live only here: reach for a `Dialog` when the reader has to decide, `Banner` for standing account state, and `Alert` for a message that belongs to a region. Actions on a toast stay optional for the same reason.',
|
|
119
|
+
].join(' ');
|
|
120
|
+
|
|
121
|
+
const meta = {
|
|
122
|
+
title: 'Messaging/Toast',
|
|
123
|
+
component: Toaster,
|
|
124
|
+
parameters: {
|
|
125
|
+
layout: 'centered',
|
|
126
|
+
docs: {
|
|
127
|
+
description: {
|
|
128
|
+
component: DESCRIPTION,
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
},
|
|
132
|
+
} satisfies Meta<typeof Toaster>;
|
|
133
|
+
|
|
134
|
+
export default meta;
|
|
135
|
+
|
|
136
|
+
const STATIC_DURATION = Number.MAX_SAFE_INTEGER;
|
|
137
|
+
|
|
138
|
+
// Helper component to demonstrate toast usage
|
|
139
|
+
const ToastDemo = () => {
|
|
140
|
+
const toast = useToast();
|
|
141
|
+
|
|
142
|
+
const types = [
|
|
143
|
+
{
|
|
144
|
+
label: 'Success',
|
|
145
|
+
icon: <CircleCheck />,
|
|
146
|
+
type: 'success' as const,
|
|
147
|
+
title: 'Success!',
|
|
148
|
+
description: 'Your changes have been saved successfully.',
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
label: 'Error',
|
|
152
|
+
icon: <OctagonAlert />,
|
|
153
|
+
type: 'error' as const,
|
|
154
|
+
title: 'Error occurred',
|
|
155
|
+
description: 'Something went wrong. Please try again.',
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
label: 'Warning',
|
|
159
|
+
icon: <TriangleAlert />,
|
|
160
|
+
type: 'warning' as const,
|
|
161
|
+
title: 'Warning',
|
|
162
|
+
description: 'This action cannot be undone.',
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
label: 'Info',
|
|
166
|
+
icon: <Info />,
|
|
167
|
+
type: 'info' as const,
|
|
168
|
+
title: 'New update available',
|
|
169
|
+
description: 'Version 2.1.0 is now available for download.',
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
label: 'Loading',
|
|
173
|
+
icon: <LoaderCircle />,
|
|
174
|
+
type: 'loading' as const,
|
|
175
|
+
title: 'Loading...',
|
|
176
|
+
description: 'Please wait while we process your request.',
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
label: 'Default',
|
|
180
|
+
icon: null,
|
|
181
|
+
type: 'default' as const,
|
|
182
|
+
title: 'Default toast',
|
|
183
|
+
description: 'This is a default toast without an icon.',
|
|
184
|
+
},
|
|
185
|
+
];
|
|
186
|
+
|
|
187
|
+
return (
|
|
188
|
+
<VStack gap={16} align='start'>
|
|
189
|
+
<VStack gap={4} align='start'>
|
|
190
|
+
<p className='sb-annotation'>timed</p>
|
|
191
|
+
<HStack gap={8} wrap='wrap'>
|
|
192
|
+
{types.map(({ label, icon, type, title, description }) => (
|
|
193
|
+
<Button
|
|
194
|
+
key={label}
|
|
195
|
+
variant='outline'
|
|
196
|
+
color='neutral'
|
|
197
|
+
onClick={() => toast.create({ title, variant: 'extended', description, type })}
|
|
198
|
+
>
|
|
199
|
+
{icon}
|
|
200
|
+
{label}
|
|
201
|
+
</Button>
|
|
202
|
+
))}
|
|
203
|
+
</HStack>
|
|
204
|
+
</VStack>
|
|
205
|
+
<VStack gap={4} align='start'>
|
|
206
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
207
|
+
<HStack gap={8} wrap='wrap'>
|
|
208
|
+
{types.map(({ label, icon, type, title, description }) => (
|
|
209
|
+
<Button
|
|
210
|
+
key={label}
|
|
211
|
+
variant='secondary'
|
|
212
|
+
color='neutral'
|
|
213
|
+
onClick={() =>
|
|
214
|
+
toast.create({
|
|
215
|
+
title,
|
|
216
|
+
variant: 'extended',
|
|
217
|
+
description,
|
|
218
|
+
type,
|
|
219
|
+
duration: STATIC_DURATION,
|
|
220
|
+
})
|
|
221
|
+
}
|
|
222
|
+
>
|
|
223
|
+
{icon}
|
|
224
|
+
{label}
|
|
225
|
+
</Button>
|
|
226
|
+
))}
|
|
227
|
+
</HStack>
|
|
228
|
+
</VStack>
|
|
229
|
+
</VStack>
|
|
230
|
+
);
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/** Every `type` from one place: the icon and colour come from it, and `default` has none. The second row fires the same toasts with the timer stopped, which is what the screenshot tests use. */
|
|
234
|
+
export const Basic: StoryFn = () => {
|
|
235
|
+
return <ToastDemo />;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/** A toast fired from inside a `Drawer`, and again from a `Dialog` on top of it, to prove it renders above every open overlay rather than behind them. */
|
|
239
|
+
export const WithNestedOverlays: StoryFn = () => {
|
|
240
|
+
const toast = useToast();
|
|
241
|
+
|
|
242
|
+
const fireToast = () =>
|
|
243
|
+
toast.create({
|
|
244
|
+
title: 'Saved',
|
|
245
|
+
description: 'This toast must render above every open overlay.',
|
|
246
|
+
type: 'success',
|
|
247
|
+
duration: STATIC_DURATION,
|
|
248
|
+
});
|
|
249
|
+
|
|
250
|
+
return (
|
|
251
|
+
<Drawer data-testid='overlay-drawer'>
|
|
252
|
+
<DrawerTrigger asChild>
|
|
253
|
+
<Button variant='outline' color='neutral'>
|
|
254
|
+
Open drawer
|
|
255
|
+
</Button>
|
|
256
|
+
</DrawerTrigger>
|
|
257
|
+
|
|
258
|
+
<DrawerContent>
|
|
259
|
+
<DrawerHeader>
|
|
260
|
+
<DrawerTitle>[Level 1] Drawer</DrawerTitle>
|
|
261
|
+
</DrawerHeader>
|
|
262
|
+
|
|
263
|
+
<DrawerBody>
|
|
264
|
+
<VStack gap={12} align='start'>
|
|
265
|
+
<Button variant='outline' color='neutral' onClick={fireToast}>
|
|
266
|
+
Show toast from drawer
|
|
267
|
+
</Button>
|
|
268
|
+
|
|
269
|
+
<Dialog>
|
|
270
|
+
<DialogTrigger asChild>
|
|
271
|
+
<Button variant='ghost' color='neutral'>
|
|
272
|
+
Open nested dialog
|
|
273
|
+
</Button>
|
|
274
|
+
</DialogTrigger>
|
|
275
|
+
|
|
276
|
+
<DialogContent>
|
|
277
|
+
<DialogHeader>
|
|
278
|
+
<DialogTitle>[Level 2] Dialog</DialogTitle>
|
|
279
|
+
</DialogHeader>
|
|
280
|
+
|
|
281
|
+
<DialogBody>
|
|
282
|
+
<Button variant='outline' color='neutral' onClick={fireToast}>
|
|
283
|
+
Show toast from nested dialog
|
|
284
|
+
</Button>
|
|
285
|
+
</DialogBody>
|
|
286
|
+
</DialogContent>
|
|
287
|
+
</Dialog>
|
|
288
|
+
</VStack>
|
|
289
|
+
</DrawerBody>
|
|
290
|
+
</DrawerContent>
|
|
291
|
+
</Drawer>
|
|
292
|
+
);
|
|
293
|
+
};
|
|
294
|
+
|
|
295
|
+
/** A loading toast has no timer and no progress bar, so it will not clear itself: `update()` the same id to resolve it to success or error. */
|
|
296
|
+
export const UpdateLoadingToSuccess: StoryFn = () => {
|
|
297
|
+
const toast = useToast();
|
|
298
|
+
const id = useRef<string | undefined>(undefined);
|
|
299
|
+
|
|
300
|
+
const createToast = (duration?: number) => {
|
|
301
|
+
id.current = toast.create({
|
|
302
|
+
title: 'Loading',
|
|
303
|
+
description: 'Loading ...',
|
|
304
|
+
type: 'loading',
|
|
305
|
+
variant: 'extended',
|
|
306
|
+
duration,
|
|
307
|
+
});
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
const updateToast = (duration?: number) => {
|
|
311
|
+
if (!id.current) {
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
toast.update({
|
|
316
|
+
id: id.current,
|
|
317
|
+
title: 'Success',
|
|
318
|
+
description: 'Success!',
|
|
319
|
+
type: 'success',
|
|
320
|
+
variant: 'extended',
|
|
321
|
+
duration,
|
|
322
|
+
});
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
return (
|
|
326
|
+
<VStack gap={16} align='start'>
|
|
327
|
+
<VStack gap={4} align='start'>
|
|
328
|
+
<p className='sb-annotation'>timed</p>
|
|
329
|
+
<HStack gap={8} wrap='wrap'>
|
|
330
|
+
<Button variant='outline' color='neutral' onClick={() => createToast()}>
|
|
331
|
+
Create loading toast
|
|
332
|
+
</Button>
|
|
333
|
+
<Button variant='outline' color='neutral' onClick={() => updateToast()}>
|
|
334
|
+
Update to success
|
|
335
|
+
</Button>
|
|
336
|
+
</HStack>
|
|
337
|
+
</VStack>
|
|
338
|
+
<VStack gap={4} align='start'>
|
|
339
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
340
|
+
<HStack gap={8} wrap='wrap'>
|
|
341
|
+
<Button variant='secondary' color='neutral' onClick={() => createToast(STATIC_DURATION)}>
|
|
342
|
+
Create loading toast
|
|
343
|
+
</Button>
|
|
344
|
+
<Button variant='secondary' color='neutral' onClick={() => updateToast(STATIC_DURATION)}>
|
|
345
|
+
Update to success
|
|
346
|
+
</Button>
|
|
347
|
+
</HStack>
|
|
348
|
+
</VStack>
|
|
349
|
+
</VStack>
|
|
350
|
+
);
|
|
351
|
+
};
|
|
352
|
+
|
|
353
|
+
/** A `description` is never dropped: ask for `simple` alongside one and the toast still reflows to `extended`, timer included. Passing no description keeps the one-line layout. */
|
|
354
|
+
export const DescriptionKeepsExtended: StoryFn = () => {
|
|
355
|
+
const toast = useToast();
|
|
356
|
+
|
|
357
|
+
const withDescription = (duration?: number) =>
|
|
358
|
+
toast.create({
|
|
359
|
+
title: 'Failed to mark as True Positive',
|
|
360
|
+
description: 'resolved vector count must not exceed 500000',
|
|
361
|
+
type: 'error',
|
|
362
|
+
variant: 'simple',
|
|
363
|
+
duration,
|
|
364
|
+
});
|
|
365
|
+
|
|
366
|
+
const withoutDescription = (duration?: number) =>
|
|
367
|
+
toast.create({ title: 'Marked 2 attacks', type: 'success', variant: 'simple', duration });
|
|
368
|
+
|
|
369
|
+
return (
|
|
370
|
+
<VStack gap={16} align='start'>
|
|
371
|
+
<VStack gap={4} align='start'>
|
|
372
|
+
<p className='sb-annotation'>timed</p>
|
|
373
|
+
<HStack gap={8} wrap='wrap'>
|
|
374
|
+
<Button variant='outline' color='neutral' onClick={() => withDescription()}>
|
|
375
|
+
Simple with description
|
|
376
|
+
</Button>
|
|
377
|
+
<Button variant='outline' color='neutral' onClick={() => withoutDescription()}>
|
|
378
|
+
Simple without description
|
|
379
|
+
</Button>
|
|
380
|
+
</HStack>
|
|
381
|
+
</VStack>
|
|
382
|
+
<VStack gap={4} align='start'>
|
|
383
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
384
|
+
<HStack gap={8} wrap='wrap'>
|
|
385
|
+
<Button
|
|
386
|
+
variant='secondary'
|
|
387
|
+
color='neutral'
|
|
388
|
+
onClick={() => withDescription(STATIC_DURATION)}
|
|
389
|
+
>
|
|
390
|
+
Simple with description
|
|
391
|
+
</Button>
|
|
392
|
+
<Button
|
|
393
|
+
variant='secondary'
|
|
394
|
+
color='neutral'
|
|
395
|
+
onClick={() => withoutDescription(STATIC_DURATION)}
|
|
396
|
+
>
|
|
397
|
+
Simple without description
|
|
398
|
+
</Button>
|
|
399
|
+
</HStack>
|
|
400
|
+
</VStack>
|
|
401
|
+
</VStack>
|
|
402
|
+
);
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
/** `simple` is a one-line title for about five seconds — as long as no `description` is passed with it. One action is the norm and two is the ceiling — they have to be optional, since the toast leaves on its own. */
|
|
406
|
+
export const SimpleWithActions: StoryFn = () => {
|
|
407
|
+
const toast = useToast();
|
|
408
|
+
|
|
409
|
+
const single = (duration?: number) =>
|
|
410
|
+
toast.create({
|
|
411
|
+
title: 'Message sent',
|
|
412
|
+
type: 'success',
|
|
413
|
+
variant: 'simple',
|
|
414
|
+
duration,
|
|
415
|
+
actions: (
|
|
416
|
+
<ToastActions>
|
|
417
|
+
<Button variant='secondary' size='small' color='neutral-alt' onClick={onToastAction}>
|
|
418
|
+
Undo
|
|
419
|
+
</Button>
|
|
420
|
+
</ToastActions>
|
|
421
|
+
),
|
|
422
|
+
});
|
|
423
|
+
|
|
424
|
+
const double = (duration?: number) =>
|
|
425
|
+
toast.create({
|
|
426
|
+
title: 'Connection restored',
|
|
427
|
+
type: 'info',
|
|
428
|
+
variant: 'simple',
|
|
429
|
+
duration,
|
|
430
|
+
actions: (
|
|
431
|
+
<ToastActions>
|
|
432
|
+
<Button variant='secondary' size='small' color='neutral-alt' onClick={onToastAction}>
|
|
433
|
+
View
|
|
434
|
+
</Button>
|
|
435
|
+
<Button variant='secondary' size='small' color='neutral-alt' onClick={onToastAction}>
|
|
436
|
+
Dismiss
|
|
437
|
+
</Button>
|
|
438
|
+
</ToastActions>
|
|
439
|
+
),
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
return (
|
|
443
|
+
<VStack gap={16} align='start'>
|
|
444
|
+
<VStack gap={4} align='start'>
|
|
445
|
+
<p className='sb-annotation'>timed</p>
|
|
446
|
+
<HStack gap={8} wrap='wrap'>
|
|
447
|
+
<Button variant='outline' color='neutral' onClick={() => single()}>
|
|
448
|
+
Simple Toast with Action
|
|
449
|
+
</Button>
|
|
450
|
+
<Button variant='outline' color='neutral' onClick={() => double()}>
|
|
451
|
+
Simple Toast with Two Actions
|
|
452
|
+
</Button>
|
|
453
|
+
</HStack>
|
|
454
|
+
</VStack>
|
|
455
|
+
<VStack gap={4} align='start'>
|
|
456
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
457
|
+
<HStack gap={8} wrap='wrap'>
|
|
458
|
+
<Button variant='secondary' color='neutral' onClick={() => single(STATIC_DURATION)}>
|
|
459
|
+
Simple Toast with Action
|
|
460
|
+
</Button>
|
|
461
|
+
<Button variant='secondary' color='neutral' onClick={() => double(STATIC_DURATION)}>
|
|
462
|
+
Simple Toast with Two Actions
|
|
463
|
+
</Button>
|
|
464
|
+
</HStack>
|
|
465
|
+
</VStack>
|
|
466
|
+
</VStack>
|
|
467
|
+
);
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
/** `extended` adds a description and about ten seconds, for the cases where one sentence of context genuinely helps. */
|
|
471
|
+
export const ExtendedWithActions: StoryFn = () => {
|
|
472
|
+
const toast = useToast();
|
|
473
|
+
|
|
474
|
+
const single = (duration?: number) =>
|
|
475
|
+
toast.create({
|
|
476
|
+
title: 'Extended Toast',
|
|
477
|
+
description: 'This is an extended toast with default layout.',
|
|
478
|
+
type: 'success',
|
|
479
|
+
variant: 'extended',
|
|
480
|
+
duration,
|
|
481
|
+
actions: (
|
|
482
|
+
<ToastActions>
|
|
483
|
+
<Button variant='secondary' size='small' color='neutral-alt' onClick={onToastAction}>
|
|
484
|
+
Action
|
|
485
|
+
</Button>
|
|
486
|
+
</ToastActions>
|
|
487
|
+
),
|
|
488
|
+
});
|
|
489
|
+
|
|
490
|
+
const double = (duration?: number) =>
|
|
491
|
+
toast.create({
|
|
492
|
+
title: 'File processed',
|
|
493
|
+
description: 'Your file has been processed successfully.',
|
|
494
|
+
type: 'info',
|
|
495
|
+
variant: 'extended',
|
|
496
|
+
duration,
|
|
497
|
+
actions: (
|
|
498
|
+
<ToastActions>
|
|
499
|
+
<Button variant='secondary' size='small' color='neutral-alt' onClick={onToastAction}>
|
|
500
|
+
View
|
|
501
|
+
</Button>
|
|
502
|
+
<Button variant='secondary' size='small' color='neutral-alt' onClick={onToastAction}>
|
|
503
|
+
Download
|
|
504
|
+
</Button>
|
|
505
|
+
</ToastActions>
|
|
506
|
+
),
|
|
507
|
+
});
|
|
508
|
+
|
|
509
|
+
return (
|
|
510
|
+
<VStack gap={16} align='start'>
|
|
511
|
+
<VStack gap={4} align='start'>
|
|
512
|
+
<p className='sb-annotation'>timed</p>
|
|
513
|
+
<HStack gap={8} wrap='wrap'>
|
|
514
|
+
<Button variant='outline' color='neutral' onClick={() => single()}>
|
|
515
|
+
Extended Toast with Action
|
|
516
|
+
</Button>
|
|
517
|
+
<Button variant='outline' color='neutral' onClick={() => double()}>
|
|
518
|
+
Extended Toast with Two Actions
|
|
519
|
+
</Button>
|
|
520
|
+
</HStack>
|
|
521
|
+
</VStack>
|
|
522
|
+
<VStack gap={4} align='start'>
|
|
523
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
524
|
+
<HStack gap={8} wrap='wrap'>
|
|
525
|
+
<Button variant='secondary' color='neutral' onClick={() => single(STATIC_DURATION)}>
|
|
526
|
+
Extended Toast with Action
|
|
527
|
+
</Button>
|
|
528
|
+
<Button variant='secondary' color='neutral' onClick={() => double(STATIC_DURATION)}>
|
|
529
|
+
Extended Toast with Two Actions
|
|
530
|
+
</Button>
|
|
531
|
+
</HStack>
|
|
532
|
+
</VStack>
|
|
533
|
+
</VStack>
|
|
534
|
+
);
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
/** The title clamps to one line simple, two extended, and the description to four, with the full text in a tooltip. Pre-truncating your own copy fights it. */
|
|
538
|
+
export const LongText: StoryFn = () => {
|
|
539
|
+
const toast = useToast();
|
|
540
|
+
|
|
541
|
+
const longTitle =
|
|
542
|
+
'This is a very very very long title that will be truncated after a certain number of lines';
|
|
543
|
+
const veryLongTitle = longTitle.repeat(4);
|
|
544
|
+
const longDescription =
|
|
545
|
+
'This is a very long description that will be truncated after a certain number of lines. ' +
|
|
546
|
+
'Hover over the description to see the full text in a tooltip. ' +
|
|
547
|
+
'This allows for better space management while still providing access to all the information.'.repeat(
|
|
548
|
+
2,
|
|
549
|
+
);
|
|
550
|
+
|
|
551
|
+
const simpleLong = (duration?: number) =>
|
|
552
|
+
toast.create({ title: longTitle, variant: 'simple', type: 'info', duration });
|
|
553
|
+
|
|
554
|
+
const extendedLong = (duration?: number) =>
|
|
555
|
+
toast.create({
|
|
556
|
+
title: veryLongTitle,
|
|
557
|
+
variant: 'extended',
|
|
558
|
+
description: longDescription,
|
|
559
|
+
type: 'info',
|
|
560
|
+
duration,
|
|
561
|
+
});
|
|
562
|
+
|
|
563
|
+
return (
|
|
564
|
+
<VStack gap={16} align='start'>
|
|
565
|
+
<VStack gap={4} align='start'>
|
|
566
|
+
<p className='sb-annotation'>timed</p>
|
|
567
|
+
<HStack gap={8} wrap='wrap'>
|
|
568
|
+
<Button variant='outline' color='neutral' onClick={() => simpleLong()}>
|
|
569
|
+
Simple with long title
|
|
570
|
+
</Button>
|
|
571
|
+
<Button variant='outline' color='neutral' onClick={() => extendedLong()}>
|
|
572
|
+
Extended with long text
|
|
573
|
+
</Button>
|
|
574
|
+
</HStack>
|
|
575
|
+
</VStack>
|
|
576
|
+
<VStack gap={4} align='start'>
|
|
577
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
578
|
+
<HStack gap={8} wrap='wrap'>
|
|
579
|
+
<Button variant='secondary' color='neutral' onClick={() => simpleLong(STATIC_DURATION)}>
|
|
580
|
+
Simple with long title
|
|
581
|
+
</Button>
|
|
582
|
+
<Button variant='secondary' color='neutral' onClick={() => extendedLong(STATIC_DURATION)}>
|
|
583
|
+
Extended with long text
|
|
584
|
+
</Button>
|
|
585
|
+
</HStack>
|
|
586
|
+
</VStack>
|
|
587
|
+
</VStack>
|
|
588
|
+
);
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
/** `closable: false` takes the X away, which is only right for an in-flight loading toast the reader must not lose. */
|
|
592
|
+
export const WithoutCloseButton: StoryFn = () => {
|
|
593
|
+
const toast = useToast();
|
|
594
|
+
|
|
595
|
+
const create = (duration?: number) =>
|
|
596
|
+
toast.create({
|
|
597
|
+
title: 'Non-closable toast',
|
|
598
|
+
variant: 'extended',
|
|
599
|
+
description: 'This toast cannot be closed manually.',
|
|
600
|
+
type: 'info',
|
|
601
|
+
closable: false,
|
|
602
|
+
duration,
|
|
603
|
+
});
|
|
604
|
+
|
|
605
|
+
return (
|
|
606
|
+
<VStack gap={16} align='start'>
|
|
607
|
+
<VStack gap={4} align='start'>
|
|
608
|
+
<p className='sb-annotation'>timed</p>
|
|
609
|
+
<HStack gap={8} wrap='wrap'>
|
|
610
|
+
<Button variant='outline' color='neutral' onClick={() => create()}>
|
|
611
|
+
Non-closable Toast
|
|
612
|
+
</Button>
|
|
613
|
+
</HStack>
|
|
614
|
+
</VStack>
|
|
615
|
+
<VStack gap={4} align='start'>
|
|
616
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
617
|
+
<HStack gap={8} wrap='wrap'>
|
|
618
|
+
<Button variant='secondary' color='neutral' onClick={() => create(STATIC_DURATION)}>
|
|
619
|
+
Non-closable Toast
|
|
620
|
+
</Button>
|
|
621
|
+
</HStack>
|
|
622
|
+
</VStack>
|
|
623
|
+
</VStack>
|
|
624
|
+
);
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
/** A custom `icon` replaces the type’s own. It inherits the type colour unless it sets one, so the first here is deliberately purple and the second is not. */
|
|
628
|
+
export const CustomIcon: StoryFn = () => {
|
|
629
|
+
const toast = useToast();
|
|
630
|
+
|
|
631
|
+
const withColor = (duration?: number) =>
|
|
632
|
+
toast.create({
|
|
633
|
+
title: 'Custom icon toast',
|
|
634
|
+
variant: 'extended',
|
|
635
|
+
description: 'This toast uses a custom icon that overrides the type-based icon.',
|
|
636
|
+
type: 'success',
|
|
637
|
+
icon: <Activity size='lg' className='text-purple-500' />,
|
|
638
|
+
duration,
|
|
639
|
+
});
|
|
640
|
+
|
|
641
|
+
const withoutColor = (duration?: number) =>
|
|
642
|
+
toast.create({
|
|
643
|
+
title: 'Custom icon with action',
|
|
644
|
+
variant: 'extended',
|
|
645
|
+
description: 'You can use any icon component as a custom icon.',
|
|
646
|
+
type: 'info',
|
|
647
|
+
icon: <Activity />,
|
|
648
|
+
duration,
|
|
649
|
+
});
|
|
650
|
+
|
|
651
|
+
return (
|
|
652
|
+
<VStack gap={16} align='start'>
|
|
653
|
+
<VStack gap={4} align='start'>
|
|
654
|
+
<p className='sb-annotation'>timed</p>
|
|
655
|
+
<HStack gap={8} wrap='wrap'>
|
|
656
|
+
<Button variant='outline' color='neutral' onClick={() => withColor()}>
|
|
657
|
+
Custom Icon with own color
|
|
658
|
+
</Button>
|
|
659
|
+
<Button variant='outline' color='neutral' onClick={() => withoutColor()}>
|
|
660
|
+
Custom Icon without color
|
|
661
|
+
</Button>
|
|
662
|
+
</HStack>
|
|
663
|
+
</VStack>
|
|
664
|
+
<VStack gap={4} align='start'>
|
|
665
|
+
<p className='sb-annotation'>static — no timer</p>
|
|
666
|
+
<HStack gap={8} wrap='wrap'>
|
|
667
|
+
<Button variant='secondary' color='neutral' onClick={() => withColor(STATIC_DURATION)}>
|
|
668
|
+
Custom Icon with own color
|
|
669
|
+
</Button>
|
|
670
|
+
<Button variant='secondary' color='neutral' onClick={() => withoutColor(STATIC_DURATION)}>
|
|
671
|
+
Custom Icon without color
|
|
672
|
+
</Button>
|
|
673
|
+
</HStack>
|
|
674
|
+
</VStack>
|
|
675
|
+
</VStack>
|
|
676
|
+
);
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
/** Neutral custom icons follow the toast's foreground. A status supplies its colour, while an explicit icon colour takes precedence. */
|
|
680
|
+
export const CustomIconColors: StoryFn = () => {
|
|
681
|
+
const toast = useToast();
|
|
682
|
+
const examples = [
|
|
683
|
+
{ name: 'default', label: 'Default', type: 'default' as const },
|
|
684
|
+
{ name: 'loading', label: 'Loading', type: 'loading' as const },
|
|
685
|
+
{ name: 'info', label: 'Info', type: 'info' as const },
|
|
686
|
+
{ name: 'own-color', label: 'Own color', type: 'success' as const },
|
|
687
|
+
];
|
|
688
|
+
|
|
689
|
+
return (
|
|
690
|
+
<HStack gap={8} wrap='wrap'>
|
|
691
|
+
{examples.map(({ name, label, type }) => (
|
|
692
|
+
<Button
|
|
693
|
+
key={name}
|
|
694
|
+
variant='outline'
|
|
695
|
+
color='neutral'
|
|
696
|
+
data-testid={`custom-icon-trigger-${name}`}
|
|
697
|
+
onClick={() =>
|
|
698
|
+
toast.create({
|
|
699
|
+
id: `custom-icon-${name}`,
|
|
700
|
+
title: `${label} custom icon`,
|
|
701
|
+
type,
|
|
702
|
+
duration: STATIC_DURATION,
|
|
703
|
+
icon: (
|
|
704
|
+
<Activity
|
|
705
|
+
data-testid={`custom-icon-${name}-svg`}
|
|
706
|
+
className={name === 'own-color' ? 'text-purple-500' : undefined}
|
|
707
|
+
/>
|
|
708
|
+
),
|
|
709
|
+
})
|
|
710
|
+
}
|
|
711
|
+
>
|
|
712
|
+
{label}
|
|
713
|
+
</Button>
|
|
714
|
+
))}
|
|
715
|
+
</HStack>
|
|
716
|
+
);
|
|
717
|
+
};
|
|
718
|
+
```
|