@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,654 @@
|
|
|
1
|
+
The month grid for choosing a date the reader needs to see in context — a weekday, a distance from today — where `DateInput` is for a date they already know. It is its own popover, so compose a trigger beside it rather than wrapping it in one, and take React Aria date objects rather than a JavaScript `Date`.
|
|
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
|
+
| `type` | `"single" \| "range"` | no | `single` | Calendar type: 'single' for one month, 'range' for two months (date range selection) |
|
|
10
|
+
| `show-time` | `boolean \| undefined` | no | `false` | Show time selection (affects input placeholder text) |
|
|
11
|
+
| `show-keyboard-hints` | `boolean \| undefined` | no | `true` | Show keyboard shortcut hints in presets and footer |
|
|
12
|
+
| `value` | `complex` | no | — | Controlled value - array of selected dates |
|
|
13
|
+
| `default-value` | `complex` | no | — | Default value for uncontrolled mode |
|
|
14
|
+
| `on-change` | `complex` | no | — | Callback fired when selected value changes |
|
|
15
|
+
| `min-date` | `complex` | no | — | Minimum selectable date |
|
|
16
|
+
| `max-date` | `complex` | no | — | Maximum selectable date |
|
|
17
|
+
| `is-date-unavailable` | `complex` | no | — | Function to determine if a specific date should be unavailable/disabled. DateValue has year, month (1-12), and day properties. To get day of week, use: new Date(date.year, date.month - 1, date.day).getDay() where Sunday = 0, Saturday = 6. |
|
|
18
|
+
| `disallow-disabled-dates-in-range` | `boolean \| undefined` | no | `false` | When true, prevents selecting a range that contains any unavailable dates. Requires controlled mode (value + onChange props) to work properly. |
|
|
19
|
+
| `open` | `boolean \| undefined` | no | — | Controlled open state of the calendar popover |
|
|
20
|
+
| `default-open` | `boolean \| undefined` | no | — | Default open state for uncontrolled mode |
|
|
21
|
+
| `on-open-change` | `((open: boolean) => void) \| undefined` | no | — | Callback fired when popover open state changes |
|
|
22
|
+
| `close-on-select` | `boolean \| undefined` | no | `true` | Whether to close calendar on date selection. Default: true |
|
|
23
|
+
| `readonly` | `boolean \| undefined` | no | `false` | Whether calendar is readonly (display only, no date selection allowed). Default: false |
|
|
24
|
+
| `focused-value` | `complex` | no | — | Controlled focused date — navigates the calendar view to this date |
|
|
25
|
+
|
|
26
|
+
## Sub-components
|
|
27
|
+
|
|
28
|
+
- `WallarmDS.CalendarApplyButton` — `CalendarApplyButtonProps` in the declaration bundle.
|
|
29
|
+
- `WallarmDS.CalendarBody` — `CalendarBodyProps` in the declaration bundle.
|
|
30
|
+
- `WallarmDS.CalendarContent` — `CalendarContentProps` in the declaration bundle.
|
|
31
|
+
- `WallarmDS.CalendarFooter` — `CalendarFooterProps` in the declaration bundle.
|
|
32
|
+
- `WallarmDS.CalendarFooterControls` — `CalendarFooterControlsProps` in the declaration bundle.
|
|
33
|
+
- `WallarmDS.CalendarGrids` — `CalendarGridsProps` in the declaration bundle.
|
|
34
|
+
- `WallarmDS.CalendarInputHeader` — `CalendarInputHeaderProps` in the declaration bundle.
|
|
35
|
+
- `WallarmDS.CalendarKeyboardHints` — `CalendarKeyboardHintsProps` in the declaration bundle.
|
|
36
|
+
- `WallarmDS.CalendarPresetItem` — `CalendarPresetItemProps` in the declaration bundle.
|
|
37
|
+
- `WallarmDS.CalendarPresets` — `CalendarPresetsProps` in the declaration bundle.
|
|
38
|
+
- `WallarmDS.CalendarResetButton` — `CalendarResetButtonProps` in the declaration bundle.
|
|
39
|
+
- `WallarmDS.CalendarTrigger` — `CalendarTriggerProps` in the declaration bundle.
|
|
40
|
+
- `WallarmDS.CalendarDayName` — `CalendarDayNameProps` in the declaration bundle.
|
|
41
|
+
- `WallarmDS.CalendarGrid` — `CalendarGridProps` in the declaration bundle.
|
|
42
|
+
- `WallarmDS.CalendarHeader` — `CalendarHeaderProps` in the declaration bundle.
|
|
43
|
+
|
|
44
|
+
## Stories
|
|
45
|
+
|
|
46
|
+
### Single
|
|
47
|
+
|
|
48
|
+
One date. The grid earns its space when the reader is choosing by weekday or by distance from
|
|
49
|
+
today rather than typing a date they know.
|
|
50
|
+
|
|
51
|
+
Source: Calendar/Calendar.stories.tsx#Single
|
|
52
|
+
|
|
53
|
+
### Range
|
|
54
|
+
|
|
55
|
+
A start and an end in one grid, with the span drawn between them. Two months show at once so
|
|
56
|
+
a range crossing a boundary can be chosen without paging.
|
|
57
|
+
|
|
58
|
+
Source: Calendar/Calendar.stories.tsx#Range
|
|
59
|
+
|
|
60
|
+
### RangeWithPresets
|
|
61
|
+
|
|
62
|
+
`CalendarPresets` alongside the grid. The shipped defaults cover the ranges people actually
|
|
63
|
+
ask for — last week, this month, last 90 days — so reach for them before writing your own.
|
|
64
|
+
|
|
65
|
+
Source: Calendar/Calendar.stories.tsx#RangeWithPresets
|
|
66
|
+
|
|
67
|
+
### RangeWithInput
|
|
68
|
+
|
|
69
|
+
`CalendarInputHeader` puts a typed field above the grid, so the same popover serves both a
|
|
70
|
+
reader who knows the dates and one who needs to look.
|
|
71
|
+
|
|
72
|
+
Source: Calendar/Calendar.stories.tsx#RangeWithInput
|
|
73
|
+
|
|
74
|
+
### RangeWithFooter
|
|
75
|
+
|
|
76
|
+
`CalendarFooter` holds Reset and Apply, which turns the grid into a deliberate commit —
|
|
77
|
+
nothing changes underneath the reader until they apply it.
|
|
78
|
+
|
|
79
|
+
Source: Calendar/Calendar.stories.tsx#RangeWithFooter
|
|
80
|
+
|
|
81
|
+
### RangeFullFeatured
|
|
82
|
+
|
|
83
|
+
Presets, input header and footer together, which is the shape a filter bar wants. Everything
|
|
84
|
+
else on this page is a subset of it.
|
|
85
|
+
|
|
86
|
+
Source: Calendar/Calendar.stories.tsx#RangeFullFeatured
|
|
87
|
+
|
|
88
|
+
### SingleWithInput
|
|
89
|
+
|
|
90
|
+
The typed header on a single calendar, for the same reason as the range: the reader chooses
|
|
91
|
+
how to answer.
|
|
92
|
+
|
|
93
|
+
Source: Calendar/Calendar.stories.tsx#SingleWithInput
|
|
94
|
+
|
|
95
|
+
### SingleWithDateTime
|
|
96
|
+
|
|
97
|
+
`showTime` adds a time to the date, for a moment rather than a day. Ask for it only where the
|
|
98
|
+
time genuinely changes the result.
|
|
99
|
+
|
|
100
|
+
Source: Calendar/Calendar.stories.tsx#SingleWithDateTime
|
|
101
|
+
|
|
102
|
+
### SingleWithPresets
|
|
103
|
+
|
|
104
|
+
Single-date presets — today, yesterday, first of the month — which answer the questions a
|
|
105
|
+
single date usually stands for.
|
|
106
|
+
|
|
107
|
+
Source: Calendar/Calendar.stories.tsx#SingleWithPresets
|
|
108
|
+
|
|
109
|
+
### RangeWithDisabledDates
|
|
110
|
+
|
|
111
|
+
`isDateUnavailable` greys out dates that cannot be chosen. Show them rather than hiding them,
|
|
112
|
+
so the reader can see the shape of what is allowed.
|
|
113
|
+
|
|
114
|
+
Source: Calendar/Calendar.stories.tsx#RangeWithDisabledDates
|
|
115
|
+
|
|
116
|
+
### RangeDisallowDisabled
|
|
117
|
+
|
|
118
|
+
A range refusing to span an unavailable date, which needs controlled mode. Use it where
|
|
119
|
+
crossing the gap would produce a period the system cannot honour.
|
|
120
|
+
|
|
121
|
+
Source: Calendar/Calendar.stories.tsx#RangeDisallowDisabled
|
|
122
|
+
|
|
123
|
+
### RangeControlled
|
|
124
|
+
|
|
125
|
+
Owning the value, which is what presets, Apply and disallowed spans all require — the
|
|
126
|
+
uncontrolled form is only for the simplest case.
|
|
127
|
+
|
|
128
|
+
Source: Calendar/Calendar.stories.tsx#RangeControlled
|
|
129
|
+
|
|
130
|
+
### SingleCustomPresets
|
|
131
|
+
|
|
132
|
+
Your own preset list, for domain periods the defaults do not cover. Keep the labels as plain
|
|
133
|
+
as the shipped ones.
|
|
134
|
+
|
|
135
|
+
Source: Calendar/Calendar.stories.tsx#SingleCustomPresets
|
|
136
|
+
|
|
137
|
+
### RangeReadonly
|
|
138
|
+
|
|
139
|
+
A range shown but not editable, for a period the reader needs to read back rather than
|
|
140
|
+
change.
|
|
141
|
+
|
|
142
|
+
Source: Calendar/Calendar.stories.tsx#RangeReadonly
|
|
143
|
+
|
|
144
|
+
### RangeReadonlyWithPresets
|
|
145
|
+
|
|
146
|
+
The same, with presets rendered but inert — worth seeing, because a live-looking preset that
|
|
147
|
+
does nothing is worse than none.
|
|
148
|
+
|
|
149
|
+
Source: Calendar/Calendar.stories.tsx#RangeReadonlyWithPresets
|
|
150
|
+
|
|
151
|
+
### SingleReadonly
|
|
152
|
+
|
|
153
|
+
A single date shown but not editable.
|
|
154
|
+
|
|
155
|
+
Source: Calendar/Calendar.stories.tsx#SingleReadonly
|
|
156
|
+
|
|
157
|
+
## Story sources
|
|
158
|
+
|
|
159
|
+
### Calendar/Calendar.stories.tsx
|
|
160
|
+
|
|
161
|
+
```tsx
|
|
162
|
+
import { useState } from 'react';
|
|
163
|
+
import type { DatePicker } from '@ark-ui/react';
|
|
164
|
+
import { getLocalTimeZone, today } from '@internationalized/date';
|
|
165
|
+
import type { Meta, StoryFn } from 'storybook-react-rsbuild';
|
|
166
|
+
import { Calendar as CalendarIcon } from '../../icons/Calendar';
|
|
167
|
+
import { Button } from '../Button';
|
|
168
|
+
import { Calendar, DEFAULT_RANGE_PRESETS } from './Calendar';
|
|
169
|
+
import { CalendarApplyButton } from './CalendarApplyButton';
|
|
170
|
+
import { CalendarBody } from './CalendarBody';
|
|
171
|
+
import { CalendarContent } from './CalendarContent';
|
|
172
|
+
import { CalendarFooter } from './CalendarFooter';
|
|
173
|
+
import { CalendarFooterControls } from './CalendarFooterControls';
|
|
174
|
+
import { CalendarGrids } from './CalendarGrids';
|
|
175
|
+
import { CalendarInputHeader } from './CalendarInputHeader';
|
|
176
|
+
import { CalendarKeyboardHints } from './CalendarKeyboardHints';
|
|
177
|
+
import { CalendarPresetItem } from './CalendarPresetItem';
|
|
178
|
+
import { CalendarPresets } from './CalendarPresets';
|
|
179
|
+
import { CalendarResetButton } from './CalendarResetButton';
|
|
180
|
+
import { CalendarTrigger } from './CalendarTrigger';
|
|
181
|
+
|
|
182
|
+
type DateValue = DatePicker.DateValue;
|
|
183
|
+
|
|
184
|
+
const DESCRIPTION = [
|
|
185
|
+
'The month grid for choosing a date the reader needs to see in context — a weekday, a distance from today — where `DateInput` is for a date they already know.',
|
|
186
|
+
'It is its own popover, so compose a trigger beside it rather than wrapping it in one, and take React Aria date objects rather than a JavaScript `Date`.',
|
|
187
|
+
].join(' ');
|
|
188
|
+
|
|
189
|
+
const meta = {
|
|
190
|
+
title: 'Inputs Date/Calendar',
|
|
191
|
+
component: Calendar,
|
|
192
|
+
parameters: {
|
|
193
|
+
layout: 'centered',
|
|
194
|
+
docs: {
|
|
195
|
+
description: {
|
|
196
|
+
component: DESCRIPTION,
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
},
|
|
200
|
+
tags: ['alpha'],
|
|
201
|
+
} satisfies Meta<typeof Calendar>;
|
|
202
|
+
|
|
203
|
+
export default meta;
|
|
204
|
+
|
|
205
|
+
// Helper to create dates with correct type (workaround for @internationalized/date version mismatch)
|
|
206
|
+
const createDate = (year: number, month: number, day: number) =>
|
|
207
|
+
today(getLocalTimeZone()).set({ year, month, day }) as unknown as DateValue;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* One date. The grid earns its space when the reader is choosing by weekday or by distance from
|
|
211
|
+
* today rather than typing a date they know.
|
|
212
|
+
*/
|
|
213
|
+
export const Single: StoryFn<typeof meta> = () => (
|
|
214
|
+
<Calendar type='single' closeOnSelect={false}>
|
|
215
|
+
<CalendarTrigger>
|
|
216
|
+
<Button variant='outline' color='neutral'>
|
|
217
|
+
<CalendarIcon size='sm' />
|
|
218
|
+
Select date
|
|
219
|
+
</Button>
|
|
220
|
+
</CalendarTrigger>
|
|
221
|
+
<CalendarContent>
|
|
222
|
+
<CalendarBody>
|
|
223
|
+
<CalendarGrids />
|
|
224
|
+
</CalendarBody>
|
|
225
|
+
</CalendarContent>
|
|
226
|
+
</Calendar>
|
|
227
|
+
);
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* A start and an end in one grid, with the span drawn between them. Two months show at once so
|
|
231
|
+
* a range crossing a boundary can be chosen without paging.
|
|
232
|
+
*/
|
|
233
|
+
export const Range: StoryFn<typeof meta> = () => (
|
|
234
|
+
<Calendar
|
|
235
|
+
type='range'
|
|
236
|
+
closeOnSelect={false}
|
|
237
|
+
defaultValue={[createDate(2025, 1, 15), createDate(2025, 2, 10)]}
|
|
238
|
+
>
|
|
239
|
+
<CalendarTrigger>
|
|
240
|
+
<Button variant='outline' color='neutral'>
|
|
241
|
+
<CalendarIcon size='sm' />
|
|
242
|
+
Select date range
|
|
243
|
+
</Button>
|
|
244
|
+
</CalendarTrigger>
|
|
245
|
+
<CalendarContent>
|
|
246
|
+
<CalendarBody>
|
|
247
|
+
<CalendarGrids />
|
|
248
|
+
</CalendarBody>
|
|
249
|
+
</CalendarContent>
|
|
250
|
+
</Calendar>
|
|
251
|
+
);
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* `CalendarPresets` alongside the grid. The shipped defaults cover the ranges people actually
|
|
255
|
+
* ask for — last week, this month, last 90 days — so reach for them before writing your own.
|
|
256
|
+
*/
|
|
257
|
+
export const RangeWithPresets: StoryFn<typeof meta> = () => (
|
|
258
|
+
<Calendar type='range' closeOnSelect={false}>
|
|
259
|
+
<CalendarTrigger>
|
|
260
|
+
<Button variant='outline' color='neutral'>
|
|
261
|
+
<CalendarIcon size='sm' />
|
|
262
|
+
Select date range
|
|
263
|
+
</Button>
|
|
264
|
+
</CalendarTrigger>
|
|
265
|
+
<CalendarContent>
|
|
266
|
+
<CalendarPresets presets={DEFAULT_RANGE_PRESETS} />
|
|
267
|
+
<CalendarBody>
|
|
268
|
+
<CalendarGrids />
|
|
269
|
+
</CalendarBody>
|
|
270
|
+
</CalendarContent>
|
|
271
|
+
</Calendar>
|
|
272
|
+
);
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* `CalendarInputHeader` puts a typed field above the grid, so the same popover serves both a
|
|
276
|
+
* reader who knows the dates and one who needs to look.
|
|
277
|
+
*/
|
|
278
|
+
export const RangeWithInput: StoryFn<typeof meta> = () => (
|
|
279
|
+
<Calendar type='range' closeOnSelect={false}>
|
|
280
|
+
<CalendarTrigger>
|
|
281
|
+
<Button variant='outline' color='neutral'>
|
|
282
|
+
<CalendarIcon size='sm' />
|
|
283
|
+
Select date range
|
|
284
|
+
</Button>
|
|
285
|
+
</CalendarTrigger>
|
|
286
|
+
<CalendarContent>
|
|
287
|
+
<CalendarBody>
|
|
288
|
+
<CalendarInputHeader />
|
|
289
|
+
<CalendarGrids />
|
|
290
|
+
</CalendarBody>
|
|
291
|
+
</CalendarContent>
|
|
292
|
+
</Calendar>
|
|
293
|
+
);
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* `CalendarFooter` holds Reset and Apply, which turns the grid into a deliberate commit —
|
|
297
|
+
* nothing changes underneath the reader until they apply it.
|
|
298
|
+
*/
|
|
299
|
+
export const RangeWithFooter: StoryFn<typeof meta> = () => {
|
|
300
|
+
const [value, setValue] = useState<DateValue[]>([]);
|
|
301
|
+
|
|
302
|
+
return (
|
|
303
|
+
<Calendar type='range' value={value} onChange={setValue}>
|
|
304
|
+
<CalendarTrigger>
|
|
305
|
+
<Button variant='outline' color='neutral'>
|
|
306
|
+
<CalendarIcon size='sm' />
|
|
307
|
+
Select date range
|
|
308
|
+
</Button>
|
|
309
|
+
</CalendarTrigger>
|
|
310
|
+
<CalendarContent>
|
|
311
|
+
<CalendarBody>
|
|
312
|
+
<CalendarGrids />
|
|
313
|
+
<CalendarFooter>
|
|
314
|
+
<CalendarKeyboardHints />
|
|
315
|
+
<CalendarFooterControls>
|
|
316
|
+
<CalendarResetButton onClick={() => setValue([])} />
|
|
317
|
+
<CalendarApplyButton />
|
|
318
|
+
</CalendarFooterControls>
|
|
319
|
+
</CalendarFooter>
|
|
320
|
+
</CalendarBody>
|
|
321
|
+
</CalendarContent>
|
|
322
|
+
</Calendar>
|
|
323
|
+
);
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Presets, input header and footer together, which is the shape a filter bar wants. Everything
|
|
328
|
+
* else on this page is a subset of it.
|
|
329
|
+
*/
|
|
330
|
+
export const RangeFullFeatured: StoryFn<typeof meta> = () => {
|
|
331
|
+
const [value, setValue] = useState<DateValue[]>([]);
|
|
332
|
+
|
|
333
|
+
return (
|
|
334
|
+
<Calendar type='range' value={value} onChange={setValue}>
|
|
335
|
+
<CalendarTrigger>
|
|
336
|
+
<Button variant='outline' color='neutral'>
|
|
337
|
+
<CalendarIcon size='sm' />
|
|
338
|
+
Select date range
|
|
339
|
+
</Button>
|
|
340
|
+
</CalendarTrigger>
|
|
341
|
+
<CalendarContent>
|
|
342
|
+
<CalendarPresets presets={DEFAULT_RANGE_PRESETS} />
|
|
343
|
+
<CalendarBody>
|
|
344
|
+
<CalendarInputHeader />
|
|
345
|
+
<CalendarGrids />
|
|
346
|
+
<CalendarFooter>
|
|
347
|
+
<CalendarKeyboardHints />
|
|
348
|
+
<CalendarFooterControls>
|
|
349
|
+
<CalendarResetButton onClick={() => setValue([])} />
|
|
350
|
+
<CalendarApplyButton />
|
|
351
|
+
</CalendarFooterControls>
|
|
352
|
+
</CalendarFooter>
|
|
353
|
+
</CalendarBody>
|
|
354
|
+
</CalendarContent>
|
|
355
|
+
</Calendar>
|
|
356
|
+
);
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* The typed header on a single calendar, for the same reason as the range: the reader chooses
|
|
361
|
+
* how to answer.
|
|
362
|
+
*/
|
|
363
|
+
export const SingleWithInput: StoryFn<typeof meta> = () => (
|
|
364
|
+
<Calendar type='single' closeOnSelect={false}>
|
|
365
|
+
<CalendarTrigger>
|
|
366
|
+
<Button variant='outline' color='neutral'>
|
|
367
|
+
<CalendarIcon size='sm' />
|
|
368
|
+
Select date
|
|
369
|
+
</Button>
|
|
370
|
+
</CalendarTrigger>
|
|
371
|
+
<CalendarContent>
|
|
372
|
+
<CalendarBody>
|
|
373
|
+
<CalendarInputHeader />
|
|
374
|
+
<CalendarGrids />
|
|
375
|
+
</CalendarBody>
|
|
376
|
+
</CalendarContent>
|
|
377
|
+
</Calendar>
|
|
378
|
+
);
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* `showTime` adds a time to the date, for a moment rather than a day. Ask for it only where the
|
|
382
|
+
* time genuinely changes the result.
|
|
383
|
+
*/
|
|
384
|
+
export const SingleWithDateTime: StoryFn<typeof meta> = () => (
|
|
385
|
+
<Calendar type='single' showTime closeOnSelect={false}>
|
|
386
|
+
<CalendarTrigger>
|
|
387
|
+
<Button variant='outline' color='neutral'>
|
|
388
|
+
<CalendarIcon size='sm' />
|
|
389
|
+
Select date and time
|
|
390
|
+
</Button>
|
|
391
|
+
</CalendarTrigger>
|
|
392
|
+
<CalendarContent>
|
|
393
|
+
<CalendarBody>
|
|
394
|
+
<CalendarInputHeader />
|
|
395
|
+
<CalendarGrids />
|
|
396
|
+
</CalendarBody>
|
|
397
|
+
</CalendarContent>
|
|
398
|
+
</Calendar>
|
|
399
|
+
);
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Single-date presets — today, yesterday, first of the month — which answer the questions a
|
|
403
|
+
* single date usually stands for.
|
|
404
|
+
*/
|
|
405
|
+
export const SingleWithPresets: StoryFn<typeof meta> = () => (
|
|
406
|
+
<Calendar type='single' closeOnSelect={false}>
|
|
407
|
+
<CalendarTrigger>
|
|
408
|
+
<Button variant='outline' color='neutral'>
|
|
409
|
+
<CalendarIcon size='sm' />
|
|
410
|
+
Select date
|
|
411
|
+
</Button>
|
|
412
|
+
</CalendarTrigger>
|
|
413
|
+
<CalendarContent>
|
|
414
|
+
<CalendarPresets />
|
|
415
|
+
<CalendarBody>
|
|
416
|
+
<CalendarGrids />
|
|
417
|
+
</CalendarBody>
|
|
418
|
+
</CalendarContent>
|
|
419
|
+
</Calendar>
|
|
420
|
+
);
|
|
421
|
+
|
|
422
|
+
/**
|
|
423
|
+
* `isDateUnavailable` greys out dates that cannot be chosen. Show them rather than hiding them,
|
|
424
|
+
* so the reader can see the shape of what is allowed.
|
|
425
|
+
*/
|
|
426
|
+
export const RangeWithDisabledDates: StoryFn<typeof meta> = () => (
|
|
427
|
+
<Calendar
|
|
428
|
+
type='range'
|
|
429
|
+
closeOnSelect={false}
|
|
430
|
+
isDateUnavailable={date => {
|
|
431
|
+
const dayOfWeek = new Date(date.year, date.month - 1, date.day).getDay();
|
|
432
|
+
return dayOfWeek === 0 || dayOfWeek === 6;
|
|
433
|
+
}}
|
|
434
|
+
>
|
|
435
|
+
<CalendarTrigger>
|
|
436
|
+
<Button variant='outline' color='neutral'>
|
|
437
|
+
<CalendarIcon size='sm' />
|
|
438
|
+
Select date range (weekends disabled)
|
|
439
|
+
</Button>
|
|
440
|
+
</CalendarTrigger>
|
|
441
|
+
<CalendarContent>
|
|
442
|
+
<CalendarBody>
|
|
443
|
+
<CalendarGrids />
|
|
444
|
+
</CalendarBody>
|
|
445
|
+
</CalendarContent>
|
|
446
|
+
</Calendar>
|
|
447
|
+
);
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* A range refusing to span an unavailable date, which needs controlled mode. Use it where
|
|
451
|
+
* crossing the gap would produce a period the system cannot honour.
|
|
452
|
+
*/
|
|
453
|
+
export const RangeDisallowDisabled: StoryFn<typeof meta> = () => {
|
|
454
|
+
const [value, setValue] = useState<DateValue[]>([]);
|
|
455
|
+
|
|
456
|
+
const isWeekend = (date: DateValue) => {
|
|
457
|
+
const dayOfWeek = new Date(date.year, date.month - 1, date.day).getDay();
|
|
458
|
+
return dayOfWeek === 0 || dayOfWeek === 6;
|
|
459
|
+
};
|
|
460
|
+
|
|
461
|
+
return (
|
|
462
|
+
<Calendar
|
|
463
|
+
type='range'
|
|
464
|
+
closeOnSelect={false}
|
|
465
|
+
value={value}
|
|
466
|
+
onChange={setValue}
|
|
467
|
+
isDateUnavailable={isWeekend}
|
|
468
|
+
disallowDisabledDatesInRange
|
|
469
|
+
>
|
|
470
|
+
<CalendarTrigger>
|
|
471
|
+
<Button variant='outline' color='neutral'>
|
|
472
|
+
<CalendarIcon size='sm' />
|
|
473
|
+
Range cannot span weekends
|
|
474
|
+
</Button>
|
|
475
|
+
</CalendarTrigger>
|
|
476
|
+
<CalendarContent>
|
|
477
|
+
<CalendarBody>
|
|
478
|
+
<CalendarGrids />
|
|
479
|
+
</CalendarBody>
|
|
480
|
+
</CalendarContent>
|
|
481
|
+
</Calendar>
|
|
482
|
+
);
|
|
483
|
+
};
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Owning the value, which is what presets, Apply and disallowed spans all require — the
|
|
487
|
+
* uncontrolled form is only for the simplest case.
|
|
488
|
+
*/
|
|
489
|
+
export const RangeControlled: StoryFn<typeof meta> = () => {
|
|
490
|
+
const [value, setValue] = useState<DateValue[]>([]);
|
|
491
|
+
const [open, setOpen] = useState(false);
|
|
492
|
+
|
|
493
|
+
const getButtonLabel = () => {
|
|
494
|
+
if (!value || value.length === 0 || !value[0]) return 'Select date range';
|
|
495
|
+
if (value.length === 1 || !value[1]) return value[0].toString();
|
|
496
|
+
return `${value[0].toString()} - ${value[1].toString()}`;
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
return (
|
|
500
|
+
<Calendar type='range' value={value} onChange={setValue} open={open} onOpenChange={setOpen}>
|
|
501
|
+
<CalendarTrigger>
|
|
502
|
+
<Button variant='outline' color='neutral'>
|
|
503
|
+
<CalendarIcon size='sm' />
|
|
504
|
+
{getButtonLabel()}
|
|
505
|
+
</Button>
|
|
506
|
+
</CalendarTrigger>
|
|
507
|
+
<CalendarContent>
|
|
508
|
+
<CalendarPresets presets={DEFAULT_RANGE_PRESETS} />
|
|
509
|
+
<CalendarBody>
|
|
510
|
+
<CalendarInputHeader />
|
|
511
|
+
<CalendarGrids />
|
|
512
|
+
<CalendarFooter>
|
|
513
|
+
<CalendarKeyboardHints />
|
|
514
|
+
<CalendarFooterControls>
|
|
515
|
+
<CalendarResetButton onClick={() => setValue([])} />
|
|
516
|
+
<CalendarApplyButton onClick={() => setOpen(false)} />
|
|
517
|
+
</CalendarFooterControls>
|
|
518
|
+
</CalendarFooter>
|
|
519
|
+
</CalendarBody>
|
|
520
|
+
</CalendarContent>
|
|
521
|
+
</Calendar>
|
|
522
|
+
);
|
|
523
|
+
};
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Your own preset list, for domain periods the defaults do not cover. Keep the labels as plain
|
|
527
|
+
* as the shipped ones.
|
|
528
|
+
*/
|
|
529
|
+
export const SingleCustomPresets: StoryFn<typeof meta> = () => {
|
|
530
|
+
const now = today(getLocalTimeZone()) as unknown as DateValue;
|
|
531
|
+
|
|
532
|
+
return (
|
|
533
|
+
<Calendar type='single' closeOnSelect={false}>
|
|
534
|
+
<CalendarTrigger>
|
|
535
|
+
<Button variant='outline' color='neutral'>
|
|
536
|
+
<CalendarIcon size='sm' />
|
|
537
|
+
Select date
|
|
538
|
+
</Button>
|
|
539
|
+
</CalendarTrigger>
|
|
540
|
+
<CalendarContent>
|
|
541
|
+
<CalendarPresets>
|
|
542
|
+
<CalendarPresetItem label='Today' value={[now]} shortcut='T' />
|
|
543
|
+
<CalendarPresetItem
|
|
544
|
+
label='Tomorrow'
|
|
545
|
+
value={[
|
|
546
|
+
createDate(
|
|
547
|
+
new Date().getFullYear(),
|
|
548
|
+
new Date().getMonth() + 1,
|
|
549
|
+
new Date().getDate() + 1,
|
|
550
|
+
),
|
|
551
|
+
]}
|
|
552
|
+
shortcut='O'
|
|
553
|
+
/>
|
|
554
|
+
<CalendarPresetItem
|
|
555
|
+
label='Next Week'
|
|
556
|
+
value={[
|
|
557
|
+
createDate(
|
|
558
|
+
new Date().getFullYear(),
|
|
559
|
+
new Date().getMonth() + 1,
|
|
560
|
+
new Date().getDate() + 7,
|
|
561
|
+
),
|
|
562
|
+
]}
|
|
563
|
+
shortcut='W'
|
|
564
|
+
/>
|
|
565
|
+
<CalendarPresetItem
|
|
566
|
+
label='Next Month'
|
|
567
|
+
value={[
|
|
568
|
+
createDate(new Date().getFullYear(), new Date().getMonth() + 2, new Date().getDate()),
|
|
569
|
+
]}
|
|
570
|
+
shortcut='M'
|
|
571
|
+
/>
|
|
572
|
+
</CalendarPresets>
|
|
573
|
+
<CalendarBody>
|
|
574
|
+
<CalendarGrids />
|
|
575
|
+
</CalendarBody>
|
|
576
|
+
</CalendarContent>
|
|
577
|
+
</Calendar>
|
|
578
|
+
);
|
|
579
|
+
};
|
|
580
|
+
|
|
581
|
+
// ============================================================================
|
|
582
|
+
// Readonly Examples
|
|
583
|
+
// ============================================================================
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* A range shown but not editable, for a period the reader needs to read back rather than
|
|
587
|
+
* change.
|
|
588
|
+
*/
|
|
589
|
+
export const RangeReadonly: StoryFn<typeof meta> = () => (
|
|
590
|
+
<Calendar
|
|
591
|
+
type='range'
|
|
592
|
+
readonly
|
|
593
|
+
defaultOpen
|
|
594
|
+
defaultValue={[createDate(2025, 1, 10), createDate(2025, 1, 20)]}
|
|
595
|
+
>
|
|
596
|
+
<CalendarTrigger>
|
|
597
|
+
<Button variant='outline' color='neutral'>
|
|
598
|
+
<CalendarIcon size='sm' />
|
|
599
|
+
View date range
|
|
600
|
+
</Button>
|
|
601
|
+
</CalendarTrigger>
|
|
602
|
+
<CalendarContent>
|
|
603
|
+
<CalendarBody>
|
|
604
|
+
<CalendarGrids />
|
|
605
|
+
</CalendarBody>
|
|
606
|
+
</CalendarContent>
|
|
607
|
+
</Calendar>
|
|
608
|
+
);
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* The same, with presets rendered but inert — worth seeing, because a live-looking preset that
|
|
612
|
+
* does nothing is worse than none.
|
|
613
|
+
*/
|
|
614
|
+
export const RangeReadonlyWithPresets: StoryFn<typeof meta> = () => (
|
|
615
|
+
<Calendar
|
|
616
|
+
type='range'
|
|
617
|
+
readonly
|
|
618
|
+
defaultOpen
|
|
619
|
+
defaultValue={[createDate(2025, 1, 5), createDate(2025, 1, 15)]}
|
|
620
|
+
>
|
|
621
|
+
<CalendarTrigger>
|
|
622
|
+
<Button variant='outline' color='neutral'>
|
|
623
|
+
<CalendarIcon size='sm' />
|
|
624
|
+
View date range
|
|
625
|
+
</Button>
|
|
626
|
+
</CalendarTrigger>
|
|
627
|
+
<CalendarContent>
|
|
628
|
+
<CalendarPresets presets={DEFAULT_RANGE_PRESETS} />
|
|
629
|
+
<CalendarBody>
|
|
630
|
+
<CalendarGrids />
|
|
631
|
+
</CalendarBody>
|
|
632
|
+
</CalendarContent>
|
|
633
|
+
</Calendar>
|
|
634
|
+
);
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* A single date shown but not editable.
|
|
638
|
+
*/
|
|
639
|
+
export const SingleReadonly: StoryFn<typeof meta> = () => (
|
|
640
|
+
<Calendar type='single' readonly defaultOpen defaultValue={[createDate(2025, 1, 15)]}>
|
|
641
|
+
<CalendarTrigger>
|
|
642
|
+
<Button variant='outline' color='neutral'>
|
|
643
|
+
<CalendarIcon size='sm' />
|
|
644
|
+
View date
|
|
645
|
+
</Button>
|
|
646
|
+
</CalendarTrigger>
|
|
647
|
+
<CalendarContent>
|
|
648
|
+
<CalendarBody>
|
|
649
|
+
<CalendarGrids />
|
|
650
|
+
</CalendarBody>
|
|
651
|
+
</CalendarContent>
|
|
652
|
+
</Calendar>
|
|
653
|
+
);
|
|
654
|
+
```
|