@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,315 @@
|
|
|
1
|
+
Prints a timestamp the way the house date guide says to: `relative` by default for anything recent, `date` when only the day matters, `datetime` when the exact moment does. Relative stops being relative as a date ages — past roughly five months it prints the day and month, past a year it adds the year — and it always carries the full absolute time, timezone included, in a tooltip.
|
|
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
|
+
| `title` | `string \| undefined` | no | — | |
|
|
10
|
+
| `default-checked` | `boolean \| undefined` | no | — | |
|
|
11
|
+
| `default-value` | `string \| number \| readonly string[] \| undefined` | no | — | |
|
|
12
|
+
| `auto-focus` | `boolean \| undefined` | no | — | |
|
|
13
|
+
| `id` | `string \| undefined` | no | — | |
|
|
14
|
+
| `tab-index` | `number \| undefined` | no | — | |
|
|
15
|
+
| `rel` | `string \| undefined` | no | — | |
|
|
16
|
+
| `on-change` | `ChangeEventHandler<T, Element> \| undefined` | no | — | |
|
|
17
|
+
| `value` | `string \| number \| Date \| null \| undefined` | yes | — | ISO string, Date object, or Unix timestamp (ms) |
|
|
18
|
+
| `format` | `FormatDateTimeFormat \| undefined` | no | `relative` | Display format. Default: 'relative' |
|
|
19
|
+
| `layout` | `FormatDateTimeLayout \| undefined` | no | `stacked` | Datetime layout. `stacked` puts date over time; `inline` puts them on one line. Only affects `format='datetime'`. Default: 'stacked' |
|
|
20
|
+
| `show-seconds` | `boolean \| undefined` | no | `true` | Show seconds in the relative-format tooltip. Default: true |
|
|
21
|
+
| `data-testid` | `string \| undefined` | no | — | |
|
|
22
|
+
|
|
23
|
+
## Stories
|
|
24
|
+
|
|
25
|
+
### Relative
|
|
26
|
+
|
|
27
|
+
The whole ladder in one frame, from `Just now` up to the age where it gives up and
|
|
28
|
+
prints a date instead. The dashed underline is the cue that the precise value is one
|
|
29
|
+
hover away.
|
|
30
|
+
|
|
31
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#Relative
|
|
32
|
+
|
|
33
|
+
### DateFormat
|
|
34
|
+
|
|
35
|
+
`format='date'` drops the time — and drops the year too when the date falls in the
|
|
36
|
+
current one, which is why only the 2025 row carries it.
|
|
37
|
+
|
|
38
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#DateFormat
|
|
39
|
+
|
|
40
|
+
### DatetimeFormat
|
|
41
|
+
|
|
42
|
+
`format='datetime'` shows both, the time in secondary type with its timezone, and no
|
|
43
|
+
tooltip: there is nothing left to reveal.
|
|
44
|
+
|
|
45
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#DatetimeFormat
|
|
46
|
+
|
|
47
|
+
### DatetimeLayout
|
|
48
|
+
|
|
49
|
+
`stacked` is the default and the table-cell shape; `inline` puts date and time on one
|
|
50
|
+
baseline for a row that cannot grow to two lines.
|
|
51
|
+
|
|
52
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#DatetimeLayout
|
|
53
|
+
|
|
54
|
+
### WithDescription
|
|
55
|
+
|
|
56
|
+
When, and then who or what — the second line is composed from `Text` rather than being
|
|
57
|
+
a prop, so it can say anything the row needs.
|
|
58
|
+
|
|
59
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#WithDescription
|
|
60
|
+
|
|
61
|
+
### NullValue
|
|
62
|
+
|
|
63
|
+
`null` and `undefined` both come out as an em dash rather than an empty cell, with 'No
|
|
64
|
+
data' behind it on hover.
|
|
65
|
+
|
|
66
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#NullValue
|
|
67
|
+
|
|
68
|
+
### FutureDate
|
|
69
|
+
|
|
70
|
+
A timestamp five minutes ahead reads `Just now` rather than counting forwards — the
|
|
71
|
+
component absorbs clock skew between a browser and a server instead of showing it.
|
|
72
|
+
|
|
73
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#FutureDate
|
|
74
|
+
|
|
75
|
+
### DateOrderAndHourCycle
|
|
76
|
+
|
|
77
|
+
The component respects the app's date order from `DateFormatProvider`. Day-first (the
|
|
78
|
+
default) prints "11 Feb, 2026"; month-first prints "Feb 11, 2026". Both hour cycles
|
|
79
|
+
are shown: 24-hour and 12-hour with AM/PM.
|
|
80
|
+
|
|
81
|
+
Source: FormatDateTime/FormatDateTime.stories.tsx#DateOrderAndHourCycle
|
|
82
|
+
|
|
83
|
+
## Story sources
|
|
84
|
+
|
|
85
|
+
### FormatDateTime/FormatDateTime.stories.tsx
|
|
86
|
+
|
|
87
|
+
```tsx
|
|
88
|
+
import { subDays, subHours, subMinutes, subMonths, subSeconds, subYears } from 'date-fns';
|
|
89
|
+
import type { Meta, StoryFn } from 'storybook-react-rsbuild';
|
|
90
|
+
import { DateFormatProvider } from '../DateFormatProvider';
|
|
91
|
+
import { HStack, VStack } from '../Stack';
|
|
92
|
+
import { Text } from '../Text';
|
|
93
|
+
import { FormatDateTime } from './FormatDateTime';
|
|
94
|
+
|
|
95
|
+
const DESCRIPTION = [
|
|
96
|
+
'Prints a timestamp the way the house date guide says to: `relative` by default for anything recent, `date` when only the day matters, `datetime` when the exact moment does.',
|
|
97
|
+
'Relative stops being relative as a date ages — past roughly five months it prints the day and month, past a year it adds the year — and it always carries the full absolute time, timezone included, in a tooltip.',
|
|
98
|
+
].join(' ');
|
|
99
|
+
|
|
100
|
+
const meta = {
|
|
101
|
+
title: 'Data Display/FormatDateTime',
|
|
102
|
+
component: FormatDateTime,
|
|
103
|
+
parameters: {
|
|
104
|
+
layout: 'centered',
|
|
105
|
+
docs: { description: { component: DESCRIPTION } },
|
|
106
|
+
},
|
|
107
|
+
argTypes: {
|
|
108
|
+
format: {
|
|
109
|
+
control: 'select',
|
|
110
|
+
options: ['relative', 'date', 'datetime'],
|
|
111
|
+
},
|
|
112
|
+
layout: {
|
|
113
|
+
control: 'radio',
|
|
114
|
+
options: ['stacked', 'inline'],
|
|
115
|
+
},
|
|
116
|
+
showSeconds: {
|
|
117
|
+
control: 'boolean',
|
|
118
|
+
},
|
|
119
|
+
},
|
|
120
|
+
args: {
|
|
121
|
+
value: new Date().toISOString(),
|
|
122
|
+
format: 'relative',
|
|
123
|
+
layout: 'stacked',
|
|
124
|
+
showSeconds: true,
|
|
125
|
+
},
|
|
126
|
+
} satisfies Meta<typeof FormatDateTime>;
|
|
127
|
+
|
|
128
|
+
export default meta;
|
|
129
|
+
|
|
130
|
+
const now = new Date();
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* The whole ladder in one frame, from `Just now` up to the age where it gives up and
|
|
134
|
+
* prints a date instead. The dashed underline is the cue that the precise value is one
|
|
135
|
+
* hover away.
|
|
136
|
+
*/
|
|
137
|
+
export const Relative: StoryFn<typeof meta> = () => (
|
|
138
|
+
<VStack gap={12} align='start'>
|
|
139
|
+
<HStack gap={16} align='center'>
|
|
140
|
+
<span className='sb-annotation w-128'>Just now</span>
|
|
141
|
+
<FormatDateTime value={subSeconds(now, 10)} format='relative' />
|
|
142
|
+
</HStack>
|
|
143
|
+
<HStack gap={16} align='center'>
|
|
144
|
+
<span className='sb-annotation w-128'>Minutes ago</span>
|
|
145
|
+
<FormatDateTime value={subMinutes(now, 12)} format='relative' />
|
|
146
|
+
</HStack>
|
|
147
|
+
<HStack gap={16} align='center'>
|
|
148
|
+
<span className='sb-annotation w-128'>Hours ago</span>
|
|
149
|
+
<FormatDateTime value={subHours(now, 3)} format='relative' />
|
|
150
|
+
</HStack>
|
|
151
|
+
<HStack gap={16} align='center'>
|
|
152
|
+
<span className='sb-annotation w-128'>Yesterday</span>
|
|
153
|
+
<FormatDateTime value={subHours(now, 30)} format='relative' />
|
|
154
|
+
</HStack>
|
|
155
|
+
<HStack gap={16} align='center'>
|
|
156
|
+
<span className='sb-annotation w-128'>Days ago</span>
|
|
157
|
+
<FormatDateTime value={subDays(now, 5)} format='relative' />
|
|
158
|
+
</HStack>
|
|
159
|
+
<HStack gap={16} align='center'>
|
|
160
|
+
<span className='sb-annotation w-128'>Weeks ago</span>
|
|
161
|
+
<FormatDateTime value={subDays(now, 21)} format='relative' />
|
|
162
|
+
</HStack>
|
|
163
|
+
<HStack gap={16} align='center'>
|
|
164
|
+
<span className='sb-annotation w-128'>Months ago</span>
|
|
165
|
+
<FormatDateTime value={subMonths(now, 3)} format='relative' />
|
|
166
|
+
</HStack>
|
|
167
|
+
<HStack gap={16} align='center'>
|
|
168
|
+
<span className='sb-annotation w-128'>Short date</span>
|
|
169
|
+
<FormatDateTime value={subDays(now, 200)} format='relative' />
|
|
170
|
+
</HStack>
|
|
171
|
+
<HStack gap={16} align='center'>
|
|
172
|
+
<span className='sb-annotation w-128'>Full date</span>
|
|
173
|
+
<FormatDateTime value={subYears(now, 2)} format='relative' />
|
|
174
|
+
</HStack>
|
|
175
|
+
</VStack>
|
|
176
|
+
);
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* `format='date'` drops the time — and drops the year too when the date falls in the
|
|
180
|
+
* current one, which is why only the 2025 row carries it.
|
|
181
|
+
*/
|
|
182
|
+
export const DateFormat: StoryFn<typeof meta> = () => (
|
|
183
|
+
<VStack gap={12} align='start'>
|
|
184
|
+
<FormatDateTime value='2026-01-01T00:00:00' format='date' />
|
|
185
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='date' />
|
|
186
|
+
<FormatDateTime value='2025-06-15T09:00:00' format='date' />
|
|
187
|
+
</VStack>
|
|
188
|
+
);
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* `format='datetime'` shows both, the time in secondary type with its timezone, and no
|
|
192
|
+
* tooltip: there is nothing left to reveal.
|
|
193
|
+
*/
|
|
194
|
+
export const DatetimeFormat: StoryFn<typeof meta> = () => (
|
|
195
|
+
<VStack gap={12} align='start'>
|
|
196
|
+
<FormatDateTime value='2026-01-01T11:00:00' format='datetime' />
|
|
197
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='datetime' />
|
|
198
|
+
<FormatDateTime value='2025-12-25T23:59:59' format='datetime' />
|
|
199
|
+
</VStack>
|
|
200
|
+
);
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* `stacked` is the default and the table-cell shape; `inline` puts date and time on one
|
|
204
|
+
* baseline for a row that cannot grow to two lines.
|
|
205
|
+
*/
|
|
206
|
+
export const DatetimeLayout: StoryFn<typeof meta> = () => (
|
|
207
|
+
<HStack gap={64} align='start'>
|
|
208
|
+
<VStack gap={12} align='start'>
|
|
209
|
+
<span className='sb-annotation'>Stacked (default)</span>
|
|
210
|
+
<FormatDateTime value='2026-01-01T11:00:00' format='datetime' layout='stacked' />
|
|
211
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='datetime' layout='stacked' />
|
|
212
|
+
<FormatDateTime value='2025-12-25T23:59:59' format='datetime' layout='stacked' />
|
|
213
|
+
</VStack>
|
|
214
|
+
<VStack gap={12} align='start'>
|
|
215
|
+
<span className='sb-annotation'>Inline</span>
|
|
216
|
+
<FormatDateTime value='2026-01-01T11:00:00' format='datetime' layout='inline' />
|
|
217
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='datetime' layout='inline' />
|
|
218
|
+
<FormatDateTime value='2025-12-25T23:59:59' format='datetime' layout='inline' />
|
|
219
|
+
</VStack>
|
|
220
|
+
</HStack>
|
|
221
|
+
);
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* When, and then who or what — the second line is composed from `Text` rather than being
|
|
225
|
+
* a prop, so it can say anything the row needs.
|
|
226
|
+
*/
|
|
227
|
+
export const WithDescription: StoryFn<typeof meta> = () => (
|
|
228
|
+
<VStack gap={12} align='start'>
|
|
229
|
+
<VStack gap={2}>
|
|
230
|
+
<FormatDateTime value='2026-01-01T00:00:00' format='date' />
|
|
231
|
+
<Text size='sm' color='secondary'>
|
|
232
|
+
Created by admin
|
|
233
|
+
</Text>
|
|
234
|
+
</VStack>
|
|
235
|
+
<VStack gap={2}>
|
|
236
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='date' />
|
|
237
|
+
<Text size='sm' color='secondary'>
|
|
238
|
+
Last modified
|
|
239
|
+
</Text>
|
|
240
|
+
</VStack>
|
|
241
|
+
</VStack>
|
|
242
|
+
);
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* `null` and `undefined` both come out as an em dash rather than an empty cell, with 'No
|
|
246
|
+
* data' behind it on hover.
|
|
247
|
+
*/
|
|
248
|
+
export const NullValue: StoryFn<typeof meta> = () => (
|
|
249
|
+
<VStack gap={12} align='start'>
|
|
250
|
+
<FormatDateTime value={null} />
|
|
251
|
+
<FormatDateTime value={undefined} />
|
|
252
|
+
</VStack>
|
|
253
|
+
);
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* A timestamp five minutes ahead reads `Just now` rather than counting forwards — the
|
|
257
|
+
* component absorbs clock skew between a browser and a server instead of showing it.
|
|
258
|
+
*/
|
|
259
|
+
export const FutureDate: StoryFn<typeof meta> = () => (
|
|
260
|
+
<FormatDateTime value={new Date(Date.now() + 5 * 60 * 1000)} format='relative' />
|
|
261
|
+
);
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The component respects the app's date order from `DateFormatProvider`. Day-first (the
|
|
265
|
+
* default) prints "11 Feb, 2026"; month-first prints "Feb 11, 2026". Both hour cycles
|
|
266
|
+
* are shown: 24-hour and 12-hour with AM/PM.
|
|
267
|
+
*/
|
|
268
|
+
export const DateOrderAndHourCycle: StoryFn<typeof meta> = () => (
|
|
269
|
+
<VStack gap={24} align='start'>
|
|
270
|
+
<VStack gap={12} align='start'>
|
|
271
|
+
<span className='sb-annotation'>Day-first, 24-hour (default)</span>
|
|
272
|
+
<DateFormatProvider order='day-first' hourCycle={24}>
|
|
273
|
+
<VStack gap={8} align='start'>
|
|
274
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='date' />
|
|
275
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='datetime' />
|
|
276
|
+
<FormatDateTime value={subDays(now, 200)} format='relative' />
|
|
277
|
+
</VStack>
|
|
278
|
+
</DateFormatProvider>
|
|
279
|
+
</VStack>
|
|
280
|
+
|
|
281
|
+
<VStack gap={12} align='start'>
|
|
282
|
+
<span className='sb-annotation'>Month-first, 12-hour</span>
|
|
283
|
+
<DateFormatProvider order='month-first' hourCycle={12}>
|
|
284
|
+
<VStack gap={8} align='start'>
|
|
285
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='date' />
|
|
286
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='datetime' />
|
|
287
|
+
<FormatDateTime value={subDays(now, 200)} format='relative' />
|
|
288
|
+
</VStack>
|
|
289
|
+
</DateFormatProvider>
|
|
290
|
+
</VStack>
|
|
291
|
+
|
|
292
|
+
<VStack gap={12} align='start'>
|
|
293
|
+
<span className='sb-annotation'>Day-first, 12-hour</span>
|
|
294
|
+
<DateFormatProvider order='day-first' hourCycle={12}>
|
|
295
|
+
<VStack gap={8} align='start'>
|
|
296
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='date' />
|
|
297
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='datetime' />
|
|
298
|
+
<FormatDateTime value={subDays(now, 200)} format='relative' />
|
|
299
|
+
</VStack>
|
|
300
|
+
</DateFormatProvider>
|
|
301
|
+
</VStack>
|
|
302
|
+
|
|
303
|
+
<VStack gap={12} align='start'>
|
|
304
|
+
<span className='sb-annotation'>Month-first, 24-hour</span>
|
|
305
|
+
<DateFormatProvider order='month-first' hourCycle={24}>
|
|
306
|
+
<VStack gap={8} align='start'>
|
|
307
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='date' />
|
|
308
|
+
<FormatDateTime value='2026-02-11T14:32:07' format='datetime' />
|
|
309
|
+
<FormatDateTime value={subDays(now, 200)} format='relative' />
|
|
310
|
+
</VStack>
|
|
311
|
+
</DateFormatProvider>
|
|
312
|
+
</VStack>
|
|
313
|
+
</VStack>
|
|
314
|
+
);
|
|
315
|
+
```
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var e={vD(e,t,a){let r,n;/**
|
|
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 o,l,i=Object.create,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,u=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,d=(e,t,a,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of m(t))f.call(e,n)||n===a||c(e,n,{get:()=>t[n],enumerable:!(r=s(t,n))||r.enumerable});return e},p={},h={$dispatcherGuard:()=>T,$makeReadOnly:()=>M,$reset:()=>C,$structuralCheck:()=>I,c:()=>N,clearRenderCounterRegistry:()=>O,renderCounterRegistry:()=>k,useRenderCounter:()=>j};for(var y in h)c(p,y,{get:h[y],enumerable:!0});e.exports=d(c({},"__esModule",{value:!0}),p);var g=(n=null!=(r=a("C"))?i(u(r)):{},d(r&&r.__esModule?n:c(n,"default",{value:r,enumerable:!0}),r)),{useRef:_,useEffect:v,isValidElement:b}=g,S=null!=(o=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?o:g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.memo_cache_sentinel"),N="function"==typeof(null==(l=g.__COMPILER_RUNTIME)?void 0:l.c)?g.__COMPILER_RUNTIME.c:function(e){return g.useMemo(()=>{let t=Array(e);for(let a=0;a<e;a++)t[a]=w;return t[w]=!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 E=null;function $(e){return S.ReactCurrentDispatcher.current=e,S.ReactCurrentDispatcher.current}R.useMemoCache=e=>{if(null!=E)return E.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var D=[];function T(e){let t=S.ReactCurrentDispatcher.current;if(0===e){if(D.push(t),1===D.length&&(E=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=D.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===D.length&&(E=null),$(e)}else if(2===e)D.push(t),$(E);else if(3===e){let e=D.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]=w}function M(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var k=new Map;function O(){for(let e of k.values())e.forEach(e=>{e.count=0})}function j(e){let t=_(null);null!=t.current&&(t.current.count+=1),v(()=>{if(null==t.current){let a,r={count:0};null==(a=k.get(e))&&(a=new Set,k.set(e,a)),a.add(r),t.current=r}return()=>{var a;let r;null!==t.current&&(a=t.current,null!=(r=k.get(e))&&r.delete(a))}})}var x=new Set;function I(e,t,a,r,n,o){function l(e,t,l,i){let c=`${r}:${o} [${n}] ${a}${l} changed from ${e} to ${t} at depth ${i}`;x.has(c)||(x.add(c),console.error(c))}!function e(t,a,r,n){if(!(n>2)){if(t!==a)if(typeof t!=typeof a)l(`type ${typeof t}`,`type ${typeof a}`,r,n);else if("object"==typeof t){let o=Array.isArray(t),i=Array.isArray(a);if(null===t&&null!==a)l("null",`type ${typeof a}`,r,n);else if(null===a)l(`type ${typeof t}`,"null",r,n);else if(t instanceof Map)if(a instanceof Map)if(t.size!==a.size)l(`Map instance with size ${t.size}`,`Map instance with size ${a.size}`,r,n);else for(let[o,i]of t)a.has(o)?e(i,a.get(o),`${r}.get(${o})`,n+1):l(`Map instance with key ${o}`,`Map instance without key ${o}`,r,n);else l("Map instance","other value",r,n);else if(a instanceof Map)l("other value","Map instance",r,n);else if(t instanceof Set)if(a instanceof Set)if(t.size!==a.size)l(`Set instance with size ${t.size}`,`Set instance with size ${a.size}`,r,n);else for(let e of a)t.has(e)||l(`Set instance without element ${e}`,`Set instance with element ${e}`,r,n);else l("Set instance","other value",r,n);else if(a instanceof Set)l("other value","Set instance",r,n);else if(o||i)if(o!==i)l(`type ${o?"array":"object"}`,`type ${i?"array":"object"}`,r,n);else if(t.length!==a.length)l(`array with length ${t.length}`,`array with length ${a.length}`,r,n);else for(let o=0;o<t.length;o++)e(t[o],a[o],`${r}[${o}]`,n+1);else if(b(t)||b(a))b(t)!==b(a)?l(`type ${b(t)?"React element":"object"}`,`type ${b(a)?"React element":"object"}`,r,n):t.type!==a.type?l(`React element of type ${t.type}`,`React element of type ${a.type}`,r,n):e(t.props,a.props,`[props of ${r}]`,n+1);else{for(let e in a)e in t||l(`object without key ${e}`,`object with key ${e}`,r,n);for(let o in t)o in a?e(t[o],a[o],`${r}.${o}`,n+1):l(`object with key ${o}`,`object without key ${o}`,r,n)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(a)?isNaN(t)!==isNaN(a)&&l(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(a)?"NaN":"non-NaN value"}`,r,n):t!==a&&l(t,a,r,n)}}}(e,t,"",0)}},p(e,t,a){let r=new WeakMap,n=new WeakMap;function o(e,t,a){let o=t,l=a;if("object"==typeof o&&null!==o&&"$$typeof"in o&&o.$$typeof===Symbol.for("react.context")&&"Provider"in o&&(o=o.Provider),"function"==typeof o&&null!=l.ref&&!o.prototype?.isReactComponent){let t=o,a=r.get(e);a||(a=new WeakMap,r.set(e,a));let n=a.get(t);n||((n=e.forwardRef((e,a)=>t({...e,ref:a}))).displayName=t.displayName??t.name,a.set(t,n)),o=n}if("string"==typeof o&&"boolean"==typeof l.inert&&((l={...l}).inert?l.inert="":delete l.inert),"string"==typeof o)for(let[e,t]of[["fill-rule","fillRule"],["clip-rule","clipRule"]])e in l&&(l={...l,[t]:l[e]},delete l[e]);return"string"==typeof o&&null!=l.ref&&(o=function(e,t){let a=n.get(e);a||(a=new Map,n.set(e,a));let r=a.get(t);if(r)return r;let o=e.forwardRef((a,r)=>{let n=e.useRef(null);if(!n.current||n.current.original!==r){let e;n.current={original:r,callback:t=>{if(null==t&&e){let t=e;e=void 0,t();return}if("function"==typeof r){let a=r(t);e="function"==typeof a?a:void 0}else r&&(r.current=t)}}}return e.createElement(t,{...a,ref:n.current.callback})});return o.displayName=`CanvasHost(${t})`,a.set(t,o),o}(e,o)),{type:o,props:l}}function l(e){let t=(t,a,r)=>{let n=o(e,t,a??{});return e.createElement(n.type,void 0===r?n.props:{...n.props,key:r})};return{jsx:t,jsxs:(t,a,r)=>{let n=o(e,t,a??{}),{children:l,...i}=n.props;return e.createElement(n.type,void 0===r?i:{...i,key:r},...Array.isArray(l)?l:[l])},jsxDEV:t,Fragment:e.Fragment}}function i(e){return{...e,createElement:(t,a,...r)=>{let n=o(e,t,a??{});return e.createElement(n.type,n.props,...r)},cloneElement:(t,a,...r)=>{let n=e.cloneElement(t,a??void 0,...r),l=n.ref,i=o(e,n.type,{...n.props,ref:l});return i.type===n.type&&"string"!=typeof n.type?n:e.createElement(i.type,{...i.props,key:n.key})}}}a.d(t,{MA:()=>l,YJ:()=>i})},C(e,t,a){a.r(t);let r=(0,a("p").YJ)(window.React),{Children:n,Component:o,Fragment:l,Profiler:i,PureComponent:c,StrictMode:s,Suspense:m,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:u,act:f,cloneElement:d,createContext:p,createElement:h,createFactory:y,createRef:g,forwardRef:_,isValidElement:v,lazy:b,memo:S,startTransition:w,unstable_act:N,useCallback:R,useContext:E,useDebugValue:$,useDeferredValue:D,useEffect:T,useId:C,useImperativeHandle:M,useInsertionEffect:k,useLayoutEffect:O,useMemo:j,useReducer:x,useRef:I,useState:P,useSyncExternalStore:A,useTransition:F,version:z,use:W}=r;a.d(t,{},{Children:n,Component:o,Fragment:l,Profiler:i,PureComponent:c,StrictMode:s,Suspense:m,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:u,act:f,cloneElement:d,createContext:p,createElement:h,createFactory:y,createRef:g,default:r,forwardRef:_,isValidElement:v,lazy:b,memo:S,startTransition:w,unstable_act:N,use:W,useCallback:R,useContext:E,useDebugValue:$,useDeferredValue:D,useEffect:T,useId:C,useImperativeHandle:M,useInsertionEffect:k,useLayoutEffect:O,useMemo:j,useReducer:x,useRef:I,useState:P,useSyncExternalStore:A,useTransition:F,version:z})}},t={};function a(r){var n=t[r];if(void 0!==n)return n.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,a),o.exports}a.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.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:n}=(0,a("p").MA)(window.React);var o=a("vD");let l=Symbol.for("constructDateFrom");function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&l in e?e[l](t):e instanceof Date?new e.constructor(t):new Date(t)}function c(e,t,a){return i(a?.in||e,+i(e,e)+t)}function s(e,t,a){return c(e,-(36e5*t),a)}function m(e,t,a){var r;let n;return r=-t,n=i(a?.in||e,e),isNaN(r)?i(a?.in||e,0/0):(r&&n.setDate(n.getDate()+r),n)}function u(e,t,a){let r=i(a?.in||e,e);if(isNaN(t))return i(a?.in||e,0/0);if(!t)return r;let n=r.getDate(),o=i(a?.in||e,r.getTime());return(o.setMonth(r.getMonth()+t+1,0),n>=o.getDate())?o:(r.setFullYear(o.getFullYear(),o.getMonth(),n),r)}let f=window.WallarmDS.DateFormatProvider,d=window.WallarmDS.HStack,p=window.WallarmDS.VStack,h=window.WallarmDS.Text,y=window.WallarmDS.FormatDateTime,g={title:"Data Display/FormatDateTime",component:y,parameters:{layout:"centered",docs:{description:{component:"Prints a timestamp the way the house date guide says to: `relative` by default for anything recent, `date` when only the day matters, `datetime` when the exact moment does. Relative stops being relative as a date ages — past roughly five months it prints the day and month, past a year it adds the year — and it always carries the full absolute time, timezone included, in a tooltip."}}},argTypes:{format:{control:"select",options:["relative","date","datetime"]},layout:{control:"radio",options:["stacked","inline"]},showSeconds:{control:"boolean"}},args:{value:new Date().toISOString(),format:"relative",layout:"stacked",showSeconds:!0}},_=new Date;var v=a("C");let b=[{name:"Relative",story:()=>{let a,r,n,l,f,h,g,v,b,S,w,N,R,E,$,D,T,C,M=(0,o.c)(18);if(M[0]===Symbol.for("react.memo_cache_sentinel")?(a=e("span",{className:"sb-annotation w-128",children:"Just now"}),M[0]=a):a=M[0],M[1]===Symbol.for("react.memo_cache_sentinel")?(r=t(d,{gap:16,align:"center",children:[a,e(y,{value:c(_,-1e4,void 0),format:"relative"})]}),M[1]=r):r=M[1],M[2]===Symbol.for("react.memo_cache_sentinel")?(n=e("span",{className:"sb-annotation w-128",children:"Minutes ago"}),M[2]=n):n=M[2],M[3]===Symbol.for("react.memo_cache_sentinel")){var k;let a;l=t(d,{gap:16,align:"center",children:[n,e(y,{value:(k=void 0,(a=i(k?.in||_,_)).setTime(a.getTime()+-72e4),a),format:"relative"})]}),M[3]=l}else l=M[3];return(M[4]===Symbol.for("react.memo_cache_sentinel")?(f=e("span",{className:"sb-annotation w-128",children:"Hours ago"}),M[4]=f):f=M[4],M[5]===Symbol.for("react.memo_cache_sentinel")?(h=t(d,{gap:16,align:"center",children:[f,e(y,{value:s(_,3),format:"relative"})]}),M[5]=h):h=M[5],M[6]===Symbol.for("react.memo_cache_sentinel")?(g=e("span",{className:"sb-annotation w-128",children:"Yesterday"}),M[6]=g):g=M[6],M[7]===Symbol.for("react.memo_cache_sentinel")?(v=t(d,{gap:16,align:"center",children:[g,e(y,{value:s(_,30),format:"relative"})]}),M[7]=v):v=M[7],M[8]===Symbol.for("react.memo_cache_sentinel")?(b=e("span",{className:"sb-annotation w-128",children:"Days ago"}),M[8]=b):b=M[8],M[9]===Symbol.for("react.memo_cache_sentinel")?(S=t(d,{gap:16,align:"center",children:[b,e(y,{value:m(_,5),format:"relative"})]}),M[9]=S):S=M[9],M[10]===Symbol.for("react.memo_cache_sentinel")?(w=e("span",{className:"sb-annotation w-128",children:"Weeks ago"}),M[10]=w):w=M[10],M[11]===Symbol.for("react.memo_cache_sentinel")?(N=t(d,{gap:16,align:"center",children:[w,e(y,{value:m(_,21),format:"relative"})]}),M[11]=N):N=M[11],M[12]===Symbol.for("react.memo_cache_sentinel")?(R=e("span",{className:"sb-annotation w-128",children:"Months ago"}),M[12]=R):R=M[12],M[13]===Symbol.for("react.memo_cache_sentinel"))?(E=t(d,{gap:16,align:"center",children:[R,e(y,{value:u(_,-3,void 0),format:"relative"})]}),M[13]=E):E=M[13],M[14]===Symbol.for("react.memo_cache_sentinel")?($=e("span",{className:"sb-annotation w-128",children:"Short date"}),M[14]=$):$=M[14],M[15]===Symbol.for("react.memo_cache_sentinel")?(D=t(d,{gap:16,align:"center",children:[$,e(y,{value:m(_,200),format:"relative"})]}),M[15]=D):D=M[15],M[16]===Symbol.for("react.memo_cache_sentinel")?(T=e("span",{className:"sb-annotation w-128",children:"Full date"}),M[16]=T):T=M[16],M[17]===Symbol.for("react.memo_cache_sentinel")?(C=t(p,{gap:12,align:"start",children:[r,l,h,v,S,N,E,D,t(d,{gap:16,align:"center",children:[T,e(y,{value:u(_,-24,void 0),format:"relative"})]})]}),M[17]=C):C=M[17],C},meta:g},{name:"DateFormat",story:()=>{let a,r=(0,o.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(a=t(p,{gap:12,align:"start",children:[e(y,{value:"2026-01-01T00:00:00",format:"date"}),e(y,{value:"2026-02-11T14:32:07",format:"date"}),e(y,{value:"2025-06-15T09:00:00",format:"date"})]}),r[0]=a):a=r[0],a},meta:g},{name:"DatetimeFormat",story:()=>{let a,r=(0,o.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(a=t(p,{gap:12,align:"start",children:[e(y,{value:"2026-01-01T11:00:00",format:"datetime"}),e(y,{value:"2026-02-11T14:32:07",format:"datetime"}),e(y,{value:"2025-12-25T23:59:59",format:"datetime"})]}),r[0]=a):a=r[0],a},meta:g},{name:"DatetimeLayout",story:()=>{let a,r,n=(0,o.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(a=t(p,{gap:12,align:"start",children:[e("span",{className:"sb-annotation",children:"Stacked (default)"}),e(y,{value:"2026-01-01T11:00:00",format:"datetime",layout:"stacked"}),e(y,{value:"2026-02-11T14:32:07",format:"datetime",layout:"stacked"}),e(y,{value:"2025-12-25T23:59:59",format:"datetime",layout:"stacked"})]}),n[0]=a):a=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(r=t(d,{gap:64,align:"start",children:[a,t(p,{gap:12,align:"start",children:[e("span",{className:"sb-annotation",children:"Inline"}),e(y,{value:"2026-01-01T11:00:00",format:"datetime",layout:"inline"}),e(y,{value:"2026-02-11T14:32:07",format:"datetime",layout:"inline"}),e(y,{value:"2025-12-25T23:59:59",format:"datetime",layout:"inline"})]})]}),n[1]=r):r=n[1],r},meta:g},{name:"WithDescription",story:()=>{let a,r,n=(0,o.c)(2);return n[0]===Symbol.for("react.memo_cache_sentinel")?(a=t(p,{gap:2,children:[e(y,{value:"2026-01-01T00:00:00",format:"date"}),e(h,{size:"sm",color:"secondary",children:"Created by admin"})]}),n[0]=a):a=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(r=t(p,{gap:12,align:"start",children:[a,t(p,{gap:2,children:[e(y,{value:"2026-02-11T14:32:07",format:"date"}),e(h,{size:"sm",color:"secondary",children:"Last modified"})]})]}),n[1]=r):r=n[1],r},meta:g},{name:"NullValue",story:()=>{let a,r=(0,o.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(a=t(p,{gap:12,align:"start",children:[e(y,{value:null}),e(y,{value:void 0})]}),r[0]=a):a=r[0],a},meta:g},{name:"FutureDate",story:()=>{let t,a=(0,o.c)(1);return a[0]===Symbol.for("react.memo_cache_sentinel")?(t=e(y,{value:new Date(Date.now()+3e5),format:"relative"}),a[0]=t):t=a[0],t},meta:g},{name:"DateOrderAndHourCycle",story:()=>{let a,r,n,l,i,c,s,u,d,h,g,v,b,S,w,N,R=(0,o.c)(16);return R[0]===Symbol.for("react.memo_cache_sentinel")?(a=e("span",{className:"sb-annotation",children:"Day-first, 24-hour (default)"}),R[0]=a):a=R[0],R[1]===Symbol.for("react.memo_cache_sentinel")?(r=e(y,{value:"2026-02-11T14:32:07",format:"date"}),n=e(y,{value:"2026-02-11T14:32:07",format:"datetime"}),R[1]=r,R[2]=n):(r=R[1],n=R[2]),R[3]===Symbol.for("react.memo_cache_sentinel")?(l=t(p,{gap:12,align:"start",children:[a,e(f,{order:"day-first",hourCycle:24,children:t(p,{gap:8,align:"start",children:[r,n,e(y,{value:m(_,200),format:"relative"})]})})]}),R[3]=l):l=R[3],R[4]===Symbol.for("react.memo_cache_sentinel")?(i=e("span",{className:"sb-annotation",children:"Month-first, 12-hour"}),R[4]=i):i=R[4],R[5]===Symbol.for("react.memo_cache_sentinel")?(c=e(y,{value:"2026-02-11T14:32:07",format:"date"}),s=e(y,{value:"2026-02-11T14:32:07",format:"datetime"}),R[5]=c,R[6]=s):(c=R[5],s=R[6]),R[7]===Symbol.for("react.memo_cache_sentinel")?(u=t(p,{gap:12,align:"start",children:[i,e(f,{order:"month-first",hourCycle:12,children:t(p,{gap:8,align:"start",children:[c,s,e(y,{value:m(_,200),format:"relative"})]})})]}),R[7]=u):u=R[7],R[8]===Symbol.for("react.memo_cache_sentinel")?(d=e("span",{className:"sb-annotation",children:"Day-first, 12-hour"}),R[8]=d):d=R[8],R[9]===Symbol.for("react.memo_cache_sentinel")?(g=e(y,{value:"2026-02-11T14:32:07",format:"date"}),h=e(y,{value:"2026-02-11T14:32:07",format:"datetime"}),R[9]=h,R[10]=g):(h=R[9],g=R[10]),R[11]===Symbol.for("react.memo_cache_sentinel")?(v=t(p,{gap:12,align:"start",children:[d,e(f,{order:"day-first",hourCycle:12,children:t(p,{gap:8,align:"start",children:[g,h,e(y,{value:m(_,200),format:"relative"})]})})]}),R[11]=v):v=R[11],R[12]===Symbol.for("react.memo_cache_sentinel")?(b=e("span",{className:"sb-annotation",children:"Month-first, 24-hour"}),R[12]=b):b=R[12],R[13]===Symbol.for("react.memo_cache_sentinel")?(S=e(y,{value:"2026-02-11T14:32:07",format:"date"}),w=e(y,{value:"2026-02-11T14:32:07",format:"datetime"}),R[13]=S,R[14]=w):(S=R[13],w=R[14]),R[15]===Symbol.for("react.memo_cache_sentinel")?(N=t(p,{gap:24,align:"start",children:[l,u,v,t(p,{gap:12,align:"start",children:[b,e(f,{order:"month-first",hourCycle:24,children:t(p,{gap:8,align:"start",children:[S,w,e(y,{value:m(_,200),format:"relative"})]})})]})]}),R[15]=N):N=R[15],N},meta:g}];function S({entry:e}){let{story:t,meta:a}=e,r={...a.args,...t.args},n="function"==typeof t||t.$$typeof?t:t.render||a.render||a.component,o=()=>v.default.createElement(n,r),l={args:r,globals:{theme:"light"},parameters:{...a.parameters,...t.parameters},viewMode:"story"};for(let e of[...a.decorators||[],...t.decorators||[]].reverse()){let t=o;o=()=>e(t,l)}return v.default.createElement("section",{"data-preview-story":e.name,className:"p-16"},v.default.createElement("h2",{className:"text-sm mb-12"},e.name),v.default.createElement(o))}window.WallarmPreview={mount(e){let t=window.ReactDOM.createRoot(e);return t.render(v.default.createElement(window.WallarmDS.Root,null,b.map((e,t)=>v.default.createElement(S,{key:t,entry:e})))),t}}})();
|