@wallarm-org/claude-design 0.0.0-stage → 4.8.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,12 @@
|
|
|
1
|
+
var e={vD(e,t,r){let n,l;/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @lightSyntaxTransform
|
|
8
|
+
* @noflow
|
|
9
|
+
* @nolint
|
|
10
|
+
* @preventMunge
|
|
11
|
+
* @preserve-invariant-messages
|
|
12
|
+
*/var a,i,o=Object.create,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,u=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,h=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of d(t))m.call(e,l)||l===r||c(e,l,{get:()=>t[l],enumerable:!(n=s(t,l))||n.enumerable});return e},p={},f={$dispatcherGuard:()=>M,$makeReadOnly:()=>D,$reset:()=>C,$structuralCheck:()=>W,c:()=>E,clearRenderCounterRegistry:()=>x,renderCounterRegistry:()=>O,useRenderCounter:()=>T};for(var y in f)c(p,y,{get:f[y],enumerable:!0});e.exports=h(c({},"__esModule",{value:!0}),p);var w=(l=null!=(n=r("C"))?o(u(n)):{},h(n&&n.__esModule?l:c(l,"default",{value:n,enumerable:!0}),n)),{useRef:v,useEffect:_,isValidElement:g}=w,b=null!=(a=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?a:w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.memo_cache_sentinel"),E="function"==typeof(null==(i=w.__COMPILER_RUNTIME)?void 0:i.c)?w.__COMPILER_RUNTIME.c:function(e){return w.useMemo(()=>{let t=Array(e);for(let r=0;r<e;r++)t[r]=S;return t[S]=!0,t},[])},R={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{R[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var N=null;function $(e){return b.ReactCurrentDispatcher.current=e,b.ReactCurrentDispatcher.current}R.useMemoCache=e=>{if(null!=N)return N.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var k=[];function M(e){let t=b.ReactCurrentDispatcher.current;if(0===e){if(k.push(t),1===k.length&&(N=t),t===R)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");$(R)}else if(1===e){let e=k.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===k.length&&(N=null),$(e)}else if(2===e)k.push(t),$(N);else if(3===e){let e=k.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");$(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function C(e){for(let t=0;t<e.length;t++)e[t]=S}function D(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var O=new Map;function x(){for(let e of O.values())e.forEach(e=>{e.count=0})}function T(e){let t=v(null);null!=t.current&&(t.current.count+=1),_(()=>{if(null==t.current){let r,n={count:0};null==(r=O.get(e))&&(r=new Set,O.set(e,r)),r.add(n),t.current=n}return()=>{var r;let n;null!==t.current&&(r=t.current,null!=(n=O.get(e))&&n.delete(r))}})}var A=new Set;function W(e,t,r,n,l,a){function i(e,t,i,o){let c=`${n}:${a} [${l}] ${r}${i} changed from ${e} to ${t} at depth ${o}`;A.has(c)||(A.add(c),console.error(c))}!function e(t,r,n,l){if(!(l>2)){if(t!==r)if(typeof t!=typeof r)i(`type ${typeof t}`,`type ${typeof r}`,n,l);else if("object"==typeof t){let a=Array.isArray(t),o=Array.isArray(r);if(null===t&&null!==r)i("null",`type ${typeof r}`,n,l);else if(null===r)i(`type ${typeof t}`,"null",n,l);else if(t instanceof Map)if(r instanceof Map)if(t.size!==r.size)i(`Map instance with size ${t.size}`,`Map instance with size ${r.size}`,n,l);else for(let[a,o]of t)r.has(a)?e(o,r.get(a),`${n}.get(${a})`,l+1):i(`Map instance with key ${a}`,`Map instance without key ${a}`,n,l);else i("Map instance","other value",n,l);else if(r instanceof Map)i("other value","Map instance",n,l);else if(t instanceof Set)if(r instanceof Set)if(t.size!==r.size)i(`Set instance with size ${t.size}`,`Set instance with size ${r.size}`,n,l);else for(let e of r)t.has(e)||i(`Set instance without element ${e}`,`Set instance with element ${e}`,n,l);else i("Set instance","other value",n,l);else if(r instanceof Set)i("other value","Set instance",n,l);else if(a||o)if(a!==o)i(`type ${a?"array":"object"}`,`type ${o?"array":"object"}`,n,l);else if(t.length!==r.length)i(`array with length ${t.length}`,`array with length ${r.length}`,n,l);else for(let a=0;a<t.length;a++)e(t[a],r[a],`${n}[${a}]`,l+1);else if(g(t)||g(r))g(t)!==g(r)?i(`type ${g(t)?"React element":"object"}`,`type ${g(r)?"React element":"object"}`,n,l):t.type!==r.type?i(`React element of type ${t.type}`,`React element of type ${r.type}`,n,l):e(t.props,r.props,`[props of ${n}]`,l+1);else{for(let e in r)e in t||i(`object without key ${e}`,`object with key ${e}`,n,l);for(let a in t)a in r?e(t[a],r[a],`${n}.${a}`,l+1):i(`object with key ${a}`,`object without key ${a}`,n,l)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(r)?isNaN(t)!==isNaN(r)&&i(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(r)?"NaN":"non-NaN value"}`,n,l):t!==r&&i(t,r,n,l)}}}(e,t,"",0)}},p(e,t,r){let n=new WeakMap,l=new WeakMap;function a(e,t,r){let a=t,i=r;if("object"==typeof a&&null!==a&&"$$typeof"in a&&a.$$typeof===Symbol.for("react.context")&&"Provider"in a&&(a=a.Provider),"function"==typeof a&&null!=i.ref&&!a.prototype?.isReactComponent){let t=a,r=n.get(e);r||(r=new WeakMap,n.set(e,r));let l=r.get(t);l||((l=e.forwardRef((e,r)=>t({...e,ref:r}))).displayName=t.displayName??t.name,r.set(t,l)),a=l}if("string"==typeof a&&"boolean"==typeof i.inert&&((i={...i}).inert?i.inert="":delete i.inert),"string"==typeof a)for(let[e,t]of[["fill-rule","fillRule"],["clip-rule","clipRule"]])e in i&&(i={...i,[t]:i[e]},delete i[e]);return"string"==typeof a&&null!=i.ref&&(a=function(e,t){let r=l.get(e);r||(r=new Map,l.set(e,r));let n=r.get(t);if(n)return n;let a=e.forwardRef((r,n)=>{let l=e.useRef(null);if(!l.current||l.current.original!==n){let e;l.current={original:n,callback:t=>{if(null==t&&e){let t=e;e=void 0,t();return}if("function"==typeof n){let r=n(t);e="function"==typeof r?r:void 0}else n&&(n.current=t)}}}return e.createElement(t,{...r,ref:l.current.callback})});return a.displayName=`CanvasHost(${t})`,r.set(t,a),a}(e,a)),{type:a,props:i}}function i(e){let t=(t,r,n)=>{let l=a(e,t,r??{});return e.createElement(l.type,void 0===n?l.props:{...l.props,key:n})};return{jsx:t,jsxs:(t,r,n)=>{let l=a(e,t,r??{}),{children:i,...o}=l.props;return e.createElement(l.type,void 0===n?o:{...o,key:n},...Array.isArray(i)?i:[i])},jsxDEV:t,Fragment:e.Fragment}}function o(e){return{...e,createElement:(t,r,...n)=>{let l=a(e,t,r??{});return e.createElement(l.type,l.props,...n)},cloneElement:(t,r,...n)=>{let l=e.cloneElement(t,r??void 0,...n),i=l.ref,o=a(e,l.type,{...l.props,ref:i});return o.type===l.type&&"string"!=typeof l.type?l:e.createElement(o.type,{...o.props,key:l.key})}}}r.d(t,{MA:()=>i,YJ:()=>o})},C(e,t,r){r.r(t);let n=(0,r("p").YJ)(window.React),{Children:l,Component:a,Fragment:i,Profiler:o,PureComponent:c,StrictMode:s,Suspense:d,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:u,act:m,cloneElement:h,createContext:p,createElement:f,createFactory:y,createRef:w,forwardRef:v,isValidElement:_,lazy:g,memo:b,startTransition:S,unstable_act:E,useCallback:R,useContext:N,useDebugValue:$,useDeferredValue:k,useEffect:M,useId:C,useImperativeHandle:D,useInsertionEffect:O,useLayoutEffect:x,useMemo:T,useReducer:A,useRef:W,useState:j,useSyncExternalStore:I,useTransition:P,version:z,use:L}=n;r.d(t,{},{Children:l,Component:a,Fragment:i,Profiler:o,PureComponent:c,StrictMode:s,Suspense:d,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:u,act:m,cloneElement:h,createContext:p,createElement:f,createFactory:y,createRef:w,default:n,forwardRef:v,isValidElement:_,lazy:g,memo:b,startTransition:S,unstable_act:E,use:L,useCallback:R,useContext:N,useDebugValue:$,useDeferredValue:k,useEffect:M,useId:C,useImperativeHandle:D,useInsertionEffect:O,useLayoutEffect:x,useMemo:T,useReducer:A,useRef:W,useState:j,useSyncExternalStore:I,useTransition:P,version:z})}},t={};function r(n){var l=t[n];if(void 0!==l)return l.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t,n)=>{var l=(t,n)=>{for(var l in t)r.o(t,l)&&!r.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,[n]:t[l]})};l(t,"get"),l(n,"value")},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let{jsx:e,jsxs:t,jsxDEV:n,Fragment:l}=(0,r("p").MA)(window.React);var a=r("vD");let i=window.WallarmDS.Chart,o=window.WallarmDS.ChartHeader,c=window.WallarmDS.ChartTitle,s=window.WallarmDS.Metric,d=window.WallarmDS.MetricCaption,u=window.WallarmDS.MetricDelta,m=window.WallarmDS.MetricHeader,h=window.WallarmDS.MetricSkeleton,p=window.WallarmDS.MetricSparkline,f=window.WallarmDS.MetricTotal,y=window.WallarmDS.MetricValue,w="https://www.figma.com/design/VKb5gW46uSGw0rqrhZsbXT/WADS-Components?node-id=12610-10640",v={title:"Data Display/SimpleCharts/Metric",component:s,parameters:{layout:"padded",design:{type:"figma",url:"https://www.figma.com/design/VKb5gW46uSGw0rqrhZsbXT/WADS-Components?node-id=11437-11939"},docs:{description:{component:"The family's compact stat — one number, optionally against a total and a change — for a card with no breakdown to draw; reach for `HorizontalBarStack` once that number splits into named parts. It is a brick set rather than a set of props: `MetricHeader` holds `MetricValue`, `MetricTotal` and `MetricDelta`, with `MetricCaption` beneath. On the delta, `sentiment` picks the colour and `trend` picks the arrow, on purpose independently — a number going up is not always good news. Add `MetricSparkline` after `Metric` to show the trend over the period; hover it for a point's date and value."}}}},_=r=>{let n,l,s=(0,a.c)(5),{title:d,children:u}=r;return s[0]!==d?(n=e(o,{children:e(c,{children:d})}),s[0]=d,s[1]=n):n=s[1],s[2]!==u||s[3]!==n?(l=e("div",{className:"w-320",children:t(i,{children:[n,u]})}),s[2]=u,s[3]=n,s[4]=l):l=s[4],l},g=[{x:new Date(2026,0,1),value:14},{x:new Date(2026,0,2),value:11},{x:new Date(2026,0,3),value:11},{x:new Date(2026,0,4),value:11},{x:new Date(2026,0,5),value:16},{x:new Date(2026,0,6),value:18},{x:new Date(2026,0,7),value:20},{x:new Date(2026,0,8),value:19},{x:new Date(2026,0,9),value:13}],b=()=>{let r,n,l=(0,a.c)(2);return l[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(o,{children:e(c,{children:"Attacks"})}),l[0]=r):r=l[0],l[1]===Symbol.for("react.memo_cache_sentinel")?(n=e("div",{className:"w-400",children:t(i,{children:[r,t(s,{children:[t(m,{children:[e(y,{children:"91"}),e(u,{value:10,trend:"up",sentiment:"positive"})]}),e(d,{children:"last 9 days"})]}),e(p,{"data-testid":"sparkline",data:g,label:"Attacks"})]})}),l[1]=n):n=l[1],n};b.parameters={design:{type:"figma",url:w}};let S=()=>{let r,n,l,h,f,w,v,_,b=(0,a.c)(8);return b[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(o,{children:e(c,{children:"Negative"})}),b[0]=r):r=b[0],b[1]===Symbol.for("react.memo_cache_sentinel")?(n=e("div",{className:"w-256",children:t(i,{children:[r,t(s,{children:[t(m,{children:[e(y,{children:"74"}),e(u,{value:5,trend:"down",sentiment:"negative"})]}),e(d,{children:"last 9 days"})]}),e(p,{data:g,color:"negative",label:"Attacks"})]})}),b[1]=n):n=b[1],b[2]===Symbol.for("react.memo_cache_sentinel")?(l=e(o,{children:e(c,{children:"Positive"})}),b[2]=l):l=b[2],b[3]===Symbol.for("react.memo_cache_sentinel")?(h=e("div",{className:"w-256",children:t(i,{children:[l,t(s,{children:[t(m,{children:[e(y,{children:"91"}),e(u,{value:10,trend:"up",sentiment:"positive"})]}),e(d,{children:"last 9 days"})]}),e(p,{data:g,color:"positive",label:"Attacks"})]})}),b[3]=h):h=b[3],b[4]===Symbol.for("react.memo_cache_sentinel")?(f=e(o,{children:e(c,{children:"Brand"})}),b[4]=f):f=b[4],b[5]===Symbol.for("react.memo_cache_sentinel")?(w=e("div",{className:"w-256",children:t(i,{children:[f,t(s,{children:[t(m,{children:[e(y,{children:"91"}),e(u,{value:10,trend:"up",sentiment:"positive"})]}),e(d,{children:"last 9 days"})]}),e(p,{data:g,label:"Attacks"})]})}),b[5]=w):w=b[5],b[6]===Symbol.for("react.memo_cache_sentinel")?(v=e(o,{children:e(c,{children:"Neutral"})}),b[6]=v):v=b[6],b[7]===Symbol.for("react.memo_cache_sentinel")?(_=t("div",{className:"flex flex-wrap gap-16",children:[n,h,w,e("div",{className:"w-256",children:t(i,{children:[v,t(s,{children:[t(m,{children:[e(y,{children:"91"}),e(u,{value:10,trend:"up",sentiment:"positive"})]}),e(d,{children:"last 9 days"})]}),e(p,{data:g,color:"neutral",label:"Attacks"})]})})]}),b[7]=_):_=b[7],_};S.parameters={design:{type:"figma",url:w}};var E=r("C");let R=[{name:"Gallery",story:()=>{let r,n,l,i,o,c,h,p,w,v=(0,a.c)(9);return v[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(_,{title:"Value only",children:e(s,{"data-testid":"metric",children:e(m,{children:e(y,{children:"91"})})})}),v[0]=r):r=v[0],v[1]===Symbol.for("react.memo_cache_sentinel")?(n=e(_,{title:"Negative — count rose",children:e(s,{children:t(m,{children:[e(y,{children:"91"}),e(u,{value:10,trend:"up",sentiment:"negative"})]})})}),v[1]=n):n=v[1],v[2]===Symbol.for("react.memo_cache_sentinel")?(l=e(_,{title:"Positive — count fell",children:e(s,{children:t(m,{children:[e(y,{children:"74"}),e(u,{value:8,trend:"down",sentiment:"positive"})]})})}),v[2]=l):l=v[2],v[3]===Symbol.for("react.memo_cache_sentinel")?(i=e(_,{title:"Neutral",children:e(s,{children:t(m,{children:[e(y,{children:"91"}),e(u,{value:10,trend:"up"})]})})}),v[3]=i):i=v[3],v[4]===Symbol.for("react.memo_cache_sentinel")?(o=e(_,{title:"Total — slash",children:e(s,{children:t(m,{children:[e(y,{children:"91"}),e(f,{connector:"slash",children:"120"}),e(u,{value:10,trend:"up",sentiment:"negative"})]})})}),v[4]=o):o=v[4],v[5]===Symbol.for("react.memo_cache_sentinel")?(c=e(_,{title:"Total — of",children:e(s,{children:t(m,{children:[e(y,{children:"91"}),e(f,{connector:"of",children:"120"}),e(u,{value:10,trend:"up",sentiment:"negative"})]})})}),v[5]=c):c=v[5],v[6]===Symbol.for("react.memo_cache_sentinel")?(h=e(_,{title:"Total — total",children:e(s,{children:t(m,{children:[e(y,{children:"91"}),e(f,{connector:"total",children:"120"}),e(u,{value:10,trend:"up",sentiment:"negative"})]})})}),v[6]=h):h=v[6],v[7]===Symbol.for("react.memo_cache_sentinel")?(p=e(_,{title:"With caption",children:t(s,{children:[t(m,{children:[e(y,{children:"91"}),e(u,{value:10,trend:"up",sentiment:"negative"})]}),e(d,{children:"blocked today"})]})}),v[7]=p):p=v[7],v[8]===Symbol.for("react.memo_cache_sentinel")?(w=t("div",{className:"flex flex-wrap gap-16",children:[r,n,l,i,o,c,h,p,e(_,{title:"Everything",children:t(s,{children:[t(m,{children:[e(y,{children:"91"}),e(f,{connector:"of",children:"120"}),e(u,{value:10,trend:"up",sentiment:"negative"})]}),e(d,{children:"blocked today"})]})})]}),v[8]=w):w=v[8],w},meta:v},{name:"Loading",story:()=>{let t,r=(0,a.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(t=e(_,{title:"Findings",children:e(h,{"data-testid":"metric-skeleton"})}),r[0]=t):t=r[0],t},meta:v},{name:"Sparkline",story:b,meta:v},{name:"SparklineColors",story:S,meta:v}];function N({entry:e}){let{story:t,meta:r}=e,n={...r.args,...t.args},l="function"==typeof t||t.$$typeof?t:t.render||r.render||r.component,a=()=>E.default.createElement(l,n),i={args:n,globals:{theme:"light"},parameters:{...r.parameters,...t.parameters},viewMode:"story"};for(let e of[...r.decorators||[],...t.decorators||[]].reverse()){let t=a;a=()=>e(t,i)}return E.default.createElement("section",{"data-preview-story":e.name,className:"p-16"},E.default.createElement("h2",{className:"text-sm mb-12"},e.name),E.default.createElement(a))}window.WallarmPreview={mount(e){let t=window.ReactDOM.createRoot(e);return t.render(E.default.createElement(window.WallarmDS.Root,null,R.map((e,t)=>E.default.createElement(N,{key:t,entry:e})))),t}}})();
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## Props as canvas attributes
|
|
2
|
+
|
|
3
|
+
Use kebab-case attribute names. Pass non-string values through renderVals holes, including booleans. The full emitted API is in `components/index.d.ts`.
|
|
4
|
+
|
|
5
|
+
| Attribute | Type | Required | Default | Description |
|
|
6
|
+
| --- | --- | --- | --- | --- |
|
|
7
|
+
| `mode` | `"expanded" \| "collapsed" \| "compact"` | no | `expanded` | How the rail lays out its items: `expanded` (icon beside label), `collapsed` (icon only) or `compact` (icon over a short label). Wins over `collapsed` when both are set. |
|
|
8
|
+
| `collapsed` | `boolean \| undefined` | no | `false` | Shorthand for `mode='collapsed'`, kept so existing hosts keep working. Prefer `mode`. |
|
|
9
|
+
| `default-checked` | `boolean \| undefined` | no | — | |
|
|
10
|
+
| `default-value` | `string \| number \| readonly string[] \| undefined` | no | — | |
|
|
11
|
+
| `auto-focus` | `boolean \| undefined` | no | — | |
|
|
12
|
+
| `id` | `string \| undefined` | no | — | |
|
|
13
|
+
| `tab-index` | `number \| undefined` | no | — | |
|
|
14
|
+
| `title` | `string \| undefined` | no | — | |
|
|
15
|
+
| `rel` | `string \| undefined` | no | — | |
|
|
16
|
+
| `on-change` | `ChangeEventHandler<T, Element> \| undefined` | no | — | |
|
|
17
|
+
| `data-testid` | `string \| undefined` | no | — | |
|
|
18
|
+
|
|
19
|
+
## Sub-components
|
|
20
|
+
|
|
21
|
+
- `WallarmDS.NavRailBody` — `NavRailBodyProps` in the declaration bundle.
|
|
22
|
+
- `WallarmDS.NavRailFooter` — `NavRailFooterProps` in the declaration bundle.
|
|
23
|
+
- `WallarmDS.NavRailItem` — `NavRailItemProps` in the declaration bundle.
|
|
24
|
+
- `WallarmDS.NavRailSeparator` — `NavRailSeparatorProps` in the declaration bundle.
|
|
25
|
+
- `WallarmDS.NavRailSkeleton` — `NavRailSkeletonProps` in the declaration bundle.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
The in-app notification inbox the bell in the top header opens: unread count on the bell, New and Read tabs, and a list where each card is one click target with its own action buttons. It is composition only — the app owns the data, decides when an item counts as read, and picks what each body shows: a list, `NotificationCenterSkeleton` while loading, or `NotificationCenterEmpty` for the empty and error states.
|
|
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
|
+
| `open` | `boolean \| undefined` | no | — | Controlled open state. Omit for uncontrolled. |
|
|
10
|
+
| `on-open-change` | `((open: boolean) => void) \| undefined` | no | — | |
|
|
11
|
+
| `positioning` | `complex` | no | `{ placement: 'bottom-end', gutter: 4 }` | Default: right-aligned under the bell with a 4px gap. |
|
|
12
|
+
| `data-testid` | `string \| undefined` | no | — | |
|
|
13
|
+
|
|
14
|
+
## Sub-components
|
|
15
|
+
|
|
16
|
+
- `WallarmDS.NotificationCenterBody` — `NotificationCenterBodyProps` in the declaration bundle.
|
|
17
|
+
- `WallarmDS.NotificationCenterEmpty` — `NotificationCenterEmptyProps` in the declaration bundle.
|
|
18
|
+
- `WallarmDS.NotificationCenterSkeleton` — `NotificationCenterSkeletonProps` in the declaration bundle.
|
|
19
|
+
- `WallarmDS.NotificationCenterContent` — `NotificationCenterContentProps` in the declaration bundle.
|
|
20
|
+
- `WallarmDS.NotificationCenterHeaderAction` — `NotificationCenterHeaderActionProps` in the declaration bundle.
|
|
21
|
+
- `WallarmDS.NotificationCenterHeaderActions` — `NotificationCenterHeaderActionsProps` in the declaration bundle.
|
|
22
|
+
- `WallarmDS.NotificationCenterHeader` — `NotificationCenterHeaderProps` in the declaration bundle.
|
|
23
|
+
- `WallarmDS.NotificationCenterTitle` — `NotificationCenterTitleProps` in the declaration bundle.
|
|
24
|
+
- `WallarmDS.NotificationCenterItemActions` — `NotificationCenterItemActionsProps` in the declaration bundle.
|
|
25
|
+
- `WallarmDS.NotificationCenterItemDescription` — `NotificationCenterItemDescriptionProps` in the declaration bundle.
|
|
26
|
+
- `WallarmDS.NotificationCenterItem` — `NotificationCenterItemProps` in the declaration bundle.
|
|
27
|
+
- `WallarmDS.NotificationCenterList` — `NotificationCenterListProps` in the declaration bundle.
|
|
28
|
+
- `WallarmDS.NotificationCenterItemTime` — `NotificationCenterItemTimeProps` in the declaration bundle.
|
|
29
|
+
- `WallarmDS.NotificationCenterItemTitle` — `NotificationCenterItemTitleProps` in the declaration bundle.
|
|
30
|
+
- `WallarmDS.NotificationCenterTabsList` — `NotificationCenterTabsListProps` in the declaration bundle.
|
|
31
|
+
- `WallarmDS.NotificationCenterTabs` — `NotificationCenterTabsProps` in the declaration bundle.
|
|
32
|
+
- `WallarmDS.NotificationCenterTrigger` — `NotificationCenterTriggerProps` in the declaration bundle.
|
|
33
|
+
|
|
34
|
+
## Stories
|
|
35
|
+
|
|
36
|
+
### Basic
|
|
37
|
+
|
|
38
|
+
The four kinds of notification are plain composition: two actions for a decision, one call to
|
|
39
|
+
action for triage and digests, none for an FYI. `data-analytics-id` goes on the title and on
|
|
40
|
+
each action button.
|
|
41
|
+
|
|
42
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#Basic
|
|
43
|
+
|
|
44
|
+
### ReadTab
|
|
45
|
+
|
|
46
|
+
Read items drop the dot and show their age; the tab opens on Read here through `defaultValue`.
|
|
47
|
+
|
|
48
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#ReadTab
|
|
49
|
+
|
|
50
|
+
### Empty
|
|
51
|
+
|
|
52
|
+
Each tab has its own empty state, built from `EmptyState` parts. "Mark all as read" is disabled
|
|
53
|
+
by the app when nothing is unread.
|
|
54
|
+
|
|
55
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#Empty
|
|
56
|
+
|
|
57
|
+
### Loading
|
|
58
|
+
|
|
59
|
+
While the inbox loads, the body shows placeholder rows and the bell has no badge yet.
|
|
60
|
+
|
|
61
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#Loading
|
|
62
|
+
|
|
63
|
+
### ErrorState
|
|
64
|
+
|
|
65
|
+
A failed load reuses `NotificationCenterEmpty` with a retry button. Tabs are optional: here the
|
|
66
|
+
body sits straight under the header.
|
|
67
|
+
|
|
68
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#ErrorState
|
|
69
|
+
|
|
70
|
+
### ManyItems
|
|
71
|
+
|
|
72
|
+
Past 640px the list scrolls inside the body while the header and tabs stay put.
|
|
73
|
+
|
|
74
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#ManyItems
|
|
75
|
+
|
|
76
|
+
### InTopHeader
|
|
77
|
+
|
|
78
|
+
Where it lives: the bell in the shell's top header, between the AI Assistant toggle and Quick
|
|
79
|
+
help, opening right-aligned under the button.
|
|
80
|
+
|
|
81
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#InTopHeader
|
|
82
|
+
|
|
83
|
+
### Controlled
|
|
84
|
+
|
|
85
|
+
Controlled open state: the app can close the inbox itself, for example after navigating.
|
|
86
|
+
|
|
87
|
+
Source: NotificationCenter/NotificationCenter.stories.tsx#Controlled
|
|
88
|
+
|
|
89
|
+
## Story sources
|
|
90
|
+
|
|
91
|
+
The story files and their local imports are in [stories.md](./stories.md), verbatim.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var e={vD(e,t,n){let r,a;/**
|
|
2
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the MIT license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*
|
|
7
|
+
* @lightSyntaxTransform
|
|
8
|
+
* @noflow
|
|
9
|
+
* @nolint
|
|
10
|
+
* @preventMunge
|
|
11
|
+
* @preserve-invariant-messages
|
|
12
|
+
*/var l,i,o=Object.create,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,m=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,f=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let a of s(t))h.call(e,a)||a===n||c(e,a,{get:()=>t[a],enumerable:!(r=d(t,a))||r.enumerable});return e},u={},p={$dispatcherGuard:()=>R,$makeReadOnly:()=>M,$reset:()=>E,$structuralCheck:()=>V,c:()=>C,clearRenderCounterRegistry:()=>$,renderCounterRegistry:()=>T,useRenderCounter:()=>x};for(var y in p)c(u,y,{get:p[y],enumerable:!0});e.exports=f(c({},"__esModule",{value:!0}),u);var w=(a=null!=(r=n("C"))?o(m(r)):{},f(r&&r.__esModule?a:c(a,"default",{value:r,enumerable:!0}),r)),{useRef:_,useEffect:S,isValidElement:b}=w,v=null!=(l=w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?l:w.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,g=Symbol.for("react.memo_cache_sentinel"),C="function"==typeof(null==(i=w.__COMPILER_RUNTIME)?void 0:i.c)?w.__COMPILER_RUNTIME.c:function(e){return w.useMemo(()=>{let t=Array(e);for(let n=0;n<e;n++)t[n]=g;return t[g]=!0,t},[])},N={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{N[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var D=null;function W(e){return v.ReactCurrentDispatcher.current=e,v.ReactCurrentDispatcher.current}N.useMemoCache=e=>{if(null!=D)return D.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var k=[];function R(e){let t=v.ReactCurrentDispatcher.current;if(0===e){if(k.push(t),1===k.length&&(D=t),t===N)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");W(N)}else if(1===e){let e=k.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===k.length&&(D=null),W(e)}else if(2===e)k.push(t),W(D);else if(3===e){let e=k.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");W(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function E(e){for(let t=0;t<e.length;t++)e[t]=g}function M(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var T=new Map;function $(){for(let e of T.values())e.forEach(e=>{e.count=0})}function x(e){let t=_(null);null!=t.current&&(t.current.count+=1),S(()=>{if(null==t.current){let n,r={count:0};null==(n=T.get(e))&&(n=new Set,T.set(e,n)),n.add(r),t.current=r}return()=>{var n;let r;null!==t.current&&(n=t.current,null!=(r=T.get(e))&&r.delete(n))}})}var I=new Set;function V(e,t,n,r,a,l){function i(e,t,i,o){let c=`${r}:${l} [${a}] ${n}${i} changed from ${e} to ${t} at depth ${o}`;I.has(c)||(I.add(c),console.error(c))}!function e(t,n,r,a){if(!(a>2)){if(t!==n)if(typeof t!=typeof n)i(`type ${typeof t}`,`type ${typeof n}`,r,a);else if("object"==typeof t){let l=Array.isArray(t),o=Array.isArray(n);if(null===t&&null!==n)i("null",`type ${typeof n}`,r,a);else if(null===n)i(`type ${typeof t}`,"null",r,a);else if(t instanceof Map)if(n instanceof Map)if(t.size!==n.size)i(`Map instance with size ${t.size}`,`Map instance with size ${n.size}`,r,a);else for(let[l,o]of t)n.has(l)?e(o,n.get(l),`${r}.get(${l})`,a+1):i(`Map instance with key ${l}`,`Map instance without key ${l}`,r,a);else i("Map instance","other value",r,a);else if(n instanceof Map)i("other value","Map instance",r,a);else if(t instanceof Set)if(n instanceof Set)if(t.size!==n.size)i(`Set instance with size ${t.size}`,`Set instance with size ${n.size}`,r,a);else for(let e of n)t.has(e)||i(`Set instance without element ${e}`,`Set instance with element ${e}`,r,a);else i("Set instance","other value",r,a);else if(n instanceof Set)i("other value","Set instance",r,a);else if(l||o)if(l!==o)i(`type ${l?"array":"object"}`,`type ${o?"array":"object"}`,r,a);else if(t.length!==n.length)i(`array with length ${t.length}`,`array with length ${n.length}`,r,a);else for(let l=0;l<t.length;l++)e(t[l],n[l],`${r}[${l}]`,a+1);else if(b(t)||b(n))b(t)!==b(n)?i(`type ${b(t)?"React element":"object"}`,`type ${b(n)?"React element":"object"}`,r,a):t.type!==n.type?i(`React element of type ${t.type}`,`React element of type ${n.type}`,r,a):e(t.props,n.props,`[props of ${r}]`,a+1);else{for(let e in n)e in t||i(`object without key ${e}`,`object with key ${e}`,r,a);for(let l in t)l in n?e(t[l],n[l],`${r}.${l}`,a+1):i(`object with key ${l}`,`object without key ${l}`,r,a)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(n)?isNaN(t)!==isNaN(n)&&i(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(n)?"NaN":"non-NaN value"}`,r,a):t!==n&&i(t,n,r,a)}}}(e,t,"",0)}},p(e,t,n){let r=new WeakMap,a=new WeakMap;function l(e,t,n){let l=t,i=n;if("object"==typeof l&&null!==l&&"$$typeof"in l&&l.$$typeof===Symbol.for("react.context")&&"Provider"in l&&(l=l.Provider),"function"==typeof l&&null!=i.ref&&!l.prototype?.isReactComponent){let t=l,n=r.get(e);n||(n=new WeakMap,r.set(e,n));let a=n.get(t);a||((a=e.forwardRef((e,n)=>t({...e,ref:n}))).displayName=t.displayName??t.name,n.set(t,a)),l=a}if("string"==typeof l&&"boolean"==typeof i.inert&&((i={...i}).inert?i.inert="":delete i.inert),"string"==typeof l)for(let[e,t]of[["fill-rule","fillRule"],["clip-rule","clipRule"]])e in i&&(i={...i,[t]:i[e]},delete i[e]);return"string"==typeof l&&null!=i.ref&&(l=function(e,t){let n=a.get(e);n||(n=new Map,a.set(e,n));let r=n.get(t);if(r)return r;let l=e.forwardRef((n,r)=>{let a=e.useRef(null);if(!a.current||a.current.original!==r){let e;a.current={original:r,callback:t=>{if(null==t&&e){let t=e;e=void 0,t();return}if("function"==typeof r){let n=r(t);e="function"==typeof n?n:void 0}else r&&(r.current=t)}}}return e.createElement(t,{...n,ref:a.current.callback})});return l.displayName=`CanvasHost(${t})`,n.set(t,l),l}(e,l)),{type:l,props:i}}function i(e){let t=(t,n,r)=>{let a=l(e,t,n??{});return e.createElement(a.type,void 0===r?a.props:{...a.props,key:r})};return{jsx:t,jsxs:(t,n,r)=>{let a=l(e,t,n??{}),{children:i,...o}=a.props;return e.createElement(a.type,void 0===r?o:{...o,key:r},...Array.isArray(i)?i:[i])},jsxDEV:t,Fragment:e.Fragment}}function o(e){return{...e,createElement:(t,n,...r)=>{let a=l(e,t,n??{});return e.createElement(a.type,a.props,...r)},cloneElement:(t,n,...r)=>{let a=e.cloneElement(t,n??void 0,...r),i=a.ref,o=l(e,a.type,{...a.props,ref:i});return o.type===a.type&&"string"!=typeof a.type?a:e.createElement(o.type,{...o.props,key:a.key})}}}n.d(t,{MA:()=>i,YJ:()=>o})},C(e,t,n){n.r(t);let r=(0,n("p").YJ)(window.React),{Children:a,Component:l,Fragment:i,Profiler:o,PureComponent:c,StrictMode:d,Suspense:s,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:m,act:h,cloneElement:f,createContext:u,createElement:p,createFactory:y,createRef:w,forwardRef:_,isValidElement:S,lazy:b,memo:v,startTransition:g,unstable_act:C,useCallback:N,useContext:D,useDebugValue:W,useDeferredValue:k,useEffect:R,useId:E,useImperativeHandle:M,useInsertionEffect:T,useLayoutEffect:$,useMemo:x,useReducer:I,useRef:V,useState:L,useSyncExternalStore:A,useTransition:O,version:j,use:H}=r;n.d(t,{},{Children:a,Component:l,Fragment:i,Profiler:o,PureComponent:c,StrictMode:d,Suspense:s,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:m,act:h,cloneElement:f,createContext:u,createElement:p,createFactory:y,createRef:w,default:r,forwardRef:_,isValidElement:S,lazy:b,memo:v,startTransition:g,unstable_act:C,use:H,useCallback:N,useContext:D,useDebugValue:W,useDeferredValue:k,useEffect:R,useId:E,useImperativeHandle:M,useInsertionEffect:T,useLayoutEffect:$,useMemo:x,useReducer:I,useRef:V,useState:L,useSyncExternalStore:A,useTransition:O,version:j})}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var l=t[r]={exports:{}};return e[r](l,l.exports,n),l.exports}n.d=(e,t,r)=>{var a=(t,r)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,[r]:t[a]})};a(t,"get"),a(r,"value")},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let{jsx:e,jsxs:t,jsxDEV:r,Fragment:a}=(0,n("p").MA)(window.React);var l=n("vD"),i=n("C");let o=()=>{let n,r=(0,l.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(n=t("svg",{width:"89",height:"16",viewBox:"0 0 89 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.9026 4.87835H35.5876L37.698 11.2096L39.383 4.87835H41.4934L38.5405 14.1625H36.8555L34.7451 7.83127L32.6346 14.1625H30.9496L27.9884 4.87835H30.0988L31.7838 11.2096L33.8942 4.87835H33.9026ZM44.9886 12.7862C46.3733 12.7862 47.4076 12.0104 47.4076 10.8676V10.292C46.8738 10.0835 46.1314 9.92502 45.3139 9.92502C44.0042 9.92502 43.2201 10.4589 43.2201 11.3931V11.4265C43.2201 12.294 43.9959 12.7778 44.9802 12.7778L44.9886 12.7862ZM42.7613 5.35382C43.5371 5.07855 44.388 4.90337 45.5057 4.90337C48.2001 4.90337 49.518 6.24637 49.518 8.68212V14.1709H47.4076V13.0531C46.782 13.7955 45.8728 14.3627 44.4881 14.3627C42.7614 14.3627 41.2432 13.3784 41.2432 11.5433V11.5099C41.2432 9.5413 42.8197 8.57368 44.9385 8.57368C46.0479 8.57368 46.6986 8.73217 47.4076 8.95739V8.73217C47.4076 7.47258 46.6652 6.78023 45.2138 6.78023C44.2712 6.78023 43.5204 6.98043 42.7613 7.28073V5.3705V5.35382ZM50.786 14.1625V1.5H52.8964V14.1625H50.786ZM54.1643 14.1625V1.5H56.2747L56.3164 14.1625H54.1643ZM61.0378 12.7862C62.4225 12.7862 63.4569 12.0104 63.4569 10.8676V10.292C62.923 10.0835 62.1806 9.92502 61.3631 9.92502C60.0535 9.92502 59.2694 10.4589 59.2694 11.3931V11.4265C59.2694 12.294 60.0451 12.7778 61.0295 12.7778L61.0378 12.7862ZM58.8106 5.35382C59.578 5.07855 60.4372 4.90337 61.555 4.90337C64.2493 4.90337 65.5589 6.24637 65.5589 8.68212V14.1709H63.4485V13.0531C62.8229 13.7955 61.9137 14.3627 60.529 14.3627C58.8022 14.3627 57.2841 13.3784 57.2841 11.5433V11.5099C57.2841 9.5413 58.8606 8.57368 60.9794 8.57368C62.0888 8.57368 62.7395 8.73217 63.4485 8.95739V8.73217C63.4485 7.47258 62.7061 6.78023 61.2547 6.78023C60.3121 6.78023 59.5613 6.98043 58.8022 7.28073V5.3705L58.8106 5.35382ZM66.8269 14.1625V4.87835H68.9373V6.93872C69.5045 5.5707 70.5389 4.63644 72.1405 4.71152V6.92204H72.0237C70.1885 6.92204 68.9373 8.11489 68.9373 10.534V14.1709H66.8269V14.1625ZM87.0969 8.18162V14.1709H84.9865V8.94071C84.9865 7.48927 84.3359 6.58838 83.1597 6.58838C81.9835 6.58838 81.1911 7.47258 81.1911 8.94071V14.1709H79.0807V8.80724C79.0807 7.38917 78.43 6.58838 77.2705 6.58838C76.1111 6.58838 75.2769 7.52263 75.2769 8.94071V14.1709H73.1665V4.87835H75.2769V6.26305C75.8692 5.45392 76.695 4.68649 78.0964 4.68649C79.406 4.68649 80.3236 5.32879 80.8074 6.29642C81.5498 5.32879 82.5174 4.68649 83.9021 4.68649C85.8874 4.68649 87.0969 5.94607 87.0969 8.18162Z",fill:"currentColor"}),e("path",{d:"M0.849998 6.83954L9.8954 3V8.4134L16.4618 5.62599V9.59236L21.2757 7.54864V10.4542L16.4618 12.498V10.754L9.8954 13.5414V11.1662L0.849998 15V6.83954Z",fill:"#FF441C"})]}),r[0]=n):n=r[0],n},c=window.WallarmDS.Icons.Activity,d=window.WallarmDS.Icons.Book,s=window.WallarmDS.Icons.CircleHelp,m=window.WallarmDS.Icons.LifeBuoy,h=window.WallarmDS.Icons.NotebookText,f=window.WallarmDS.Icons.SquareArrowOutUpRight,u=window.WallarmDS.Button,p=window.WallarmDS.DropdownMenu,y=window.WallarmDS.DropdownMenuContent,w=window.WallarmDS.DropdownMenuItem,_=window.WallarmDS.DropdownMenuItemContent,S=window.WallarmDS.DropdownMenuItemIcon,b=window.WallarmDS.DropdownMenuItemText,v=window.WallarmDS.DropdownMenuSeparator,g=window.WallarmDS.DropdownMenuTrigger,C=window.WallarmDS.Text,N=window.WallarmDS.Tooltip,D=window.WallarmDS.TooltipContent,W=window.WallarmDS.TooltipTrigger,k=()=>{let n,r,a,i,o,k,x,I,V,L,A,O,j,H=(0,l.c)(13);return H[0]===Symbol.for("react.memo_cache_sentinel")?(n={placement:"bottom-end",gutter:4},H[0]=n):n=H[0],H[1]===Symbol.for("react.memo_cache_sentinel")?(r=t(N,{children:[e(W,{asChild:!0,children:e("span",{className:"inline-flex",children:e(g,{asChild:!0,children:e(u,{variant:"ghost",size:"small",color:"neutral","aria-label":"Quick Help",children:e(s,{})})})})}),e(D,{children:"Quick help"})]}),H[1]=r):r=H[1],H[2]===Symbol.for("react.memo_cache_sentinel")?(a=e(S,{children:e(d,{})}),H[2]=a):a=H[2],H[3]===Symbol.for("react.memo_cache_sentinel")?(i=t(w,{onSelect:R,children:[a,t(_,{children:[e(b,{children:"Documentation"}),e(C,{size:"xs",color:"secondary",children:"Setup, deployment, and how-tos"})]})]}),H[3]=i):i=H[3],H[4]===Symbol.for("react.memo_cache_sentinel")?(o=e(S,{children:e(c,{})}),H[4]=o):o=H[4],H[5]===Symbol.for("react.memo_cache_sentinel")?(k=t(w,{onSelect:E,children:[o,t(_,{children:[e(b,{children:"Service status"}),e(C,{size:"xs",color:"secondary",children:"Live uptime and alerts"})]})]}),H[5]=k):k=H[5],H[6]===Symbol.for("react.memo_cache_sentinel")?(x=e(S,{children:e(m,{})}),H[6]=x):x=H[6],H[7]===Symbol.for("react.memo_cache_sentinel")?(I=t(w,{onSelect:M,children:[x,t(_,{children:[e(b,{children:"Support"}),e(C,{size:"xs",color:"secondary",children:"Talk to our team"})]})]}),H[7]=I):I=H[7],H[8]===Symbol.for("react.memo_cache_sentinel")?(V=e(S,{children:e(h,{})}),H[8]=V):V=H[8],H[9]===Symbol.for("react.memo_cache_sentinel")?(A=t(w,{onSelect:T,children:[V,t(_,{children:[e(b,{children:"Blog"}),e(C,{size:"xs",color:"secondary",children:"Security news and updates"})]})]}),L=e(v,{}),H[9]=L,H[10]=A):(L=H[9],A=H[10]),H[11]===Symbol.for("react.memo_cache_sentinel")?(O=e(S,{children:e(f,{})}),H[11]=O):O=H[11],H[12]===Symbol.for("react.memo_cache_sentinel")?(j=t(p,{positioning:n,children:[r,t(y,{className:"w-320",children:[i,k,I,A,L,t(w,{onSelect:$,children:[O,t(_,{children:[e(b,{children:"Wallarm Playground"}),e(C,{size:"xs",color:"secondary",children:"Try the platform without any setup"})]})]})]})]}),H[12]=j):j=H[12],j};function R(){return window.open("https://docs.wallarm.com/","_blank")}function E(){return window.open("https://status.wallarm.com/","_blank")}function M(){return window.open("mailto:support@wallarm.com")}function T(){return window.open("https://lab.wallarm.com","_blank")}function $(){return window.open("https://playground.wallarm.com","_blank")}let x=window.WallarmDS.Icons.CheckCheck,I=window.WallarmDS.Icons.History,V=window.WallarmDS.Icons.Settings,L=window.WallarmDS.Icons.TriangleAlert,A=window.WallarmDS.AppShell,O=window.WallarmDS.AppShellHeader,j=window.WallarmDS.Button,H=window.WallarmDS.ChatTrigger,z=window.WallarmDS.EmptyStateActions,P=window.WallarmDS.EmptyStateDescription,U=window.WallarmDS.EmptyStateIllustration,Z=window.WallarmDS.EmptyStateMessage,B=window.WallarmDS.EmptyStateTitle,F=window.WallarmDS.NumericBadge,Q=window.WallarmDS.TabsContent,Y=window.WallarmDS.TabsTrigger,J=window.WallarmDS.TopHeader,G=window.WallarmDS.TopHeaderActions,q=window.WallarmDS.TopHeaderLogo,X=window.WallarmDS.TopHeaderSeparator,K=window.WallarmDS.NotificationCenter,ee=window.WallarmDS.NotificationCenterBody,et=window.WallarmDS.NotificationCenterEmpty,en=window.WallarmDS.NotificationCenterSkeleton,er=window.WallarmDS.NotificationCenterContent,ea=window.WallarmDS.NotificationCenterHeader,el=window.WallarmDS.NotificationCenterHeaderAction,ei=window.WallarmDS.NotificationCenterHeaderActions,eo=window.WallarmDS.NotificationCenterTitle,ec=window.WallarmDS.NotificationCenterItem,ed=window.WallarmDS.NotificationCenterItemActions,es=window.WallarmDS.NotificationCenterItemDescription,em=window.WallarmDS.NotificationCenterList,eh=window.WallarmDS.NotificationCenterItemTime,ef=window.WallarmDS.NotificationCenterItemTitle,eu=window.WallarmDS.NotificationCenterTabs,ep=window.WallarmDS.NotificationCenterTabsList,ey=window.WallarmDS.NotificationCenterTrigger,ew={title:"Messaging/NotificationCenter",component:K,subcomponents:{NotificationCenterTrigger:ey,NotificationCenterContent:er,NotificationCenterHeader:ea,NotificationCenterTitle:eo,NotificationCenterHeaderActions:ei,NotificationCenterHeaderAction:el,NotificationCenterTabs:eu,NotificationCenterTabsList:ep,NotificationCenterBody:ee,NotificationCenterList:em,NotificationCenterItem:ec,NotificationCenterItemTitle:ef,NotificationCenterItemTime:eh,NotificationCenterItemDescription:es,NotificationCenterItemActions:ed,NotificationCenterEmpty:et,NotificationCenterSkeleton:en},parameters:{layout:"padded",docs:{description:{component:"The in-app notification inbox the bell in the top header opens: unread count on the bell, New and Read tabs, and a list where each card is one click target with its own action buttons. It is composition only — the app owns the data, decides when an item counts as read, and picks what each body shows: a list, `NotificationCenterSkeleton` while loading, or `NotificationCenterEmpty` for the empty and error states."}}}},e_=e=>new Date(Date.now()-6e4*e),eS=Array.from({length:24},(e,t)=>({id:`node-${t}`,title:`Node wallarm-node-${t+1} is offline`,description:"No heartbeat for 15 minutes. Traffic fails over to the remaining nodes.",createdAt:e_(37*t+1)})),eb=()=>{let n,r,a,i,c,d,s,m,h,f,u,p,y,w,_,S,b,v=(0,l.c)(17);return v[0]===Symbol.for("react.memo_cache_sentinel")?(n=e(q,{href:"/",children:e(o,{})}),v[0]=n):n=v[0],v[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(j,{variant:"ghost",size:"small",color:"neutral",children:"Tenant Name"}),a=e(X,{}),i=e(H,{}),v[1]=r,v[2]=a,v[3]=i):(r=v[1],a=v[2],i=v[3]),v[4]===Symbol.for("react.memo_cache_sentinel")?(c=e(ey,{count:2}),v[4]=c):c=v[4],v[5]===Symbol.for("react.memo_cache_sentinel")?(d=e(eo,{}),v[5]=d):d=v[5],v[6]===Symbol.for("react.memo_cache_sentinel")?(s=e(el,{children:"Mark all as read"}),v[6]=s):s=v[6],v[7]===Symbol.for("react.memo_cache_sentinel")?(m=t(ea,{children:[d,t(ei,{children:[s,e(el,{asChild:!0,"aria-label":"Notification settings",children:e("a",{href:"#notification-settings",children:e(V,{})})})]})]}),v[7]=m):m=v[7],v[8]===Symbol.for("react.memo_cache_sentinel")?(h=t(ep,{children:[t(Y,{value:"new",children:["New ",e(F,{size:"small",children:"2"})]}),e(Y,{value:"read",children:"Read"})]}),v[8]=h):h=v[8],v[9]===Symbol.for("react.memo_cache_sentinel")?(f=e(ef,{children:"New attack detected on api.example.com"}),v[9]=f):f=v[9],v[10]===Symbol.for("react.memo_cache_sentinel")?(u=e(eh,{value:e_(3)}),p=e(es,{children:"214 SQL injection attempts from 12 IPs in the last 10 minutes."}),v[10]=u,v[11]=p):(u=v[10],p=v[11]),v[12]===Symbol.for("react.memo_cache_sentinel")?(y=t(ec,{unread:!0,children:[f,u,p,e(ed,{children:e(j,{size:"small",children:"View attacks"})})]}),v[12]=y):y=v[12],v[13]===Symbol.for("react.memo_cache_sentinel")?(w=e(ef,{children:"Node wallarm-node-3 is offline"}),v[13]=w):w=v[13],v[14]===Symbol.for("react.memo_cache_sentinel")?(_=e(Q,{value:"new",children:e(ee,{children:t(em,{children:[y,t(ec,{unread:!0,children:[w,e(eh,{value:e_(22)}),e(es,{children:"No heartbeat for 15 minutes. Traffic fails over to wallarm-node-1."})]})]})})}),v[14]=_):_=v[14],v[15]===Symbol.for("react.memo_cache_sentinel")?(S=e(ef,{children:"Weekly API discovery report is ready"}),v[15]=S):S=v[15],v[16]===Symbol.for("react.memo_cache_sentinel")?(b=e(A,{ambient:!1,className:"h-[720px]",children:e(O,{children:t(J,{children:[n,t(G,{children:[r,a,i,t(K,{"data-testid":"notification-center",children:[c,t(er,{children:[m,t(eu,{defaultValue:"new",children:[h,_,e(Q,{value:"read",children:e(ee,{children:e(em,{children:t(ec,{children:[S,e(eh,{value:e_(10080)}),e(es,{children:"38 new endpoints this week, 5 of them handling sensitive data."})]})})})})]})]})]}),e(k,{})]})]})})}),v[16]=b):b=v[16],b};function ev(n){return t(ec,{unread:!0,children:[e(ef,{children:n.title}),e(eh,{value:n.createdAt}),e(es,{children:n.description})]},n.id)}eb.parameters={layout:"fullscreen"};let eg=[{name:"Basic",story:()=>{let n,r,a,i,o,c,d,s,m,h,f,u,p,y,w,_,S,b,v,g,C,N,D,W=(0,l.c)(23);return W[0]===Symbol.for("react.memo_cache_sentinel")?(n=e(ey,{count:5,"data-analytics-id":"notifications-open"}),W[0]=n):n=W[0],W[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(eo,{}),W[1]=r):r=W[1],W[2]===Symbol.for("react.memo_cache_sentinel")?(a=e(el,{"data-analytics-id":"notifications-mark-all-read",children:"Mark all as read"}),W[2]=a):a=W[2],W[3]===Symbol.for("react.memo_cache_sentinel")?(i=t(ea,{children:[r,t(ei,{children:[a,e(el,{asChild:!0,"aria-label":"Notification settings",children:e("a",{href:"#notification-settings",children:e(V,{})})})]})]}),W[3]=i):i=W[3],W[4]===Symbol.for("react.memo_cache_sentinel")?(o=t(ep,{children:[t(Y,{value:"new",children:["New ",e(F,{size:"small",children:"5"})]}),e(Y,{value:"read",children:"Read"})]}),W[4]=o):o=W[4],W[5]===Symbol.for("react.memo_cache_sentinel")?(c=e(ef,{"data-analytics-id":"notification-open",children:"Apply a virtual patch to api.example.com?"}),W[5]=c):c=W[5],W[6]===Symbol.for("react.memo_cache_sentinel")?(d=e(eh,{value:e_(3)}),s=e(es,{children:"Wally drafted a patch for the SQL injection on POST /v1/orders. It blocks the payload without touching the code."}),W[6]=d,W[7]=s):(d=W[6],s=W[7]),W[8]===Symbol.for("react.memo_cache_sentinel")?(m=t(ec,{unread:!0,"data-testid":"notification-center--item-patch",children:[c,d,s,t(ed,{children:[e(j,{size:"small","data-analytics-id":"notification-patch-approve",children:"Approve"}),e(j,{size:"small",variant:"outline",color:"neutral","data-analytics-id":"notification-patch-reject",children:"Reject"})]})]}),W[8]=m):m=W[8],W[9]===Symbol.for("react.memo_cache_sentinel")?(h=e(ef,{"data-analytics-id":"notification-open",children:"New attack detected on api.example.com"}),W[9]=h):h=W[9],W[10]===Symbol.for("react.memo_cache_sentinel")?(f=e(eh,{value:e_(9)}),u=e(es,{children:"214 SQL injection attempts from 12 IPs in the last 10 minutes."}),W[10]=f,W[11]=u):(f=W[10],u=W[11]),W[12]===Symbol.for("react.memo_cache_sentinel")?(p=t(ec,{unread:!0,children:[h,f,u,e(ed,{children:e(j,{size:"small","data-analytics-id":"notification-view-attacks",children:"View attacks"})})]}),W[12]=p):p=W[12],W[13]===Symbol.for("react.memo_cache_sentinel")?(y=e(ef,{"data-analytics-id":"notification-open",children:"Node wallarm-node-3 is offline"}),W[13]=y):y=W[13],W[14]===Symbol.for("react.memo_cache_sentinel")?(w=t(ec,{unread:!0,children:[y,e(eh,{value:e_(22)}),e(es,{children:"No heartbeat for 15 minutes. Traffic fails over to wallarm-node-1."})]}),W[14]=w):w=W[14],W[15]===Symbol.for("react.memo_cache_sentinel")?(_=e(ef,{"data-analytics-id":"notification-open",children:"Filtering rules updated"}),W[15]=_):_=W[15],W[16]===Symbol.for("react.memo_cache_sentinel")?(S=t(ec,{unread:!0,children:[_,e(eh,{value:e_(60)}),e(es,{children:"All nodes picked up the latest rule set. Nothing to do."})]}),W[16]=S):S=W[16],W[17]===Symbol.for("react.memo_cache_sentinel")?(b=e(ef,{"data-analytics-id":"notification-open",children:"Weekly API discovery report is ready"}),W[17]=b):b=W[17],W[18]===Symbol.for("react.memo_cache_sentinel")?(v=e(eh,{value:e_(120)}),g=e(es,{children:"38 new endpoints this week, 5 of them handling sensitive data."}),W[18]=v,W[19]=g):(v=W[18],g=W[19]),W[20]===Symbol.for("react.memo_cache_sentinel")?(C=e(Q,{value:"new",children:e(ee,{children:t(em,{children:[m,p,w,S,t(ec,{unread:!0,children:[b,v,g,e(ed,{children:e(j,{size:"small","data-analytics-id":"notification-view-report",children:"View report"})})]})]})})}),W[20]=C):C=W[20],W[21]===Symbol.for("react.memo_cache_sentinel")?(N=e(ef,{children:"Node wallarm-node-2 is back online"}),W[21]=N):N=W[21],W[22]===Symbol.for("react.memo_cache_sentinel")?(D=e("div",{className:"flex h-[720px] justify-end",children:t(K,{"data-testid":"notification-center",children:[n,t(er,{children:[i,t(eu,{defaultValue:"new",children:[o,C,e(Q,{value:"read",children:e(ee,{children:e(em,{children:t(ec,{children:[N,e(eh,{value:e_(1440)}),e(es,{children:"The node reconnected and is filtering traffic again."})]})})})})]})]})]})}),W[22]=D):D=W[22],D},meta:ew},{name:"ReadTab",story:()=>{let n,r,a,i,o,c,d,s,m,h,f,u,p,y=(0,l.c)(13);return y[0]===Symbol.for("react.memo_cache_sentinel")?(n=e(ey,{}),y[0]=n):n=y[0],y[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(eo,{}),y[1]=r):r=y[1],y[2]===Symbol.for("react.memo_cache_sentinel")?(a=e(el,{disabled:!0,children:"Mark all as read"}),y[2]=a):a=y[2],y[3]===Symbol.for("react.memo_cache_sentinel")?(i=t(ea,{children:[r,t(ei,{children:[a,e(el,{asChild:!0,"aria-label":"Notification settings",children:e("a",{href:"#notification-settings",children:e(V,{})})})]})]}),y[3]=i):i=y[3],y[4]===Symbol.for("react.memo_cache_sentinel")?(o=t(ep,{children:[e(Y,{value:"new",children:"New"}),e(Y,{value:"read",children:"Read"})]}),y[4]=o):o=y[4],y[5]===Symbol.for("react.memo_cache_sentinel")?(c=e(ef,{children:"Apply a virtual patch to api.example.com?"}),y[5]=c):c=y[5],y[6]===Symbol.for("react.memo_cache_sentinel")?(d=t(ec,{children:[c,e(eh,{value:e_(1440)}),e(es,{children:"Approved. The patch is live on all nodes."})]}),y[6]=d):d=y[6],y[7]===Symbol.for("react.memo_cache_sentinel")?(s=e(ef,{children:"New attack detected on api.example.com"}),y[7]=s):s=y[7],y[8]===Symbol.for("react.memo_cache_sentinel")?(m=t(ec,{children:[s,e(eh,{value:e_(2880)}),e(es,{children:"214 SQL injection attempts from 12 IPs in the last 10 minutes."})]}),y[8]=m):m=y[8],y[9]===Symbol.for("react.memo_cache_sentinel")?(h=e(ef,{children:"Node wallarm-node-3 is offline"}),y[9]=h):h=y[9],y[10]===Symbol.for("react.memo_cache_sentinel")?(f=t(ec,{children:[h,e(eh,{value:e_(4320)}),e(es,{children:"No heartbeat for 15 minutes. Traffic fails over to wallarm-node-1."})]}),y[10]=f):f=y[10],y[11]===Symbol.for("react.memo_cache_sentinel")?(u=e(ef,{children:"Weekly API discovery report is ready"}),y[11]=u):u=y[11],y[12]===Symbol.for("react.memo_cache_sentinel")?(p=e("div",{className:"flex h-[720px] justify-end",children:t(K,{"data-testid":"notification-center",children:[n,t(er,{children:[i,t(eu,{defaultValue:"read",children:[o,e(Q,{value:"read",children:e(ee,{children:t(em,{children:[d,m,f,t(ec,{children:[u,e(eh,{value:e_(10080)}),e(es,{children:"38 new endpoints this week, 5 of them handling sensitive data."})]})]})})})]})]})]})}),y[12]=p):p=y[12],p},meta:ew},{name:"Empty",story:()=>{let n,r,a,i,o,c,d,s,m,h=(0,l.c)(9);return h[0]===Symbol.for("react.memo_cache_sentinel")?(n=e(ey,{}),h[0]=n):n=h[0],h[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(eo,{}),h[1]=r):r=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(a=e(el,{disabled:!0,children:"Mark all as read"}),h[2]=a):a=h[2],h[3]===Symbol.for("react.memo_cache_sentinel")?(i=t(ea,{children:[r,t(ei,{children:[a,e(el,{asChild:!0,"aria-label":"Notification settings",children:e("a",{href:"#notification-settings",children:e(V,{})})})]})]}),h[3]=i):i=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(o=t(ep,{children:[e(Y,{value:"new",children:"New"}),e(Y,{value:"read",children:"Read"})]}),h[4]=o):o=h[4],h[5]===Symbol.for("react.memo_cache_sentinel")?(c=e(U,{children:e(x,{size:"lg"})}),h[5]=c):c=h[5],h[6]===Symbol.for("react.memo_cache_sentinel")?(d=e(Q,{value:"new",children:e(ee,{children:t(et,{children:[c,t(Z,{children:[e(B,{children:"You're all caught up"}),e(P,{children:"No new notifications."})]})]})})}),h[6]=d):d=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(s=e(U,{children:e(I,{size:"lg"})}),h[7]=s):s=h[7],h[8]===Symbol.for("react.memo_cache_sentinel")?(m=e("div",{className:"flex h-[400px] justify-end",children:t(K,{"data-testid":"notification-center",children:[n,t(er,{children:[i,t(eu,{defaultValue:"new",children:[o,d,e(Q,{value:"read",children:e(ee,{children:t(et,{children:[s,t(Z,{children:[e(B,{children:"Nothing read yet"}),e(P,{children:"Notifications you've read will show up here."})]})]})})})]})]})]})}),h[8]=m):m=h[8],m},meta:ew},{name:"Loading",story:()=>{let n,r,a,i=(0,l.c)(3);return i[0]===Symbol.for("react.memo_cache_sentinel")?(n=e(ey,{}),i[0]=n):n=i[0],i[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(ea,{children:e(eo,{})}),i[1]=r):r=i[1],i[2]===Symbol.for("react.memo_cache_sentinel")?(a=e("div",{className:"flex h-[400px] justify-end",children:t(K,{"data-testid":"notification-center",children:[n,t(er,{children:[r,e(ee,{children:e(en,{})})]})]})}),i[2]=a):a=i[2],a},meta:ew},{name:"ErrorState",story:()=>{let n,r,a,i,o,c=(0,l.c)(5);return c[0]===Symbol.for("react.memo_cache_sentinel")?(n=e(ey,{}),c[0]=n):n=c[0],c[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(ea,{children:e(eo,{})}),c[1]=r):r=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a=e(U,{children:e(L,{size:"lg"})}),c[2]=a):a=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(i=t(Z,{children:[e(B,{children:"Couldn't load notifications"}),e(P,{children:"Something went wrong. Refresh the page or try again later."})]}),c[3]=i):i=c[3],c[4]===Symbol.for("react.memo_cache_sentinel")?(o=e("div",{className:"flex h-[400px] justify-end",children:t(K,{"data-testid":"notification-center",children:[n,t(er,{children:[r,e(ee,{children:t(et,{children:[a,i,e(z,{children:e(j,{variant:"outline",color:"neutral","data-analytics-id":"notifications-retry",children:"Try again"})})]})})]})]})}),c[4]=o):o=c[4],o},meta:ew},{name:"ManyItems",story:()=>{let n,r,a,i,o,c=(0,l.c)(5);return c[0]===Symbol.for("react.memo_cache_sentinel")?(n=e(ey,{count:eS.length}),c[0]=n):n=c[0],c[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(eo,{}),c[1]=r):r=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(a=t(ea,{children:[r,e(ei,{children:e(el,{children:"Mark all as read"})})]}),c[2]=a):a=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(i=t(ep,{children:[t(Y,{value:"new",children:["New ",e(F,{size:"small",children:eS.length})]}),e(Y,{value:"read",children:"Read"})]}),c[3]=i):i=c[3],c[4]===Symbol.for("react.memo_cache_sentinel")?(o=e("div",{className:"flex h-[720px] justify-end",children:t(K,{"data-testid":"notification-center",children:[n,t(er,{children:[a,t(eu,{defaultValue:"new",children:[i,e(Q,{value:"new",children:e(ee,{children:e(em,{children:eS.map(ev)})})})]})]})]})}),c[4]=o):o=c[4],o},meta:ew},{name:"InTopHeader",story:eb,meta:ew},{name:"Controlled",story:()=>{let n,r,a,o,c,d,s,m,h,f,u,p=(0,l.c)(19),[y,w]=(0,i.useState)(!1),[_,S]=(0,i.useState)(!0);p[0]===Symbol.for("react.memo_cache_sentinel")?(n=()=>S(!1),p[0]=n):n=p[0];let b=n;p[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>S(!1),p[1]=r):r=p[1];let v=r,g=+!!_;p[2]!==g?(a=e(ey,{count:g}),p[2]=g,p[3]=a):a=p[3],p[4]===Symbol.for("react.memo_cache_sentinel")?(o=e(eo,{}),p[4]=o):o=p[4];let C=!_;return p[5]!==C?(c=t(ea,{children:[o,e(ei,{children:e(el,{disabled:C,onClick:b,children:"Mark all as read"})})]}),p[5]=C,p[6]=c):c=p[6],p[7]===Symbol.for("react.memo_cache_sentinel")?(d=e(ef,{onClick:v,children:"Weekly API discovery report is ready"}),p[7]=d):d=p[7],p[8]===Symbol.for("react.memo_cache_sentinel")?(s=e(eh,{value:e_(120)}),m=e(es,{children:"38 new endpoints this week, 5 of them handling sensitive data."}),p[8]=s,p[9]=m):(s=p[8],m=p[9]),p[10]!==_?(h=e(ee,{children:e(em,{children:t(ec,{unread:_,children:[d,s,m]})})}),p[10]=_,p[11]=h):h=p[11],p[12]!==h||p[13]!==c?(f=t(er,{children:[c,h]}),p[12]=h,p[13]=c,p[14]=f):f=p[14],p[15]!==y||p[16]!==f||p[17]!==a?(u=e("div",{className:"flex h-[400px] justify-end",children:t(K,{"data-testid":"notification-center",open:y,onOpenChange:w,children:[a,f]})}),p[15]=y,p[16]=f,p[17]=a,p[18]=u):u=p[18],u},meta:ew}];function eC({entry:e}){let{story:t,meta:n}=e,r={...n.args,...t.args},a="function"==typeof t||t.$$typeof?t:t.render||n.render||n.component,l=()=>i.default.createElement(a,r),o={args:r,globals:{theme:"light"},parameters:{...n.parameters,...t.parameters},viewMode:"story"};for(let e of[...n.decorators||[],...t.decorators||[]].reverse()){let t=l;l=()=>e(t,o)}return i.default.createElement("section",{"data-preview-story":e.name,className:"p-16"},i.default.createElement("h2",{className:"text-sm mb-12"},e.name),i.default.createElement(l))}window.WallarmPreview={mount(e){let t=window.ReactDOM.createRoot(e);return t.render(i.default.createElement(window.WallarmDS.Root,null,eg.map((e,t)=>i.default.createElement(eC,{key:t,entry:e})))),t}}})();
|