@zsherman/kit 0.0.0-stage → 0.1.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/CHANGELOG.md +17 -0
- package/LICENSE +373 -0
- package/README.md +23 -2
- package/THIRD_PARTY_NOTICES.md +682 -0
- package/dist/cli/docs.mjs +2434 -0
- package/dist/css/accordion.css +1 -0
- package/dist/css/agent-activity.css +1 -0
- package/dist/css/agent-todos.css +1 -0
- package/dist/css/alert-dialog.css +1 -0
- package/dist/css/alert.css +1 -0
- package/dist/css/attachment.css +1 -0
- package/dist/css/autocomplete.css +1 -0
- package/dist/css/avatar.css +1 -0
- package/dist/css/badge.css +1 -0
- package/dist/css/base.css +1 -0
- package/dist/css/bot-avatar.css +1 -0
- package/dist/css/brands.css +1 -0
- package/dist/css/breadcrumb.css +1 -0
- package/dist/css/bubble.css +1 -0
- package/dist/css/button.css +1 -0
- package/dist/css/calendar.css +1 -0
- package/dist/css/card-input.css +1 -0
- package/dist/css/card.css +1 -0
- package/dist/css/carousel.css +1 -0
- package/dist/css/cascader.css +1 -0
- package/dist/css/chat-composer.css +1 -0
- package/dist/css/checkbox.css +1 -0
- package/dist/css/code-block.css +1 -0
- package/dist/css/collapsible.css +1 -0
- package/dist/css/color-picker.css +1 -0
- package/dist/css/combobox.css +1 -0
- package/dist/css/command.css +1 -0
- package/dist/css/context-meter.css +1 -0
- package/dist/css/copy-button.css +1 -0
- package/dist/css/create-table.css +1 -0
- package/dist/css/csp-provider.css +1 -0
- package/dist/css/cues.css +1 -0
- package/dist/css/data-grid.css +1 -0
- package/dist/css/date-input.css +1 -0
- package/dist/css/date-picker.css +1 -0
- package/dist/css/day-strip.css +1 -0
- package/dist/css/description-list.css +1 -0
- package/dist/css/dialog.css +1 -0
- package/dist/css/diff-review.css +1 -0
- package/dist/css/direction-provider.css +1 -0
- package/dist/css/draw-toolbar.css +1 -0
- package/dist/css/editable-text.css +1 -0
- package/dist/css/emoji-picker.css +1 -0
- package/dist/css/empty-state.css +1 -0
- package/dist/css/event-popover.css +1 -0
- package/dist/css/field.css +1 -0
- package/dist/css/file-input.css +1 -0
- package/dist/css/file-type.css +1 -0
- package/dist/css/filter-bar.css +1 -0
- package/dist/css/flag.css +1 -0
- package/dist/css/flags.css +1 -0
- package/dist/css/floating-panel.css +1 -0
- package/dist/css/form.css +1 -0
- package/dist/css/gauge.css +1 -0
- package/dist/css/gif-browser.css +1 -0
- package/dist/css/highlight.css +1 -0
- package/dist/css/hover-card.css +1 -0
- package/dist/css/icon-stack.css +1 -0
- package/dist/css/icon-tile.css +1 -0
- package/dist/css/icon.css +1 -0
- package/dist/css/icons.css +1 -0
- package/dist/css/image-cropper.css +1 -0
- package/dist/css/image-lightbox.css +1 -0
- package/dist/css/item.css +1 -0
- package/dist/css/json-view.css +1 -0
- package/dist/css/kanban.css +1 -0
- package/dist/css/kbd.css +1 -0
- package/dist/css/knob.css +1 -0
- package/dist/css/label.css +1 -0
- package/dist/css/layout.css +1 -0
- package/dist/css/link.css +1 -0
- package/dist/css/loader.css +1 -0
- package/dist/css/locale-provider.css +1 -0
- package/dist/css/log-view.css +1 -0
- package/dist/css/logo.css +1 -0
- package/dist/css/markdown-editor.css +1 -0
- package/dist/css/markdown.css +1 -0
- package/dist/css/marker.css +1 -0
- package/dist/css/media-player.css +1 -0
- package/dist/css/menu.css +1 -0
- package/dist/css/menubar.css +1 -0
- package/dist/css/message-scroller.css +1 -0
- package/dist/css/message.css +1 -0
- package/dist/css/meter.css +1 -0
- package/dist/css/model-picker.css +1 -0
- package/dist/css/natural-date-input.css +1 -0
- package/dist/css/navigation-menu.css +1 -0
- package/dist/css/notice-stack.css +1 -0
- package/dist/css/number-input.css +1 -0
- package/dist/css/orb.css +1 -0
- package/dist/css/otp-input.css +1 -0
- package/dist/css/pagination.css +1 -0
- package/dist/css/panel-stack.css +1 -0
- package/dist/css/password-input.css +1 -0
- package/dist/css/peek-panel.css +1 -0
- package/dist/css/phone-input.css +1 -0
- package/dist/css/pocket.css +1 -0
- package/dist/css/popover.css +1 -0
- package/dist/css/progress.css +1 -0
- package/dist/css/prompt-input.css +1 -0
- package/dist/css/property-list.css +1 -0
- package/dist/css/prose-editor-suggestions.css +1 -0
- package/dist/css/prose-editor.css +1 -0
- package/dist/css/prose.css +1 -0
- package/dist/css/questionnaire.css +1 -0
- package/dist/css/radio.css +1 -0
- package/dist/css/rating.css +1 -0
- package/dist/css/reactions.css +1 -0
- package/dist/css/reasoning.css +1 -0
- package/dist/css/recurrence.css +1 -0
- package/dist/css/relative-time.css +1 -0
- package/dist/css/reset.css +1 -0
- package/dist/css/resizable.css +1 -0
- package/dist/css/ring.css +1 -0
- package/dist/css/schedule-list.css +1 -0
- package/dist/css/scroll-area.css +1 -0
- package/dist/css/secret.css +1 -0
- package/dist/css/segmented-control.css +1 -0
- package/dist/css/select.css +1 -0
- package/dist/css/separator.css +1 -0
- package/dist/css/sheet.css +1 -0
- package/dist/css/shortcut-recorder.css +1 -0
- package/dist/css/shortcuts.css +1 -0
- package/dist/css/sidebar.css +1 -0
- package/dist/css/signature-pad.css +1 -0
- package/dist/css/skeleton.css +1 -0
- package/dist/css/slider.css +1 -0
- package/dist/css/sortable-list.css +1 -0
- package/dist/css/span-timeline.css +1 -0
- package/dist/css/spinner.css +1 -0
- package/dist/css/stat.css +1 -0
- package/dist/css/statusbar.css +1 -0
- package/dist/css/stepper.css +1 -0
- package/dist/css/switch.css +1 -0
- package/dist/css/table-of-contents.css +1 -0
- package/dist/css/table.css +1 -0
- package/dist/css/tabs-overflow.css +1 -0
- package/dist/css/tabs.css +1 -0
- package/dist/css/task-tray.css +1 -0
- package/dist/css/text.css +1 -0
- package/dist/css/theme-switcher.css +1 -0
- package/dist/css/theme.css +1 -0
- package/dist/css/thread-list.css +1 -0
- package/dist/css/tiling.css +1 -0
- package/dist/css/time-input.css +1 -0
- package/dist/css/time-picker.css +1 -0
- package/dist/css/time-zone-picker.css +1 -0
- package/dist/css/timeline.css +1 -0
- package/dist/css/toast.css +1 -0
- package/dist/css/toggle.css +1 -0
- package/dist/css/token-input.css +1 -0
- package/dist/css/tool-call.css +1 -0
- package/dist/css/toolbar-overflow.css +1 -0
- package/dist/css/toolbar.css +1 -0
- package/dist/css/tooltip.css +1 -0
- package/dist/css/trace.css +1 -0
- package/dist/css/tree.css +1 -0
- package/dist/css/trigger-menu.css +1 -0
- package/dist/css/typography.css +1 -0
- package/dist/css/undo.css +1 -0
- package/dist/css/volume-meter.css +1 -0
- package/dist/dom/_virtual/_rolldown/runtime.js +12 -0
- package/dist/dom/accordion/accordion.js +178 -0
- package/dist/dom/accordion/index.js +1 -0
- package/dist/dom/agent-activity/agent-activity.js +136 -0
- package/dist/dom/agent-activity/index.js +1 -0
- package/dist/dom/agent-todos/agent-todos.js +313 -0
- package/dist/dom/agent-todos/index.js +1 -0
- package/dist/dom/alert/alert.js +195 -0
- package/dist/dom/alert/index.js +1 -0
- package/dist/dom/alert-dialog/alert-dialog.js +197 -0
- package/dist/dom/alert-dialog/index.js +1 -0
- package/dist/dom/attachment/attachment.js +329 -0
- package/dist/dom/attachment/index.js +1 -0
- package/dist/dom/autocomplete/autocomplete.js +133 -0
- package/dist/dom/autocomplete/index.js +1 -0
- package/dist/dom/avatar/avatar.js +343 -0
- package/dist/dom/avatar/index.js +1 -0
- package/dist/dom/badge/badge.js +183 -0
- package/dist/dom/badge/index.js +1 -0
- package/dist/dom/bot-avatar/bot-avatar.js +262 -0
- package/dist/dom/bot-avatar/index.js +1 -0
- package/dist/dom/brands/brands.gen.js +114 -0
- package/dist/dom/brands/data/Airtable.js +8 -0
- package/dist/dom/brands/data/AmericanExpress.js +8 -0
- package/dist/dom/brands/data/AmericanExpressColor.js +8 -0
- package/dist/dom/brands/data/Android.js +8 -0
- package/dist/dom/brands/data/AndroidColor.js +8 -0
- package/dist/dom/brands/data/Anthropic.js +8 -0
- package/dist/dom/brands/data/Apple.js +8 -0
- package/dist/dom/brands/data/ApplePay.js +8 -0
- package/dist/dom/brands/data/Asana.js +8 -0
- package/dist/dom/brands/data/AsanaColor.js +8 -0
- package/dist/dom/brands/data/Atlassian.js +8 -0
- package/dist/dom/brands/data/AtlassianColor.js +8 -0
- package/dist/dom/brands/data/Bitbucket.js +8 -0
- package/dist/dom/brands/data/BitbucketColor.js +8 -0
- package/dist/dom/brands/data/Bluesky.js +8 -0
- package/dist/dom/brands/data/BlueskyColor.js +8 -0
- package/dist/dom/brands/data/Calendly.js +8 -0
- package/dist/dom/brands/data/CalendlyColor.js +8 -0
- package/dist/dom/brands/data/Claude.js +8 -0
- package/dist/dom/brands/data/ClaudeColor.js +8 -0
- package/dist/dom/brands/data/ClickUp.js +8 -0
- package/dist/dom/brands/data/Cloudflare.js +8 -0
- package/dist/dom/brands/data/CloudflareColor.js +8 -0
- package/dist/dom/brands/data/DinersClub.js +8 -0
- package/dist/dom/brands/data/DinersClubColor.js +8 -0
- package/dist/dom/brands/data/Discord.js +8 -0
- package/dist/dom/brands/data/DiscordColor.js +8 -0
- package/dist/dom/brands/data/Discover.js +8 -0
- package/dist/dom/brands/data/Docker.js +8 -0
- package/dist/dom/brands/data/DockerColor.js +8 -0
- package/dist/dom/brands/data/Dropbox.js +8 -0
- package/dist/dom/brands/data/DropboxColor.js +8 -0
- package/dist/dom/brands/data/Facebook.js +8 -0
- package/dist/dom/brands/data/FacebookColor.js +8 -0
- package/dist/dom/brands/data/Figma.js +8 -0
- package/dist/dom/brands/data/GitHub.js +8 -0
- package/dist/dom/brands/data/GitLab.js +8 -0
- package/dist/dom/brands/data/GitLabColor.js +8 -0
- package/dist/dom/brands/data/Gmail.js +8 -0
- package/dist/dom/brands/data/Google.js +8 -0
- package/dist/dom/brands/data/GoogleCalendar.js +8 -0
- package/dist/dom/brands/data/GoogleColor.js +25 -0
- package/dist/dom/brands/data/GoogleDrive.js +8 -0
- package/dist/dom/brands/data/GoogleGemini.js +8 -0
- package/dist/dom/brands/data/GoogleMeet.js +8 -0
- package/dist/dom/brands/data/GoogleMeetColor.js +40 -0
- package/dist/dom/brands/data/GooglePay.js +8 -0
- package/dist/dom/brands/data/HubSpot.js +8 -0
- package/dist/dom/brands/data/HubSpotColor.js +8 -0
- package/dist/dom/brands/data/Hyper.js +31 -0
- package/dist/dom/brands/data/HyperColor.js +31 -0
- package/dist/dom/brands/data/Instagram.js +8 -0
- package/dist/dom/brands/data/Intercom.js +8 -0
- package/dist/dom/brands/data/JCB.js +8 -0
- package/dist/dom/brands/data/Jira.js +8 -0
- package/dist/dom/brands/data/JiraColor.js +8 -0
- package/dist/dom/brands/data/Linear.js +8 -0
- package/dist/dom/brands/data/LinearColor.js +8 -0
- package/dist/dom/brands/data/Loom.js +8 -0
- package/dist/dom/brands/data/LoomColor.js +8 -0
- package/dist/dom/brands/data/Mastercard.js +8 -0
- package/dist/dom/brands/data/Medium.js +8 -0
- package/dist/dom/brands/data/Messenger.js +8 -0
- package/dist/dom/brands/data/MessengerColor.js +8 -0
- package/dist/dom/brands/data/Meta.js +8 -0
- package/dist/dom/brands/data/MetaColor.js +8 -0
- package/dist/dom/brands/data/Microsoft.js +25 -0
- package/dist/dom/brands/data/MicrosoftColor.js +25 -0
- package/dist/dom/brands/data/MicrosoftTeamsColor.js +73 -0
- package/dist/dom/brands/data/Miro.js +8 -0
- package/dist/dom/brands/data/Notion.js +8 -0
- package/dist/dom/brands/data/Npm.js +8 -0
- package/dist/dom/brands/data/NpmColor.js +8 -0
- package/dist/dom/brands/data/Okta.js +8 -0
- package/dist/dom/brands/data/OktaColor.js +8 -0
- package/dist/dom/brands/data/PayPal.js +8 -0
- package/dist/dom/brands/data/Perplexity.js +8 -0
- package/dist/dom/brands/data/PerplexityColor.js +8 -0
- package/dist/dom/brands/data/Pinterest.js +8 -0
- package/dist/dom/brands/data/PinterestColor.js +8 -0
- package/dist/dom/brands/data/Reddit.js +8 -0
- package/dist/dom/brands/data/RedditColor.js +8 -0
- package/dist/dom/brands/data/Shopify.js +8 -0
- package/dist/dom/brands/data/ShopifyColor.js +8 -0
- package/dist/dom/brands/data/Slack.js +33 -0
- package/dist/dom/brands/data/SlackColor.js +33 -0
- package/dist/dom/brands/data/Spotify.js +8 -0
- package/dist/dom/brands/data/SpotifyColor.js +8 -0
- package/dist/dom/brands/data/Stripe.js +8 -0
- package/dist/dom/brands/data/StripeColor.js +8 -0
- package/dist/dom/brands/data/Substack.js +8 -0
- package/dist/dom/brands/data/SubstackColor.js +8 -0
- package/dist/dom/brands/data/Supabase.js +8 -0
- package/dist/dom/brands/data/SupabaseColor.js +8 -0
- package/dist/dom/brands/data/Telegram.js +8 -0
- package/dist/dom/brands/data/TelegramColor.js +8 -0
- package/dist/dom/brands/data/Threads.js +8 -0
- package/dist/dom/brands/data/TikTok.js +8 -0
- package/dist/dom/brands/data/Trello.js +8 -0
- package/dist/dom/brands/data/TrelloColor.js +8 -0
- package/dist/dom/brands/data/Twitch.js +8 -0
- package/dist/dom/brands/data/TwitchColor.js +8 -0
- package/dist/dom/brands/data/Vercel.js +8 -0
- package/dist/dom/brands/data/Visa.js +8 -0
- package/dist/dom/brands/data/Webex.js +8 -0
- package/dist/dom/brands/data/WhatsApp.js +8 -0
- package/dist/dom/brands/data/WhatsAppColor.js +8 -0
- package/dist/dom/brands/data/XTwitter.js +8 -0
- package/dist/dom/brands/data/YouTube.js +8 -0
- package/dist/dom/brands/data/YouTubeColor.js +8 -0
- package/dist/dom/brands/data/Zendesk.js +8 -0
- package/dist/dom/brands/data/Zoom.js +9 -0
- package/dist/dom/brands/data/ZoomColor.js +14 -0
- package/dist/dom/brands/index.js +114 -0
- package/dist/dom/breadcrumb/breadcrumb.js +148 -0
- package/dist/dom/breadcrumb/index.js +1 -0
- package/dist/dom/bubble/bubble.js +80 -0
- package/dist/dom/bubble/index.js +1 -0
- package/dist/dom/button/button-group.js +39 -0
- package/dist/dom/button/button.js +97 -0
- package/dist/dom/button/button.styles.js +126 -0
- package/dist/dom/button/index.js +3 -0
- package/dist/dom/calendar/calendar.js +223 -0
- package/dist/dom/calendar/index.js +1 -0
- package/dist/dom/card/card.js +395 -0
- package/dist/dom/card/index.js +1 -0
- package/dist/dom/card-input/card-input.js +526 -0
- package/dist/dom/card-input/index.js +3 -0
- package/dist/dom/card-input/model.js +309 -0
- package/dist/dom/carousel/carousel.js +409 -0
- package/dist/dom/carousel/index.js +1 -0
- package/dist/dom/cascader/cascader.js +1809 -0
- package/dist/dom/cascader/data.js +78 -0
- package/dist/dom/cascader/index.js +1 -0
- package/dist/dom/chat-composer/chat-composer.js +1355 -0
- package/dist/dom/chat-composer/controller.js +72 -0
- package/dist/dom/chat-composer/index.js +3 -0
- package/dist/dom/checkbox/checkbox.js +93 -0
- package/dist/dom/checkbox/index.js +1 -0
- package/dist/dom/code-block/code-block.js +250 -0
- package/dist/dom/code-block/code.styles.js +81 -0
- package/dist/dom/code-block/highlighter.js +60 -0
- package/dist/dom/code-block/highlights-engine.js +31 -0
- package/dist/dom/code-block/index.js +3 -0
- package/dist/dom/collapsible/collapsible.js +75 -0
- package/dist/dom/collapsible/index.js +1 -0
- package/dist/dom/color-picker/color-picker.js +237 -0
- package/dist/dom/color-picker/index.js +1 -0
- package/dist/dom/combobox/combobox.js +276 -0
- package/dist/dom/combobox/index.js +1 -0
- package/dist/dom/command/command.js +691 -0
- package/dist/dom/command/index.js +1 -0
- package/dist/dom/context-meter/context-meter.js +266 -0
- package/dist/dom/context-meter/index.js +1 -0
- package/dist/dom/copy-button/copy-button.js +121 -0
- package/dist/dom/copy-button/index.js +3 -0
- package/dist/dom/copy-button/use-copy.js +95 -0
- package/dist/dom/create-table/create-table.js +94 -0
- package/dist/dom/create-table/flex-render.js +29 -0
- package/dist/dom/create-table/index.js +6 -0
- package/dist/dom/create-table/reactivity.js +110 -0
- package/dist/dom/create-table/row-models.js +323 -0
- package/dist/dom/csp-provider/csp-provider.js +58 -0
- package/dist/dom/csp-provider/index.js +1 -0
- package/dist/dom/cues/cues.js +17 -0
- package/dist/dom/cues/index.js +1 -0
- package/dist/dom/data-grid/column-menu.js +257 -0
- package/dist/dom/data-grid/columns.js +289 -0
- package/dist/dom/data-grid/data-grid.js +1582 -0
- package/dist/dom/data-grid/data-grid.styles.js +596 -0
- package/dist/dom/data-grid/features.js +27 -0
- package/dist/dom/data-grid/index.js +7 -0
- package/dist/dom/data-grid/labels.js +18 -0
- package/dist/dom/data-grid/pagination.js +64 -0
- package/dist/dom/data-grid/selection-bar.js +415 -0
- package/dist/dom/date-input/date-input.js +48 -0
- package/dist/dom/date-input/index.js +1 -0
- package/dist/dom/date-picker/date-picker.js +113 -0
- package/dist/dom/date-picker/index.js +3 -0
- package/dist/dom/day-strip/day-strip.js +908 -0
- package/dist/dom/day-strip/index.js +1 -0
- package/dist/dom/description-list/description-list.js +270 -0
- package/dist/dom/description-list/index.js +1 -0
- package/dist/dom/dialog/dialog.js +142 -0
- package/dist/dom/dialog/dialog.styles.js +152 -0
- package/dist/dom/dialog/index.js +1 -0
- package/dist/dom/diff-review/diff-review.js +412 -0
- package/dist/dom/diff-review/index.js +1 -0
- package/dist/dom/direction-provider/direction-provider.js +57 -0
- package/dist/dom/direction-provider/index.js +3 -0
- package/dist/dom/draw-toolbar/draw-tool-icon.js +416 -0
- package/dist/dom/draw-toolbar/draw-toolbar.js +598 -0
- package/dist/dom/draw-toolbar/index.js +4 -0
- package/dist/dom/draw-toolbar/tools.js +111 -0
- package/dist/dom/editable-text/editable-text.js +811 -0
- package/dist/dom/editable-text/index.js +1 -0
- package/dist/dom/emoji-picker/data.gen.js +19 -0
- package/dist/dom/emoji-picker/data.js +80 -0
- package/dist/dom/emoji-picker/emoji-picker.js +1427 -0
- package/dist/dom/emoji-picker/index.js +4 -0
- package/dist/dom/emoji-picker/support.js +56 -0
- package/dist/dom/empty-state/empty-state.js +185 -0
- package/dist/dom/empty-state/index.js +1 -0
- package/dist/dom/event-popover/event-popover.js +681 -0
- package/dist/dom/event-popover/index.js +1 -0
- package/dist/dom/field/field.js +222 -0
- package/dist/dom/field/index.js +1 -0
- package/dist/dom/file-input/file-input.js +205 -0
- package/dist/dom/file-input/index.js +3 -0
- package/dist/dom/file-input/upload-queue.js +154 -0
- package/dist/dom/file-type/file-type.js +150 -0
- package/dist/dom/file-type/file-types.js +291 -0
- package/dist/dom/file-type/index.js +3 -0
- package/dist/dom/filter-bar/editor-boolean.js +56 -0
- package/dist/dom/filter-bar/editor-date.js +30 -0
- package/dist/dom/filter-bar/editor-number.js +98 -0
- package/dist/dom/filter-bar/editor-options.js +144 -0
- package/dist/dom/filter-bar/editor-text.js +26 -0
- package/dist/dom/filter-bar/editor-types.js +0 -0
- package/dist/dom/filter-bar/field-list.js +55 -0
- package/dist/dom/filter-bar/filter-bar.js +561 -0
- package/dist/dom/filter-bar/filter-bar.styles.js +146 -0
- package/dist/dom/filter-bar/index.js +4 -0
- package/dist/dom/filter-bar/lazy.js +24 -0
- package/dist/dom/filter-bar/model.js +195 -0
- package/dist/dom/filter-bar/operator-menu.js +68 -0
- package/dist/dom/filter-bar/state.js +81 -0
- package/dist/dom/flag/flag.js +68 -0
- package/dist/dom/flag/index.js +1 -0
- package/dist/dom/flags/data/AC.js +9 -0
- package/dist/dom/flags/data/AD.js +9 -0
- package/dist/dom/flags/data/AE.js +9 -0
- package/dist/dom/flags/data/AF.js +9 -0
- package/dist/dom/flags/data/AG.js +9 -0
- package/dist/dom/flags/data/AI.js +9 -0
- package/dist/dom/flags/data/AL.js +9 -0
- package/dist/dom/flags/data/AM.js +9 -0
- package/dist/dom/flags/data/AO.js +9 -0
- package/dist/dom/flags/data/AQ.js +9 -0
- package/dist/dom/flags/data/AR.js +9 -0
- package/dist/dom/flags/data/AS.js +9 -0
- package/dist/dom/flags/data/AT.js +9 -0
- package/dist/dom/flags/data/AU.js +9 -0
- package/dist/dom/flags/data/AW.js +9 -0
- package/dist/dom/flags/data/AX.js +9 -0
- package/dist/dom/flags/data/AZ.js +9 -0
- package/dist/dom/flags/data/BA.js +9 -0
- package/dist/dom/flags/data/BB.js +9 -0
- package/dist/dom/flags/data/BD.js +9 -0
- package/dist/dom/flags/data/BE.js +9 -0
- package/dist/dom/flags/data/BF.js +9 -0
- package/dist/dom/flags/data/BG.js +9 -0
- package/dist/dom/flags/data/BH.js +9 -0
- package/dist/dom/flags/data/BI.js +9 -0
- package/dist/dom/flags/data/BJ.js +9 -0
- package/dist/dom/flags/data/BL.js +9 -0
- package/dist/dom/flags/data/BM.js +9 -0
- package/dist/dom/flags/data/BN.js +9 -0
- package/dist/dom/flags/data/BO.js +9 -0
- package/dist/dom/flags/data/BQ.js +9 -0
- package/dist/dom/flags/data/BQ_BO.js +9 -0
- package/dist/dom/flags/data/BQ_SA.js +9 -0
- package/dist/dom/flags/data/BQ_SE.js +9 -0
- package/dist/dom/flags/data/BR.js +9 -0
- package/dist/dom/flags/data/BS.js +9 -0
- package/dist/dom/flags/data/BT.js +9 -0
- package/dist/dom/flags/data/BV.js +9 -0
- package/dist/dom/flags/data/BW.js +9 -0
- package/dist/dom/flags/data/BY.js +9 -0
- package/dist/dom/flags/data/BZ.js +9 -0
- package/dist/dom/flags/data/CA.js +9 -0
- package/dist/dom/flags/data/CC.js +9 -0
- package/dist/dom/flags/data/CD.js +9 -0
- package/dist/dom/flags/data/CF.js +9 -0
- package/dist/dom/flags/data/CG.js +9 -0
- package/dist/dom/flags/data/CH.js +9 -0
- package/dist/dom/flags/data/CI.js +9 -0
- package/dist/dom/flags/data/CK.js +9 -0
- package/dist/dom/flags/data/CL.js +9 -0
- package/dist/dom/flags/data/CM.js +9 -0
- package/dist/dom/flags/data/CN.js +9 -0
- package/dist/dom/flags/data/CO.js +9 -0
- package/dist/dom/flags/data/CR.js +9 -0
- package/dist/dom/flags/data/CU.js +9 -0
- package/dist/dom/flags/data/CV.js +9 -0
- package/dist/dom/flags/data/CW.js +9 -0
- package/dist/dom/flags/data/CX.js +9 -0
- package/dist/dom/flags/data/CY.js +9 -0
- package/dist/dom/flags/data/CZ.js +9 -0
- package/dist/dom/flags/data/DE.js +9 -0
- package/dist/dom/flags/data/DJ.js +9 -0
- package/dist/dom/flags/data/DK.js +9 -0
- package/dist/dom/flags/data/DM.js +9 -0
- package/dist/dom/flags/data/DO.js +9 -0
- package/dist/dom/flags/data/DZ.js +9 -0
- package/dist/dom/flags/data/EC.js +9 -0
- package/dist/dom/flags/data/EE.js +9 -0
- package/dist/dom/flags/data/EG.js +9 -0
- package/dist/dom/flags/data/EH.js +9 -0
- package/dist/dom/flags/data/ER.js +9 -0
- package/dist/dom/flags/data/ES.js +9 -0
- package/dist/dom/flags/data/ES_CT.js +9 -0
- package/dist/dom/flags/data/ET.js +9 -0
- package/dist/dom/flags/data/EU.js +10 -0
- package/dist/dom/flags/data/FI.js +9 -0
- package/dist/dom/flags/data/FJ.js +9 -0
- package/dist/dom/flags/data/FK.js +9 -0
- package/dist/dom/flags/data/FM.js +9 -0
- package/dist/dom/flags/data/FO.js +9 -0
- package/dist/dom/flags/data/FR.js +9 -0
- package/dist/dom/flags/data/GA.js +9 -0
- package/dist/dom/flags/data/GB.js +9 -0
- package/dist/dom/flags/data/GB_ENG.js +9 -0
- package/dist/dom/flags/data/GB_NIR.js +9 -0
- package/dist/dom/flags/data/GB_SCT.js +9 -0
- package/dist/dom/flags/data/GB_WLS.js +9 -0
- package/dist/dom/flags/data/GD.js +9 -0
- package/dist/dom/flags/data/GE.js +9 -0
- package/dist/dom/flags/data/GF.js +9 -0
- package/dist/dom/flags/data/GG.js +9 -0
- package/dist/dom/flags/data/GH.js +9 -0
- package/dist/dom/flags/data/GI.js +9 -0
- package/dist/dom/flags/data/GL.js +9 -0
- package/dist/dom/flags/data/GM.js +9 -0
- package/dist/dom/flags/data/GN.js +9 -0
- package/dist/dom/flags/data/GP.js +9 -0
- package/dist/dom/flags/data/GQ.js +9 -0
- package/dist/dom/flags/data/GR.js +9 -0
- package/dist/dom/flags/data/GS.js +9 -0
- package/dist/dom/flags/data/GT.js +9 -0
- package/dist/dom/flags/data/GU.js +9 -0
- package/dist/dom/flags/data/GW.js +9 -0
- package/dist/dom/flags/data/GY.js +9 -0
- package/dist/dom/flags/data/HK.js +9 -0
- package/dist/dom/flags/data/HM.js +9 -0
- package/dist/dom/flags/data/HN.js +9 -0
- package/dist/dom/flags/data/HR.js +9 -0
- package/dist/dom/flags/data/HT.js +9 -0
- package/dist/dom/flags/data/HU.js +9 -0
- package/dist/dom/flags/data/IC.js +9 -0
- package/dist/dom/flags/data/ID.js +9 -0
- package/dist/dom/flags/data/IE.js +9 -0
- package/dist/dom/flags/data/IL.js +9 -0
- package/dist/dom/flags/data/IM.js +9 -0
- package/dist/dom/flags/data/IN.js +9 -0
- package/dist/dom/flags/data/IO.js +9 -0
- package/dist/dom/flags/data/IQ.js +9 -0
- package/dist/dom/flags/data/IR.js +9 -0
- package/dist/dom/flags/data/IS.js +9 -0
- package/dist/dom/flags/data/IT.js +9 -0
- package/dist/dom/flags/data/JE.js +9 -0
- package/dist/dom/flags/data/JM.js +9 -0
- package/dist/dom/flags/data/JO.js +9 -0
- package/dist/dom/flags/data/JP.js +9 -0
- package/dist/dom/flags/data/KE.js +9 -0
- package/dist/dom/flags/data/KG.js +9 -0
- package/dist/dom/flags/data/KH.js +9 -0
- package/dist/dom/flags/data/KI.js +9 -0
- package/dist/dom/flags/data/KM.js +9 -0
- package/dist/dom/flags/data/KN.js +9 -0
- package/dist/dom/flags/data/KP.js +9 -0
- package/dist/dom/flags/data/KR.js +10 -0
- package/dist/dom/flags/data/KW.js +9 -0
- package/dist/dom/flags/data/KY.js +9 -0
- package/dist/dom/flags/data/KZ.js +9 -0
- package/dist/dom/flags/data/LA.js +9 -0
- package/dist/dom/flags/data/LB.js +9 -0
- package/dist/dom/flags/data/LC.js +9 -0
- package/dist/dom/flags/data/LI.js +9 -0
- package/dist/dom/flags/data/LK.js +9 -0
- package/dist/dom/flags/data/LR.js +9 -0
- package/dist/dom/flags/data/LS.js +9 -0
- package/dist/dom/flags/data/LT.js +9 -0
- package/dist/dom/flags/data/LU.js +9 -0
- package/dist/dom/flags/data/LV.js +9 -0
- package/dist/dom/flags/data/LY.js +9 -0
- package/dist/dom/flags/data/MA.js +9 -0
- package/dist/dom/flags/data/MC.js +9 -0
- package/dist/dom/flags/data/MD.js +9 -0
- package/dist/dom/flags/data/ME.js +9 -0
- package/dist/dom/flags/data/MF.js +9 -0
- package/dist/dom/flags/data/MG.js +9 -0
- package/dist/dom/flags/data/MH.js +9 -0
- package/dist/dom/flags/data/MK.js +9 -0
- package/dist/dom/flags/data/ML.js +9 -0
- package/dist/dom/flags/data/MM.js +9 -0
- package/dist/dom/flags/data/MN.js +9 -0
- package/dist/dom/flags/data/MO.js +9 -0
- package/dist/dom/flags/data/MP.js +9 -0
- package/dist/dom/flags/data/MQ.js +9 -0
- package/dist/dom/flags/data/MR.js +9 -0
- package/dist/dom/flags/data/MS.js +9 -0
- package/dist/dom/flags/data/MT.js +9 -0
- package/dist/dom/flags/data/MU.js +9 -0
- package/dist/dom/flags/data/MV.js +9 -0
- package/dist/dom/flags/data/MW.js +9 -0
- package/dist/dom/flags/data/MX.js +9 -0
- package/dist/dom/flags/data/MY.js +9 -0
- package/dist/dom/flags/data/MZ.js +9 -0
- package/dist/dom/flags/data/NA.js +9 -0
- package/dist/dom/flags/data/NC.js +9 -0
- package/dist/dom/flags/data/NE.js +9 -0
- package/dist/dom/flags/data/NF.js +9 -0
- package/dist/dom/flags/data/NG.js +9 -0
- package/dist/dom/flags/data/NI.js +9 -0
- package/dist/dom/flags/data/NL.js +9 -0
- package/dist/dom/flags/data/NO.js +9 -0
- package/dist/dom/flags/data/NP.js +9 -0
- package/dist/dom/flags/data/NR.js +9 -0
- package/dist/dom/flags/data/NU.js +9 -0
- package/dist/dom/flags/data/NZ.js +9 -0
- package/dist/dom/flags/data/OM.js +9 -0
- package/dist/dom/flags/data/PA.js +9 -0
- package/dist/dom/flags/data/PE.js +9 -0
- package/dist/dom/flags/data/PF.js +9 -0
- package/dist/dom/flags/data/PG.js +9 -0
- package/dist/dom/flags/data/PH.js +9 -0
- package/dist/dom/flags/data/PK.js +9 -0
- package/dist/dom/flags/data/PL.js +9 -0
- package/dist/dom/flags/data/PM.js +9 -0
- package/dist/dom/flags/data/PN.js +9 -0
- package/dist/dom/flags/data/PR.js +9 -0
- package/dist/dom/flags/data/PS.js +9 -0
- package/dist/dom/flags/data/PT.js +9 -0
- package/dist/dom/flags/data/PW.js +9 -0
- package/dist/dom/flags/data/PY.js +9 -0
- package/dist/dom/flags/data/QA.js +9 -0
- package/dist/dom/flags/data/RE.js +9 -0
- package/dist/dom/flags/data/RO.js +9 -0
- package/dist/dom/flags/data/RS.js +9 -0
- package/dist/dom/flags/data/RU.js +9 -0
- package/dist/dom/flags/data/RW.js +9 -0
- package/dist/dom/flags/data/SA.js +9 -0
- package/dist/dom/flags/data/SB.js +9 -0
- package/dist/dom/flags/data/SC.js +9 -0
- package/dist/dom/flags/data/SD.js +9 -0
- package/dist/dom/flags/data/SE.js +9 -0
- package/dist/dom/flags/data/SG.js +9 -0
- package/dist/dom/flags/data/SH.js +9 -0
- package/dist/dom/flags/data/SI.js +9 -0
- package/dist/dom/flags/data/SJ.js +9 -0
- package/dist/dom/flags/data/SK.js +9 -0
- package/dist/dom/flags/data/SL.js +9 -0
- package/dist/dom/flags/data/SM.js +9 -0
- package/dist/dom/flags/data/SN.js +9 -0
- package/dist/dom/flags/data/SO.js +9 -0
- package/dist/dom/flags/data/SR.js +9 -0
- package/dist/dom/flags/data/SS.js +9 -0
- package/dist/dom/flags/data/ST.js +9 -0
- package/dist/dom/flags/data/SV.js +9 -0
- package/dist/dom/flags/data/SX.js +9 -0
- package/dist/dom/flags/data/SY.js +9 -0
- package/dist/dom/flags/data/SZ.js +9 -0
- package/dist/dom/flags/data/TA.js +9 -0
- package/dist/dom/flags/data/TC.js +9 -0
- package/dist/dom/flags/data/TD.js +9 -0
- package/dist/dom/flags/data/TF.js +9 -0
- package/dist/dom/flags/data/TG.js +9 -0
- package/dist/dom/flags/data/TH.js +9 -0
- package/dist/dom/flags/data/TJ.js +9 -0
- package/dist/dom/flags/data/TK.js +9 -0
- package/dist/dom/flags/data/TL.js +9 -0
- package/dist/dom/flags/data/TM.js +9 -0
- package/dist/dom/flags/data/TN.js +9 -0
- package/dist/dom/flags/data/TO.js +9 -0
- package/dist/dom/flags/data/TR.js +9 -0
- package/dist/dom/flags/data/TT.js +9 -0
- package/dist/dom/flags/data/TV.js +9 -0
- package/dist/dom/flags/data/TW.js +9 -0
- package/dist/dom/flags/data/TZ.js +9 -0
- package/dist/dom/flags/data/UA.js +9 -0
- package/dist/dom/flags/data/UG.js +9 -0
- package/dist/dom/flags/data/UM.js +9 -0
- package/dist/dom/flags/data/US.js +9 -0
- package/dist/dom/flags/data/UY.js +9 -0
- package/dist/dom/flags/data/UZ.js +9 -0
- package/dist/dom/flags/data/VA.js +9 -0
- package/dist/dom/flags/data/VC.js +9 -0
- package/dist/dom/flags/data/VE.js +9 -0
- package/dist/dom/flags/data/VG.js +9 -0
- package/dist/dom/flags/data/VI.js +9 -0
- package/dist/dom/flags/data/VN.js +9 -0
- package/dist/dom/flags/data/VU.js +9 -0
- package/dist/dom/flags/data/WF.js +9 -0
- package/dist/dom/flags/data/WS.js +9 -0
- package/dist/dom/flags/data/XK.js +9 -0
- package/dist/dom/flags/data/YE.js +9 -0
- package/dist/dom/flags/data/YT.js +9 -0
- package/dist/dom/flags/data/ZA.js +9 -0
- package/dist/dom/flags/data/ZM.js +9 -0
- package/dist/dom/flags/data/ZW.js +9 -0
- package/dist/dom/flags/flags.gen.js +532 -0
- package/dist/dom/flags/index.js +264 -0
- package/dist/dom/floating-panel/floating-panel.js +871 -0
- package/dist/dom/floating-panel/geometry.js +87 -0
- package/dist/dom/floating-panel/index.js +1 -0
- package/dist/dom/form/form.js +162 -0
- package/dist/dom/form/index.js +1 -0
- package/dist/dom/gauge/gauge.js +499 -0
- package/dist/dom/gauge/gauge.styles.js +144 -0
- package/dist/dom/gauge/index.js +1 -0
- package/dist/dom/gauge/scale.js +143 -0
- package/dist/dom/gif-browser/gif-browser.js +1031 -0
- package/dist/dom/gif-browser/index.js +3 -0
- package/dist/dom/gif-browser/klipy.js +93 -0
- package/dist/dom/gif-browser/machine.js +123 -0
- package/dist/dom/gif-browser/masonry.js +24 -0
- package/dist/dom/gif-browser/types.js +0 -0
- package/dist/dom/highlight/highlight.js +44 -0
- package/dist/dom/highlight/index.js +3 -0
- package/dist/dom/highlight/ranges.js +211 -0
- package/dist/dom/hover-card/hover-card.js +53 -0
- package/dist/dom/hover-card/index.js +1 -0
- package/dist/dom/icon/icon.js +71 -0
- package/dist/dom/icon/index.js +1 -0
- package/dist/dom/icon-stack/icon-stack.js +131 -0
- package/dist/dom/icon-stack/index.js +1 -0
- package/dist/dom/icon-tile/icon-tile.js +160 -0
- package/dist/dom/icon-tile/icon-tile.styles.js +131 -0
- package/dist/dom/icon-tile/index.js +1 -0
- package/dist/dom/icons/data/Accessibility.js +14 -0
- package/dist/dom/icons/data/Activity.js +4 -0
- package/dist/dom/icons/data/AgendaView.js +4 -0
- package/dist/dom/icons/data/AiSpeech.js +4 -0
- package/dist/dom/icons/data/AiVoice.js +4 -0
- package/dist/dom/icons/data/AiVoiceGenerator.js +4 -0
- package/dist/dom/icons/data/AlarmClock.js +15 -0
- package/dist/dom/icons/data/AlarmClockCheck.js +15 -0
- package/dist/dom/icons/data/AlignCenter.js +8 -0
- package/dist/dom/icons/data/AlignCenterHorizontal.js +10 -0
- package/dist/dom/icons/data/AlignCenterVertical.js +10 -0
- package/dist/dom/icons/data/AlignEndHorizontal.js +20 -0
- package/dist/dom/icons/data/AlignEndVertical.js +20 -0
- package/dist/dom/icons/data/AlignHorizontalDistributeCenter.js +23 -0
- package/dist/dom/icons/data/AlignJustify.js +8 -0
- package/dist/dom/icons/data/AlignLeft.js +8 -0
- package/dist/dom/icons/data/AlignRight.js +8 -0
- package/dist/dom/icons/data/AlignStartHorizontal.js +20 -0
- package/dist/dom/icons/data/AlignStartVertical.js +20 -0
- package/dist/dom/icons/data/AlignVerticalDistributeCenter.js +23 -0
- package/dist/dom/icons/data/Archive.js +14 -0
- package/dist/dom/icons/data/ArchiveDuotone.js +7 -0
- package/dist/dom/icons/data/ArrowDown.js +4 -0
- package/dist/dom/icons/data/ArrowDownLeft.js +4 -0
- package/dist/dom/icons/data/ArrowDownRight.js +4 -0
- package/dist/dom/icons/data/ArrowDownToLine.js +8 -0
- package/dist/dom/icons/data/ArrowDownUp.js +9 -0
- package/dist/dom/icons/data/ArrowLeft.js +4 -0
- package/dist/dom/icons/data/ArrowLeftRight.js +9 -0
- package/dist/dom/icons/data/ArrowRight.js +4 -0
- package/dist/dom/icons/data/ArrowUp.js +4 -0
- package/dist/dom/icons/data/ArrowUpDown.js +9 -0
- package/dist/dom/icons/data/ArrowUpFromLine.js +8 -0
- package/dist/dom/icons/data/ArrowUpLeft.js +4 -0
- package/dist/dom/icons/data/ArrowUpRight.js +4 -0
- package/dist/dom/icons/data/AssistantControl.js +12 -0
- package/dist/dom/icons/data/Asterisk.js +8 -0
- package/dist/dom/icons/data/AtSign.js +8 -0
- package/dist/dom/icons/data/AudioLines.js +11 -0
- package/dist/dom/icons/data/AudioWaveform.js +4 -0
- package/dist/dom/icons/data/Award.js +8 -0
- package/dist/dom/icons/data/BackgroundBlur.js +8 -0
- package/dist/dom/icons/data/BadgeCheck.js +4 -0
- package/dist/dom/icons/data/Ban.js +8 -0
- package/dist/dom/icons/data/Banknote.js +18 -0
- package/dist/dom/icons/data/BarChart3.js +9 -0
- package/dist/dom/icons/data/Battery.js +10 -0
- package/dist/dom/icons/data/BatteryCharging.js +9 -0
- package/dist/dom/icons/data/BatteryLow.js +14 -0
- package/dist/dom/icons/data/Bell.js +4 -0
- package/dist/dom/icons/data/BellDot.js +12 -0
- package/dist/dom/icons/data/BellOff.js +9 -0
- package/dist/dom/icons/data/BellRing.js +9 -0
- package/dist/dom/icons/data/Blocks.js +10 -0
- package/dist/dom/icons/data/Bluetooth.js +4 -0
- package/dist/dom/icons/data/Bold.js +4 -0
- package/dist/dom/icons/data/Book.js +4 -0
- package/dist/dom/icons/data/BookOpen.js +4 -0
- package/dist/dom/icons/data/Bookmark.js +4 -0
- package/dist/dom/icons/data/BookmarkCheck.js +4 -0
- package/dist/dom/icons/data/BookmarkPlus.js +8 -0
- package/dist/dom/icons/data/BookmarkSolid.js +8 -0
- package/dist/dom/icons/data/Bot.js +17 -0
- package/dist/dom/icons/data/BotMessageSquare.js +11 -0
- package/dist/dom/icons/data/Braces.js +4 -0
- package/dist/dom/icons/data/Brackets.js +4 -0
- package/dist/dom/icons/data/Brain.js +13 -0
- package/dist/dom/icons/data/BrainCircuit.js +37 -0
- package/dist/dom/icons/data/BringToFront.js +14 -0
- package/dist/dom/icons/data/Bug.js +16 -0
- package/dist/dom/icons/data/Building.js +22 -0
- package/dist/dom/icons/data/Building2.js +10 -0
- package/dist/dom/icons/data/Calculator.js +31 -0
- package/dist/dom/icons/data/Calendar.js +15 -0
- package/dist/dom/icons/data/CalendarCheck.js +16 -0
- package/dist/dom/icons/data/CalendarClock.js +15 -0
- package/dist/dom/icons/data/CalendarDays.js +21 -0
- package/dist/dom/icons/data/CalendarPlus.js +11 -0
- package/dist/dom/icons/data/CalendarRange.js +19 -0
- package/dist/dom/icons/data/CalendarX.js +17 -0
- package/dist/dom/icons/data/CalendarX2.js +11 -0
- package/dist/dom/icons/data/CallEndControl.js +9 -0
- package/dist/dom/icons/data/Camera.js +8 -0
- package/dist/dom/icons/data/Captions.js +11 -0
- package/dist/dom/icons/data/Car.js +17 -0
- package/dist/dom/icons/data/Cast.js +14 -0
- package/dist/dom/icons/data/ChartArea.js +4 -0
- package/dist/dom/icons/data/ChartBar.js +9 -0
- package/dist/dom/icons/data/ChartLine.js +4 -0
- package/dist/dom/icons/data/ChartPie.js +4 -0
- package/dist/dom/icons/data/ChatControl.js +8 -0
- package/dist/dom/icons/data/Check.js +4 -0
- package/dist/dom/icons/data/ChevronDown.js +4 -0
- package/dist/dom/icons/data/ChevronLeft.js +4 -0
- package/dist/dom/icons/data/ChevronRight.js +4 -0
- package/dist/dom/icons/data/ChevronUp.js +4 -0
- package/dist/dom/icons/data/ChevronsDown.js +4 -0
- package/dist/dom/icons/data/ChevronsLeft.js +4 -0
- package/dist/dom/icons/data/ChevronsLeftRight.js +4 -0
- package/dist/dom/icons/data/ChevronsRight.js +4 -0
- package/dist/dom/icons/data/ChevronsUp.js +4 -0
- package/dist/dom/icons/data/ChevronsUpDown.js +4 -0
- package/dist/dom/icons/data/Circle.js +8 -0
- package/dist/dom/icons/data/CircleAlert.js +22 -0
- package/dist/dom/icons/data/CircleCheck.js +8 -0
- package/dist/dom/icons/data/CircleCheckBig.js +4 -0
- package/dist/dom/icons/data/CircleDashed.js +13 -0
- package/dist/dom/icons/data/CircleDollarSign.js +12 -0
- package/dist/dom/icons/data/CircleDot.js +12 -0
- package/dist/dom/icons/data/CircleDotDashed.js +18 -0
- package/dist/dom/icons/data/CircleHelp.js +12 -0
- package/dist/dom/icons/data/CircleMinus.js +8 -0
- package/dist/dom/icons/data/CirclePause.js +22 -0
- package/dist/dom/icons/data/CirclePlay.js +8 -0
- package/dist/dom/icons/data/CirclePlus.js +12 -0
- package/dist/dom/icons/data/CircleSlash.js +13 -0
- package/dist/dom/icons/data/CircleSmall.js +8 -0
- package/dist/dom/icons/data/CircleStop.js +14 -0
- package/dist/dom/icons/data/CircleX.js +12 -0
- package/dist/dom/icons/data/Clipboard.js +11 -0
- package/dist/dom/icons/data/ClipboardCheck.js +15 -0
- package/dist/dom/icons/data/ClipboardCopy.js +17 -0
- package/dist/dom/icons/data/ClipboardList.js +18 -0
- package/dist/dom/icons/data/ClipboardPaste.js +16 -0
- package/dist/dom/icons/data/Clock.js +8 -0
- package/dist/dom/icons/data/Cloud.js +4 -0
- package/dist/dom/icons/data/CloudOff.js +8 -0
- package/dist/dom/icons/data/CloudSun.js +11 -0
- package/dist/dom/icons/data/Code.js +4 -0
- package/dist/dom/icons/data/CodeXml.js +8 -0
- package/dist/dom/icons/data/Coffee.js +9 -0
- package/dist/dom/icons/data/Coins.js +13 -0
- package/dist/dom/icons/data/Columns2.js +10 -0
- package/dist/dom/icons/data/Columns3.js +14 -0
- package/dist/dom/icons/data/Compass.js +8 -0
- package/dist/dom/icons/data/Construction.js +19 -0
- package/dist/dom/icons/data/Contact.js +20 -0
- package/dist/dom/icons/data/Copy.js +11 -0
- package/dist/dom/icons/data/CopyPlus.js +26 -0
- package/dist/dom/icons/data/CornerDownLeft.js +4 -0
- package/dist/dom/icons/data/Cpu.js +31 -0
- package/dist/dom/icons/data/CreditCard.js +19 -0
- package/dist/dom/icons/data/CreditCardPlus.js +10 -0
- package/dist/dom/icons/data/Crop.js +4 -0
- package/dist/dom/icons/data/Crown.js +4 -0
- package/dist/dom/icons/data/Database.js +13 -0
- package/dist/dom/icons/data/DollarSign.js +4 -0
- package/dist/dom/icons/data/Dot.js +8 -0
- package/dist/dom/icons/data/Download.js +8 -0
- package/dist/dom/icons/data/Droplet.js +4 -0
- package/dist/dom/icons/data/Ear.js +4 -0
- package/dist/dom/icons/data/EarOff.js +15 -0
- package/dist/dom/icons/data/Earth.js +13 -0
- package/dist/dom/icons/data/Ellipsis.js +20 -0
- package/dist/dom/icons/data/EllipsisVertical.js +20 -0
- package/dist/dom/icons/data/Eraser.js +4 -0
- package/dist/dom/icons/data/Expand.js +13 -0
- package/dist/dom/icons/data/ExternalLink.js +8 -0
- package/dist/dom/icons/data/Eye.js +8 -0
- package/dist/dom/icons/data/EyeClosed.js +10 -0
- package/dist/dom/icons/data/EyeOff.js +9 -0
- package/dist/dom/icons/data/FastForward.js +4 -0
- package/dist/dom/icons/data/File.js +4 -0
- package/dist/dom/icons/data/FileAi.js +4 -0
- package/dist/dom/icons/data/FileArchive.js +15 -0
- package/dist/dom/icons/data/FileAudio.js +8 -0
- package/dist/dom/icons/data/FileCheck.js +8 -0
- package/dist/dom/icons/data/FileCode.js +9 -0
- package/dist/dom/icons/data/FileDiff.js +9 -0
- package/dist/dom/icons/data/FileImage.js +13 -0
- package/dist/dom/icons/data/FileMinus.js +8 -0
- package/dist/dom/icons/data/FilePen.js +8 -0
- package/dist/dom/icons/data/FilePlus.js +9 -0
- package/dist/dom/icons/data/FileQuestion.js +8 -0
- package/dist/dom/icons/data/FileSpreadsheet.js +11 -0
- package/dist/dom/icons/data/FileText.js +10 -0
- package/dist/dom/icons/data/FileVideo.js +8 -0
- package/dist/dom/icons/data/Files.js +8 -0
- package/dist/dom/icons/data/Film.js +19 -0
- package/dist/dom/icons/data/FilterX.js +8 -0
- package/dist/dom/icons/data/Fingerprint.js +14 -0
- package/dist/dom/icons/data/Flag.js +4 -0
- package/dist/dom/icons/data/FlagOff.js +9 -0
- package/dist/dom/icons/data/Flame.js +4 -0
- package/dist/dom/icons/data/FlipHorizontal2.js +11 -0
- package/dist/dom/icons/data/Focus.js +14 -0
- package/dist/dom/icons/data/Folder.js +4 -0
- package/dist/dom/icons/data/FolderClosed.js +4 -0
- package/dist/dom/icons/data/FolderInput.js +8 -0
- package/dist/dom/icons/data/FolderOpen.js +4 -0
- package/dist/dom/icons/data/FolderPlus.js +8 -0
- package/dist/dom/icons/data/FolderSearch.js +12 -0
- package/dist/dom/icons/data/FolderTree.js +9 -0
- package/dist/dom/icons/data/Forward.js +4 -0
- package/dist/dom/icons/data/Fullscreen.js +16 -0
- package/dist/dom/icons/data/GalleryThumbnails.js +16 -0
- package/dist/dom/icons/data/Gauge.js +4 -0
- package/dist/dom/icons/data/Gift.js +15 -0
- package/dist/dom/icons/data/GitBranch.js +16 -0
- package/dist/dom/icons/data/GitCommitHorizontal.js +22 -0
- package/dist/dom/icons/data/GitMerge.js +16 -0
- package/dist/dom/icons/data/GitPullRequest.js +22 -0
- package/dist/dom/icons/data/Globe.js +12 -0
- package/dist/dom/icons/data/GraduationCap.js +8 -0
- package/dist/dom/icons/data/Grid3x3.js +16 -0
- package/dist/dom/icons/data/Grip.js +50 -0
- package/dist/dom/icons/data/GripHorizontal.js +35 -0
- package/dist/dom/icons/data/GripVertical.js +35 -0
- package/dist/dom/icons/data/Group.js +23 -0
- package/dist/dom/icons/data/Hand.js +9 -0
- package/dist/dom/icons/data/HardDrive.js +9 -0
- package/dist/dom/icons/data/Hash.js +29 -0
- package/dist/dom/icons/data/Hd.js +4 -0
- package/dist/dom/icons/data/Heading1.js +9 -0
- package/dist/dom/icons/data/Heading2.js +9 -0
- package/dist/dom/icons/data/Heading3.js +10 -0
- package/dist/dom/icons/data/Headphones.js +4 -0
- package/dist/dom/icons/data/Heart.js +4 -0
- package/dist/dom/icons/data/HeartOff.js +8 -0
- package/dist/dom/icons/data/HeartPulse.js +4 -0
- package/dist/dom/icons/data/HeartSolid.js +8 -0
- package/dist/dom/icons/data/Heatmap.js +4 -0
- package/dist/dom/icons/data/History.js +8 -0
- package/dist/dom/icons/data/Hourglass.js +9 -0
- package/dist/dom/icons/data/House.js +4 -0
- package/dist/dom/icons/data/IdCard.js +20 -0
- package/dist/dom/icons/data/Image.js +19 -0
- package/dist/dom/icons/data/ImageOff.js +26 -0
- package/dist/dom/icons/data/ImagePlus.js +14 -0
- package/dist/dom/icons/data/Images.js +20 -0
- package/dist/dom/icons/data/Inbox.js +4 -0
- package/dist/dom/icons/data/IndentDecrease.js +9 -0
- package/dist/dom/icons/data/IndentIncrease.js +9 -0
- package/dist/dom/icons/data/Info.js +12 -0
- package/dist/dom/icons/data/Italic.js +23 -0
- package/dist/dom/icons/data/Kanban.js +8 -0
- package/dist/dom/icons/data/Key.js +12 -0
- package/dist/dom/icons/data/KeyRound.js +9 -0
- package/dist/dom/icons/data/Keyboard.js +20 -0
- package/dist/dom/icons/data/Landmark.js +11 -0
- package/dist/dom/icons/data/Languages.js +11 -0
- package/dist/dom/icons/data/Laptop.js +4 -0
- package/dist/dom/icons/data/Layers.js +8 -0
- package/dist/dom/icons/data/LayoutDashboard.js +33 -0
- package/dist/dom/icons/data/LayoutGrid.js +33 -0
- package/dist/dom/icons/data/LayoutList.js +23 -0
- package/dist/dom/icons/data/LayoutPanelLeft.js +26 -0
- package/dist/dom/icons/data/LayoutTemplate.js +26 -0
- package/dist/dom/icons/data/Leaf.js +4 -0
- package/dist/dom/icons/data/LifeBuoy.js +19 -0
- package/dist/dom/icons/data/Lightbulb.js +8 -0
- package/dist/dom/icons/data/Link.js +4 -0
- package/dist/dom/icons/data/Link2.js +13 -0
- package/dist/dom/icons/data/Link2Off.js +19 -0
- package/dist/dom/icons/data/List.js +11 -0
- package/dist/dom/icons/data/ListChecks.js +10 -0
- package/dist/dom/icons/data/ListFilter.js +8 -0
- package/dist/dom/icons/data/ListOrdered.js +11 -0
- package/dist/dom/icons/data/ListPlus.js +10 -0
- package/dist/dom/icons/data/ListTodo.js +16 -0
- package/dist/dom/icons/data/ListTree.js +10 -0
- package/dist/dom/icons/data/ListX.js +10 -0
- package/dist/dom/icons/data/Loader.js +13 -0
- package/dist/dom/icons/data/LoaderCircle.js +4 -0
- package/dist/dom/icons/data/LoaderPinwheel.js +13 -0
- package/dist/dom/icons/data/Lock.js +11 -0
- package/dist/dom/icons/data/LockKeyhole.js +18 -0
- package/dist/dom/icons/data/LockOpen.js +11 -0
- package/dist/dom/icons/data/LogIn.js +8 -0
- package/dist/dom/icons/data/LogOut.js +8 -0
- package/dist/dom/icons/data/Mail.js +10 -0
- package/dist/dom/icons/data/MailCheck.js +8 -0
- package/dist/dom/icons/data/MailOpen.js +4 -0
- package/dist/dom/icons/data/MailPlus.js +9 -0
- package/dist/dom/icons/data/MailQuestionMark.js +9 -0
- package/dist/dom/icons/data/MailWarning.js +9 -0
- package/dist/dom/icons/data/Map.js +8 -0
- package/dist/dom/icons/data/MapPin.js +8 -0
- package/dist/dom/icons/data/MapPinned.js +12 -0
- package/dist/dom/icons/data/Mars.js +12 -0
- package/dist/dom/icons/data/Maximize.js +9 -0
- package/dist/dom/icons/data/Maximize2.js +9 -0
- package/dist/dom/icons/data/Megaphone.js +8 -0
- package/dist/dom/icons/data/Menu.js +8 -0
- package/dist/dom/icons/data/MessageCircle.js +4 -0
- package/dist/dom/icons/data/MessageCircleMore.js +9 -0
- package/dist/dom/icons/data/MessageSquare.js +4 -0
- package/dist/dom/icons/data/MessageSquarePlus.js +8 -0
- package/dist/dom/icons/data/MessageSquareText.js +9 -0
- package/dist/dom/icons/data/MessagesSquare.js +4 -0
- package/dist/dom/icons/data/Mic.js +14 -0
- package/dist/dom/icons/data/MicControl.js +13 -0
- package/dist/dom/icons/data/MicOff.js +11 -0
- package/dist/dom/icons/data/MicOffControl.js +8 -0
- package/dist/dom/icons/data/Minimize.js +9 -0
- package/dist/dom/icons/data/Minimize2.js +9 -0
- package/dist/dom/icons/data/Minus.js +4 -0
- package/dist/dom/icons/data/Monitor.js +24 -0
- package/dist/dom/icons/data/MonitorUp.js +16 -0
- package/dist/dom/icons/data/Moon.js +4 -0
- package/dist/dom/icons/data/MoreControl.js +8 -0
- package/dist/dom/icons/data/Mouse.js +10 -0
- package/dist/dom/icons/data/MousePointer2.js +4 -0
- package/dist/dom/icons/data/MousePointerClick.js +10 -0
- package/dist/dom/icons/data/Move.js +11 -0
- package/dist/dom/icons/data/MoveHorizontal.js +8 -0
- package/dist/dom/icons/data/Music.js +16 -0
- package/dist/dom/icons/data/Navigation.js +4 -0
- package/dist/dom/icons/data/Network.js +28 -0
- package/dist/dom/icons/data/OctagonAlert.js +8 -0
- package/dist/dom/icons/data/Package.js +9 -0
- package/dist/dom/icons/data/Palette.js +30 -0
- package/dist/dom/icons/data/PanelLeft.js +10 -0
- package/dist/dom/icons/data/PanelLeftClose.js +14 -0
- package/dist/dom/icons/data/PanelRight.js +10 -0
- package/dist/dom/icons/data/PanelRightOpen.js +14 -0
- package/dist/dom/icons/data/Paperclip.js +4 -0
- package/dist/dom/icons/data/PartyPopper.js +14 -0
- package/dist/dom/icons/data/Pause.js +16 -0
- package/dist/dom/icons/data/PawPrint.js +21 -0
- package/dist/dom/icons/data/Pen.js +4 -0
- package/dist/dom/icons/data/PenLine.js +4 -0
- package/dist/dom/icons/data/Pencil.js +4 -0
- package/dist/dom/icons/data/PeopleControl.js +20 -0
- package/dist/dom/icons/data/Percent.js +21 -0
- package/dist/dom/icons/data/Phone.js +4 -0
- package/dist/dom/icons/data/PhoneCall.js +8 -0
- package/dist/dom/icons/data/PhoneOff.js +8 -0
- package/dist/dom/icons/data/PictureInPicture.js +16 -0
- package/dist/dom/icons/data/Pilcrow.js +8 -0
- package/dist/dom/icons/data/Pin.js +4 -0
- package/dist/dom/icons/data/PinOff.js +9 -0
- package/dist/dom/icons/data/Pipette.js +8 -0
- package/dist/dom/icons/data/Plane.js +4 -0
- package/dist/dom/icons/data/Play.js +4 -0
- package/dist/dom/icons/data/Plug.js +9 -0
- package/dist/dom/icons/data/Plus.js +4 -0
- package/dist/dom/icons/data/Power.js +4 -0
- package/dist/dom/icons/data/Presence.js +4 -0
- package/dist/dom/icons/data/Printer.js +14 -0
- package/dist/dom/icons/data/QrCode.js +35 -0
- package/dist/dom/icons/data/Quote.js +4 -0
- package/dist/dom/icons/data/Radio.js +14 -0
- package/dist/dom/icons/data/RaiseHand.js +4 -0
- package/dist/dom/icons/data/ReactionsControl.js +12 -0
- package/dist/dom/icons/data/Receipt.js +8 -0
- package/dist/dom/icons/data/Redo.js +4 -0
- package/dist/dom/icons/data/Redo2.js +4 -0
- package/dist/dom/icons/data/RefreshCcw.js +9 -0
- package/dist/dom/icons/data/RefreshCw.js +9 -0
- package/dist/dom/icons/data/Regex.js +9 -0
- package/dist/dom/icons/data/RemoveFormatting.js +10 -0
- package/dist/dom/icons/data/Repeat.js +9 -0
- package/dist/dom/icons/data/Reply.js +4 -0
- package/dist/dom/icons/data/ReplyAll.js +8 -0
- package/dist/dom/icons/data/Rewind.js +4 -0
- package/dist/dom/icons/data/Rocket.js +9 -0
- package/dist/dom/icons/data/RotateCcw.js +4 -0
- package/dist/dom/icons/data/RotateCw.js +4 -0
- package/dist/dom/icons/data/Rows3.js +14 -0
- package/dist/dom/icons/data/Rss.js +12 -0
- package/dist/dom/icons/data/Save.js +8 -0
- package/dist/dom/icons/data/Scan.js +9 -0
- package/dist/dom/icons/data/ScanEye.js +15 -0
- package/dist/dom/icons/data/ScanFace.js +12 -0
- package/dist/dom/icons/data/ScanLine.js +10 -0
- package/dist/dom/icons/data/Scissors.js +18 -0
- package/dist/dom/icons/data/ScreenShareControl.js +9 -0
- package/dist/dom/icons/data/ScreenShareOff.js +10 -0
- package/dist/dom/icons/data/ScrollText.js +9 -0
- package/dist/dom/icons/data/Search.js +8 -0
- package/dist/dom/icons/data/SearchX.js +13 -0
- package/dist/dom/icons/data/SelectField.js +10 -0
- package/dist/dom/icons/data/Send.js +4 -0
- package/dist/dom/icons/data/SendHorizontal.js +4 -0
- package/dist/dom/icons/data/SendToBack.js +21 -0
- package/dist/dom/icons/data/Server.js +33 -0
- package/dist/dom/icons/data/Settings.js +8 -0
- package/dist/dom/icons/data/Settings2.js +17 -0
- package/dist/dom/icons/data/SettingsControl.js +8 -0
- package/dist/dom/icons/data/Share.js +8 -0
- package/dist/dom/icons/data/Share2.js +32 -0
- package/dist/dom/icons/data/Shield.js +4 -0
- package/dist/dom/icons/data/ShieldAlert.js +8 -0
- package/dist/dom/icons/data/ShieldBan.js +4 -0
- package/dist/dom/icons/data/ShieldCheck.js +4 -0
- package/dist/dom/icons/data/ShieldOff.js +8 -0
- package/dist/dom/icons/data/ShieldPlus.js +8 -0
- package/dist/dom/icons/data/ShieldQuestion.js +8 -0
- package/dist/dom/icons/data/ShoppingBag.js +8 -0
- package/dist/dom/icons/data/ShoppingCart.js +17 -0
- package/dist/dom/icons/data/Shrink.js +9 -0
- package/dist/dom/icons/data/Shuffle.js +10 -0
- package/dist/dom/icons/data/Signal.js +10 -0
- package/dist/dom/icons/data/SignalHigh.js +9 -0
- package/dist/dom/icons/data/SignalLow.js +4 -0
- package/dist/dom/icons/data/SignalMedium.js +8 -0
- package/dist/dom/icons/data/SkipBack.js +4 -0
- package/dist/dom/icons/data/SkipForward.js +4 -0
- package/dist/dom/icons/data/SlidersHorizontal.js +14 -0
- package/dist/dom/icons/data/Smartphone.js +11 -0
- package/dist/dom/icons/data/Smile.js +13 -0
- package/dist/dom/icons/data/SmilePlus.js +11 -0
- package/dist/dom/icons/data/Snowflake.js +17 -0
- package/dist/dom/icons/data/Sparkle.js +4 -0
- package/dist/dom/icons/data/Sparkles.js +13 -0
- package/dist/dom/icons/data/Speaker.js +19 -0
- package/dist/dom/icons/data/SpeakerView.js +33 -0
- package/dist/dom/icons/data/Spotlight.js +4 -0
- package/dist/dom/icons/data/Square.js +10 -0
- package/dist/dom/icons/data/SquareArrowDown.js +14 -0
- package/dist/dom/icons/data/SquareArrowUp.js +14 -0
- package/dist/dom/icons/data/SquareCheck.js +10 -0
- package/dist/dom/icons/data/SquareCode.js +14 -0
- package/dist/dom/icons/data/SquareDashed.js +17 -0
- package/dist/dom/icons/data/SquareKanban.js +15 -0
- package/dist/dom/icons/data/SquarePen.js +4 -0
- package/dist/dom/icons/data/SquarePlus.js +14 -0
- package/dist/dom/icons/data/SquareTerminal.js +15 -0
- package/dist/dom/icons/data/SquareX.js +15 -0
- package/dist/dom/icons/data/Star.js +4 -0
- package/dist/dom/icons/data/StarOff.js +8 -0
- package/dist/dom/icons/data/StickyNote.js +4 -0
- package/dist/dom/icons/data/Store.js +8 -0
- package/dist/dom/icons/data/Strikethrough.js +13 -0
- package/dist/dom/icons/data/Sun.js +18 -0
- package/dist/dom/icons/data/SunMoon.js +10 -0
- package/dist/dom/icons/data/SwitchCamera.js +14 -0
- package/dist/dom/icons/data/Table.js +15 -0
- package/dist/dom/icons/data/Table2.js +14 -0
- package/dist/dom/icons/data/Tablet.js +16 -0
- package/dist/dom/icons/data/Tag.js +9 -0
- package/dist/dom/icons/data/Tags.js +13 -0
- package/dist/dom/icons/data/Target.js +20 -0
- package/dist/dom/icons/data/Terminal.js +4 -0
- package/dist/dom/icons/data/TextCursor.js +8 -0
- package/dist/dom/icons/data/TextSmallcaps.js +4 -0
- package/dist/dom/icons/data/Thermometer.js +4 -0
- package/dist/dom/icons/data/ThumbsDown.js +4 -0
- package/dist/dom/icons/data/ThumbsUp.js +4 -0
- package/dist/dom/icons/data/TimeZone.js +4 -0
- package/dist/dom/icons/data/Timer.js +22 -0
- package/dist/dom/icons/data/TimerOff.js +10 -0
- package/dist/dom/icons/data/Trash.js +10 -0
- package/dist/dom/icons/data/TrendingDown.js +4 -0
- package/dist/dom/icons/data/TrendingUp.js +4 -0
- package/dist/dom/icons/data/TriangleAlert.js +8 -0
- package/dist/dom/icons/data/Trophy.js +11 -0
- package/dist/dom/icons/data/Truck.js +18 -0
- package/dist/dom/icons/data/Tv.js +10 -0
- package/dist/dom/icons/data/Type.js +8 -0
- package/dist/dom/icons/data/Underline.js +9 -0
- package/dist/dom/icons/data/Undo.js +4 -0
- package/dist/dom/icons/data/Undo2.js +4 -0
- package/dist/dom/icons/data/Ungroup.js +16 -0
- package/dist/dom/icons/data/Unlink.js +31 -0
- package/dist/dom/icons/data/Unlink2.js +4 -0
- package/dist/dom/icons/data/Upload.js +8 -0
- package/dist/dom/icons/data/User.js +8 -0
- package/dist/dom/icons/data/UserCheck.js +12 -0
- package/dist/dom/icons/data/UserCog.js +24 -0
- package/dist/dom/icons/data/UserMinus.js +17 -0
- package/dist/dom/icons/data/UserPen.js +12 -0
- package/dist/dom/icons/data/UserPlus.js +23 -0
- package/dist/dom/icons/data/UserRound.js +8 -0
- package/dist/dom/icons/data/UserRoundPlus.js +13 -0
- package/dist/dom/icons/data/UserX.js +23 -0
- package/dist/dom/icons/data/Users.js +13 -0
- package/dist/dom/icons/data/UsersRound.js +12 -0
- package/dist/dom/icons/data/Venus.js +12 -0
- package/dist/dom/icons/data/VenusAndMars.js +14 -0
- package/dist/dom/icons/data/Video.js +10 -0
- package/dist/dom/icons/data/VideoControl.js +15 -0
- package/dist/dom/icons/data/VideoDisabledControl.js +17 -0
- package/dist/dom/icons/data/VideoOff.js +8 -0
- package/dist/dom/icons/data/VideoOffControl.js +13 -0
- package/dist/dom/icons/data/VoiceIsolation.js +4 -0
- package/dist/dom/icons/data/Volume.js +4 -0
- package/dist/dom/icons/data/Volume1.js +4 -0
- package/dist/dom/icons/data/Volume2.js +8 -0
- package/dist/dom/icons/data/VolumeOff.js +10 -0
- package/dist/dom/icons/data/VolumeX.js +8 -0
- package/dist/dom/icons/data/Wallet.js +4 -0
- package/dist/dom/icons/data/Wand.js +14 -0
- package/dist/dom/icons/data/WandSparkles.js +13 -0
- package/dist/dom/icons/data/Webhook.js +8 -0
- package/dist/dom/icons/data/Wifi.js +9 -0
- package/dist/dom/icons/data/WifiOff.js +12 -0
- package/dist/dom/icons/data/Wind.js +8 -0
- package/dist/dom/icons/data/WrapText.js +9 -0
- package/dist/dom/icons/data/Wrench.js +4 -0
- package/dist/dom/icons/data/X.js +4 -0
- package/dist/dom/icons/data/Zap.js +4 -0
- package/dist/dom/icons/data/ZoomIn.js +28 -0
- package/dist/dom/icons/data/ZoomOut.js +22 -0
- package/dist/dom/icons/icons.gen.js +496 -0
- package/dist/dom/icons/index.js +496 -0
- package/dist/dom/image-cropper/image-cropper.js +221 -0
- package/dist/dom/image-cropper/index.js +1 -0
- package/dist/dom/image-lightbox/carousel-stage.js +137 -0
- package/dist/dom/image-lightbox/image-lightbox.js +676 -0
- package/dist/dom/image-lightbox/index.js +1 -0
- package/dist/dom/image-lightbox/stage.js +265 -0
- package/dist/dom/index.js +228 -0
- package/dist/dom/internal/arc.js +28 -0
- package/dist/dom/internal/chip.styles.js +47 -0
- package/dist/dom/internal/class.js +45 -0
- package/dist/dom/internal/composer/box.styles.js +5 -0
- package/dist/dom/internal/composer/composer-box.js +480 -0
- package/dist/dom/internal/composer/composer-engine.js +406 -0
- package/dist/dom/internal/composer/composer-format.js +352 -0
- package/dist/dom/internal/composer/composer.js +276 -0
- package/dist/dom/internal/composer/content.styles.js +12 -0
- package/dist/dom/internal/composer/format.styles.js +23 -0
- package/dist/dom/internal/composer/frame.styles.js +23 -0
- package/dist/dom/internal/cue.js +29 -0
- package/dist/dom/internal/dialog-context.js +8 -0
- package/dist/dom/internal/disclosure.styles.js +38 -0
- package/dist/dom/internal/drag-motion.js +75 -0
- package/dist/dom/internal/drag-touch.js +109 -0
- package/dist/dom/internal/drag.styles.js +34 -0
- package/dist/dom/internal/element.js +30 -0
- package/dist/dom/internal/floating.styles.js +89 -0
- package/dist/dom/internal/form-context.js +14 -0
- package/dist/dom/internal/gauge.styles.js +93 -0
- package/dist/dom/internal/handler.js +11 -0
- package/dist/dom/internal/icon-part.js +24 -0
- package/dist/dom/internal/icons.js +89 -0
- package/dist/dom/internal/layers.js +16 -0
- package/dist/dom/internal/list.styles.js +250 -0
- package/dist/dom/internal/locale.js +66 -0
- package/dist/dom/internal/mask.js +37 -0
- package/dist/dom/internal/overflow/fit.js +73 -0
- package/dist/dom/internal/overflow/items.js +90 -0
- package/dist/dom/internal/overflow/observe.js +136 -0
- package/dist/dom/internal/overflow/row.js +32 -0
- package/dist/dom/internal/part.js +37 -0
- package/dist/dom/internal/press-focus.js +29 -0
- package/dist/dom/internal/ref.js +24 -0
- package/dist/dom/internal/rrule.js +188 -0
- package/dist/dom/internal/scroll-overflow.js +88 -0
- package/dist/dom/internal/segmented-input.styles.js +45 -0
- package/dist/dom/internal/sheet.styles.js +150 -0
- package/dist/dom/internal/shimmer.styles.js +15 -0
- package/dist/dom/internal/spring.js +63 -0
- package/dist/dom/internal/status-icons.js +8 -0
- package/dist/dom/internal/styles.js +45 -0
- package/dist/dom/internal/text-field.styles.js +101 -0
- package/dist/dom/internal/threshold.js +22 -0
- package/dist/dom/internal/time.js +8 -0
- package/dist/dom/internal/zoned.js +69 -0
- package/dist/dom/item/index.js +1 -0
- package/dist/dom/item/item.js +305 -0
- package/dist/dom/json-view/index.js +3 -0
- package/dist/dom/json-view/json-view.js +799 -0
- package/dist/dom/json-view/model.js +180 -0
- package/dist/dom/kanban/index.js +3 -0
- package/dist/dom/kanban/kanban.js +542 -0
- package/dist/dom/kanban/kanban.styles.js +88 -0
- package/dist/dom/kbd/index.js +4 -0
- package/dist/dom/kbd/kbd.js +42 -0
- package/dist/dom/kbd/kbd.styles.js +34 -0
- package/dist/dom/knob/index.js +1 -0
- package/dist/dom/knob/knob.js +534 -0
- package/dist/dom/knob/math.js +154 -0
- package/dist/dom/label/index.js +1 -0
- package/dist/dom/label/label.js +27 -0
- package/dist/dom/layout/index.js +1 -0
- package/dist/dom/layout/layout.js +281 -0
- package/dist/dom/link/index.js +1 -0
- package/dist/dom/link/link.js +64 -0
- package/dist/dom/link/link.styles.js +33 -0
- package/dist/dom/loader/index.js +1 -0
- package/dist/dom/loader/loader.js +101 -0
- package/dist/dom/locale-provider/index.js +3 -0
- package/dist/dom/locale-provider/locale-provider.js +52 -0
- package/dist/dom/locale-provider/messages.js +0 -0
- package/dist/dom/log-view/ansi.js +274 -0
- package/dist/dom/log-view/index.js +5 -0
- package/dist/dom/log-view/log-view.js +604 -0
- package/dist/dom/log-view/model.js +142 -0
- package/dist/dom/log-view/toolbar.js +233 -0
- package/dist/dom/logo/index.js +3 -0
- package/dist/dom/logo/logo-loader.js +310 -0
- package/dist/dom/logo/logo.js +178 -0
- package/dist/dom/logo/paths.js +35 -0
- package/dist/dom/logo/shapes.js +93 -0
- package/dist/dom/markdown/engine.js +54 -0
- package/dist/dom/markdown/index.js +4 -0
- package/dist/dom/markdown/markdown.js +134 -0
- package/dist/dom/markdown/markdown.styles.js +22 -0
- package/dist/dom/markdown/sanitize.js +295 -0
- package/dist/dom/markdown-editor/index.js +5 -0
- package/dist/dom/markdown-editor/markdown-editor.js +233 -0
- package/dist/dom/markdown-editor/markdown-editor.styles.js +5 -0
- package/dist/dom/markdown-editor/markdown.js +527 -0
- package/dist/dom/markdown-editor/sourced.js +161 -0
- package/dist/dom/markdown-editor/strip.js +83 -0
- package/dist/dom/markdown-editor/writer.js +524 -0
- package/dist/dom/marker/index.js +1 -0
- package/dist/dom/marker/marker.js +111 -0
- package/dist/dom/media-player/engine.js +155 -0
- package/dist/dom/media-player/index.js +3 -0
- package/dist/dom/media-player/media-player.js +741 -0
- package/dist/dom/media-player/model.js +95 -0
- package/dist/dom/media-player/primitive.js +799 -0
- package/dist/dom/menu/index.js +1 -0
- package/dist/dom/menu/menu.js +223 -0
- package/dist/dom/menubar/index.js +1 -0
- package/dist/dom/menubar/menubar.js +81 -0
- package/dist/dom/message/index.js +1 -0
- package/dist/dom/message/message.js +391 -0
- package/dist/dom/message-scroller/index.js +1 -0
- package/dist/dom/message-scroller/message-scroller.js +314 -0
- package/dist/dom/meter/index.js +1 -0
- package/dist/dom/meter/meter.js +63 -0
- package/dist/dom/model-picker/index.js +1 -0
- package/dist/dom/model-picker/model-picker.js +251 -0
- package/dist/dom/model-picker/panel.js +214 -0
- package/dist/dom/natural-date-input/engine.js +162 -0
- package/dist/dom/natural-date-input/format.js +125 -0
- package/dist/dom/natural-date-input/index.js +6 -0
- package/dist/dom/natural-date-input/natural-date-input.js +1189 -0
- package/dist/dom/natural-date-input/parser.js +48 -0
- package/dist/dom/natural-date-input/picker.js +128 -0
- package/dist/dom/natural-date-input/types.js +0 -0
- package/dist/dom/navigation-menu/index.js +1 -0
- package/dist/dom/navigation-menu/navigation-menu.js +271 -0
- package/dist/dom/notice-stack/index.js +1 -0
- package/dist/dom/notice-stack/notice-stack.js +302 -0
- package/dist/dom/number-input/index.js +1 -0
- package/dist/dom/number-input/number-input.js +148 -0
- package/dist/dom/orb/index.js +1 -0
- package/dist/dom/orb/orb.js +116 -0
- package/dist/dom/otp-input/index.js +1 -0
- package/dist/dom/otp-input/otp-input.js +76 -0
- package/dist/dom/pagination/index.js +1 -0
- package/dist/dom/pagination/pagination.js +176 -0
- package/dist/dom/panel-stack/index.js +1 -0
- package/dist/dom/panel-stack/panel-stack.js +674 -0
- package/dist/dom/password-input/index.js +1 -0
- package/dist/dom/password-input/password-input.js +69 -0
- package/dist/dom/peek-panel/context.js +26 -0
- package/dist/dom/peek-panel/index.js +4 -0
- package/dist/dom/peek-panel/model.js +44 -0
- package/dist/dom/peek-panel/parts.js +480 -0
- package/dist/dom/peek-panel/peek-panel.js +379 -0
- package/dist/dom/peek-panel/peek-sheet.js +30 -0
- package/dist/dom/phone-input/countries.js +57 -0
- package/dist/dom/phone-input/engine.js +56 -0
- package/dist/dom/phone-input/index.js +4 -0
- package/dist/dom/phone-input/load.js +28 -0
- package/dist/dom/phone-input/model.js +89 -0
- package/dist/dom/phone-input/phone-input.js +675 -0
- package/dist/dom/pocket/index.js +1 -0
- package/dist/dom/pocket/pocket.js +187 -0
- package/dist/dom/popover/index.js +1 -0
- package/dist/dom/popover/popover.js +158 -0
- package/dist/dom/progress/index.js +1 -0
- package/dist/dom/progress/progress.js +72 -0
- package/dist/dom/prompt-input/index.js +1 -0
- package/dist/dom/prompt-input/prompt-input.js +843 -0
- package/dist/dom/property-list/commit.js +86 -0
- package/dist/dom/property-list/index.js +7 -0
- package/dist/dom/property-list/property-date.js +190 -0
- package/dist/dom/property-list/property-list.js +289 -0
- package/dist/dom/property-list/property-list.styles.js +303 -0
- package/dist/dom/property-list/property-popover.js +185 -0
- package/dist/dom/property-list/property-select.js +395 -0
- package/dist/dom/property-list/property-switch.js +69 -0
- package/dist/dom/property-list/property-text.js +523 -0
- package/dist/dom/prose/index.js +1 -0
- package/dist/dom/prose/prose.js +47 -0
- package/dist/dom/prose-editor/announce.js +1 -0
- package/dist/dom/prose-editor/code-view.js +208 -0
- package/dist/dom/prose-editor/controller.js +118 -0
- package/dist/dom/prose-editor/doc.js +581 -0
- package/dist/dom/prose-editor/dom-reader.js +251 -0
- package/dist/dom/prose-editor/editor.styles.js +384 -0
- package/dist/dom/prose-editor/engine.js +959 -0
- package/dist/dom/prose-editor/highlight.js +33 -0
- package/dist/dom/prose-editor/index.js +5 -0
- package/dist/dom/prose-editor/keys.js +22 -0
- package/dist/dom/prose-editor/labels.js +53 -0
- package/dist/dom/prose-editor/language-names.js +1 -0
- package/dist/dom/prose-editor/languages.js +57 -0
- package/dist/dom/prose-editor/link-row.js +116 -0
- package/dist/dom/prose-editor/mention.js +57 -0
- package/dist/dom/prose-editor/more-menu.js +152 -0
- package/dist/dom/prose-editor/prose-editor.js +533 -0
- package/dist/dom/prose-editor/schema.js +259 -0
- package/dist/dom/prose-editor/server.js +11 -0
- package/dist/dom/prose-editor/sugar.js +43 -0
- package/dist/dom/prose-editor/suggest-adapter.js +147 -0
- package/dist/dom/prose-editor/suggestions-menu.js +553 -0
- package/dist/dom/prose-editor/suggestions.js +73 -0
- package/dist/dom/prose-editor/toolbar-extras.js +3 -0
- package/dist/dom/prose-editor/toolbar.js +621 -0
- package/dist/dom/prose-editor/view-parts.js +27 -0
- package/dist/dom/prose-editor-suggestions/index.js +1 -0
- package/dist/dom/questionnaire/index.js +1 -0
- package/dist/dom/questionnaire/questionnaire.js +988 -0
- package/dist/dom/radio/index.js +1 -0
- package/dist/dom/radio/radio.js +119 -0
- package/dist/dom/rating/index.js +1 -0
- package/dist/dom/rating/rating.js +135 -0
- package/dist/dom/reactions/index.js +3 -0
- package/dist/dom/reactions/model.js +78 -0
- package/dist/dom/reactions/reactions.js +821 -0
- package/dist/dom/reasoning/index.js +1 -0
- package/dist/dom/reasoning/reasoning.js +265 -0
- package/dist/dom/recurrence/dialog.js +97 -0
- package/dist/dom/recurrence/editor.js +655 -0
- package/dist/dom/recurrence/index.js +6 -0
- package/dist/dom/recurrence/labels.js +46 -0
- package/dist/dom/recurrence/model.js +425 -0
- package/dist/dom/recurrence/recurrence-select.js +200 -0
- package/dist/dom/relative-time/clock.js +51 -0
- package/dist/dom/relative-time/index.js +1 -0
- package/dist/dom/relative-time/relative-time.js +212 -0
- package/dist/dom/resizable/index.js +1 -0
- package/dist/dom/resizable/resizable.js +76 -0
- package/dist/dom/ring/index.js +3 -0
- package/dist/dom/ring/meter-ring.js +74 -0
- package/dist/dom/ring/progress-ring.js +72 -0
- package/dist/dom/ring/ring.styles.js +90 -0
- package/dist/dom/schedule-list/index.js +3 -0
- package/dist/dom/schedule-list/menu.js +52 -0
- package/dist/dom/schedule-list/model.js +167 -0
- package/dist/dom/schedule-list/schedule-list.js +1543 -0
- package/dist/dom/scroll-area/index.js +1 -0
- package/dist/dom/scroll-area/scroll-area.js +147 -0
- package/dist/dom/secret/index.js +1 -0
- package/dist/dom/secret/secret.js +352 -0
- package/dist/dom/segmented-control/index.js +1 -0
- package/dist/dom/segmented-control/segmented-control.js +74 -0
- package/dist/dom/select/align.js +162 -0
- package/dist/dom/select/index.js +1 -0
- package/dist/dom/select/select.js +211 -0
- package/dist/dom/separator/index.js +1 -0
- package/dist/dom/separator/separator.js +24 -0
- package/dist/dom/sheet/index.js +1 -0
- package/dist/dom/sheet/sheet.js +191 -0
- package/dist/dom/shortcut-recorder/capture.js +99 -0
- package/dist/dom/shortcut-recorder/index.js +4 -0
- package/dist/dom/shortcut-recorder/labels.js +28 -0
- package/dist/dom/shortcut-recorder/model.js +22 -0
- package/dist/dom/shortcut-recorder/popover.js +436 -0
- package/dist/dom/shortcut-recorder/shortcut-recorder.js +374 -0
- package/dist/dom/shortcuts/conflicts.js +64 -0
- package/dist/dom/shortcuts/index.js +9 -0
- package/dist/dom/shortcuts/keys.js +126 -0
- package/dist/dom/shortcuts/list.js +189 -0
- package/dist/dom/shortcuts/model.js +89 -0
- package/dist/dom/shortcuts/platform.js +16 -0
- package/dist/dom/shortcuts/scope.js +118 -0
- package/dist/dom/shortcuts/shortcuts.js +48 -0
- package/dist/dom/shortcuts/use-shortcut.js +45 -0
- package/dist/dom/sidebar/context.js +24 -0
- package/dist/dom/sidebar/index.js +6 -0
- package/dist/dom/sidebar/lazy-tips.js +101 -0
- package/dist/dom/sidebar/menu.js +700 -0
- package/dist/dom/sidebar/sheet.js +48 -0
- package/dist/dom/sidebar/sidebar.js +818 -0
- package/dist/dom/sidebar/sidebar.styles.js +467 -0
- package/dist/dom/sidebar/tips.js +82 -0
- package/dist/dom/sidebar/views.js +60 -0
- package/dist/dom/signature-pad/export.js +39 -0
- package/dist/dom/signature-pad/index.js +4 -0
- package/dist/dom/signature-pad/model.js +227 -0
- package/dist/dom/signature-pad/signature-pad.js +691 -0
- package/dist/dom/skeleton/index.js +1 -0
- package/dist/dom/skeleton/skeleton.js +73 -0
- package/dist/dom/slider/index.js +1 -0
- package/dist/dom/slider/slider.js +163 -0
- package/dist/dom/sortable-list/index.js +3 -0
- package/dist/dom/sortable-list/sortable-list.js +351 -0
- package/dist/dom/sortable-list/sortable-list.styles.js +70 -0
- package/dist/dom/span-timeline/index.js +3 -0
- package/dist/dom/span-timeline/model.js +137 -0
- package/dist/dom/span-timeline/span-timeline.js +301 -0
- package/dist/dom/spinner/index.js +1 -0
- package/dist/dom/spinner/spinner.js +87 -0
- package/dist/dom/stat/context.js +5 -0
- package/dist/dom/stat/delta.js +300 -0
- package/dist/dom/stat/index.js +3 -0
- package/dist/dom/stat/stat.js +458 -0
- package/dist/dom/statusbar/index.js +1 -0
- package/dist/dom/statusbar/statusbar.js +326 -0
- package/dist/dom/stepper/index.js +1 -0
- package/dist/dom/stepper/stepper.js +426 -0
- package/dist/dom/stepper/stepper.styles.js +43 -0
- package/dist/dom/switch/index.js +1 -0
- package/dist/dom/switch/switch.js +79 -0
- package/dist/dom/table/index.js +1 -0
- package/dist/dom/table/table.js +264 -0
- package/dist/dom/table-of-contents/headings.js +54 -0
- package/dist/dom/table-of-contents/index.js +3 -0
- package/dist/dom/table-of-contents/scrollspy.js +135 -0
- package/dist/dom/table-of-contents/table-of-contents.js +239 -0
- package/dist/dom/tabs/index.js +1 -0
- package/dist/dom/tabs/tabs.js +176 -0
- package/dist/dom/tabs-overflow/index.js +1 -0
- package/dist/dom/tabs-overflow/menu.js +83 -0
- package/dist/dom/tabs-overflow/tabs-overflow.js +218 -0
- package/dist/dom/task-tray/index.js +4 -0
- package/dist/dom/task-tray/model.js +91 -0
- package/dist/dom/task-tray/store.js +352 -0
- package/dist/dom/task-tray/task-tray.js +979 -0
- package/dist/dom/text/index.js +1 -0
- package/dist/dom/text/text.js +215 -0
- package/dist/dom/theme/index.js +1 -0
- package/dist/dom/theme/theme.js +55 -0
- package/dist/dom/theme-switcher/index.js +1 -0
- package/dist/dom/theme-switcher/theme-switcher.js +106 -0
- package/dist/dom/thread-list/index.js +1 -0
- package/dist/dom/thread-list/thread-list.js +358 -0
- package/dist/dom/tiling/create-tiling.js +65 -0
- package/dist/dom/tiling/engine/controllers/drag.js +101 -0
- package/dist/dom/tiling/engine/controllers/resize.js +65 -0
- package/dist/dom/tiling/engine/defaults.js +20 -0
- package/dist/dom/tiling/engine/emitter.js +35 -0
- package/dist/dom/tiling/engine/engine.js +906 -0
- package/dist/dom/tiling/engine/geometry.js +168 -0
- package/dist/dom/tiling/engine/history.js +76 -0
- package/dist/dom/tiling/engine/ids.js +12 -0
- package/dist/dom/tiling/engine/index.js +9 -0
- package/dist/dom/tiling/engine/layout.js +170 -0
- package/dist/dom/tiling/engine/scheduler.js +75 -0
- package/dist/dom/tiling/engine/spring.js +79 -0
- package/dist/dom/tiling/engine/store.js +25 -0
- package/dist/dom/tiling/engine/tree.js +606 -0
- package/dist/dom/tiling/engine/types.js +0 -0
- package/dist/dom/tiling/index.js +8 -0
- package/dist/dom/tiling/pointer.js +186 -0
- package/dist/dom/tiling/tab-strip.js +354 -0
- package/dist/dom/tiling/tiling.js +1232 -0
- package/dist/dom/tiling/tiling.styles.js +485 -0
- package/dist/dom/time-input/index.js +1 -0
- package/dist/dom/time-input/time-input.js +48 -0
- package/dist/dom/time-picker/index.js +3 -0
- package/dist/dom/time-picker/model.js +190 -0
- package/dist/dom/time-picker/time-picker.js +702 -0
- package/dist/dom/time-zone-picker/index.js +3 -0
- package/dist/dom/time-zone-picker/time-zone-picker.js +306 -0
- package/dist/dom/time-zone-picker/zones.js +335 -0
- package/dist/dom/timeline/index.js +1 -0
- package/dist/dom/timeline/timeline.js +183 -0
- package/dist/dom/toast/index.js +1 -0
- package/dist/dom/toast/toast.js +359 -0
- package/dist/dom/toggle/index.js +1 -0
- package/dist/dom/toggle/toggle.js +131 -0
- package/dist/dom/token-input/index.js +1 -0
- package/dist/dom/token-input/token-input.js +115 -0
- package/dist/dom/tokens.stylex.js +269 -0
- package/dist/dom/tool-call/index.js +1 -0
- package/dist/dom/tool-call/instead-form.js +75 -0
- package/dist/dom/tool-call/tool-call.js +719 -0
- package/dist/dom/toolbar/index.js +1 -0
- package/dist/dom/toolbar/toolbar.js +104 -0
- package/dist/dom/toolbar-overflow/index.js +1 -0
- package/dist/dom/toolbar-overflow/menu.js +120 -0
- package/dist/dom/toolbar-overflow/toolbar-overflow.js +276 -0
- package/dist/dom/tooltip/index.js +1 -0
- package/dist/dom/tooltip/tooltip.js +141 -0
- package/dist/dom/trace/index.js +1 -0
- package/dist/dom/trace/trace.js +468 -0
- package/dist/dom/tree/index.js +1 -0
- package/dist/dom/tree/tree.js +232 -0
- package/dist/dom/trigger-menu/index.js +1 -0
- package/dist/dom/trigger-menu/trigger-menu.js +156 -0
- package/dist/dom/undo/index.js +1 -0
- package/dist/dom/undo/undo.js +225 -0
- package/dist/dom/volume-meter/index.js +1 -0
- package/dist/dom/volume-meter/volume-meter.js +125 -0
- package/dist/solid/_virtual/_rolldown/runtime.jsx +12 -0
- package/dist/solid/accordion/accordion.jsx +143 -0
- package/dist/solid/accordion/index.jsx +1 -0
- package/dist/solid/agent-activity/agent-activity.jsx +61 -0
- package/dist/solid/agent-activity/index.jsx +1 -0
- package/dist/solid/agent-todos/agent-todos.jsx +156 -0
- package/dist/solid/agent-todos/index.jsx +1 -0
- package/dist/solid/alert/alert.jsx +159 -0
- package/dist/solid/alert/index.jsx +1 -0
- package/dist/solid/alert-dialog/alert-dialog.jsx +140 -0
- package/dist/solid/alert-dialog/index.jsx +1 -0
- package/dist/solid/attachment/attachment.jsx +185 -0
- package/dist/solid/attachment/index.jsx +1 -0
- package/dist/solid/autocomplete/autocomplete.jsx +93 -0
- package/dist/solid/autocomplete/index.jsx +1 -0
- package/dist/solid/avatar/avatar.jsx +268 -0
- package/dist/solid/avatar/index.jsx +1 -0
- package/dist/solid/badge/badge.jsx +174 -0
- package/dist/solid/badge/index.jsx +1 -0
- package/dist/solid/bot-avatar/bot-avatar.jsx +173 -0
- package/dist/solid/bot-avatar/index.jsx +1 -0
- package/dist/solid/brands/brands.gen.jsx +114 -0
- package/dist/solid/brands/data/Airtable.jsx +8 -0
- package/dist/solid/brands/data/AmericanExpress.jsx +8 -0
- package/dist/solid/brands/data/AmericanExpressColor.jsx +8 -0
- package/dist/solid/brands/data/Android.jsx +8 -0
- package/dist/solid/brands/data/AndroidColor.jsx +8 -0
- package/dist/solid/brands/data/Anthropic.jsx +8 -0
- package/dist/solid/brands/data/Apple.jsx +8 -0
- package/dist/solid/brands/data/ApplePay.jsx +8 -0
- package/dist/solid/brands/data/Asana.jsx +8 -0
- package/dist/solid/brands/data/AsanaColor.jsx +8 -0
- package/dist/solid/brands/data/Atlassian.jsx +8 -0
- package/dist/solid/brands/data/AtlassianColor.jsx +8 -0
- package/dist/solid/brands/data/Bitbucket.jsx +8 -0
- package/dist/solid/brands/data/BitbucketColor.jsx +8 -0
- package/dist/solid/brands/data/Bluesky.jsx +8 -0
- package/dist/solid/brands/data/BlueskyColor.jsx +8 -0
- package/dist/solid/brands/data/Calendly.jsx +8 -0
- package/dist/solid/brands/data/CalendlyColor.jsx +8 -0
- package/dist/solid/brands/data/Claude.jsx +8 -0
- package/dist/solid/brands/data/ClaudeColor.jsx +8 -0
- package/dist/solid/brands/data/ClickUp.jsx +8 -0
- package/dist/solid/brands/data/Cloudflare.jsx +8 -0
- package/dist/solid/brands/data/CloudflareColor.jsx +8 -0
- package/dist/solid/brands/data/DinersClub.jsx +8 -0
- package/dist/solid/brands/data/DinersClubColor.jsx +8 -0
- package/dist/solid/brands/data/Discord.jsx +8 -0
- package/dist/solid/brands/data/DiscordColor.jsx +8 -0
- package/dist/solid/brands/data/Discover.jsx +8 -0
- package/dist/solid/brands/data/Docker.jsx +8 -0
- package/dist/solid/brands/data/DockerColor.jsx +8 -0
- package/dist/solid/brands/data/Dropbox.jsx +8 -0
- package/dist/solid/brands/data/DropboxColor.jsx +8 -0
- package/dist/solid/brands/data/Facebook.jsx +8 -0
- package/dist/solid/brands/data/FacebookColor.jsx +8 -0
- package/dist/solid/brands/data/Figma.jsx +8 -0
- package/dist/solid/brands/data/GitHub.jsx +8 -0
- package/dist/solid/brands/data/GitLab.jsx +8 -0
- package/dist/solid/brands/data/GitLabColor.jsx +8 -0
- package/dist/solid/brands/data/Gmail.jsx +8 -0
- package/dist/solid/brands/data/Google.jsx +8 -0
- package/dist/solid/brands/data/GoogleCalendar.jsx +8 -0
- package/dist/solid/brands/data/GoogleColor.jsx +25 -0
- package/dist/solid/brands/data/GoogleDrive.jsx +8 -0
- package/dist/solid/brands/data/GoogleGemini.jsx +8 -0
- package/dist/solid/brands/data/GoogleMeet.jsx +8 -0
- package/dist/solid/brands/data/GoogleMeetColor.jsx +40 -0
- package/dist/solid/brands/data/GooglePay.jsx +8 -0
- package/dist/solid/brands/data/HubSpot.jsx +8 -0
- package/dist/solid/brands/data/HubSpotColor.jsx +8 -0
- package/dist/solid/brands/data/Hyper.jsx +31 -0
- package/dist/solid/brands/data/HyperColor.jsx +31 -0
- package/dist/solid/brands/data/Instagram.jsx +8 -0
- package/dist/solid/brands/data/Intercom.jsx +8 -0
- package/dist/solid/brands/data/JCB.jsx +8 -0
- package/dist/solid/brands/data/Jira.jsx +8 -0
- package/dist/solid/brands/data/JiraColor.jsx +8 -0
- package/dist/solid/brands/data/Linear.jsx +8 -0
- package/dist/solid/brands/data/LinearColor.jsx +8 -0
- package/dist/solid/brands/data/Loom.jsx +8 -0
- package/dist/solid/brands/data/LoomColor.jsx +8 -0
- package/dist/solid/brands/data/Mastercard.jsx +8 -0
- package/dist/solid/brands/data/Medium.jsx +8 -0
- package/dist/solid/brands/data/Messenger.jsx +8 -0
- package/dist/solid/brands/data/MessengerColor.jsx +8 -0
- package/dist/solid/brands/data/Meta.jsx +8 -0
- package/dist/solid/brands/data/MetaColor.jsx +8 -0
- package/dist/solid/brands/data/Microsoft.jsx +25 -0
- package/dist/solid/brands/data/MicrosoftColor.jsx +25 -0
- package/dist/solid/brands/data/MicrosoftTeamsColor.jsx +73 -0
- package/dist/solid/brands/data/Miro.jsx +8 -0
- package/dist/solid/brands/data/Notion.jsx +8 -0
- package/dist/solid/brands/data/Npm.jsx +8 -0
- package/dist/solid/brands/data/NpmColor.jsx +8 -0
- package/dist/solid/brands/data/Okta.jsx +8 -0
- package/dist/solid/brands/data/OktaColor.jsx +8 -0
- package/dist/solid/brands/data/PayPal.jsx +8 -0
- package/dist/solid/brands/data/Perplexity.jsx +8 -0
- package/dist/solid/brands/data/PerplexityColor.jsx +8 -0
- package/dist/solid/brands/data/Pinterest.jsx +8 -0
- package/dist/solid/brands/data/PinterestColor.jsx +8 -0
- package/dist/solid/brands/data/Reddit.jsx +8 -0
- package/dist/solid/brands/data/RedditColor.jsx +8 -0
- package/dist/solid/brands/data/Shopify.jsx +8 -0
- package/dist/solid/brands/data/ShopifyColor.jsx +8 -0
- package/dist/solid/brands/data/Slack.jsx +33 -0
- package/dist/solid/brands/data/SlackColor.jsx +33 -0
- package/dist/solid/brands/data/Spotify.jsx +8 -0
- package/dist/solid/brands/data/SpotifyColor.jsx +8 -0
- package/dist/solid/brands/data/Stripe.jsx +8 -0
- package/dist/solid/brands/data/StripeColor.jsx +8 -0
- package/dist/solid/brands/data/Substack.jsx +8 -0
- package/dist/solid/brands/data/SubstackColor.jsx +8 -0
- package/dist/solid/brands/data/Supabase.jsx +8 -0
- package/dist/solid/brands/data/SupabaseColor.jsx +8 -0
- package/dist/solid/brands/data/Telegram.jsx +8 -0
- package/dist/solid/brands/data/TelegramColor.jsx +8 -0
- package/dist/solid/brands/data/Threads.jsx +8 -0
- package/dist/solid/brands/data/TikTok.jsx +8 -0
- package/dist/solid/brands/data/Trello.jsx +8 -0
- package/dist/solid/brands/data/TrelloColor.jsx +8 -0
- package/dist/solid/brands/data/Twitch.jsx +8 -0
- package/dist/solid/brands/data/TwitchColor.jsx +8 -0
- package/dist/solid/brands/data/Vercel.jsx +8 -0
- package/dist/solid/brands/data/Visa.jsx +8 -0
- package/dist/solid/brands/data/Webex.jsx +8 -0
- package/dist/solid/brands/data/WhatsApp.jsx +8 -0
- package/dist/solid/brands/data/WhatsAppColor.jsx +8 -0
- package/dist/solid/brands/data/XTwitter.jsx +8 -0
- package/dist/solid/brands/data/YouTube.jsx +8 -0
- package/dist/solid/brands/data/YouTubeColor.jsx +8 -0
- package/dist/solid/brands/data/Zendesk.jsx +8 -0
- package/dist/solid/brands/data/Zoom.jsx +9 -0
- package/dist/solid/brands/data/ZoomColor.jsx +14 -0
- package/dist/solid/brands/index.jsx +114 -0
- package/dist/solid/breadcrumb/breadcrumb.jsx +64 -0
- package/dist/solid/breadcrumb/index.jsx +1 -0
- package/dist/solid/bubble/bubble.jsx +54 -0
- package/dist/solid/bubble/index.jsx +1 -0
- package/dist/solid/button/button-group.jsx +22 -0
- package/dist/solid/button/button.jsx +64 -0
- package/dist/solid/button/button.styles.jsx +126 -0
- package/dist/solid/button/index.jsx +3 -0
- package/dist/solid/calendar/calendar.jsx +165 -0
- package/dist/solid/calendar/index.jsx +1 -0
- package/dist/solid/card/card.jsx +347 -0
- package/dist/solid/card/index.jsx +1 -0
- package/dist/solid/card-input/card-input.jsx +431 -0
- package/dist/solid/card-input/index.jsx +3 -0
- package/dist/solid/card-input/model.jsx +309 -0
- package/dist/solid/carousel/carousel.jsx +278 -0
- package/dist/solid/carousel/index.jsx +1 -0
- package/dist/solid/cascader/cascader.jsx +1043 -0
- package/dist/solid/cascader/data.jsx +78 -0
- package/dist/solid/cascader/index.jsx +1 -0
- package/dist/solid/chat-composer/chat-composer.jsx +994 -0
- package/dist/solid/chat-composer/controller.jsx +72 -0
- package/dist/solid/chat-composer/index.jsx +3 -0
- package/dist/solid/checkbox/checkbox.jsx +78 -0
- package/dist/solid/checkbox/index.jsx +1 -0
- package/dist/solid/code-block/code-block.jsx +162 -0
- package/dist/solid/code-block/code.styles.jsx +81 -0
- package/dist/solid/code-block/highlighter.jsx +60 -0
- package/dist/solid/code-block/highlights-engine.jsx +31 -0
- package/dist/solid/code-block/index.jsx +3 -0
- package/dist/solid/collapsible/collapsible.jsx +57 -0
- package/dist/solid/collapsible/index.jsx +1 -0
- package/dist/solid/color-picker/color-picker.jsx +203 -0
- package/dist/solid/color-picker/index.jsx +1 -0
- package/dist/solid/combobox/combobox.jsx +193 -0
- package/dist/solid/combobox/index.jsx +1 -0
- package/dist/solid/command/command.jsx +483 -0
- package/dist/solid/command/index.jsx +1 -0
- package/dist/solid/context-meter/context-meter.jsx +148 -0
- package/dist/solid/context-meter/index.jsx +1 -0
- package/dist/solid/copy-button/copy-button.jsx +77 -0
- package/dist/solid/copy-button/index.jsx +3 -0
- package/dist/solid/copy-button/use-copy.jsx +95 -0
- package/dist/solid/create-table/create-table.jsx +94 -0
- package/dist/solid/create-table/flex-render.jsx +28 -0
- package/dist/solid/create-table/index.jsx +6 -0
- package/dist/solid/create-table/reactivity.jsx +110 -0
- package/dist/solid/create-table/row-models.jsx +323 -0
- package/dist/solid/csp-provider/csp-provider.jsx +55 -0
- package/dist/solid/csp-provider/index.jsx +1 -0
- package/dist/solid/cues/cues.jsx +17 -0
- package/dist/solid/cues/index.jsx +1 -0
- package/dist/solid/data-grid/column-menu.jsx +165 -0
- package/dist/solid/data-grid/columns.jsx +153 -0
- package/dist/solid/data-grid/data-grid.jsx +963 -0
- package/dist/solid/data-grid/data-grid.styles.jsx +596 -0
- package/dist/solid/data-grid/features.jsx +27 -0
- package/dist/solid/data-grid/index.jsx +7 -0
- package/dist/solid/data-grid/labels.jsx +18 -0
- package/dist/solid/data-grid/pagination.jsx +39 -0
- package/dist/solid/data-grid/selection-bar.jsx +313 -0
- package/dist/solid/date-input/date-input.jsx +31 -0
- package/dist/solid/date-input/index.jsx +1 -0
- package/dist/solid/date-picker/date-picker.jsx +90 -0
- package/dist/solid/date-picker/index.jsx +3 -0
- package/dist/solid/day-strip/day-strip.jsx +756 -0
- package/dist/solid/day-strip/index.jsx +1 -0
- package/dist/solid/description-list/description-list.jsx +177 -0
- package/dist/solid/description-list/index.jsx +1 -0
- package/dist/solid/dialog/dialog.jsx +93 -0
- package/dist/solid/dialog/dialog.styles.jsx +152 -0
- package/dist/solid/dialog/index.jsx +1 -0
- package/dist/solid/diff-review/diff-review.jsx +213 -0
- package/dist/solid/diff-review/index.jsx +1 -0
- package/dist/solid/direction-provider/direction-provider.jsx +41 -0
- package/dist/solid/direction-provider/index.jsx +3 -0
- package/dist/solid/draw-toolbar/draw-tool-icon.jsx +173 -0
- package/dist/solid/draw-toolbar/draw-toolbar.jsx +297 -0
- package/dist/solid/draw-toolbar/index.jsx +4 -0
- package/dist/solid/draw-toolbar/tools.jsx +111 -0
- package/dist/solid/editable-text/editable-text.jsx +585 -0
- package/dist/solid/editable-text/index.jsx +1 -0
- package/dist/solid/emoji-picker/data.gen.jsx +19 -0
- package/dist/solid/emoji-picker/data.jsx +80 -0
- package/dist/solid/emoji-picker/emoji-picker.jsx +991 -0
- package/dist/solid/emoji-picker/index.jsx +4 -0
- package/dist/solid/emoji-picker/support.jsx +56 -0
- package/dist/solid/empty-state/empty-state.jsx +144 -0
- package/dist/solid/empty-state/index.jsx +1 -0
- package/dist/solid/event-popover/event-popover.jsx +291 -0
- package/dist/solid/event-popover/index.jsx +1 -0
- package/dist/solid/field/field.jsx +166 -0
- package/dist/solid/field/index.jsx +1 -0
- package/dist/solid/file-input/file-input.jsx +142 -0
- package/dist/solid/file-input/index.jsx +3 -0
- package/dist/solid/file-input/upload-queue.jsx +154 -0
- package/dist/solid/file-type/file-type.jsx +115 -0
- package/dist/solid/file-type/file-types.jsx +291 -0
- package/dist/solid/file-type/index.jsx +3 -0
- package/dist/solid/filter-bar/editor-boolean.jsx +28 -0
- package/dist/solid/filter-bar/editor-date.jsx +12 -0
- package/dist/solid/filter-bar/editor-number.jsx +28 -0
- package/dist/solid/filter-bar/editor-options.jsx +70 -0
- package/dist/solid/filter-bar/editor-text.jsx +12 -0
- package/dist/solid/filter-bar/editor-types.jsx +0 -0
- package/dist/solid/filter-bar/field-list.jsx +19 -0
- package/dist/solid/filter-bar/filter-bar.jsx +296 -0
- package/dist/solid/filter-bar/filter-bar.styles.jsx +146 -0
- package/dist/solid/filter-bar/index.jsx +4 -0
- package/dist/solid/filter-bar/lazy.jsx +24 -0
- package/dist/solid/filter-bar/model.jsx +195 -0
- package/dist/solid/filter-bar/operator-menu.jsx +31 -0
- package/dist/solid/filter-bar/state.jsx +81 -0
- package/dist/solid/flag/flag.jsx +24 -0
- package/dist/solid/flag/index.jsx +1 -0
- package/dist/solid/flags/data/AC.jsx +9 -0
- package/dist/solid/flags/data/AD.jsx +9 -0
- package/dist/solid/flags/data/AE.jsx +9 -0
- package/dist/solid/flags/data/AF.jsx +9 -0
- package/dist/solid/flags/data/AG.jsx +9 -0
- package/dist/solid/flags/data/AI.jsx +9 -0
- package/dist/solid/flags/data/AL.jsx +9 -0
- package/dist/solid/flags/data/AM.jsx +9 -0
- package/dist/solid/flags/data/AO.jsx +9 -0
- package/dist/solid/flags/data/AQ.jsx +9 -0
- package/dist/solid/flags/data/AR.jsx +9 -0
- package/dist/solid/flags/data/AS.jsx +9 -0
- package/dist/solid/flags/data/AT.jsx +9 -0
- package/dist/solid/flags/data/AU.jsx +9 -0
- package/dist/solid/flags/data/AW.jsx +9 -0
- package/dist/solid/flags/data/AX.jsx +9 -0
- package/dist/solid/flags/data/AZ.jsx +9 -0
- package/dist/solid/flags/data/BA.jsx +9 -0
- package/dist/solid/flags/data/BB.jsx +9 -0
- package/dist/solid/flags/data/BD.jsx +9 -0
- package/dist/solid/flags/data/BE.jsx +9 -0
- package/dist/solid/flags/data/BF.jsx +9 -0
- package/dist/solid/flags/data/BG.jsx +9 -0
- package/dist/solid/flags/data/BH.jsx +9 -0
- package/dist/solid/flags/data/BI.jsx +9 -0
- package/dist/solid/flags/data/BJ.jsx +9 -0
- package/dist/solid/flags/data/BL.jsx +9 -0
- package/dist/solid/flags/data/BM.jsx +9 -0
- package/dist/solid/flags/data/BN.jsx +9 -0
- package/dist/solid/flags/data/BO.jsx +9 -0
- package/dist/solid/flags/data/BQ.jsx +9 -0
- package/dist/solid/flags/data/BQ_BO.jsx +9 -0
- package/dist/solid/flags/data/BQ_SA.jsx +9 -0
- package/dist/solid/flags/data/BQ_SE.jsx +9 -0
- package/dist/solid/flags/data/BR.jsx +9 -0
- package/dist/solid/flags/data/BS.jsx +9 -0
- package/dist/solid/flags/data/BT.jsx +9 -0
- package/dist/solid/flags/data/BV.jsx +9 -0
- package/dist/solid/flags/data/BW.jsx +9 -0
- package/dist/solid/flags/data/BY.jsx +9 -0
- package/dist/solid/flags/data/BZ.jsx +9 -0
- package/dist/solid/flags/data/CA.jsx +9 -0
- package/dist/solid/flags/data/CC.jsx +9 -0
- package/dist/solid/flags/data/CD.jsx +9 -0
- package/dist/solid/flags/data/CF.jsx +9 -0
- package/dist/solid/flags/data/CG.jsx +9 -0
- package/dist/solid/flags/data/CH.jsx +9 -0
- package/dist/solid/flags/data/CI.jsx +9 -0
- package/dist/solid/flags/data/CK.jsx +9 -0
- package/dist/solid/flags/data/CL.jsx +9 -0
- package/dist/solid/flags/data/CM.jsx +9 -0
- package/dist/solid/flags/data/CN.jsx +9 -0
- package/dist/solid/flags/data/CO.jsx +9 -0
- package/dist/solid/flags/data/CR.jsx +9 -0
- package/dist/solid/flags/data/CU.jsx +9 -0
- package/dist/solid/flags/data/CV.jsx +9 -0
- package/dist/solid/flags/data/CW.jsx +9 -0
- package/dist/solid/flags/data/CX.jsx +9 -0
- package/dist/solid/flags/data/CY.jsx +9 -0
- package/dist/solid/flags/data/CZ.jsx +9 -0
- package/dist/solid/flags/data/DE.jsx +9 -0
- package/dist/solid/flags/data/DJ.jsx +9 -0
- package/dist/solid/flags/data/DK.jsx +9 -0
- package/dist/solid/flags/data/DM.jsx +9 -0
- package/dist/solid/flags/data/DO.jsx +9 -0
- package/dist/solid/flags/data/DZ.jsx +9 -0
- package/dist/solid/flags/data/EC.jsx +9 -0
- package/dist/solid/flags/data/EE.jsx +9 -0
- package/dist/solid/flags/data/EG.jsx +9 -0
- package/dist/solid/flags/data/EH.jsx +9 -0
- package/dist/solid/flags/data/ER.jsx +9 -0
- package/dist/solid/flags/data/ES.jsx +9 -0
- package/dist/solid/flags/data/ES_CT.jsx +9 -0
- package/dist/solid/flags/data/ET.jsx +9 -0
- package/dist/solid/flags/data/EU.jsx +10 -0
- package/dist/solid/flags/data/FI.jsx +9 -0
- package/dist/solid/flags/data/FJ.jsx +9 -0
- package/dist/solid/flags/data/FK.jsx +9 -0
- package/dist/solid/flags/data/FM.jsx +9 -0
- package/dist/solid/flags/data/FO.jsx +9 -0
- package/dist/solid/flags/data/FR.jsx +9 -0
- package/dist/solid/flags/data/GA.jsx +9 -0
- package/dist/solid/flags/data/GB.jsx +9 -0
- package/dist/solid/flags/data/GB_ENG.jsx +9 -0
- package/dist/solid/flags/data/GB_NIR.jsx +9 -0
- package/dist/solid/flags/data/GB_SCT.jsx +9 -0
- package/dist/solid/flags/data/GB_WLS.jsx +9 -0
- package/dist/solid/flags/data/GD.jsx +9 -0
- package/dist/solid/flags/data/GE.jsx +9 -0
- package/dist/solid/flags/data/GF.jsx +9 -0
- package/dist/solid/flags/data/GG.jsx +9 -0
- package/dist/solid/flags/data/GH.jsx +9 -0
- package/dist/solid/flags/data/GI.jsx +9 -0
- package/dist/solid/flags/data/GL.jsx +9 -0
- package/dist/solid/flags/data/GM.jsx +9 -0
- package/dist/solid/flags/data/GN.jsx +9 -0
- package/dist/solid/flags/data/GP.jsx +9 -0
- package/dist/solid/flags/data/GQ.jsx +9 -0
- package/dist/solid/flags/data/GR.jsx +9 -0
- package/dist/solid/flags/data/GS.jsx +9 -0
- package/dist/solid/flags/data/GT.jsx +9 -0
- package/dist/solid/flags/data/GU.jsx +9 -0
- package/dist/solid/flags/data/GW.jsx +9 -0
- package/dist/solid/flags/data/GY.jsx +9 -0
- package/dist/solid/flags/data/HK.jsx +9 -0
- package/dist/solid/flags/data/HM.jsx +9 -0
- package/dist/solid/flags/data/HN.jsx +9 -0
- package/dist/solid/flags/data/HR.jsx +9 -0
- package/dist/solid/flags/data/HT.jsx +9 -0
- package/dist/solid/flags/data/HU.jsx +9 -0
- package/dist/solid/flags/data/IC.jsx +9 -0
- package/dist/solid/flags/data/ID.jsx +9 -0
- package/dist/solid/flags/data/IE.jsx +9 -0
- package/dist/solid/flags/data/IL.jsx +9 -0
- package/dist/solid/flags/data/IM.jsx +9 -0
- package/dist/solid/flags/data/IN.jsx +9 -0
- package/dist/solid/flags/data/IO.jsx +9 -0
- package/dist/solid/flags/data/IQ.jsx +9 -0
- package/dist/solid/flags/data/IR.jsx +9 -0
- package/dist/solid/flags/data/IS.jsx +9 -0
- package/dist/solid/flags/data/IT.jsx +9 -0
- package/dist/solid/flags/data/JE.jsx +9 -0
- package/dist/solid/flags/data/JM.jsx +9 -0
- package/dist/solid/flags/data/JO.jsx +9 -0
- package/dist/solid/flags/data/JP.jsx +9 -0
- package/dist/solid/flags/data/KE.jsx +9 -0
- package/dist/solid/flags/data/KG.jsx +9 -0
- package/dist/solid/flags/data/KH.jsx +9 -0
- package/dist/solid/flags/data/KI.jsx +9 -0
- package/dist/solid/flags/data/KM.jsx +9 -0
- package/dist/solid/flags/data/KN.jsx +9 -0
- package/dist/solid/flags/data/KP.jsx +9 -0
- package/dist/solid/flags/data/KR.jsx +10 -0
- package/dist/solid/flags/data/KW.jsx +9 -0
- package/dist/solid/flags/data/KY.jsx +9 -0
- package/dist/solid/flags/data/KZ.jsx +9 -0
- package/dist/solid/flags/data/LA.jsx +9 -0
- package/dist/solid/flags/data/LB.jsx +9 -0
- package/dist/solid/flags/data/LC.jsx +9 -0
- package/dist/solid/flags/data/LI.jsx +9 -0
- package/dist/solid/flags/data/LK.jsx +9 -0
- package/dist/solid/flags/data/LR.jsx +9 -0
- package/dist/solid/flags/data/LS.jsx +9 -0
- package/dist/solid/flags/data/LT.jsx +9 -0
- package/dist/solid/flags/data/LU.jsx +9 -0
- package/dist/solid/flags/data/LV.jsx +9 -0
- package/dist/solid/flags/data/LY.jsx +9 -0
- package/dist/solid/flags/data/MA.jsx +9 -0
- package/dist/solid/flags/data/MC.jsx +9 -0
- package/dist/solid/flags/data/MD.jsx +9 -0
- package/dist/solid/flags/data/ME.jsx +9 -0
- package/dist/solid/flags/data/MF.jsx +9 -0
- package/dist/solid/flags/data/MG.jsx +9 -0
- package/dist/solid/flags/data/MH.jsx +9 -0
- package/dist/solid/flags/data/MK.jsx +9 -0
- package/dist/solid/flags/data/ML.jsx +9 -0
- package/dist/solid/flags/data/MM.jsx +9 -0
- package/dist/solid/flags/data/MN.jsx +9 -0
- package/dist/solid/flags/data/MO.jsx +9 -0
- package/dist/solid/flags/data/MP.jsx +9 -0
- package/dist/solid/flags/data/MQ.jsx +9 -0
- package/dist/solid/flags/data/MR.jsx +9 -0
- package/dist/solid/flags/data/MS.jsx +9 -0
- package/dist/solid/flags/data/MT.jsx +9 -0
- package/dist/solid/flags/data/MU.jsx +9 -0
- package/dist/solid/flags/data/MV.jsx +9 -0
- package/dist/solid/flags/data/MW.jsx +9 -0
- package/dist/solid/flags/data/MX.jsx +9 -0
- package/dist/solid/flags/data/MY.jsx +9 -0
- package/dist/solid/flags/data/MZ.jsx +9 -0
- package/dist/solid/flags/data/NA.jsx +9 -0
- package/dist/solid/flags/data/NC.jsx +9 -0
- package/dist/solid/flags/data/NE.jsx +9 -0
- package/dist/solid/flags/data/NF.jsx +9 -0
- package/dist/solid/flags/data/NG.jsx +9 -0
- package/dist/solid/flags/data/NI.jsx +9 -0
- package/dist/solid/flags/data/NL.jsx +9 -0
- package/dist/solid/flags/data/NO.jsx +9 -0
- package/dist/solid/flags/data/NP.jsx +9 -0
- package/dist/solid/flags/data/NR.jsx +9 -0
- package/dist/solid/flags/data/NU.jsx +9 -0
- package/dist/solid/flags/data/NZ.jsx +9 -0
- package/dist/solid/flags/data/OM.jsx +9 -0
- package/dist/solid/flags/data/PA.jsx +9 -0
- package/dist/solid/flags/data/PE.jsx +9 -0
- package/dist/solid/flags/data/PF.jsx +9 -0
- package/dist/solid/flags/data/PG.jsx +9 -0
- package/dist/solid/flags/data/PH.jsx +9 -0
- package/dist/solid/flags/data/PK.jsx +9 -0
- package/dist/solid/flags/data/PL.jsx +9 -0
- package/dist/solid/flags/data/PM.jsx +9 -0
- package/dist/solid/flags/data/PN.jsx +9 -0
- package/dist/solid/flags/data/PR.jsx +9 -0
- package/dist/solid/flags/data/PS.jsx +9 -0
- package/dist/solid/flags/data/PT.jsx +9 -0
- package/dist/solid/flags/data/PW.jsx +9 -0
- package/dist/solid/flags/data/PY.jsx +9 -0
- package/dist/solid/flags/data/QA.jsx +9 -0
- package/dist/solid/flags/data/RE.jsx +9 -0
- package/dist/solid/flags/data/RO.jsx +9 -0
- package/dist/solid/flags/data/RS.jsx +9 -0
- package/dist/solid/flags/data/RU.jsx +9 -0
- package/dist/solid/flags/data/RW.jsx +9 -0
- package/dist/solid/flags/data/SA.jsx +9 -0
- package/dist/solid/flags/data/SB.jsx +9 -0
- package/dist/solid/flags/data/SC.jsx +9 -0
- package/dist/solid/flags/data/SD.jsx +9 -0
- package/dist/solid/flags/data/SE.jsx +9 -0
- package/dist/solid/flags/data/SG.jsx +9 -0
- package/dist/solid/flags/data/SH.jsx +9 -0
- package/dist/solid/flags/data/SI.jsx +9 -0
- package/dist/solid/flags/data/SJ.jsx +9 -0
- package/dist/solid/flags/data/SK.jsx +9 -0
- package/dist/solid/flags/data/SL.jsx +9 -0
- package/dist/solid/flags/data/SM.jsx +9 -0
- package/dist/solid/flags/data/SN.jsx +9 -0
- package/dist/solid/flags/data/SO.jsx +9 -0
- package/dist/solid/flags/data/SR.jsx +9 -0
- package/dist/solid/flags/data/SS.jsx +9 -0
- package/dist/solid/flags/data/ST.jsx +9 -0
- package/dist/solid/flags/data/SV.jsx +9 -0
- package/dist/solid/flags/data/SX.jsx +9 -0
- package/dist/solid/flags/data/SY.jsx +9 -0
- package/dist/solid/flags/data/SZ.jsx +9 -0
- package/dist/solid/flags/data/TA.jsx +9 -0
- package/dist/solid/flags/data/TC.jsx +9 -0
- package/dist/solid/flags/data/TD.jsx +9 -0
- package/dist/solid/flags/data/TF.jsx +9 -0
- package/dist/solid/flags/data/TG.jsx +9 -0
- package/dist/solid/flags/data/TH.jsx +9 -0
- package/dist/solid/flags/data/TJ.jsx +9 -0
- package/dist/solid/flags/data/TK.jsx +9 -0
- package/dist/solid/flags/data/TL.jsx +9 -0
- package/dist/solid/flags/data/TM.jsx +9 -0
- package/dist/solid/flags/data/TN.jsx +9 -0
- package/dist/solid/flags/data/TO.jsx +9 -0
- package/dist/solid/flags/data/TR.jsx +9 -0
- package/dist/solid/flags/data/TT.jsx +9 -0
- package/dist/solid/flags/data/TV.jsx +9 -0
- package/dist/solid/flags/data/TW.jsx +9 -0
- package/dist/solid/flags/data/TZ.jsx +9 -0
- package/dist/solid/flags/data/UA.jsx +9 -0
- package/dist/solid/flags/data/UG.jsx +9 -0
- package/dist/solid/flags/data/UM.jsx +9 -0
- package/dist/solid/flags/data/US.jsx +9 -0
- package/dist/solid/flags/data/UY.jsx +9 -0
- package/dist/solid/flags/data/UZ.jsx +9 -0
- package/dist/solid/flags/data/VA.jsx +9 -0
- package/dist/solid/flags/data/VC.jsx +9 -0
- package/dist/solid/flags/data/VE.jsx +9 -0
- package/dist/solid/flags/data/VG.jsx +9 -0
- package/dist/solid/flags/data/VI.jsx +9 -0
- package/dist/solid/flags/data/VN.jsx +9 -0
- package/dist/solid/flags/data/VU.jsx +9 -0
- package/dist/solid/flags/data/WF.jsx +9 -0
- package/dist/solid/flags/data/WS.jsx +9 -0
- package/dist/solid/flags/data/XK.jsx +9 -0
- package/dist/solid/flags/data/YE.jsx +9 -0
- package/dist/solid/flags/data/YT.jsx +9 -0
- package/dist/solid/flags/data/ZA.jsx +9 -0
- package/dist/solid/flags/data/ZM.jsx +9 -0
- package/dist/solid/flags/data/ZW.jsx +9 -0
- package/dist/solid/flags/flags.gen.jsx +532 -0
- package/dist/solid/flags/index.jsx +264 -0
- package/dist/solid/floating-panel/floating-panel.jsx +647 -0
- package/dist/solid/floating-panel/geometry.jsx +87 -0
- package/dist/solid/floating-panel/index.jsx +1 -0
- package/dist/solid/form/form.jsx +132 -0
- package/dist/solid/form/index.jsx +1 -0
- package/dist/solid/gauge/gauge.jsx +256 -0
- package/dist/solid/gauge/gauge.styles.jsx +144 -0
- package/dist/solid/gauge/index.jsx +1 -0
- package/dist/solid/gauge/scale.jsx +143 -0
- package/dist/solid/gif-browser/gif-browser.jsx +654 -0
- package/dist/solid/gif-browser/index.jsx +3 -0
- package/dist/solid/gif-browser/klipy.jsx +93 -0
- package/dist/solid/gif-browser/machine.jsx +123 -0
- package/dist/solid/gif-browser/masonry.jsx +24 -0
- package/dist/solid/gif-browser/types.jsx +0 -0
- package/dist/solid/highlight/highlight.jsx +31 -0
- package/dist/solid/highlight/index.jsx +3 -0
- package/dist/solid/highlight/ranges.jsx +211 -0
- package/dist/solid/hover-card/hover-card.jsx +48 -0
- package/dist/solid/hover-card/index.jsx +1 -0
- package/dist/solid/icon/icon.jsx +29 -0
- package/dist/solid/icon/index.jsx +1 -0
- package/dist/solid/icon-stack/icon-stack.jsx +85 -0
- package/dist/solid/icon-stack/index.jsx +1 -0
- package/dist/solid/icon-tile/icon-tile.jsx +128 -0
- package/dist/solid/icon-tile/icon-tile.styles.jsx +131 -0
- package/dist/solid/icon-tile/index.jsx +1 -0
- package/dist/solid/icons/data/Accessibility.jsx +14 -0
- package/dist/solid/icons/data/Activity.jsx +4 -0
- package/dist/solid/icons/data/AgendaView.jsx +4 -0
- package/dist/solid/icons/data/AiSpeech.jsx +4 -0
- package/dist/solid/icons/data/AiVoice.jsx +4 -0
- package/dist/solid/icons/data/AiVoiceGenerator.jsx +4 -0
- package/dist/solid/icons/data/AlarmClock.jsx +15 -0
- package/dist/solid/icons/data/AlarmClockCheck.jsx +15 -0
- package/dist/solid/icons/data/AlignCenter.jsx +8 -0
- package/dist/solid/icons/data/AlignCenterHorizontal.jsx +10 -0
- package/dist/solid/icons/data/AlignCenterVertical.jsx +10 -0
- package/dist/solid/icons/data/AlignEndHorizontal.jsx +20 -0
- package/dist/solid/icons/data/AlignEndVertical.jsx +20 -0
- package/dist/solid/icons/data/AlignHorizontalDistributeCenter.jsx +23 -0
- package/dist/solid/icons/data/AlignJustify.jsx +8 -0
- package/dist/solid/icons/data/AlignLeft.jsx +8 -0
- package/dist/solid/icons/data/AlignRight.jsx +8 -0
- package/dist/solid/icons/data/AlignStartHorizontal.jsx +20 -0
- package/dist/solid/icons/data/AlignStartVertical.jsx +20 -0
- package/dist/solid/icons/data/AlignVerticalDistributeCenter.jsx +23 -0
- package/dist/solid/icons/data/Archive.jsx +14 -0
- package/dist/solid/icons/data/ArchiveDuotone.jsx +7 -0
- package/dist/solid/icons/data/ArrowDown.jsx +4 -0
- package/dist/solid/icons/data/ArrowDownLeft.jsx +4 -0
- package/dist/solid/icons/data/ArrowDownRight.jsx +4 -0
- package/dist/solid/icons/data/ArrowDownToLine.jsx +8 -0
- package/dist/solid/icons/data/ArrowDownUp.jsx +9 -0
- package/dist/solid/icons/data/ArrowLeft.jsx +4 -0
- package/dist/solid/icons/data/ArrowLeftRight.jsx +9 -0
- package/dist/solid/icons/data/ArrowRight.jsx +4 -0
- package/dist/solid/icons/data/ArrowUp.jsx +4 -0
- package/dist/solid/icons/data/ArrowUpDown.jsx +9 -0
- package/dist/solid/icons/data/ArrowUpFromLine.jsx +8 -0
- package/dist/solid/icons/data/ArrowUpLeft.jsx +4 -0
- package/dist/solid/icons/data/ArrowUpRight.jsx +4 -0
- package/dist/solid/icons/data/AssistantControl.jsx +12 -0
- package/dist/solid/icons/data/Asterisk.jsx +8 -0
- package/dist/solid/icons/data/AtSign.jsx +8 -0
- package/dist/solid/icons/data/AudioLines.jsx +11 -0
- package/dist/solid/icons/data/AudioWaveform.jsx +4 -0
- package/dist/solid/icons/data/Award.jsx +8 -0
- package/dist/solid/icons/data/BackgroundBlur.jsx +8 -0
- package/dist/solid/icons/data/BadgeCheck.jsx +4 -0
- package/dist/solid/icons/data/Ban.jsx +8 -0
- package/dist/solid/icons/data/Banknote.jsx +18 -0
- package/dist/solid/icons/data/BarChart3.jsx +9 -0
- package/dist/solid/icons/data/Battery.jsx +10 -0
- package/dist/solid/icons/data/BatteryCharging.jsx +9 -0
- package/dist/solid/icons/data/BatteryLow.jsx +14 -0
- package/dist/solid/icons/data/Bell.jsx +4 -0
- package/dist/solid/icons/data/BellDot.jsx +12 -0
- package/dist/solid/icons/data/BellOff.jsx +9 -0
- package/dist/solid/icons/data/BellRing.jsx +9 -0
- package/dist/solid/icons/data/Blocks.jsx +10 -0
- package/dist/solid/icons/data/Bluetooth.jsx +4 -0
- package/dist/solid/icons/data/Bold.jsx +4 -0
- package/dist/solid/icons/data/Book.jsx +4 -0
- package/dist/solid/icons/data/BookOpen.jsx +4 -0
- package/dist/solid/icons/data/Bookmark.jsx +4 -0
- package/dist/solid/icons/data/BookmarkCheck.jsx +4 -0
- package/dist/solid/icons/data/BookmarkPlus.jsx +8 -0
- package/dist/solid/icons/data/BookmarkSolid.jsx +8 -0
- package/dist/solid/icons/data/Bot.jsx +17 -0
- package/dist/solid/icons/data/BotMessageSquare.jsx +11 -0
- package/dist/solid/icons/data/Braces.jsx +4 -0
- package/dist/solid/icons/data/Brackets.jsx +4 -0
- package/dist/solid/icons/data/Brain.jsx +13 -0
- package/dist/solid/icons/data/BrainCircuit.jsx +37 -0
- package/dist/solid/icons/data/BringToFront.jsx +14 -0
- package/dist/solid/icons/data/Bug.jsx +16 -0
- package/dist/solid/icons/data/Building.jsx +22 -0
- package/dist/solid/icons/data/Building2.jsx +10 -0
- package/dist/solid/icons/data/Calculator.jsx +31 -0
- package/dist/solid/icons/data/Calendar.jsx +15 -0
- package/dist/solid/icons/data/CalendarCheck.jsx +16 -0
- package/dist/solid/icons/data/CalendarClock.jsx +15 -0
- package/dist/solid/icons/data/CalendarDays.jsx +21 -0
- package/dist/solid/icons/data/CalendarPlus.jsx +11 -0
- package/dist/solid/icons/data/CalendarRange.jsx +19 -0
- package/dist/solid/icons/data/CalendarX.jsx +17 -0
- package/dist/solid/icons/data/CalendarX2.jsx +11 -0
- package/dist/solid/icons/data/CallEndControl.jsx +9 -0
- package/dist/solid/icons/data/Camera.jsx +8 -0
- package/dist/solid/icons/data/Captions.jsx +11 -0
- package/dist/solid/icons/data/Car.jsx +17 -0
- package/dist/solid/icons/data/Cast.jsx +14 -0
- package/dist/solid/icons/data/ChartArea.jsx +4 -0
- package/dist/solid/icons/data/ChartBar.jsx +9 -0
- package/dist/solid/icons/data/ChartLine.jsx +4 -0
- package/dist/solid/icons/data/ChartPie.jsx +4 -0
- package/dist/solid/icons/data/ChatControl.jsx +8 -0
- package/dist/solid/icons/data/Check.jsx +4 -0
- package/dist/solid/icons/data/ChevronDown.jsx +4 -0
- package/dist/solid/icons/data/ChevronLeft.jsx +4 -0
- package/dist/solid/icons/data/ChevronRight.jsx +4 -0
- package/dist/solid/icons/data/ChevronUp.jsx +4 -0
- package/dist/solid/icons/data/ChevronsDown.jsx +4 -0
- package/dist/solid/icons/data/ChevronsLeft.jsx +4 -0
- package/dist/solid/icons/data/ChevronsLeftRight.jsx +4 -0
- package/dist/solid/icons/data/ChevronsRight.jsx +4 -0
- package/dist/solid/icons/data/ChevronsUp.jsx +4 -0
- package/dist/solid/icons/data/ChevronsUpDown.jsx +4 -0
- package/dist/solid/icons/data/Circle.jsx +8 -0
- package/dist/solid/icons/data/CircleAlert.jsx +22 -0
- package/dist/solid/icons/data/CircleCheck.jsx +8 -0
- package/dist/solid/icons/data/CircleCheckBig.jsx +4 -0
- package/dist/solid/icons/data/CircleDashed.jsx +13 -0
- package/dist/solid/icons/data/CircleDollarSign.jsx +12 -0
- package/dist/solid/icons/data/CircleDot.jsx +12 -0
- package/dist/solid/icons/data/CircleDotDashed.jsx +18 -0
- package/dist/solid/icons/data/CircleHelp.jsx +12 -0
- package/dist/solid/icons/data/CircleMinus.jsx +8 -0
- package/dist/solid/icons/data/CirclePause.jsx +22 -0
- package/dist/solid/icons/data/CirclePlay.jsx +8 -0
- package/dist/solid/icons/data/CirclePlus.jsx +12 -0
- package/dist/solid/icons/data/CircleSlash.jsx +13 -0
- package/dist/solid/icons/data/CircleSmall.jsx +8 -0
- package/dist/solid/icons/data/CircleStop.jsx +14 -0
- package/dist/solid/icons/data/CircleX.jsx +12 -0
- package/dist/solid/icons/data/Clipboard.jsx +11 -0
- package/dist/solid/icons/data/ClipboardCheck.jsx +15 -0
- package/dist/solid/icons/data/ClipboardCopy.jsx +17 -0
- package/dist/solid/icons/data/ClipboardList.jsx +18 -0
- package/dist/solid/icons/data/ClipboardPaste.jsx +16 -0
- package/dist/solid/icons/data/Clock.jsx +8 -0
- package/dist/solid/icons/data/Cloud.jsx +4 -0
- package/dist/solid/icons/data/CloudOff.jsx +8 -0
- package/dist/solid/icons/data/CloudSun.jsx +11 -0
- package/dist/solid/icons/data/Code.jsx +4 -0
- package/dist/solid/icons/data/CodeXml.jsx +8 -0
- package/dist/solid/icons/data/Coffee.jsx +9 -0
- package/dist/solid/icons/data/Coins.jsx +13 -0
- package/dist/solid/icons/data/Columns2.jsx +10 -0
- package/dist/solid/icons/data/Columns3.jsx +14 -0
- package/dist/solid/icons/data/Compass.jsx +8 -0
- package/dist/solid/icons/data/Construction.jsx +19 -0
- package/dist/solid/icons/data/Contact.jsx +20 -0
- package/dist/solid/icons/data/Copy.jsx +11 -0
- package/dist/solid/icons/data/CopyPlus.jsx +26 -0
- package/dist/solid/icons/data/CornerDownLeft.jsx +4 -0
- package/dist/solid/icons/data/Cpu.jsx +31 -0
- package/dist/solid/icons/data/CreditCard.jsx +19 -0
- package/dist/solid/icons/data/CreditCardPlus.jsx +10 -0
- package/dist/solid/icons/data/Crop.jsx +4 -0
- package/dist/solid/icons/data/Crown.jsx +4 -0
- package/dist/solid/icons/data/Database.jsx +13 -0
- package/dist/solid/icons/data/DollarSign.jsx +4 -0
- package/dist/solid/icons/data/Dot.jsx +8 -0
- package/dist/solid/icons/data/Download.jsx +8 -0
- package/dist/solid/icons/data/Droplet.jsx +4 -0
- package/dist/solid/icons/data/Ear.jsx +4 -0
- package/dist/solid/icons/data/EarOff.jsx +15 -0
- package/dist/solid/icons/data/Earth.jsx +13 -0
- package/dist/solid/icons/data/Ellipsis.jsx +20 -0
- package/dist/solid/icons/data/EllipsisVertical.jsx +20 -0
- package/dist/solid/icons/data/Eraser.jsx +4 -0
- package/dist/solid/icons/data/Expand.jsx +13 -0
- package/dist/solid/icons/data/ExternalLink.jsx +8 -0
- package/dist/solid/icons/data/Eye.jsx +8 -0
- package/dist/solid/icons/data/EyeClosed.jsx +10 -0
- package/dist/solid/icons/data/EyeOff.jsx +9 -0
- package/dist/solid/icons/data/FastForward.jsx +4 -0
- package/dist/solid/icons/data/File.jsx +4 -0
- package/dist/solid/icons/data/FileAi.jsx +4 -0
- package/dist/solid/icons/data/FileArchive.jsx +15 -0
- package/dist/solid/icons/data/FileAudio.jsx +8 -0
- package/dist/solid/icons/data/FileCheck.jsx +8 -0
- package/dist/solid/icons/data/FileCode.jsx +9 -0
- package/dist/solid/icons/data/FileDiff.jsx +9 -0
- package/dist/solid/icons/data/FileImage.jsx +13 -0
- package/dist/solid/icons/data/FileMinus.jsx +8 -0
- package/dist/solid/icons/data/FilePen.jsx +8 -0
- package/dist/solid/icons/data/FilePlus.jsx +9 -0
- package/dist/solid/icons/data/FileQuestion.jsx +8 -0
- package/dist/solid/icons/data/FileSpreadsheet.jsx +11 -0
- package/dist/solid/icons/data/FileText.jsx +10 -0
- package/dist/solid/icons/data/FileVideo.jsx +8 -0
- package/dist/solid/icons/data/Files.jsx +8 -0
- package/dist/solid/icons/data/Film.jsx +19 -0
- package/dist/solid/icons/data/FilterX.jsx +8 -0
- package/dist/solid/icons/data/Fingerprint.jsx +14 -0
- package/dist/solid/icons/data/Flag.jsx +4 -0
- package/dist/solid/icons/data/FlagOff.jsx +9 -0
- package/dist/solid/icons/data/Flame.jsx +4 -0
- package/dist/solid/icons/data/FlipHorizontal2.jsx +11 -0
- package/dist/solid/icons/data/Focus.jsx +14 -0
- package/dist/solid/icons/data/Folder.jsx +4 -0
- package/dist/solid/icons/data/FolderClosed.jsx +4 -0
- package/dist/solid/icons/data/FolderInput.jsx +8 -0
- package/dist/solid/icons/data/FolderOpen.jsx +4 -0
- package/dist/solid/icons/data/FolderPlus.jsx +8 -0
- package/dist/solid/icons/data/FolderSearch.jsx +12 -0
- package/dist/solid/icons/data/FolderTree.jsx +9 -0
- package/dist/solid/icons/data/Forward.jsx +4 -0
- package/dist/solid/icons/data/Fullscreen.jsx +16 -0
- package/dist/solid/icons/data/GalleryThumbnails.jsx +16 -0
- package/dist/solid/icons/data/Gauge.jsx +4 -0
- package/dist/solid/icons/data/Gift.jsx +15 -0
- package/dist/solid/icons/data/GitBranch.jsx +16 -0
- package/dist/solid/icons/data/GitCommitHorizontal.jsx +22 -0
- package/dist/solid/icons/data/GitMerge.jsx +16 -0
- package/dist/solid/icons/data/GitPullRequest.jsx +22 -0
- package/dist/solid/icons/data/Globe.jsx +12 -0
- package/dist/solid/icons/data/GraduationCap.jsx +8 -0
- package/dist/solid/icons/data/Grid3x3.jsx +16 -0
- package/dist/solid/icons/data/Grip.jsx +50 -0
- package/dist/solid/icons/data/GripHorizontal.jsx +35 -0
- package/dist/solid/icons/data/GripVertical.jsx +35 -0
- package/dist/solid/icons/data/Group.jsx +23 -0
- package/dist/solid/icons/data/Hand.jsx +9 -0
- package/dist/solid/icons/data/HardDrive.jsx +9 -0
- package/dist/solid/icons/data/Hash.jsx +29 -0
- package/dist/solid/icons/data/Hd.jsx +4 -0
- package/dist/solid/icons/data/Heading1.jsx +9 -0
- package/dist/solid/icons/data/Heading2.jsx +9 -0
- package/dist/solid/icons/data/Heading3.jsx +10 -0
- package/dist/solid/icons/data/Headphones.jsx +4 -0
- package/dist/solid/icons/data/Heart.jsx +4 -0
- package/dist/solid/icons/data/HeartOff.jsx +8 -0
- package/dist/solid/icons/data/HeartPulse.jsx +4 -0
- package/dist/solid/icons/data/HeartSolid.jsx +8 -0
- package/dist/solid/icons/data/Heatmap.jsx +4 -0
- package/dist/solid/icons/data/History.jsx +8 -0
- package/dist/solid/icons/data/Hourglass.jsx +9 -0
- package/dist/solid/icons/data/House.jsx +4 -0
- package/dist/solid/icons/data/IdCard.jsx +20 -0
- package/dist/solid/icons/data/Image.jsx +19 -0
- package/dist/solid/icons/data/ImageOff.jsx +26 -0
- package/dist/solid/icons/data/ImagePlus.jsx +14 -0
- package/dist/solid/icons/data/Images.jsx +20 -0
- package/dist/solid/icons/data/Inbox.jsx +4 -0
- package/dist/solid/icons/data/IndentDecrease.jsx +9 -0
- package/dist/solid/icons/data/IndentIncrease.jsx +9 -0
- package/dist/solid/icons/data/Info.jsx +12 -0
- package/dist/solid/icons/data/Italic.jsx +23 -0
- package/dist/solid/icons/data/Kanban.jsx +8 -0
- package/dist/solid/icons/data/Key.jsx +12 -0
- package/dist/solid/icons/data/KeyRound.jsx +9 -0
- package/dist/solid/icons/data/Keyboard.jsx +20 -0
- package/dist/solid/icons/data/Landmark.jsx +11 -0
- package/dist/solid/icons/data/Languages.jsx +11 -0
- package/dist/solid/icons/data/Laptop.jsx +4 -0
- package/dist/solid/icons/data/Layers.jsx +8 -0
- package/dist/solid/icons/data/LayoutDashboard.jsx +33 -0
- package/dist/solid/icons/data/LayoutGrid.jsx +33 -0
- package/dist/solid/icons/data/LayoutList.jsx +23 -0
- package/dist/solid/icons/data/LayoutPanelLeft.jsx +26 -0
- package/dist/solid/icons/data/LayoutTemplate.jsx +26 -0
- package/dist/solid/icons/data/Leaf.jsx +4 -0
- package/dist/solid/icons/data/LifeBuoy.jsx +19 -0
- package/dist/solid/icons/data/Lightbulb.jsx +8 -0
- package/dist/solid/icons/data/Link.jsx +4 -0
- package/dist/solid/icons/data/Link2.jsx +13 -0
- package/dist/solid/icons/data/Link2Off.jsx +19 -0
- package/dist/solid/icons/data/List.jsx +11 -0
- package/dist/solid/icons/data/ListChecks.jsx +10 -0
- package/dist/solid/icons/data/ListFilter.jsx +8 -0
- package/dist/solid/icons/data/ListOrdered.jsx +11 -0
- package/dist/solid/icons/data/ListPlus.jsx +10 -0
- package/dist/solid/icons/data/ListTodo.jsx +16 -0
- package/dist/solid/icons/data/ListTree.jsx +10 -0
- package/dist/solid/icons/data/ListX.jsx +10 -0
- package/dist/solid/icons/data/Loader.jsx +13 -0
- package/dist/solid/icons/data/LoaderCircle.jsx +4 -0
- package/dist/solid/icons/data/LoaderPinwheel.jsx +13 -0
- package/dist/solid/icons/data/Lock.jsx +11 -0
- package/dist/solid/icons/data/LockKeyhole.jsx +18 -0
- package/dist/solid/icons/data/LockOpen.jsx +11 -0
- package/dist/solid/icons/data/LogIn.jsx +8 -0
- package/dist/solid/icons/data/LogOut.jsx +8 -0
- package/dist/solid/icons/data/Mail.jsx +10 -0
- package/dist/solid/icons/data/MailCheck.jsx +8 -0
- package/dist/solid/icons/data/MailOpen.jsx +4 -0
- package/dist/solid/icons/data/MailPlus.jsx +9 -0
- package/dist/solid/icons/data/MailQuestionMark.jsx +9 -0
- package/dist/solid/icons/data/MailWarning.jsx +9 -0
- package/dist/solid/icons/data/Map.jsx +8 -0
- package/dist/solid/icons/data/MapPin.jsx +8 -0
- package/dist/solid/icons/data/MapPinned.jsx +12 -0
- package/dist/solid/icons/data/Mars.jsx +12 -0
- package/dist/solid/icons/data/Maximize.jsx +9 -0
- package/dist/solid/icons/data/Maximize2.jsx +9 -0
- package/dist/solid/icons/data/Megaphone.jsx +8 -0
- package/dist/solid/icons/data/Menu.jsx +8 -0
- package/dist/solid/icons/data/MessageCircle.jsx +4 -0
- package/dist/solid/icons/data/MessageCircleMore.jsx +9 -0
- package/dist/solid/icons/data/MessageSquare.jsx +4 -0
- package/dist/solid/icons/data/MessageSquarePlus.jsx +8 -0
- package/dist/solid/icons/data/MessageSquareText.jsx +9 -0
- package/dist/solid/icons/data/MessagesSquare.jsx +4 -0
- package/dist/solid/icons/data/Mic.jsx +14 -0
- package/dist/solid/icons/data/MicControl.jsx +13 -0
- package/dist/solid/icons/data/MicOff.jsx +11 -0
- package/dist/solid/icons/data/MicOffControl.jsx +8 -0
- package/dist/solid/icons/data/Minimize.jsx +9 -0
- package/dist/solid/icons/data/Minimize2.jsx +9 -0
- package/dist/solid/icons/data/Minus.jsx +4 -0
- package/dist/solid/icons/data/Monitor.jsx +24 -0
- package/dist/solid/icons/data/MonitorUp.jsx +16 -0
- package/dist/solid/icons/data/Moon.jsx +4 -0
- package/dist/solid/icons/data/MoreControl.jsx +8 -0
- package/dist/solid/icons/data/Mouse.jsx +10 -0
- package/dist/solid/icons/data/MousePointer2.jsx +4 -0
- package/dist/solid/icons/data/MousePointerClick.jsx +10 -0
- package/dist/solid/icons/data/Move.jsx +11 -0
- package/dist/solid/icons/data/MoveHorizontal.jsx +8 -0
- package/dist/solid/icons/data/Music.jsx +16 -0
- package/dist/solid/icons/data/Navigation.jsx +4 -0
- package/dist/solid/icons/data/Network.jsx +28 -0
- package/dist/solid/icons/data/OctagonAlert.jsx +8 -0
- package/dist/solid/icons/data/Package.jsx +9 -0
- package/dist/solid/icons/data/Palette.jsx +30 -0
- package/dist/solid/icons/data/PanelLeft.jsx +10 -0
- package/dist/solid/icons/data/PanelLeftClose.jsx +14 -0
- package/dist/solid/icons/data/PanelRight.jsx +10 -0
- package/dist/solid/icons/data/PanelRightOpen.jsx +14 -0
- package/dist/solid/icons/data/Paperclip.jsx +4 -0
- package/dist/solid/icons/data/PartyPopper.jsx +14 -0
- package/dist/solid/icons/data/Pause.jsx +16 -0
- package/dist/solid/icons/data/PawPrint.jsx +21 -0
- package/dist/solid/icons/data/Pen.jsx +4 -0
- package/dist/solid/icons/data/PenLine.jsx +4 -0
- package/dist/solid/icons/data/Pencil.jsx +4 -0
- package/dist/solid/icons/data/PeopleControl.jsx +20 -0
- package/dist/solid/icons/data/Percent.jsx +21 -0
- package/dist/solid/icons/data/Phone.jsx +4 -0
- package/dist/solid/icons/data/PhoneCall.jsx +8 -0
- package/dist/solid/icons/data/PhoneOff.jsx +8 -0
- package/dist/solid/icons/data/PictureInPicture.jsx +16 -0
- package/dist/solid/icons/data/Pilcrow.jsx +8 -0
- package/dist/solid/icons/data/Pin.jsx +4 -0
- package/dist/solid/icons/data/PinOff.jsx +9 -0
- package/dist/solid/icons/data/Pipette.jsx +8 -0
- package/dist/solid/icons/data/Plane.jsx +4 -0
- package/dist/solid/icons/data/Play.jsx +4 -0
- package/dist/solid/icons/data/Plug.jsx +9 -0
- package/dist/solid/icons/data/Plus.jsx +4 -0
- package/dist/solid/icons/data/Power.jsx +4 -0
- package/dist/solid/icons/data/Presence.jsx +4 -0
- package/dist/solid/icons/data/Printer.jsx +14 -0
- package/dist/solid/icons/data/QrCode.jsx +35 -0
- package/dist/solid/icons/data/Quote.jsx +4 -0
- package/dist/solid/icons/data/Radio.jsx +14 -0
- package/dist/solid/icons/data/RaiseHand.jsx +4 -0
- package/dist/solid/icons/data/ReactionsControl.jsx +12 -0
- package/dist/solid/icons/data/Receipt.jsx +8 -0
- package/dist/solid/icons/data/Redo.jsx +4 -0
- package/dist/solid/icons/data/Redo2.jsx +4 -0
- package/dist/solid/icons/data/RefreshCcw.jsx +9 -0
- package/dist/solid/icons/data/RefreshCw.jsx +9 -0
- package/dist/solid/icons/data/Regex.jsx +9 -0
- package/dist/solid/icons/data/RemoveFormatting.jsx +10 -0
- package/dist/solid/icons/data/Repeat.jsx +9 -0
- package/dist/solid/icons/data/Reply.jsx +4 -0
- package/dist/solid/icons/data/ReplyAll.jsx +8 -0
- package/dist/solid/icons/data/Rewind.jsx +4 -0
- package/dist/solid/icons/data/Rocket.jsx +9 -0
- package/dist/solid/icons/data/RotateCcw.jsx +4 -0
- package/dist/solid/icons/data/RotateCw.jsx +4 -0
- package/dist/solid/icons/data/Rows3.jsx +14 -0
- package/dist/solid/icons/data/Rss.jsx +12 -0
- package/dist/solid/icons/data/Save.jsx +8 -0
- package/dist/solid/icons/data/Scan.jsx +9 -0
- package/dist/solid/icons/data/ScanEye.jsx +15 -0
- package/dist/solid/icons/data/ScanFace.jsx +12 -0
- package/dist/solid/icons/data/ScanLine.jsx +10 -0
- package/dist/solid/icons/data/Scissors.jsx +18 -0
- package/dist/solid/icons/data/ScreenShareControl.jsx +9 -0
- package/dist/solid/icons/data/ScreenShareOff.jsx +10 -0
- package/dist/solid/icons/data/ScrollText.jsx +9 -0
- package/dist/solid/icons/data/Search.jsx +8 -0
- package/dist/solid/icons/data/SearchX.jsx +13 -0
- package/dist/solid/icons/data/SelectField.jsx +10 -0
- package/dist/solid/icons/data/Send.jsx +4 -0
- package/dist/solid/icons/data/SendHorizontal.jsx +4 -0
- package/dist/solid/icons/data/SendToBack.jsx +21 -0
- package/dist/solid/icons/data/Server.jsx +33 -0
- package/dist/solid/icons/data/Settings.jsx +8 -0
- package/dist/solid/icons/data/Settings2.jsx +17 -0
- package/dist/solid/icons/data/SettingsControl.jsx +8 -0
- package/dist/solid/icons/data/Share.jsx +8 -0
- package/dist/solid/icons/data/Share2.jsx +32 -0
- package/dist/solid/icons/data/Shield.jsx +4 -0
- package/dist/solid/icons/data/ShieldAlert.jsx +8 -0
- package/dist/solid/icons/data/ShieldBan.jsx +4 -0
- package/dist/solid/icons/data/ShieldCheck.jsx +4 -0
- package/dist/solid/icons/data/ShieldOff.jsx +8 -0
- package/dist/solid/icons/data/ShieldPlus.jsx +8 -0
- package/dist/solid/icons/data/ShieldQuestion.jsx +8 -0
- package/dist/solid/icons/data/ShoppingBag.jsx +8 -0
- package/dist/solid/icons/data/ShoppingCart.jsx +17 -0
- package/dist/solid/icons/data/Shrink.jsx +9 -0
- package/dist/solid/icons/data/Shuffle.jsx +10 -0
- package/dist/solid/icons/data/Signal.jsx +10 -0
- package/dist/solid/icons/data/SignalHigh.jsx +9 -0
- package/dist/solid/icons/data/SignalLow.jsx +4 -0
- package/dist/solid/icons/data/SignalMedium.jsx +8 -0
- package/dist/solid/icons/data/SkipBack.jsx +4 -0
- package/dist/solid/icons/data/SkipForward.jsx +4 -0
- package/dist/solid/icons/data/SlidersHorizontal.jsx +14 -0
- package/dist/solid/icons/data/Smartphone.jsx +11 -0
- package/dist/solid/icons/data/Smile.jsx +13 -0
- package/dist/solid/icons/data/SmilePlus.jsx +11 -0
- package/dist/solid/icons/data/Snowflake.jsx +17 -0
- package/dist/solid/icons/data/Sparkle.jsx +4 -0
- package/dist/solid/icons/data/Sparkles.jsx +13 -0
- package/dist/solid/icons/data/Speaker.jsx +19 -0
- package/dist/solid/icons/data/SpeakerView.jsx +33 -0
- package/dist/solid/icons/data/Spotlight.jsx +4 -0
- package/dist/solid/icons/data/Square.jsx +10 -0
- package/dist/solid/icons/data/SquareArrowDown.jsx +14 -0
- package/dist/solid/icons/data/SquareArrowUp.jsx +14 -0
- package/dist/solid/icons/data/SquareCheck.jsx +10 -0
- package/dist/solid/icons/data/SquareCode.jsx +14 -0
- package/dist/solid/icons/data/SquareDashed.jsx +17 -0
- package/dist/solid/icons/data/SquareKanban.jsx +15 -0
- package/dist/solid/icons/data/SquarePen.jsx +4 -0
- package/dist/solid/icons/data/SquarePlus.jsx +14 -0
- package/dist/solid/icons/data/SquareTerminal.jsx +15 -0
- package/dist/solid/icons/data/SquareX.jsx +15 -0
- package/dist/solid/icons/data/Star.jsx +4 -0
- package/dist/solid/icons/data/StarOff.jsx +8 -0
- package/dist/solid/icons/data/StickyNote.jsx +4 -0
- package/dist/solid/icons/data/Store.jsx +8 -0
- package/dist/solid/icons/data/Strikethrough.jsx +13 -0
- package/dist/solid/icons/data/Sun.jsx +18 -0
- package/dist/solid/icons/data/SunMoon.jsx +10 -0
- package/dist/solid/icons/data/SwitchCamera.jsx +14 -0
- package/dist/solid/icons/data/Table.jsx +15 -0
- package/dist/solid/icons/data/Table2.jsx +14 -0
- package/dist/solid/icons/data/Tablet.jsx +16 -0
- package/dist/solid/icons/data/Tag.jsx +9 -0
- package/dist/solid/icons/data/Tags.jsx +13 -0
- package/dist/solid/icons/data/Target.jsx +20 -0
- package/dist/solid/icons/data/Terminal.jsx +4 -0
- package/dist/solid/icons/data/TextCursor.jsx +8 -0
- package/dist/solid/icons/data/TextSmallcaps.jsx +4 -0
- package/dist/solid/icons/data/Thermometer.jsx +4 -0
- package/dist/solid/icons/data/ThumbsDown.jsx +4 -0
- package/dist/solid/icons/data/ThumbsUp.jsx +4 -0
- package/dist/solid/icons/data/TimeZone.jsx +4 -0
- package/dist/solid/icons/data/Timer.jsx +22 -0
- package/dist/solid/icons/data/TimerOff.jsx +10 -0
- package/dist/solid/icons/data/Trash.jsx +10 -0
- package/dist/solid/icons/data/TrendingDown.jsx +4 -0
- package/dist/solid/icons/data/TrendingUp.jsx +4 -0
- package/dist/solid/icons/data/TriangleAlert.jsx +8 -0
- package/dist/solid/icons/data/Trophy.jsx +11 -0
- package/dist/solid/icons/data/Truck.jsx +18 -0
- package/dist/solid/icons/data/Tv.jsx +10 -0
- package/dist/solid/icons/data/Type.jsx +8 -0
- package/dist/solid/icons/data/Underline.jsx +9 -0
- package/dist/solid/icons/data/Undo.jsx +4 -0
- package/dist/solid/icons/data/Undo2.jsx +4 -0
- package/dist/solid/icons/data/Ungroup.jsx +16 -0
- package/dist/solid/icons/data/Unlink.jsx +31 -0
- package/dist/solid/icons/data/Unlink2.jsx +4 -0
- package/dist/solid/icons/data/Upload.jsx +8 -0
- package/dist/solid/icons/data/User.jsx +8 -0
- package/dist/solid/icons/data/UserCheck.jsx +12 -0
- package/dist/solid/icons/data/UserCog.jsx +24 -0
- package/dist/solid/icons/data/UserMinus.jsx +17 -0
- package/dist/solid/icons/data/UserPen.jsx +12 -0
- package/dist/solid/icons/data/UserPlus.jsx +23 -0
- package/dist/solid/icons/data/UserRound.jsx +8 -0
- package/dist/solid/icons/data/UserRoundPlus.jsx +13 -0
- package/dist/solid/icons/data/UserX.jsx +23 -0
- package/dist/solid/icons/data/Users.jsx +13 -0
- package/dist/solid/icons/data/UsersRound.jsx +12 -0
- package/dist/solid/icons/data/Venus.jsx +12 -0
- package/dist/solid/icons/data/VenusAndMars.jsx +14 -0
- package/dist/solid/icons/data/Video.jsx +10 -0
- package/dist/solid/icons/data/VideoControl.jsx +15 -0
- package/dist/solid/icons/data/VideoDisabledControl.jsx +17 -0
- package/dist/solid/icons/data/VideoOff.jsx +8 -0
- package/dist/solid/icons/data/VideoOffControl.jsx +13 -0
- package/dist/solid/icons/data/VoiceIsolation.jsx +4 -0
- package/dist/solid/icons/data/Volume.jsx +4 -0
- package/dist/solid/icons/data/Volume1.jsx +4 -0
- package/dist/solid/icons/data/Volume2.jsx +8 -0
- package/dist/solid/icons/data/VolumeOff.jsx +10 -0
- package/dist/solid/icons/data/VolumeX.jsx +8 -0
- package/dist/solid/icons/data/Wallet.jsx +4 -0
- package/dist/solid/icons/data/Wand.jsx +14 -0
- package/dist/solid/icons/data/WandSparkles.jsx +13 -0
- package/dist/solid/icons/data/Webhook.jsx +8 -0
- package/dist/solid/icons/data/Wifi.jsx +9 -0
- package/dist/solid/icons/data/WifiOff.jsx +12 -0
- package/dist/solid/icons/data/Wind.jsx +8 -0
- package/dist/solid/icons/data/WrapText.jsx +9 -0
- package/dist/solid/icons/data/Wrench.jsx +4 -0
- package/dist/solid/icons/data/X.jsx +4 -0
- package/dist/solid/icons/data/Zap.jsx +4 -0
- package/dist/solid/icons/data/ZoomIn.jsx +28 -0
- package/dist/solid/icons/data/ZoomOut.jsx +22 -0
- package/dist/solid/icons/icons.gen.jsx +496 -0
- package/dist/solid/icons/index.jsx +496 -0
- package/dist/solid/image-cropper/image-cropper.jsx +205 -0
- package/dist/solid/image-cropper/index.jsx +1 -0
- package/dist/solid/image-lightbox/carousel-stage.jsx +72 -0
- package/dist/solid/image-lightbox/image-lightbox.jsx +400 -0
- package/dist/solid/image-lightbox/index.jsx +1 -0
- package/dist/solid/image-lightbox/stage.jsx +149 -0
- package/dist/solid/index.jsx +228 -0
- package/dist/solid/internal/arc.jsx +28 -0
- package/dist/solid/internal/chip.styles.jsx +47 -0
- package/dist/solid/internal/class.jsx +45 -0
- package/dist/solid/internal/composer/box.styles.jsx +5 -0
- package/dist/solid/internal/composer/composer-box.jsx +480 -0
- package/dist/solid/internal/composer/composer-engine.jsx +406 -0
- package/dist/solid/internal/composer/composer-format.jsx +352 -0
- package/dist/solid/internal/composer/composer.jsx +243 -0
- package/dist/solid/internal/composer/content.styles.jsx +12 -0
- package/dist/solid/internal/composer/format.styles.jsx +23 -0
- package/dist/solid/internal/composer/frame.styles.jsx +23 -0
- package/dist/solid/internal/cue.jsx +29 -0
- package/dist/solid/internal/dialog-context.jsx +8 -0
- package/dist/solid/internal/disclosure.styles.jsx +38 -0
- package/dist/solid/internal/drag-motion.jsx +75 -0
- package/dist/solid/internal/drag-touch.jsx +109 -0
- package/dist/solid/internal/drag.styles.jsx +34 -0
- package/dist/solid/internal/element.jsx +22 -0
- package/dist/solid/internal/floating.styles.jsx +89 -0
- package/dist/solid/internal/form-context.jsx +14 -0
- package/dist/solid/internal/gauge.styles.jsx +93 -0
- package/dist/solid/internal/handler.jsx +11 -0
- package/dist/solid/internal/icon-part.jsx +17 -0
- package/dist/solid/internal/icons.jsx +32 -0
- package/dist/solid/internal/layers.jsx +16 -0
- package/dist/solid/internal/list.styles.jsx +250 -0
- package/dist/solid/internal/locale.jsx +66 -0
- package/dist/solid/internal/mask.jsx +37 -0
- package/dist/solid/internal/overflow/fit.jsx +73 -0
- package/dist/solid/internal/overflow/items.jsx +90 -0
- package/dist/solid/internal/overflow/observe.jsx +136 -0
- package/dist/solid/internal/overflow/row.jsx +24 -0
- package/dist/solid/internal/part.jsx +32 -0
- package/dist/solid/internal/press-focus.jsx +29 -0
- package/dist/solid/internal/ref.jsx +24 -0
- package/dist/solid/internal/rrule.jsx +188 -0
- package/dist/solid/internal/scroll-overflow.jsx +88 -0
- package/dist/solid/internal/segmented-input.styles.jsx +45 -0
- package/dist/solid/internal/sheet.styles.jsx +150 -0
- package/dist/solid/internal/shimmer.styles.jsx +15 -0
- package/dist/solid/internal/spring.jsx +63 -0
- package/dist/solid/internal/status-icons.jsx +8 -0
- package/dist/solid/internal/styles.jsx +45 -0
- package/dist/solid/internal/text-field.styles.jsx +101 -0
- package/dist/solid/internal/threshold.jsx +22 -0
- package/dist/solid/internal/time.jsx +8 -0
- package/dist/solid/internal/zoned.jsx +69 -0
- package/dist/solid/item/index.jsx +1 -0
- package/dist/solid/item/item.jsx +211 -0
- package/dist/solid/json-view/index.jsx +3 -0
- package/dist/solid/json-view/json-view.jsx +494 -0
- package/dist/solid/json-view/model.jsx +180 -0
- package/dist/solid/kanban/index.jsx +3 -0
- package/dist/solid/kanban/kanban.jsx +493 -0
- package/dist/solid/kanban/kanban.styles.jsx +88 -0
- package/dist/solid/kbd/index.jsx +4 -0
- package/dist/solid/kbd/kbd.jsx +26 -0
- package/dist/solid/kbd/kbd.styles.jsx +34 -0
- package/dist/solid/knob/index.jsx +1 -0
- package/dist/solid/knob/knob.jsx +498 -0
- package/dist/solid/knob/math.jsx +154 -0
- package/dist/solid/label/index.jsx +1 -0
- package/dist/solid/label/label.jsx +26 -0
- package/dist/solid/layout/index.jsx +1 -0
- package/dist/solid/layout/layout.jsx +259 -0
- package/dist/solid/link/index.jsx +1 -0
- package/dist/solid/link/link.jsx +46 -0
- package/dist/solid/link/link.styles.jsx +33 -0
- package/dist/solid/loader/index.jsx +1 -0
- package/dist/solid/loader/loader.jsx +70 -0
- package/dist/solid/locale-provider/index.jsx +3 -0
- package/dist/solid/locale-provider/locale-provider.jsx +37 -0
- package/dist/solid/locale-provider/messages.jsx +0 -0
- package/dist/solid/log-view/ansi.jsx +274 -0
- package/dist/solid/log-view/index.jsx +5 -0
- package/dist/solid/log-view/log-view.jsx +440 -0
- package/dist/solid/log-view/model.jsx +142 -0
- package/dist/solid/log-view/toolbar.jsx +104 -0
- package/dist/solid/logo/index.jsx +3 -0
- package/dist/solid/logo/logo-loader.jsx +115 -0
- package/dist/solid/logo/logo.jsx +93 -0
- package/dist/solid/logo/paths.jsx +35 -0
- package/dist/solid/logo/shapes.jsx +30 -0
- package/dist/solid/markdown/engine.jsx +54 -0
- package/dist/solid/markdown/index.jsx +4 -0
- package/dist/solid/markdown/markdown.jsx +91 -0
- package/dist/solid/markdown/markdown.styles.jsx +21 -0
- package/dist/solid/markdown/sanitize.jsx +295 -0
- package/dist/solid/markdown-editor/index.jsx +5 -0
- package/dist/solid/markdown-editor/markdown-editor.jsx +233 -0
- package/dist/solid/markdown-editor/markdown-editor.styles.jsx +5 -0
- package/dist/solid/markdown-editor/markdown.jsx +527 -0
- package/dist/solid/markdown-editor/sourced.jsx +161 -0
- package/dist/solid/markdown-editor/strip.jsx +83 -0
- package/dist/solid/markdown-editor/writer.jsx +524 -0
- package/dist/solid/marker/index.jsx +1 -0
- package/dist/solid/marker/marker.jsx +73 -0
- package/dist/solid/media-player/engine.jsx +155 -0
- package/dist/solid/media-player/index.jsx +3 -0
- package/dist/solid/media-player/media-player.jsx +582 -0
- package/dist/solid/media-player/model.jsx +95 -0
- package/dist/solid/media-player/primitive.jsx +799 -0
- package/dist/solid/menu/index.jsx +1 -0
- package/dist/solid/menu/menu.jsx +165 -0
- package/dist/solid/menubar/index.jsx +1 -0
- package/dist/solid/menubar/menubar.jsx +78 -0
- package/dist/solid/message/index.jsx +1 -0
- package/dist/solid/message/message.jsx +241 -0
- package/dist/solid/message-scroller/index.jsx +1 -0
- package/dist/solid/message-scroller/message-scroller.jsx +251 -0
- package/dist/solid/meter/index.jsx +1 -0
- package/dist/solid/meter/meter.jsx +42 -0
- package/dist/solid/model-picker/index.jsx +1 -0
- package/dist/solid/model-picker/model-picker.jsx +142 -0
- package/dist/solid/model-picker/panel.jsx +68 -0
- package/dist/solid/natural-date-input/engine.jsx +162 -0
- package/dist/solid/natural-date-input/format.jsx +125 -0
- package/dist/solid/natural-date-input/index.jsx +6 -0
- package/dist/solid/natural-date-input/natural-date-input.jsx +793 -0
- package/dist/solid/natural-date-input/parser.jsx +48 -0
- package/dist/solid/natural-date-input/picker.jsx +91 -0
- package/dist/solid/natural-date-input/types.jsx +0 -0
- package/dist/solid/navigation-menu/index.jsx +1 -0
- package/dist/solid/navigation-menu/navigation-menu.jsx +242 -0
- package/dist/solid/notice-stack/index.jsx +1 -0
- package/dist/solid/notice-stack/notice-stack.jsx +200 -0
- package/dist/solid/number-input/index.jsx +1 -0
- package/dist/solid/number-input/number-input.jsx +119 -0
- package/dist/solid/orb/index.jsx +1 -0
- package/dist/solid/orb/orb.jsx +100 -0
- package/dist/solid/otp-input/index.jsx +1 -0
- package/dist/solid/otp-input/otp-input.jsx +55 -0
- package/dist/solid/pagination/index.jsx +1 -0
- package/dist/solid/pagination/pagination.jsx +132 -0
- package/dist/solid/panel-stack/index.jsx +1 -0
- package/dist/solid/panel-stack/panel-stack.jsx +552 -0
- package/dist/solid/password-input/index.jsx +1 -0
- package/dist/solid/password-input/password-input.jsx +56 -0
- package/dist/solid/peek-panel/context.jsx +26 -0
- package/dist/solid/peek-panel/index.jsx +4 -0
- package/dist/solid/peek-panel/model.jsx +44 -0
- package/dist/solid/peek-panel/parts.jsx +243 -0
- package/dist/solid/peek-panel/peek-panel.jsx +345 -0
- package/dist/solid/peek-panel/peek-sheet.jsx +12 -0
- package/dist/solid/phone-input/countries.jsx +57 -0
- package/dist/solid/phone-input/engine.jsx +56 -0
- package/dist/solid/phone-input/index.jsx +4 -0
- package/dist/solid/phone-input/load.jsx +28 -0
- package/dist/solid/phone-input/model.jsx +89 -0
- package/dist/solid/phone-input/phone-input.jsx +465 -0
- package/dist/solid/pocket/index.jsx +1 -0
- package/dist/solid/pocket/pocket.jsx +124 -0
- package/dist/solid/popover/index.jsx +1 -0
- package/dist/solid/popover/popover.jsx +124 -0
- package/dist/solid/progress/index.jsx +1 -0
- package/dist/solid/progress/progress.jsx +51 -0
- package/dist/solid/prompt-input/index.jsx +1 -0
- package/dist/solid/prompt-input/prompt-input.jsx +454 -0
- package/dist/solid/property-list/commit.jsx +86 -0
- package/dist/solid/property-list/index.jsx +7 -0
- package/dist/solid/property-list/property-date.jsx +88 -0
- package/dist/solid/property-list/property-list.jsx +195 -0
- package/dist/solid/property-list/property-list.styles.jsx +303 -0
- package/dist/solid/property-list/property-popover.jsx +75 -0
- package/dist/solid/property-list/property-select.jsx +220 -0
- package/dist/solid/property-list/property-switch.jsx +31 -0
- package/dist/solid/property-list/property-text.jsx +180 -0
- package/dist/solid/prose/index.jsx +1 -0
- package/dist/solid/prose/prose.jsx +42 -0
- package/dist/solid/prose-editor/announce.jsx +1 -0
- package/dist/solid/prose-editor/code-view.jsx +174 -0
- package/dist/solid/prose-editor/controller.jsx +118 -0
- package/dist/solid/prose-editor/doc.jsx +581 -0
- package/dist/solid/prose-editor/dom-reader.jsx +251 -0
- package/dist/solid/prose-editor/editor.styles.jsx +384 -0
- package/dist/solid/prose-editor/engine.jsx +959 -0
- package/dist/solid/prose-editor/highlight.jsx +33 -0
- package/dist/solid/prose-editor/index.jsx +5 -0
- package/dist/solid/prose-editor/keys.jsx +22 -0
- package/dist/solid/prose-editor/labels.jsx +53 -0
- package/dist/solid/prose-editor/language-names.jsx +1 -0
- package/dist/solid/prose-editor/languages.jsx +57 -0
- package/dist/solid/prose-editor/link-row.jsx +60 -0
- package/dist/solid/prose-editor/mention.jsx +57 -0
- package/dist/solid/prose-editor/more-menu.jsx +49 -0
- package/dist/solid/prose-editor/prose-editor.jsx +458 -0
- package/dist/solid/prose-editor/schema.jsx +259 -0
- package/dist/solid/prose-editor/server.jsx +11 -0
- package/dist/solid/prose-editor/sugar.jsx +43 -0
- package/dist/solid/prose-editor/suggest-adapter.jsx +147 -0
- package/dist/solid/prose-editor/suggestions-menu.jsx +451 -0
- package/dist/solid/prose-editor/suggestions.jsx +49 -0
- package/dist/solid/prose-editor/toolbar-extras.jsx +3 -0
- package/dist/solid/prose-editor/toolbar.jsx +347 -0
- package/dist/solid/prose-editor/view-parts.jsx +27 -0
- package/dist/solid/prose-editor-suggestions/index.jsx +1 -0
- package/dist/solid/questionnaire/index.jsx +1 -0
- package/dist/solid/questionnaire/questionnaire.jsx +459 -0
- package/dist/solid/radio/index.jsx +1 -0
- package/dist/solid/radio/radio.jsx +84 -0
- package/dist/solid/rating/index.jsx +1 -0
- package/dist/solid/rating/rating.jsx +94 -0
- package/dist/solid/reactions/index.jsx +3 -0
- package/dist/solid/reactions/model.jsx +78 -0
- package/dist/solid/reactions/reactions.jsx +452 -0
- package/dist/solid/reasoning/index.jsx +1 -0
- package/dist/solid/reasoning/reasoning.jsx +147 -0
- package/dist/solid/recurrence/dialog.jsx +51 -0
- package/dist/solid/recurrence/editor.jsx +343 -0
- package/dist/solid/recurrence/index.jsx +6 -0
- package/dist/solid/recurrence/labels.jsx +46 -0
- package/dist/solid/recurrence/model.jsx +425 -0
- package/dist/solid/recurrence/recurrence-select.jsx +114 -0
- package/dist/solid/relative-time/clock.jsx +51 -0
- package/dist/solid/relative-time/index.jsx +1 -0
- package/dist/solid/relative-time/relative-time.jsx +205 -0
- package/dist/solid/resizable/index.jsx +1 -0
- package/dist/solid/resizable/resizable.jsx +59 -0
- package/dist/solid/ring/index.jsx +3 -0
- package/dist/solid/ring/meter-ring.jsx +31 -0
- package/dist/solid/ring/progress-ring.jsx +29 -0
- package/dist/solid/ring/ring.styles.jsx +57 -0
- package/dist/solid/schedule-list/index.jsx +3 -0
- package/dist/solid/schedule-list/menu.jsx +42 -0
- package/dist/solid/schedule-list/model.jsx +167 -0
- package/dist/solid/schedule-list/schedule-list.jsx +1077 -0
- package/dist/solid/scroll-area/index.jsx +1 -0
- package/dist/solid/scroll-area/scroll-area.jsx +118 -0
- package/dist/solid/secret/index.jsx +1 -0
- package/dist/solid/secret/secret.jsx +278 -0
- package/dist/solid/segmented-control/index.jsx +1 -0
- package/dist/solid/segmented-control/segmented-control.jsx +64 -0
- package/dist/solid/select/align.jsx +162 -0
- package/dist/solid/select/index.jsx +1 -0
- package/dist/solid/select/select.jsx +159 -0
- package/dist/solid/separator/index.jsx +1 -0
- package/dist/solid/separator/separator.jsx +23 -0
- package/dist/solid/sheet/index.jsx +1 -0
- package/dist/solid/sheet/sheet.jsx +139 -0
- package/dist/solid/shortcut-recorder/capture.jsx +99 -0
- package/dist/solid/shortcut-recorder/index.jsx +4 -0
- package/dist/solid/shortcut-recorder/labels.jsx +28 -0
- package/dist/solid/shortcut-recorder/model.jsx +22 -0
- package/dist/solid/shortcut-recorder/popover.jsx +228 -0
- package/dist/solid/shortcut-recorder/shortcut-recorder.jsx +235 -0
- package/dist/solid/shortcuts/conflicts.jsx +64 -0
- package/dist/solid/shortcuts/index.jsx +9 -0
- package/dist/solid/shortcuts/keys.jsx +126 -0
- package/dist/solid/shortcuts/list.jsx +121 -0
- package/dist/solid/shortcuts/model.jsx +89 -0
- package/dist/solid/shortcuts/platform.jsx +16 -0
- package/dist/solid/shortcuts/scope.jsx +111 -0
- package/dist/solid/shortcuts/shortcuts.jsx +35 -0
- package/dist/solid/shortcuts/use-shortcut.jsx +45 -0
- package/dist/solid/sidebar/context.jsx +24 -0
- package/dist/solid/sidebar/index.jsx +6 -0
- package/dist/solid/sidebar/lazy-tips.jsx +101 -0
- package/dist/solid/sidebar/menu.jsx +384 -0
- package/dist/solid/sidebar/sheet.jsx +17 -0
- package/dist/solid/sidebar/sidebar.jsx +555 -0
- package/dist/solid/sidebar/sidebar.styles.jsx +467 -0
- package/dist/solid/sidebar/tips.jsx +48 -0
- package/dist/solid/sidebar/views.jsx +49 -0
- package/dist/solid/signature-pad/export.jsx +39 -0
- package/dist/solid/signature-pad/index.jsx +4 -0
- package/dist/solid/signature-pad/model.jsx +227 -0
- package/dist/solid/signature-pad/signature-pad.jsx +518 -0
- package/dist/solid/skeleton/index.jsx +1 -0
- package/dist/solid/skeleton/skeleton.jsx +31 -0
- package/dist/solid/slider/index.jsx +1 -0
- package/dist/solid/slider/slider.jsx +133 -0
- package/dist/solid/sortable-list/index.jsx +3 -0
- package/dist/solid/sortable-list/sortable-list.jsx +333 -0
- package/dist/solid/sortable-list/sortable-list.styles.jsx +70 -0
- package/dist/solid/span-timeline/index.jsx +3 -0
- package/dist/solid/span-timeline/model.jsx +137 -0
- package/dist/solid/span-timeline/span-timeline.jsx +134 -0
- package/dist/solid/spinner/index.jsx +1 -0
- package/dist/solid/spinner/spinner.jsx +61 -0
- package/dist/solid/stat/context.jsx +5 -0
- package/dist/solid/stat/delta.jsx +237 -0
- package/dist/solid/stat/index.jsx +3 -0
- package/dist/solid/stat/stat.jsx +266 -0
- package/dist/solid/statusbar/index.jsx +1 -0
- package/dist/solid/statusbar/statusbar.jsx +221 -0
- package/dist/solid/stepper/index.jsx +1 -0
- package/dist/solid/stepper/stepper.jsx +310 -0
- package/dist/solid/stepper/stepper.styles.jsx +43 -0
- package/dist/solid/switch/index.jsx +1 -0
- package/dist/solid/switch/switch.jsx +72 -0
- package/dist/solid/table/index.jsx +1 -0
- package/dist/solid/table/table.jsx +185 -0
- package/dist/solid/table-of-contents/headings.jsx +54 -0
- package/dist/solid/table-of-contents/index.jsx +3 -0
- package/dist/solid/table-of-contents/scrollspy.jsx +135 -0
- package/dist/solid/table-of-contents/table-of-contents.jsx +169 -0
- package/dist/solid/tabs/index.jsx +1 -0
- package/dist/solid/tabs/tabs.jsx +164 -0
- package/dist/solid/tabs-overflow/index.jsx +1 -0
- package/dist/solid/tabs-overflow/menu.jsx +49 -0
- package/dist/solid/tabs-overflow/tabs-overflow.jsx +140 -0
- package/dist/solid/task-tray/index.jsx +4 -0
- package/dist/solid/task-tray/model.jsx +91 -0
- package/dist/solid/task-tray/store.jsx +352 -0
- package/dist/solid/task-tray/task-tray.jsx +458 -0
- package/dist/solid/text/index.jsx +1 -0
- package/dist/solid/text/text.jsx +151 -0
- package/dist/solid/theme/index.jsx +1 -0
- package/dist/solid/theme/theme.jsx +36 -0
- package/dist/solid/theme-switcher/index.jsx +1 -0
- package/dist/solid/theme-switcher/theme-switcher.jsx +84 -0
- package/dist/solid/thread-list/index.jsx +1 -0
- package/dist/solid/thread-list/thread-list.jsx +174 -0
- package/dist/solid/tiling/create-tiling.jsx +65 -0
- package/dist/solid/tiling/engine/controllers/drag.jsx +101 -0
- package/dist/solid/tiling/engine/controllers/resize.jsx +65 -0
- package/dist/solid/tiling/engine/defaults.jsx +20 -0
- package/dist/solid/tiling/engine/emitter.jsx +35 -0
- package/dist/solid/tiling/engine/engine.jsx +906 -0
- package/dist/solid/tiling/engine/geometry.jsx +168 -0
- package/dist/solid/tiling/engine/history.jsx +76 -0
- package/dist/solid/tiling/engine/ids.jsx +12 -0
- package/dist/solid/tiling/engine/index.jsx +9 -0
- package/dist/solid/tiling/engine/layout.jsx +170 -0
- package/dist/solid/tiling/engine/scheduler.jsx +75 -0
- package/dist/solid/tiling/engine/spring.jsx +79 -0
- package/dist/solid/tiling/engine/store.jsx +25 -0
- package/dist/solid/tiling/engine/tree.jsx +606 -0
- package/dist/solid/tiling/engine/types.jsx +0 -0
- package/dist/solid/tiling/index.jsx +8 -0
- package/dist/solid/tiling/pointer.jsx +186 -0
- package/dist/solid/tiling/tab-strip.jsx +239 -0
- package/dist/solid/tiling/tiling.jsx +750 -0
- package/dist/solid/tiling/tiling.styles.jsx +485 -0
- package/dist/solid/time-input/index.jsx +1 -0
- package/dist/solid/time-input/time-input.jsx +31 -0
- package/dist/solid/time-picker/index.jsx +3 -0
- package/dist/solid/time-picker/model.jsx +190 -0
- package/dist/solid/time-picker/time-picker.jsx +449 -0
- package/dist/solid/time-zone-picker/index.jsx +3 -0
- package/dist/solid/time-zone-picker/time-zone-picker.jsx +191 -0
- package/dist/solid/time-zone-picker/zones.jsx +335 -0
- package/dist/solid/timeline/index.jsx +1 -0
- package/dist/solid/timeline/timeline.jsx +162 -0
- package/dist/solid/toast/index.jsx +1 -0
- package/dist/solid/toast/toast.jsx +261 -0
- package/dist/solid/toggle/index.jsx +1 -0
- package/dist/solid/toggle/toggle.jsx +126 -0
- package/dist/solid/token-input/index.jsx +1 -0
- package/dist/solid/token-input/token-input.jsx +101 -0
- package/dist/solid/tokens.stylex.jsx +269 -0
- package/dist/solid/tool-call/index.jsx +1 -0
- package/dist/solid/tool-call/instead-form.jsx +35 -0
- package/dist/solid/tool-call/tool-call.jsx +427 -0
- package/dist/solid/toolbar/index.jsx +1 -0
- package/dist/solid/toolbar/toolbar.jsx +92 -0
- package/dist/solid/toolbar-overflow/index.jsx +1 -0
- package/dist/solid/toolbar-overflow/menu.jsx +49 -0
- package/dist/solid/toolbar-overflow/toolbar-overflow.jsx +203 -0
- package/dist/solid/tooltip/index.jsx +1 -0
- package/dist/solid/tooltip/tooltip.jsx +119 -0
- package/dist/solid/trace/index.jsx +1 -0
- package/dist/solid/trace/trace.jsx +286 -0
- package/dist/solid/tree/index.jsx +1 -0
- package/dist/solid/tree/tree.jsx +120 -0
- package/dist/solid/trigger-menu/index.jsx +1 -0
- package/dist/solid/trigger-menu/trigger-menu.jsx +111 -0
- package/dist/solid/undo/index.jsx +1 -0
- package/dist/solid/undo/undo.jsx +176 -0
- package/dist/solid/volume-meter/index.jsx +1 -0
- package/dist/solid/volume-meter/volume-meter.jsx +104 -0
- package/dist/styles.css +1 -0
- package/dist/types/accordion/accordion.d.ts +56 -0
- package/dist/types/accordion/index.d.ts +1 -0
- package/dist/types/agent-activity/agent-activity.d.ts +44 -0
- package/dist/types/agent-activity/index.d.ts +2 -0
- package/dist/types/agent-todos/agent-todos.d.ts +56 -0
- package/dist/types/agent-todos/index.d.ts +2 -0
- package/dist/types/alert/alert.d.ts +54 -0
- package/dist/types/alert/index.d.ts +2 -0
- package/dist/types/alert-dialog/alert-dialog.d.ts +82 -0
- package/dist/types/alert-dialog/index.d.ts +1 -0
- package/dist/types/attachment/attachment.d.ts +90 -0
- package/dist/types/attachment/index.d.ts +2 -0
- package/dist/types/autocomplete/autocomplete.d.ts +56 -0
- package/dist/types/autocomplete/index.d.ts +2 -0
- package/dist/types/avatar/avatar.d.ts +132 -0
- package/dist/types/avatar/index.d.ts +3 -0
- package/dist/types/badge/badge.d.ts +48 -0
- package/dist/types/badge/index.d.ts +2 -0
- package/dist/types/bot-avatar/bot-avatar.d.ts +40 -0
- package/dist/types/bot-avatar/index.d.ts +2 -0
- package/dist/types/brands/brands.gen.d.ts +113 -0
- package/dist/types/brands/data/Airtable.d.ts +3 -0
- package/dist/types/brands/data/AmericanExpress.d.ts +3 -0
- package/dist/types/brands/data/AmericanExpressColor.d.ts +3 -0
- package/dist/types/brands/data/Android.d.ts +3 -0
- package/dist/types/brands/data/AndroidColor.d.ts +3 -0
- package/dist/types/brands/data/Anthropic.d.ts +3 -0
- package/dist/types/brands/data/Apple.d.ts +3 -0
- package/dist/types/brands/data/ApplePay.d.ts +3 -0
- package/dist/types/brands/data/Asana.d.ts +3 -0
- package/dist/types/brands/data/AsanaColor.d.ts +3 -0
- package/dist/types/brands/data/Atlassian.d.ts +3 -0
- package/dist/types/brands/data/AtlassianColor.d.ts +3 -0
- package/dist/types/brands/data/Bitbucket.d.ts +3 -0
- package/dist/types/brands/data/BitbucketColor.d.ts +3 -0
- package/dist/types/brands/data/Bluesky.d.ts +3 -0
- package/dist/types/brands/data/BlueskyColor.d.ts +3 -0
- package/dist/types/brands/data/Calendly.d.ts +3 -0
- package/dist/types/brands/data/CalendlyColor.d.ts +3 -0
- package/dist/types/brands/data/Claude.d.ts +3 -0
- package/dist/types/brands/data/ClaudeColor.d.ts +3 -0
- package/dist/types/brands/data/ClickUp.d.ts +3 -0
- package/dist/types/brands/data/Cloudflare.d.ts +3 -0
- package/dist/types/brands/data/CloudflareColor.d.ts +3 -0
- package/dist/types/brands/data/DinersClub.d.ts +3 -0
- package/dist/types/brands/data/DinersClubColor.d.ts +3 -0
- package/dist/types/brands/data/Discord.d.ts +3 -0
- package/dist/types/brands/data/DiscordColor.d.ts +3 -0
- package/dist/types/brands/data/Discover.d.ts +3 -0
- package/dist/types/brands/data/Docker.d.ts +3 -0
- package/dist/types/brands/data/DockerColor.d.ts +3 -0
- package/dist/types/brands/data/Dropbox.d.ts +3 -0
- package/dist/types/brands/data/DropboxColor.d.ts +3 -0
- package/dist/types/brands/data/Facebook.d.ts +3 -0
- package/dist/types/brands/data/FacebookColor.d.ts +3 -0
- package/dist/types/brands/data/Figma.d.ts +3 -0
- package/dist/types/brands/data/GitHub.d.ts +3 -0
- package/dist/types/brands/data/GitLab.d.ts +3 -0
- package/dist/types/brands/data/GitLabColor.d.ts +3 -0
- package/dist/types/brands/data/Gmail.d.ts +3 -0
- package/dist/types/brands/data/Google.d.ts +3 -0
- package/dist/types/brands/data/GoogleCalendar.d.ts +3 -0
- package/dist/types/brands/data/GoogleColor.d.ts +3 -0
- package/dist/types/brands/data/GoogleDrive.d.ts +3 -0
- package/dist/types/brands/data/GoogleGemini.d.ts +3 -0
- package/dist/types/brands/data/GoogleMeet.d.ts +3 -0
- package/dist/types/brands/data/GoogleMeetColor.d.ts +3 -0
- package/dist/types/brands/data/GooglePay.d.ts +3 -0
- package/dist/types/brands/data/HubSpot.d.ts +3 -0
- package/dist/types/brands/data/HubSpotColor.d.ts +3 -0
- package/dist/types/brands/data/Hyper.d.ts +3 -0
- package/dist/types/brands/data/HyperColor.d.ts +3 -0
- package/dist/types/brands/data/Instagram.d.ts +3 -0
- package/dist/types/brands/data/Intercom.d.ts +3 -0
- package/dist/types/brands/data/JCB.d.ts +3 -0
- package/dist/types/brands/data/Jira.d.ts +3 -0
- package/dist/types/brands/data/JiraColor.d.ts +3 -0
- package/dist/types/brands/data/Linear.d.ts +3 -0
- package/dist/types/brands/data/LinearColor.d.ts +3 -0
- package/dist/types/brands/data/Loom.d.ts +3 -0
- package/dist/types/brands/data/LoomColor.d.ts +3 -0
- package/dist/types/brands/data/Mastercard.d.ts +3 -0
- package/dist/types/brands/data/Medium.d.ts +3 -0
- package/dist/types/brands/data/Messenger.d.ts +3 -0
- package/dist/types/brands/data/MessengerColor.d.ts +3 -0
- package/dist/types/brands/data/Meta.d.ts +3 -0
- package/dist/types/brands/data/MetaColor.d.ts +3 -0
- package/dist/types/brands/data/Microsoft.d.ts +3 -0
- package/dist/types/brands/data/MicrosoftColor.d.ts +3 -0
- package/dist/types/brands/data/MicrosoftTeamsColor.d.ts +3 -0
- package/dist/types/brands/data/Miro.d.ts +3 -0
- package/dist/types/brands/data/Notion.d.ts +3 -0
- package/dist/types/brands/data/Npm.d.ts +3 -0
- package/dist/types/brands/data/NpmColor.d.ts +3 -0
- package/dist/types/brands/data/Okta.d.ts +3 -0
- package/dist/types/brands/data/OktaColor.d.ts +3 -0
- package/dist/types/brands/data/PayPal.d.ts +3 -0
- package/dist/types/brands/data/Perplexity.d.ts +3 -0
- package/dist/types/brands/data/PerplexityColor.d.ts +3 -0
- package/dist/types/brands/data/Pinterest.d.ts +3 -0
- package/dist/types/brands/data/PinterestColor.d.ts +3 -0
- package/dist/types/brands/data/Reddit.d.ts +3 -0
- package/dist/types/brands/data/RedditColor.d.ts +3 -0
- package/dist/types/brands/data/Shopify.d.ts +3 -0
- package/dist/types/brands/data/ShopifyColor.d.ts +3 -0
- package/dist/types/brands/data/Slack.d.ts +3 -0
- package/dist/types/brands/data/SlackColor.d.ts +3 -0
- package/dist/types/brands/data/Spotify.d.ts +3 -0
- package/dist/types/brands/data/SpotifyColor.d.ts +3 -0
- package/dist/types/brands/data/Stripe.d.ts +3 -0
- package/dist/types/brands/data/StripeColor.d.ts +3 -0
- package/dist/types/brands/data/Substack.d.ts +3 -0
- package/dist/types/brands/data/SubstackColor.d.ts +3 -0
- package/dist/types/brands/data/Supabase.d.ts +3 -0
- package/dist/types/brands/data/SupabaseColor.d.ts +3 -0
- package/dist/types/brands/data/Telegram.d.ts +3 -0
- package/dist/types/brands/data/TelegramColor.d.ts +3 -0
- package/dist/types/brands/data/Threads.d.ts +3 -0
- package/dist/types/brands/data/TikTok.d.ts +3 -0
- package/dist/types/brands/data/Trello.d.ts +3 -0
- package/dist/types/brands/data/TrelloColor.d.ts +3 -0
- package/dist/types/brands/data/Twitch.d.ts +3 -0
- package/dist/types/brands/data/TwitchColor.d.ts +3 -0
- package/dist/types/brands/data/Vercel.d.ts +3 -0
- package/dist/types/brands/data/Visa.d.ts +3 -0
- package/dist/types/brands/data/Webex.d.ts +3 -0
- package/dist/types/brands/data/WhatsApp.d.ts +3 -0
- package/dist/types/brands/data/WhatsAppColor.d.ts +3 -0
- package/dist/types/brands/data/XTwitter.d.ts +3 -0
- package/dist/types/brands/data/YouTube.d.ts +3 -0
- package/dist/types/brands/data/YouTubeColor.d.ts +3 -0
- package/dist/types/brands/data/Zendesk.d.ts +3 -0
- package/dist/types/brands/data/Zoom.d.ts +3 -0
- package/dist/types/brands/data/ZoomColor.d.ts +3 -0
- package/dist/types/brands/index.d.ts +1 -0
- package/dist/types/breadcrumb/breadcrumb.d.ts +51 -0
- package/dist/types/breadcrumb/index.d.ts +2 -0
- package/dist/types/bubble/bubble.d.ts +41 -0
- package/dist/types/bubble/index.d.ts +2 -0
- package/dist/types/button/button-group.d.ts +22 -0
- package/dist/types/button/button.d.ts +51 -0
- package/dist/types/button/button.styles.d.ts +15 -0
- package/dist/types/button/index.d.ts +4 -0
- package/dist/types/calendar/calendar.d.ts +70 -0
- package/dist/types/calendar/index.d.ts +2 -0
- package/dist/types/card/card.d.ts +78 -0
- package/dist/types/card/index.d.ts +2 -0
- package/dist/types/card-input/card-input.d.ts +191 -0
- package/dist/types/card-input/index.d.ts +2 -0
- package/dist/types/card-input/model.d.ts +89 -0
- package/dist/types/carousel/carousel.d.ts +160 -0
- package/dist/types/carousel/index.d.ts +1 -0
- package/dist/types/cascader/cascader.d.ts +207 -0
- package/dist/types/cascader/data.d.ts +70 -0
- package/dist/types/cascader/index.d.ts +2 -0
- package/dist/types/chat-composer/chat-composer.d.ts +206 -0
- package/dist/types/chat-composer/controller.d.ts +85 -0
- package/dist/types/chat-composer/index.d.ts +4 -0
- package/dist/types/checkbox/checkbox.d.ts +35 -0
- package/dist/types/checkbox/index.d.ts +1 -0
- package/dist/types/code-block/code-block.d.ts +73 -0
- package/dist/types/code-block/code.styles.d.ts +75 -0
- package/dist/types/code-block/highlighter.d.ts +73 -0
- package/dist/types/code-block/highlights-engine.d.ts +2 -0
- package/dist/types/code-block/index.d.ts +2 -0
- package/dist/types/collapsible/collapsible.d.ts +46 -0
- package/dist/types/collapsible/index.d.ts +1 -0
- package/dist/types/color-picker/color-picker.d.ts +37 -0
- package/dist/types/color-picker/index.d.ts +1 -0
- package/dist/types/combobox/combobox.d.ts +108 -0
- package/dist/types/combobox/index.d.ts +1 -0
- package/dist/types/command/command.d.ts +148 -0
- package/dist/types/command/index.d.ts +1 -0
- package/dist/types/context-meter/context-meter.d.ts +65 -0
- package/dist/types/context-meter/index.d.ts +2 -0
- package/dist/types/copy-button/copy-button.d.ts +47 -0
- package/dist/types/copy-button/index.d.ts +4 -0
- package/dist/types/copy-button/use-copy.d.ts +53 -0
- package/dist/types/create-table/create-table.d.ts +38 -0
- package/dist/types/create-table/flex-render.d.ts +36 -0
- package/dist/types/create-table/index.d.ts +5 -0
- package/dist/types/create-table/reactivity.d.ts +18 -0
- package/dist/types/create-table/row-models.d.ts +37 -0
- package/dist/types/csp-provider/csp-provider.d.ts +32 -0
- package/dist/types/csp-provider/index.d.ts +2 -0
- package/dist/types/cues/cues.d.ts +30 -0
- package/dist/types/cues/index.d.ts +2 -0
- package/dist/types/data-grid/column-menu.d.ts +44 -0
- package/dist/types/data-grid/columns.d.ts +48 -0
- package/dist/types/data-grid/data-grid.d.ts +120 -0
- package/dist/types/data-grid/data-grid.styles.d.ts +546 -0
- package/dist/types/data-grid/features.d.ts +92 -0
- package/dist/types/data-grid/index.d.ts +6 -0
- package/dist/types/data-grid/labels.d.ts +32 -0
- package/dist/types/data-grid/pagination.d.ts +16 -0
- package/dist/types/data-grid/selection-bar.d.ts +100 -0
- package/dist/types/date-input/date-input.d.ts +21 -0
- package/dist/types/date-input/index.d.ts +1 -0
- package/dist/types/date-picker/date-picker.d.ts +38 -0
- package/dist/types/date-picker/index.d.ts +1 -0
- package/dist/types/day-strip/day-strip.d.ts +196 -0
- package/dist/types/day-strip/index.d.ts +1 -0
- package/dist/types/description-list/description-list.d.ts +93 -0
- package/dist/types/description-list/index.d.ts +2 -0
- package/dist/types/dialog/dialog.d.ts +99 -0
- package/dist/types/dialog/dialog.styles.d.ts +137 -0
- package/dist/types/dialog/index.d.ts +1 -0
- package/dist/types/diff-review/diff-review.d.ts +72 -0
- package/dist/types/diff-review/index.d.ts +2 -0
- package/dist/types/direction-provider/direction-provider.d.ts +37 -0
- package/dist/types/direction-provider/index.d.ts +4 -0
- package/dist/types/draw-toolbar/draw-tool-icon.d.ts +22 -0
- package/dist/types/draw-toolbar/draw-toolbar.d.ts +111 -0
- package/dist/types/draw-toolbar/index.d.ts +6 -0
- package/dist/types/draw-toolbar/tools.d.ts +68 -0
- package/dist/types/editable-text/editable-text.d.ts +184 -0
- package/dist/types/editable-text/index.d.ts +2 -0
- package/dist/types/emoji-picker/data.d.ts +86 -0
- package/dist/types/emoji-picker/data.gen.d.ts +7 -0
- package/dist/types/emoji-picker/emoji-picker.d.ts +185 -0
- package/dist/types/emoji-picker/index.d.ts +6 -0
- package/dist/types/emoji-picker/support.d.ts +17 -0
- package/dist/types/empty-state/empty-state.d.ts +47 -0
- package/dist/types/empty-state/index.d.ts +2 -0
- package/dist/types/event-popover/event-popover.d.ts +168 -0
- package/dist/types/event-popover/index.d.ts +2 -0
- package/dist/types/field/field.d.ts +85 -0
- package/dist/types/field/index.d.ts +1 -0
- package/dist/types/file-input/file-input.d.ts +75 -0
- package/dist/types/file-input/index.d.ts +1 -0
- package/dist/types/file-input/upload-queue.d.ts +62 -0
- package/dist/types/file-type/file-type.d.ts +44 -0
- package/dist/types/file-type/file-types.d.ts +53 -0
- package/dist/types/file-type/index.d.ts +4 -0
- package/dist/types/filter-bar/editor-boolean.d.ts +4 -0
- package/dist/types/filter-bar/editor-date.d.ts +4 -0
- package/dist/types/filter-bar/editor-number.d.ts +4 -0
- package/dist/types/filter-bar/editor-options.d.ts +4 -0
- package/dist/types/filter-bar/editor-text.d.ts +4 -0
- package/dist/types/filter-bar/editor-types.d.ts +37 -0
- package/dist/types/filter-bar/field-list.d.ts +4 -0
- package/dist/types/filter-bar/filter-bar.d.ts +68 -0
- package/dist/types/filter-bar/filter-bar.styles.d.ts +127 -0
- package/dist/types/filter-bar/index.d.ts +3 -0
- package/dist/types/filter-bar/lazy.d.ts +12 -0
- package/dist/types/filter-bar/model.d.ts +89 -0
- package/dist/types/filter-bar/operator-menu.d.ts +7 -0
- package/dist/types/filter-bar/state.d.ts +47 -0
- package/dist/types/flag/flag.d.ts +45 -0
- package/dist/types/flag/index.d.ts +2 -0
- package/dist/types/flags/data/AC.d.ts +3 -0
- package/dist/types/flags/data/AD.d.ts +3 -0
- package/dist/types/flags/data/AE.d.ts +3 -0
- package/dist/types/flags/data/AF.d.ts +3 -0
- package/dist/types/flags/data/AG.d.ts +3 -0
- package/dist/types/flags/data/AI.d.ts +3 -0
- package/dist/types/flags/data/AL.d.ts +3 -0
- package/dist/types/flags/data/AM.d.ts +3 -0
- package/dist/types/flags/data/AO.d.ts +3 -0
- package/dist/types/flags/data/AQ.d.ts +3 -0
- package/dist/types/flags/data/AR.d.ts +3 -0
- package/dist/types/flags/data/AS.d.ts +3 -0
- package/dist/types/flags/data/AT.d.ts +3 -0
- package/dist/types/flags/data/AU.d.ts +3 -0
- package/dist/types/flags/data/AW.d.ts +3 -0
- package/dist/types/flags/data/AX.d.ts +3 -0
- package/dist/types/flags/data/AZ.d.ts +3 -0
- package/dist/types/flags/data/BA.d.ts +3 -0
- package/dist/types/flags/data/BB.d.ts +3 -0
- package/dist/types/flags/data/BD.d.ts +3 -0
- package/dist/types/flags/data/BE.d.ts +3 -0
- package/dist/types/flags/data/BF.d.ts +3 -0
- package/dist/types/flags/data/BG.d.ts +3 -0
- package/dist/types/flags/data/BH.d.ts +3 -0
- package/dist/types/flags/data/BI.d.ts +3 -0
- package/dist/types/flags/data/BJ.d.ts +3 -0
- package/dist/types/flags/data/BL.d.ts +3 -0
- package/dist/types/flags/data/BM.d.ts +3 -0
- package/dist/types/flags/data/BN.d.ts +3 -0
- package/dist/types/flags/data/BO.d.ts +3 -0
- package/dist/types/flags/data/BQ.d.ts +3 -0
- package/dist/types/flags/data/BQ_BO.d.ts +3 -0
- package/dist/types/flags/data/BQ_SA.d.ts +3 -0
- package/dist/types/flags/data/BQ_SE.d.ts +3 -0
- package/dist/types/flags/data/BR.d.ts +3 -0
- package/dist/types/flags/data/BS.d.ts +3 -0
- package/dist/types/flags/data/BT.d.ts +3 -0
- package/dist/types/flags/data/BV.d.ts +3 -0
- package/dist/types/flags/data/BW.d.ts +3 -0
- package/dist/types/flags/data/BY.d.ts +3 -0
- package/dist/types/flags/data/BZ.d.ts +3 -0
- package/dist/types/flags/data/CA.d.ts +3 -0
- package/dist/types/flags/data/CC.d.ts +3 -0
- package/dist/types/flags/data/CD.d.ts +3 -0
- package/dist/types/flags/data/CF.d.ts +3 -0
- package/dist/types/flags/data/CG.d.ts +3 -0
- package/dist/types/flags/data/CH.d.ts +3 -0
- package/dist/types/flags/data/CI.d.ts +3 -0
- package/dist/types/flags/data/CK.d.ts +3 -0
- package/dist/types/flags/data/CL.d.ts +3 -0
- package/dist/types/flags/data/CM.d.ts +3 -0
- package/dist/types/flags/data/CN.d.ts +3 -0
- package/dist/types/flags/data/CO.d.ts +3 -0
- package/dist/types/flags/data/CR.d.ts +3 -0
- package/dist/types/flags/data/CU.d.ts +3 -0
- package/dist/types/flags/data/CV.d.ts +3 -0
- package/dist/types/flags/data/CW.d.ts +3 -0
- package/dist/types/flags/data/CX.d.ts +3 -0
- package/dist/types/flags/data/CY.d.ts +3 -0
- package/dist/types/flags/data/CZ.d.ts +3 -0
- package/dist/types/flags/data/DE.d.ts +3 -0
- package/dist/types/flags/data/DJ.d.ts +3 -0
- package/dist/types/flags/data/DK.d.ts +3 -0
- package/dist/types/flags/data/DM.d.ts +3 -0
- package/dist/types/flags/data/DO.d.ts +3 -0
- package/dist/types/flags/data/DZ.d.ts +3 -0
- package/dist/types/flags/data/EC.d.ts +3 -0
- package/dist/types/flags/data/EE.d.ts +3 -0
- package/dist/types/flags/data/EG.d.ts +3 -0
- package/dist/types/flags/data/EH.d.ts +3 -0
- package/dist/types/flags/data/ER.d.ts +3 -0
- package/dist/types/flags/data/ES.d.ts +3 -0
- package/dist/types/flags/data/ES_CT.d.ts +3 -0
- package/dist/types/flags/data/ET.d.ts +3 -0
- package/dist/types/flags/data/EU.d.ts +3 -0
- package/dist/types/flags/data/FI.d.ts +3 -0
- package/dist/types/flags/data/FJ.d.ts +3 -0
- package/dist/types/flags/data/FK.d.ts +3 -0
- package/dist/types/flags/data/FM.d.ts +3 -0
- package/dist/types/flags/data/FO.d.ts +3 -0
- package/dist/types/flags/data/FR.d.ts +3 -0
- package/dist/types/flags/data/GA.d.ts +3 -0
- package/dist/types/flags/data/GB.d.ts +3 -0
- package/dist/types/flags/data/GB_ENG.d.ts +3 -0
- package/dist/types/flags/data/GB_NIR.d.ts +3 -0
- package/dist/types/flags/data/GB_SCT.d.ts +3 -0
- package/dist/types/flags/data/GB_WLS.d.ts +3 -0
- package/dist/types/flags/data/GD.d.ts +3 -0
- package/dist/types/flags/data/GE.d.ts +3 -0
- package/dist/types/flags/data/GF.d.ts +3 -0
- package/dist/types/flags/data/GG.d.ts +3 -0
- package/dist/types/flags/data/GH.d.ts +3 -0
- package/dist/types/flags/data/GI.d.ts +3 -0
- package/dist/types/flags/data/GL.d.ts +3 -0
- package/dist/types/flags/data/GM.d.ts +3 -0
- package/dist/types/flags/data/GN.d.ts +3 -0
- package/dist/types/flags/data/GP.d.ts +3 -0
- package/dist/types/flags/data/GQ.d.ts +3 -0
- package/dist/types/flags/data/GR.d.ts +3 -0
- package/dist/types/flags/data/GS.d.ts +3 -0
- package/dist/types/flags/data/GT.d.ts +3 -0
- package/dist/types/flags/data/GU.d.ts +3 -0
- package/dist/types/flags/data/GW.d.ts +3 -0
- package/dist/types/flags/data/GY.d.ts +3 -0
- package/dist/types/flags/data/HK.d.ts +3 -0
- package/dist/types/flags/data/HM.d.ts +3 -0
- package/dist/types/flags/data/HN.d.ts +3 -0
- package/dist/types/flags/data/HR.d.ts +3 -0
- package/dist/types/flags/data/HT.d.ts +3 -0
- package/dist/types/flags/data/HU.d.ts +3 -0
- package/dist/types/flags/data/IC.d.ts +3 -0
- package/dist/types/flags/data/ID.d.ts +3 -0
- package/dist/types/flags/data/IE.d.ts +3 -0
- package/dist/types/flags/data/IL.d.ts +3 -0
- package/dist/types/flags/data/IM.d.ts +3 -0
- package/dist/types/flags/data/IN.d.ts +3 -0
- package/dist/types/flags/data/IO.d.ts +3 -0
- package/dist/types/flags/data/IQ.d.ts +3 -0
- package/dist/types/flags/data/IR.d.ts +3 -0
- package/dist/types/flags/data/IS.d.ts +3 -0
- package/dist/types/flags/data/IT.d.ts +3 -0
- package/dist/types/flags/data/JE.d.ts +3 -0
- package/dist/types/flags/data/JM.d.ts +3 -0
- package/dist/types/flags/data/JO.d.ts +3 -0
- package/dist/types/flags/data/JP.d.ts +3 -0
- package/dist/types/flags/data/KE.d.ts +3 -0
- package/dist/types/flags/data/KG.d.ts +3 -0
- package/dist/types/flags/data/KH.d.ts +3 -0
- package/dist/types/flags/data/KI.d.ts +3 -0
- package/dist/types/flags/data/KM.d.ts +3 -0
- package/dist/types/flags/data/KN.d.ts +3 -0
- package/dist/types/flags/data/KP.d.ts +3 -0
- package/dist/types/flags/data/KR.d.ts +3 -0
- package/dist/types/flags/data/KW.d.ts +3 -0
- package/dist/types/flags/data/KY.d.ts +3 -0
- package/dist/types/flags/data/KZ.d.ts +3 -0
- package/dist/types/flags/data/LA.d.ts +3 -0
- package/dist/types/flags/data/LB.d.ts +3 -0
- package/dist/types/flags/data/LC.d.ts +3 -0
- package/dist/types/flags/data/LI.d.ts +3 -0
- package/dist/types/flags/data/LK.d.ts +3 -0
- package/dist/types/flags/data/LR.d.ts +3 -0
- package/dist/types/flags/data/LS.d.ts +3 -0
- package/dist/types/flags/data/LT.d.ts +3 -0
- package/dist/types/flags/data/LU.d.ts +3 -0
- package/dist/types/flags/data/LV.d.ts +3 -0
- package/dist/types/flags/data/LY.d.ts +3 -0
- package/dist/types/flags/data/MA.d.ts +3 -0
- package/dist/types/flags/data/MC.d.ts +3 -0
- package/dist/types/flags/data/MD.d.ts +3 -0
- package/dist/types/flags/data/ME.d.ts +3 -0
- package/dist/types/flags/data/MF.d.ts +3 -0
- package/dist/types/flags/data/MG.d.ts +3 -0
- package/dist/types/flags/data/MH.d.ts +3 -0
- package/dist/types/flags/data/MK.d.ts +3 -0
- package/dist/types/flags/data/ML.d.ts +3 -0
- package/dist/types/flags/data/MM.d.ts +3 -0
- package/dist/types/flags/data/MN.d.ts +3 -0
- package/dist/types/flags/data/MO.d.ts +3 -0
- package/dist/types/flags/data/MP.d.ts +3 -0
- package/dist/types/flags/data/MQ.d.ts +3 -0
- package/dist/types/flags/data/MR.d.ts +3 -0
- package/dist/types/flags/data/MS.d.ts +3 -0
- package/dist/types/flags/data/MT.d.ts +3 -0
- package/dist/types/flags/data/MU.d.ts +3 -0
- package/dist/types/flags/data/MV.d.ts +3 -0
- package/dist/types/flags/data/MW.d.ts +3 -0
- package/dist/types/flags/data/MX.d.ts +3 -0
- package/dist/types/flags/data/MY.d.ts +3 -0
- package/dist/types/flags/data/MZ.d.ts +3 -0
- package/dist/types/flags/data/NA.d.ts +3 -0
- package/dist/types/flags/data/NC.d.ts +3 -0
- package/dist/types/flags/data/NE.d.ts +3 -0
- package/dist/types/flags/data/NF.d.ts +3 -0
- package/dist/types/flags/data/NG.d.ts +3 -0
- package/dist/types/flags/data/NI.d.ts +3 -0
- package/dist/types/flags/data/NL.d.ts +3 -0
- package/dist/types/flags/data/NO.d.ts +3 -0
- package/dist/types/flags/data/NP.d.ts +3 -0
- package/dist/types/flags/data/NR.d.ts +3 -0
- package/dist/types/flags/data/NU.d.ts +3 -0
- package/dist/types/flags/data/NZ.d.ts +3 -0
- package/dist/types/flags/data/OM.d.ts +3 -0
- package/dist/types/flags/data/PA.d.ts +3 -0
- package/dist/types/flags/data/PE.d.ts +3 -0
- package/dist/types/flags/data/PF.d.ts +3 -0
- package/dist/types/flags/data/PG.d.ts +3 -0
- package/dist/types/flags/data/PH.d.ts +3 -0
- package/dist/types/flags/data/PK.d.ts +3 -0
- package/dist/types/flags/data/PL.d.ts +3 -0
- package/dist/types/flags/data/PM.d.ts +3 -0
- package/dist/types/flags/data/PN.d.ts +3 -0
- package/dist/types/flags/data/PR.d.ts +3 -0
- package/dist/types/flags/data/PS.d.ts +3 -0
- package/dist/types/flags/data/PT.d.ts +3 -0
- package/dist/types/flags/data/PW.d.ts +3 -0
- package/dist/types/flags/data/PY.d.ts +3 -0
- package/dist/types/flags/data/QA.d.ts +3 -0
- package/dist/types/flags/data/RE.d.ts +3 -0
- package/dist/types/flags/data/RO.d.ts +3 -0
- package/dist/types/flags/data/RS.d.ts +3 -0
- package/dist/types/flags/data/RU.d.ts +3 -0
- package/dist/types/flags/data/RW.d.ts +3 -0
- package/dist/types/flags/data/SA.d.ts +3 -0
- package/dist/types/flags/data/SB.d.ts +3 -0
- package/dist/types/flags/data/SC.d.ts +3 -0
- package/dist/types/flags/data/SD.d.ts +3 -0
- package/dist/types/flags/data/SE.d.ts +3 -0
- package/dist/types/flags/data/SG.d.ts +3 -0
- package/dist/types/flags/data/SH.d.ts +3 -0
- package/dist/types/flags/data/SI.d.ts +3 -0
- package/dist/types/flags/data/SJ.d.ts +3 -0
- package/dist/types/flags/data/SK.d.ts +3 -0
- package/dist/types/flags/data/SL.d.ts +3 -0
- package/dist/types/flags/data/SM.d.ts +3 -0
- package/dist/types/flags/data/SN.d.ts +3 -0
- package/dist/types/flags/data/SO.d.ts +3 -0
- package/dist/types/flags/data/SR.d.ts +3 -0
- package/dist/types/flags/data/SS.d.ts +3 -0
- package/dist/types/flags/data/ST.d.ts +3 -0
- package/dist/types/flags/data/SV.d.ts +3 -0
- package/dist/types/flags/data/SX.d.ts +3 -0
- package/dist/types/flags/data/SY.d.ts +3 -0
- package/dist/types/flags/data/SZ.d.ts +3 -0
- package/dist/types/flags/data/TA.d.ts +3 -0
- package/dist/types/flags/data/TC.d.ts +3 -0
- package/dist/types/flags/data/TD.d.ts +3 -0
- package/dist/types/flags/data/TF.d.ts +3 -0
- package/dist/types/flags/data/TG.d.ts +3 -0
- package/dist/types/flags/data/TH.d.ts +3 -0
- package/dist/types/flags/data/TJ.d.ts +3 -0
- package/dist/types/flags/data/TK.d.ts +3 -0
- package/dist/types/flags/data/TL.d.ts +3 -0
- package/dist/types/flags/data/TM.d.ts +3 -0
- package/dist/types/flags/data/TN.d.ts +3 -0
- package/dist/types/flags/data/TO.d.ts +3 -0
- package/dist/types/flags/data/TR.d.ts +3 -0
- package/dist/types/flags/data/TT.d.ts +3 -0
- package/dist/types/flags/data/TV.d.ts +3 -0
- package/dist/types/flags/data/TW.d.ts +3 -0
- package/dist/types/flags/data/TZ.d.ts +3 -0
- package/dist/types/flags/data/UA.d.ts +3 -0
- package/dist/types/flags/data/UG.d.ts +3 -0
- package/dist/types/flags/data/UM.d.ts +3 -0
- package/dist/types/flags/data/US.d.ts +3 -0
- package/dist/types/flags/data/UY.d.ts +3 -0
- package/dist/types/flags/data/UZ.d.ts +3 -0
- package/dist/types/flags/data/VA.d.ts +3 -0
- package/dist/types/flags/data/VC.d.ts +3 -0
- package/dist/types/flags/data/VE.d.ts +3 -0
- package/dist/types/flags/data/VG.d.ts +3 -0
- package/dist/types/flags/data/VI.d.ts +3 -0
- package/dist/types/flags/data/VN.d.ts +3 -0
- package/dist/types/flags/data/VU.d.ts +3 -0
- package/dist/types/flags/data/WF.d.ts +3 -0
- package/dist/types/flags/data/WS.d.ts +3 -0
- package/dist/types/flags/data/XK.d.ts +3 -0
- package/dist/types/flags/data/YE.d.ts +3 -0
- package/dist/types/flags/data/YT.d.ts +3 -0
- package/dist/types/flags/data/ZA.d.ts +3 -0
- package/dist/types/flags/data/ZM.d.ts +3 -0
- package/dist/types/flags/data/ZW.d.ts +3 -0
- package/dist/types/flags/flags.gen.d.ts +271 -0
- package/dist/types/flags/index.d.ts +1 -0
- package/dist/types/floating-panel/floating-panel.d.ts +179 -0
- package/dist/types/floating-panel/geometry.d.ts +42 -0
- package/dist/types/floating-panel/index.d.ts +2 -0
- package/dist/types/form/form.d.ts +87 -0
- package/dist/types/form/index.d.ts +2 -0
- package/dist/types/gauge/gauge.d.ts +107 -0
- package/dist/types/gauge/gauge.styles.d.ts +124 -0
- package/dist/types/gauge/index.d.ts +5 -0
- package/dist/types/gauge/scale.d.ts +43 -0
- package/dist/types/gif-browser/gif-browser.d.ts +96 -0
- package/dist/types/gif-browser/index.d.ts +5 -0
- package/dist/types/gif-browser/klipy.d.ts +37 -0
- package/dist/types/gif-browser/machine.d.ts +100 -0
- package/dist/types/gif-browser/masonry.d.ts +11 -0
- package/dist/types/gif-browser/types.d.ts +46 -0
- package/dist/types/highlight/highlight.d.ts +22 -0
- package/dist/types/highlight/index.d.ts +4 -0
- package/dist/types/highlight/ranges.d.ts +83 -0
- package/dist/types/hover-card/hover-card.d.ts +42 -0
- package/dist/types/hover-card/index.d.ts +1 -0
- package/dist/types/icon/icon.d.ts +38 -0
- package/dist/types/icon/index.d.ts +1 -0
- package/dist/types/icon-stack/icon-stack.d.ts +42 -0
- package/dist/types/icon-stack/index.d.ts +2 -0
- package/dist/types/icon-tile/icon-tile.d.ts +79 -0
- package/dist/types/icon-tile/icon-tile.styles.d.ts +132 -0
- package/dist/types/icon-tile/index.d.ts +2 -0
- package/dist/types/icons/data/Accessibility.d.ts +3 -0
- package/dist/types/icons/data/Activity.d.ts +3 -0
- package/dist/types/icons/data/AgendaView.d.ts +3 -0
- package/dist/types/icons/data/AiSpeech.d.ts +3 -0
- package/dist/types/icons/data/AiVoice.d.ts +3 -0
- package/dist/types/icons/data/AiVoiceGenerator.d.ts +3 -0
- package/dist/types/icons/data/AlarmClock.d.ts +3 -0
- package/dist/types/icons/data/AlarmClockCheck.d.ts +3 -0
- package/dist/types/icons/data/AlignCenter.d.ts +3 -0
- package/dist/types/icons/data/AlignCenterHorizontal.d.ts +3 -0
- package/dist/types/icons/data/AlignCenterVertical.d.ts +3 -0
- package/dist/types/icons/data/AlignEndHorizontal.d.ts +3 -0
- package/dist/types/icons/data/AlignEndVertical.d.ts +3 -0
- package/dist/types/icons/data/AlignHorizontalDistributeCenter.d.ts +3 -0
- package/dist/types/icons/data/AlignJustify.d.ts +3 -0
- package/dist/types/icons/data/AlignLeft.d.ts +3 -0
- package/dist/types/icons/data/AlignRight.d.ts +3 -0
- package/dist/types/icons/data/AlignStartHorizontal.d.ts +3 -0
- package/dist/types/icons/data/AlignStartVertical.d.ts +3 -0
- package/dist/types/icons/data/AlignVerticalDistributeCenter.d.ts +3 -0
- package/dist/types/icons/data/Archive.d.ts +3 -0
- package/dist/types/icons/data/ArchiveDuotone.d.ts +3 -0
- package/dist/types/icons/data/ArrowDown.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownLeft.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownRight.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownToLine.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownUp.d.ts +3 -0
- package/dist/types/icons/data/ArrowLeft.d.ts +3 -0
- package/dist/types/icons/data/ArrowLeftRight.d.ts +3 -0
- package/dist/types/icons/data/ArrowRight.d.ts +3 -0
- package/dist/types/icons/data/ArrowUp.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpDown.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpFromLine.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpLeft.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpRight.d.ts +3 -0
- package/dist/types/icons/data/AssistantControl.d.ts +3 -0
- package/dist/types/icons/data/Asterisk.d.ts +3 -0
- package/dist/types/icons/data/AtSign.d.ts +3 -0
- package/dist/types/icons/data/AudioLines.d.ts +3 -0
- package/dist/types/icons/data/AudioWaveform.d.ts +3 -0
- package/dist/types/icons/data/Award.d.ts +3 -0
- package/dist/types/icons/data/BackgroundBlur.d.ts +3 -0
- package/dist/types/icons/data/BadgeCheck.d.ts +3 -0
- package/dist/types/icons/data/Ban.d.ts +3 -0
- package/dist/types/icons/data/Banknote.d.ts +3 -0
- package/dist/types/icons/data/BarChart3.d.ts +3 -0
- package/dist/types/icons/data/Battery.d.ts +3 -0
- package/dist/types/icons/data/BatteryCharging.d.ts +3 -0
- package/dist/types/icons/data/BatteryLow.d.ts +3 -0
- package/dist/types/icons/data/Bell.d.ts +3 -0
- package/dist/types/icons/data/BellDot.d.ts +3 -0
- package/dist/types/icons/data/BellOff.d.ts +3 -0
- package/dist/types/icons/data/BellRing.d.ts +3 -0
- package/dist/types/icons/data/Blocks.d.ts +3 -0
- package/dist/types/icons/data/Bluetooth.d.ts +3 -0
- package/dist/types/icons/data/Bold.d.ts +3 -0
- package/dist/types/icons/data/Book.d.ts +3 -0
- package/dist/types/icons/data/BookOpen.d.ts +3 -0
- package/dist/types/icons/data/Bookmark.d.ts +3 -0
- package/dist/types/icons/data/BookmarkCheck.d.ts +3 -0
- package/dist/types/icons/data/BookmarkPlus.d.ts +3 -0
- package/dist/types/icons/data/BookmarkSolid.d.ts +3 -0
- package/dist/types/icons/data/Bot.d.ts +3 -0
- package/dist/types/icons/data/BotMessageSquare.d.ts +3 -0
- package/dist/types/icons/data/Braces.d.ts +3 -0
- package/dist/types/icons/data/Brackets.d.ts +3 -0
- package/dist/types/icons/data/Brain.d.ts +3 -0
- package/dist/types/icons/data/BrainCircuit.d.ts +3 -0
- package/dist/types/icons/data/BringToFront.d.ts +3 -0
- package/dist/types/icons/data/Bug.d.ts +3 -0
- package/dist/types/icons/data/Building.d.ts +3 -0
- package/dist/types/icons/data/Building2.d.ts +3 -0
- package/dist/types/icons/data/Calculator.d.ts +3 -0
- package/dist/types/icons/data/Calendar.d.ts +3 -0
- package/dist/types/icons/data/CalendarCheck.d.ts +3 -0
- package/dist/types/icons/data/CalendarClock.d.ts +3 -0
- package/dist/types/icons/data/CalendarDays.d.ts +3 -0
- package/dist/types/icons/data/CalendarPlus.d.ts +3 -0
- package/dist/types/icons/data/CalendarRange.d.ts +3 -0
- package/dist/types/icons/data/CalendarX.d.ts +3 -0
- package/dist/types/icons/data/CalendarX2.d.ts +3 -0
- package/dist/types/icons/data/CallEndControl.d.ts +3 -0
- package/dist/types/icons/data/Camera.d.ts +3 -0
- package/dist/types/icons/data/Captions.d.ts +3 -0
- package/dist/types/icons/data/Car.d.ts +3 -0
- package/dist/types/icons/data/Cast.d.ts +3 -0
- package/dist/types/icons/data/ChartArea.d.ts +3 -0
- package/dist/types/icons/data/ChartBar.d.ts +3 -0
- package/dist/types/icons/data/ChartLine.d.ts +3 -0
- package/dist/types/icons/data/ChartPie.d.ts +3 -0
- package/dist/types/icons/data/ChatControl.d.ts +3 -0
- package/dist/types/icons/data/Check.d.ts +3 -0
- package/dist/types/icons/data/ChevronDown.d.ts +3 -0
- package/dist/types/icons/data/ChevronLeft.d.ts +3 -0
- package/dist/types/icons/data/ChevronRight.d.ts +3 -0
- package/dist/types/icons/data/ChevronUp.d.ts +3 -0
- package/dist/types/icons/data/ChevronsDown.d.ts +3 -0
- package/dist/types/icons/data/ChevronsLeft.d.ts +3 -0
- package/dist/types/icons/data/ChevronsLeftRight.d.ts +3 -0
- package/dist/types/icons/data/ChevronsRight.d.ts +3 -0
- package/dist/types/icons/data/ChevronsUp.d.ts +3 -0
- package/dist/types/icons/data/ChevronsUpDown.d.ts +3 -0
- package/dist/types/icons/data/Circle.d.ts +3 -0
- package/dist/types/icons/data/CircleAlert.d.ts +3 -0
- package/dist/types/icons/data/CircleCheck.d.ts +3 -0
- package/dist/types/icons/data/CircleCheckBig.d.ts +3 -0
- package/dist/types/icons/data/CircleDashed.d.ts +3 -0
- package/dist/types/icons/data/CircleDollarSign.d.ts +3 -0
- package/dist/types/icons/data/CircleDot.d.ts +3 -0
- package/dist/types/icons/data/CircleDotDashed.d.ts +3 -0
- package/dist/types/icons/data/CircleHelp.d.ts +3 -0
- package/dist/types/icons/data/CircleMinus.d.ts +3 -0
- package/dist/types/icons/data/CirclePause.d.ts +3 -0
- package/dist/types/icons/data/CirclePlay.d.ts +3 -0
- package/dist/types/icons/data/CirclePlus.d.ts +3 -0
- package/dist/types/icons/data/CircleSlash.d.ts +3 -0
- package/dist/types/icons/data/CircleSmall.d.ts +3 -0
- package/dist/types/icons/data/CircleStop.d.ts +3 -0
- package/dist/types/icons/data/CircleX.d.ts +3 -0
- package/dist/types/icons/data/Clipboard.d.ts +3 -0
- package/dist/types/icons/data/ClipboardCheck.d.ts +3 -0
- package/dist/types/icons/data/ClipboardCopy.d.ts +3 -0
- package/dist/types/icons/data/ClipboardList.d.ts +3 -0
- package/dist/types/icons/data/ClipboardPaste.d.ts +3 -0
- package/dist/types/icons/data/Clock.d.ts +3 -0
- package/dist/types/icons/data/Cloud.d.ts +3 -0
- package/dist/types/icons/data/CloudOff.d.ts +3 -0
- package/dist/types/icons/data/CloudSun.d.ts +3 -0
- package/dist/types/icons/data/Code.d.ts +3 -0
- package/dist/types/icons/data/CodeXml.d.ts +3 -0
- package/dist/types/icons/data/Coffee.d.ts +3 -0
- package/dist/types/icons/data/Coins.d.ts +3 -0
- package/dist/types/icons/data/Columns2.d.ts +3 -0
- package/dist/types/icons/data/Columns3.d.ts +3 -0
- package/dist/types/icons/data/Compass.d.ts +3 -0
- package/dist/types/icons/data/Construction.d.ts +3 -0
- package/dist/types/icons/data/Contact.d.ts +3 -0
- package/dist/types/icons/data/Copy.d.ts +3 -0
- package/dist/types/icons/data/CopyPlus.d.ts +3 -0
- package/dist/types/icons/data/CornerDownLeft.d.ts +3 -0
- package/dist/types/icons/data/Cpu.d.ts +3 -0
- package/dist/types/icons/data/CreditCard.d.ts +3 -0
- package/dist/types/icons/data/CreditCardPlus.d.ts +3 -0
- package/dist/types/icons/data/Crop.d.ts +3 -0
- package/dist/types/icons/data/Crown.d.ts +3 -0
- package/dist/types/icons/data/Database.d.ts +3 -0
- package/dist/types/icons/data/DollarSign.d.ts +3 -0
- package/dist/types/icons/data/Dot.d.ts +3 -0
- package/dist/types/icons/data/Download.d.ts +3 -0
- package/dist/types/icons/data/Droplet.d.ts +3 -0
- package/dist/types/icons/data/Ear.d.ts +3 -0
- package/dist/types/icons/data/EarOff.d.ts +3 -0
- package/dist/types/icons/data/Earth.d.ts +3 -0
- package/dist/types/icons/data/Ellipsis.d.ts +3 -0
- package/dist/types/icons/data/EllipsisVertical.d.ts +3 -0
- package/dist/types/icons/data/Eraser.d.ts +3 -0
- package/dist/types/icons/data/Expand.d.ts +3 -0
- package/dist/types/icons/data/ExternalLink.d.ts +3 -0
- package/dist/types/icons/data/Eye.d.ts +3 -0
- package/dist/types/icons/data/EyeClosed.d.ts +3 -0
- package/dist/types/icons/data/EyeOff.d.ts +3 -0
- package/dist/types/icons/data/FastForward.d.ts +3 -0
- package/dist/types/icons/data/File.d.ts +3 -0
- package/dist/types/icons/data/FileAi.d.ts +3 -0
- package/dist/types/icons/data/FileArchive.d.ts +3 -0
- package/dist/types/icons/data/FileAudio.d.ts +3 -0
- package/dist/types/icons/data/FileCheck.d.ts +3 -0
- package/dist/types/icons/data/FileCode.d.ts +3 -0
- package/dist/types/icons/data/FileDiff.d.ts +3 -0
- package/dist/types/icons/data/FileImage.d.ts +3 -0
- package/dist/types/icons/data/FileMinus.d.ts +3 -0
- package/dist/types/icons/data/FilePen.d.ts +3 -0
- package/dist/types/icons/data/FilePlus.d.ts +3 -0
- package/dist/types/icons/data/FileQuestion.d.ts +3 -0
- package/dist/types/icons/data/FileSpreadsheet.d.ts +3 -0
- package/dist/types/icons/data/FileText.d.ts +3 -0
- package/dist/types/icons/data/FileVideo.d.ts +3 -0
- package/dist/types/icons/data/Files.d.ts +3 -0
- package/dist/types/icons/data/Film.d.ts +3 -0
- package/dist/types/icons/data/FilterX.d.ts +3 -0
- package/dist/types/icons/data/Fingerprint.d.ts +3 -0
- package/dist/types/icons/data/Flag.d.ts +3 -0
- package/dist/types/icons/data/FlagOff.d.ts +3 -0
- package/dist/types/icons/data/Flame.d.ts +3 -0
- package/dist/types/icons/data/FlipHorizontal2.d.ts +3 -0
- package/dist/types/icons/data/Focus.d.ts +3 -0
- package/dist/types/icons/data/Folder.d.ts +3 -0
- package/dist/types/icons/data/FolderClosed.d.ts +3 -0
- package/dist/types/icons/data/FolderInput.d.ts +3 -0
- package/dist/types/icons/data/FolderOpen.d.ts +3 -0
- package/dist/types/icons/data/FolderPlus.d.ts +3 -0
- package/dist/types/icons/data/FolderSearch.d.ts +3 -0
- package/dist/types/icons/data/FolderTree.d.ts +3 -0
- package/dist/types/icons/data/Forward.d.ts +3 -0
- package/dist/types/icons/data/Fullscreen.d.ts +3 -0
- package/dist/types/icons/data/GalleryThumbnails.d.ts +3 -0
- package/dist/types/icons/data/Gauge.d.ts +3 -0
- package/dist/types/icons/data/Gift.d.ts +3 -0
- package/dist/types/icons/data/GitBranch.d.ts +3 -0
- package/dist/types/icons/data/GitCommitHorizontal.d.ts +3 -0
- package/dist/types/icons/data/GitMerge.d.ts +3 -0
- package/dist/types/icons/data/GitPullRequest.d.ts +3 -0
- package/dist/types/icons/data/Globe.d.ts +3 -0
- package/dist/types/icons/data/GraduationCap.d.ts +3 -0
- package/dist/types/icons/data/Grid3x3.d.ts +3 -0
- package/dist/types/icons/data/Grip.d.ts +3 -0
- package/dist/types/icons/data/GripHorizontal.d.ts +3 -0
- package/dist/types/icons/data/GripVertical.d.ts +3 -0
- package/dist/types/icons/data/Group.d.ts +3 -0
- package/dist/types/icons/data/Hand.d.ts +3 -0
- package/dist/types/icons/data/HardDrive.d.ts +3 -0
- package/dist/types/icons/data/Hash.d.ts +3 -0
- package/dist/types/icons/data/Hd.d.ts +3 -0
- package/dist/types/icons/data/Heading1.d.ts +3 -0
- package/dist/types/icons/data/Heading2.d.ts +3 -0
- package/dist/types/icons/data/Heading3.d.ts +3 -0
- package/dist/types/icons/data/Headphones.d.ts +3 -0
- package/dist/types/icons/data/Heart.d.ts +3 -0
- package/dist/types/icons/data/HeartOff.d.ts +3 -0
- package/dist/types/icons/data/HeartPulse.d.ts +3 -0
- package/dist/types/icons/data/HeartSolid.d.ts +3 -0
- package/dist/types/icons/data/Heatmap.d.ts +3 -0
- package/dist/types/icons/data/History.d.ts +3 -0
- package/dist/types/icons/data/Hourglass.d.ts +3 -0
- package/dist/types/icons/data/House.d.ts +3 -0
- package/dist/types/icons/data/IdCard.d.ts +3 -0
- package/dist/types/icons/data/Image.d.ts +3 -0
- package/dist/types/icons/data/ImageOff.d.ts +3 -0
- package/dist/types/icons/data/ImagePlus.d.ts +3 -0
- package/dist/types/icons/data/Images.d.ts +3 -0
- package/dist/types/icons/data/Inbox.d.ts +3 -0
- package/dist/types/icons/data/IndentDecrease.d.ts +3 -0
- package/dist/types/icons/data/IndentIncrease.d.ts +3 -0
- package/dist/types/icons/data/Info.d.ts +3 -0
- package/dist/types/icons/data/Italic.d.ts +3 -0
- package/dist/types/icons/data/Kanban.d.ts +3 -0
- package/dist/types/icons/data/Key.d.ts +3 -0
- package/dist/types/icons/data/KeyRound.d.ts +3 -0
- package/dist/types/icons/data/Keyboard.d.ts +3 -0
- package/dist/types/icons/data/Landmark.d.ts +3 -0
- package/dist/types/icons/data/Languages.d.ts +3 -0
- package/dist/types/icons/data/Laptop.d.ts +3 -0
- package/dist/types/icons/data/Layers.d.ts +3 -0
- package/dist/types/icons/data/LayoutDashboard.d.ts +3 -0
- package/dist/types/icons/data/LayoutGrid.d.ts +3 -0
- package/dist/types/icons/data/LayoutList.d.ts +3 -0
- package/dist/types/icons/data/LayoutPanelLeft.d.ts +3 -0
- package/dist/types/icons/data/LayoutTemplate.d.ts +3 -0
- package/dist/types/icons/data/Leaf.d.ts +3 -0
- package/dist/types/icons/data/LifeBuoy.d.ts +3 -0
- package/dist/types/icons/data/Lightbulb.d.ts +3 -0
- package/dist/types/icons/data/Link.d.ts +3 -0
- package/dist/types/icons/data/Link2.d.ts +3 -0
- package/dist/types/icons/data/Link2Off.d.ts +3 -0
- package/dist/types/icons/data/List.d.ts +3 -0
- package/dist/types/icons/data/ListChecks.d.ts +3 -0
- package/dist/types/icons/data/ListFilter.d.ts +3 -0
- package/dist/types/icons/data/ListOrdered.d.ts +3 -0
- package/dist/types/icons/data/ListPlus.d.ts +3 -0
- package/dist/types/icons/data/ListTodo.d.ts +3 -0
- package/dist/types/icons/data/ListTree.d.ts +3 -0
- package/dist/types/icons/data/ListX.d.ts +3 -0
- package/dist/types/icons/data/Loader.d.ts +3 -0
- package/dist/types/icons/data/LoaderCircle.d.ts +3 -0
- package/dist/types/icons/data/LoaderPinwheel.d.ts +3 -0
- package/dist/types/icons/data/Lock.d.ts +3 -0
- package/dist/types/icons/data/LockKeyhole.d.ts +3 -0
- package/dist/types/icons/data/LockOpen.d.ts +3 -0
- package/dist/types/icons/data/LogIn.d.ts +3 -0
- package/dist/types/icons/data/LogOut.d.ts +3 -0
- package/dist/types/icons/data/Mail.d.ts +3 -0
- package/dist/types/icons/data/MailCheck.d.ts +3 -0
- package/dist/types/icons/data/MailOpen.d.ts +3 -0
- package/dist/types/icons/data/MailPlus.d.ts +3 -0
- package/dist/types/icons/data/MailQuestionMark.d.ts +3 -0
- package/dist/types/icons/data/MailWarning.d.ts +3 -0
- package/dist/types/icons/data/Map.d.ts +3 -0
- package/dist/types/icons/data/MapPin.d.ts +3 -0
- package/dist/types/icons/data/MapPinned.d.ts +3 -0
- package/dist/types/icons/data/Mars.d.ts +3 -0
- package/dist/types/icons/data/Maximize.d.ts +3 -0
- package/dist/types/icons/data/Maximize2.d.ts +3 -0
- package/dist/types/icons/data/Megaphone.d.ts +3 -0
- package/dist/types/icons/data/Menu.d.ts +3 -0
- package/dist/types/icons/data/MessageCircle.d.ts +3 -0
- package/dist/types/icons/data/MessageCircleMore.d.ts +3 -0
- package/dist/types/icons/data/MessageSquare.d.ts +3 -0
- package/dist/types/icons/data/MessageSquarePlus.d.ts +3 -0
- package/dist/types/icons/data/MessageSquareText.d.ts +3 -0
- package/dist/types/icons/data/MessagesSquare.d.ts +3 -0
- package/dist/types/icons/data/Mic.d.ts +3 -0
- package/dist/types/icons/data/MicControl.d.ts +3 -0
- package/dist/types/icons/data/MicOff.d.ts +3 -0
- package/dist/types/icons/data/MicOffControl.d.ts +3 -0
- package/dist/types/icons/data/Minimize.d.ts +3 -0
- package/dist/types/icons/data/Minimize2.d.ts +3 -0
- package/dist/types/icons/data/Minus.d.ts +3 -0
- package/dist/types/icons/data/Monitor.d.ts +3 -0
- package/dist/types/icons/data/MonitorUp.d.ts +3 -0
- package/dist/types/icons/data/Moon.d.ts +3 -0
- package/dist/types/icons/data/MoreControl.d.ts +3 -0
- package/dist/types/icons/data/Mouse.d.ts +3 -0
- package/dist/types/icons/data/MousePointer2.d.ts +3 -0
- package/dist/types/icons/data/MousePointerClick.d.ts +3 -0
- package/dist/types/icons/data/Move.d.ts +3 -0
- package/dist/types/icons/data/MoveHorizontal.d.ts +3 -0
- package/dist/types/icons/data/Music.d.ts +3 -0
- package/dist/types/icons/data/Navigation.d.ts +3 -0
- package/dist/types/icons/data/Network.d.ts +3 -0
- package/dist/types/icons/data/OctagonAlert.d.ts +3 -0
- package/dist/types/icons/data/Package.d.ts +3 -0
- package/dist/types/icons/data/Palette.d.ts +3 -0
- package/dist/types/icons/data/PanelLeft.d.ts +3 -0
- package/dist/types/icons/data/PanelLeftClose.d.ts +3 -0
- package/dist/types/icons/data/PanelRight.d.ts +3 -0
- package/dist/types/icons/data/PanelRightOpen.d.ts +3 -0
- package/dist/types/icons/data/Paperclip.d.ts +3 -0
- package/dist/types/icons/data/PartyPopper.d.ts +3 -0
- package/dist/types/icons/data/Pause.d.ts +3 -0
- package/dist/types/icons/data/PawPrint.d.ts +3 -0
- package/dist/types/icons/data/Pen.d.ts +3 -0
- package/dist/types/icons/data/PenLine.d.ts +3 -0
- package/dist/types/icons/data/Pencil.d.ts +3 -0
- package/dist/types/icons/data/PeopleControl.d.ts +3 -0
- package/dist/types/icons/data/Percent.d.ts +3 -0
- package/dist/types/icons/data/Phone.d.ts +3 -0
- package/dist/types/icons/data/PhoneCall.d.ts +3 -0
- package/dist/types/icons/data/PhoneOff.d.ts +3 -0
- package/dist/types/icons/data/PictureInPicture.d.ts +3 -0
- package/dist/types/icons/data/Pilcrow.d.ts +3 -0
- package/dist/types/icons/data/Pin.d.ts +3 -0
- package/dist/types/icons/data/PinOff.d.ts +3 -0
- package/dist/types/icons/data/Pipette.d.ts +3 -0
- package/dist/types/icons/data/Plane.d.ts +3 -0
- package/dist/types/icons/data/Play.d.ts +3 -0
- package/dist/types/icons/data/Plug.d.ts +3 -0
- package/dist/types/icons/data/Plus.d.ts +3 -0
- package/dist/types/icons/data/Power.d.ts +3 -0
- package/dist/types/icons/data/Presence.d.ts +3 -0
- package/dist/types/icons/data/Printer.d.ts +3 -0
- package/dist/types/icons/data/QrCode.d.ts +3 -0
- package/dist/types/icons/data/Quote.d.ts +3 -0
- package/dist/types/icons/data/Radio.d.ts +3 -0
- package/dist/types/icons/data/RaiseHand.d.ts +3 -0
- package/dist/types/icons/data/ReactionsControl.d.ts +3 -0
- package/dist/types/icons/data/Receipt.d.ts +3 -0
- package/dist/types/icons/data/Redo.d.ts +3 -0
- package/dist/types/icons/data/Redo2.d.ts +3 -0
- package/dist/types/icons/data/RefreshCcw.d.ts +3 -0
- package/dist/types/icons/data/RefreshCw.d.ts +3 -0
- package/dist/types/icons/data/Regex.d.ts +3 -0
- package/dist/types/icons/data/RemoveFormatting.d.ts +3 -0
- package/dist/types/icons/data/Repeat.d.ts +3 -0
- package/dist/types/icons/data/Reply.d.ts +3 -0
- package/dist/types/icons/data/ReplyAll.d.ts +3 -0
- package/dist/types/icons/data/Rewind.d.ts +3 -0
- package/dist/types/icons/data/Rocket.d.ts +3 -0
- package/dist/types/icons/data/RotateCcw.d.ts +3 -0
- package/dist/types/icons/data/RotateCw.d.ts +3 -0
- package/dist/types/icons/data/Rows3.d.ts +3 -0
- package/dist/types/icons/data/Rss.d.ts +3 -0
- package/dist/types/icons/data/Save.d.ts +3 -0
- package/dist/types/icons/data/Scan.d.ts +3 -0
- package/dist/types/icons/data/ScanEye.d.ts +3 -0
- package/dist/types/icons/data/ScanFace.d.ts +3 -0
- package/dist/types/icons/data/ScanLine.d.ts +3 -0
- package/dist/types/icons/data/Scissors.d.ts +3 -0
- package/dist/types/icons/data/ScreenShareControl.d.ts +3 -0
- package/dist/types/icons/data/ScreenShareOff.d.ts +3 -0
- package/dist/types/icons/data/ScrollText.d.ts +3 -0
- package/dist/types/icons/data/Search.d.ts +3 -0
- package/dist/types/icons/data/SearchX.d.ts +3 -0
- package/dist/types/icons/data/SelectField.d.ts +3 -0
- package/dist/types/icons/data/Send.d.ts +3 -0
- package/dist/types/icons/data/SendHorizontal.d.ts +3 -0
- package/dist/types/icons/data/SendToBack.d.ts +3 -0
- package/dist/types/icons/data/Server.d.ts +3 -0
- package/dist/types/icons/data/Settings.d.ts +3 -0
- package/dist/types/icons/data/Settings2.d.ts +3 -0
- package/dist/types/icons/data/SettingsControl.d.ts +3 -0
- package/dist/types/icons/data/Share.d.ts +3 -0
- package/dist/types/icons/data/Share2.d.ts +3 -0
- package/dist/types/icons/data/Shield.d.ts +3 -0
- package/dist/types/icons/data/ShieldAlert.d.ts +3 -0
- package/dist/types/icons/data/ShieldBan.d.ts +3 -0
- package/dist/types/icons/data/ShieldCheck.d.ts +3 -0
- package/dist/types/icons/data/ShieldOff.d.ts +3 -0
- package/dist/types/icons/data/ShieldPlus.d.ts +3 -0
- package/dist/types/icons/data/ShieldQuestion.d.ts +3 -0
- package/dist/types/icons/data/ShoppingBag.d.ts +3 -0
- package/dist/types/icons/data/ShoppingCart.d.ts +3 -0
- package/dist/types/icons/data/Shrink.d.ts +3 -0
- package/dist/types/icons/data/Shuffle.d.ts +3 -0
- package/dist/types/icons/data/Signal.d.ts +3 -0
- package/dist/types/icons/data/SignalHigh.d.ts +3 -0
- package/dist/types/icons/data/SignalLow.d.ts +3 -0
- package/dist/types/icons/data/SignalMedium.d.ts +3 -0
- package/dist/types/icons/data/SkipBack.d.ts +3 -0
- package/dist/types/icons/data/SkipForward.d.ts +3 -0
- package/dist/types/icons/data/SlidersHorizontal.d.ts +3 -0
- package/dist/types/icons/data/Smartphone.d.ts +3 -0
- package/dist/types/icons/data/Smile.d.ts +3 -0
- package/dist/types/icons/data/SmilePlus.d.ts +3 -0
- package/dist/types/icons/data/Snowflake.d.ts +3 -0
- package/dist/types/icons/data/Sparkle.d.ts +3 -0
- package/dist/types/icons/data/Sparkles.d.ts +3 -0
- package/dist/types/icons/data/Speaker.d.ts +3 -0
- package/dist/types/icons/data/SpeakerView.d.ts +3 -0
- package/dist/types/icons/data/Spotlight.d.ts +3 -0
- package/dist/types/icons/data/Square.d.ts +3 -0
- package/dist/types/icons/data/SquareArrowDown.d.ts +3 -0
- package/dist/types/icons/data/SquareArrowUp.d.ts +3 -0
- package/dist/types/icons/data/SquareCheck.d.ts +3 -0
- package/dist/types/icons/data/SquareCode.d.ts +3 -0
- package/dist/types/icons/data/SquareDashed.d.ts +3 -0
- package/dist/types/icons/data/SquareKanban.d.ts +3 -0
- package/dist/types/icons/data/SquarePen.d.ts +3 -0
- package/dist/types/icons/data/SquarePlus.d.ts +3 -0
- package/dist/types/icons/data/SquareTerminal.d.ts +3 -0
- package/dist/types/icons/data/SquareX.d.ts +3 -0
- package/dist/types/icons/data/Star.d.ts +3 -0
- package/dist/types/icons/data/StarOff.d.ts +3 -0
- package/dist/types/icons/data/StickyNote.d.ts +3 -0
- package/dist/types/icons/data/Store.d.ts +3 -0
- package/dist/types/icons/data/Strikethrough.d.ts +3 -0
- package/dist/types/icons/data/Sun.d.ts +3 -0
- package/dist/types/icons/data/SunMoon.d.ts +3 -0
- package/dist/types/icons/data/SwitchCamera.d.ts +3 -0
- package/dist/types/icons/data/Table.d.ts +3 -0
- package/dist/types/icons/data/Table2.d.ts +3 -0
- package/dist/types/icons/data/Tablet.d.ts +3 -0
- package/dist/types/icons/data/Tag.d.ts +3 -0
- package/dist/types/icons/data/Tags.d.ts +3 -0
- package/dist/types/icons/data/Target.d.ts +3 -0
- package/dist/types/icons/data/Terminal.d.ts +3 -0
- package/dist/types/icons/data/TextCursor.d.ts +3 -0
- package/dist/types/icons/data/TextSmallcaps.d.ts +3 -0
- package/dist/types/icons/data/Thermometer.d.ts +3 -0
- package/dist/types/icons/data/ThumbsDown.d.ts +3 -0
- package/dist/types/icons/data/ThumbsUp.d.ts +3 -0
- package/dist/types/icons/data/TimeZone.d.ts +3 -0
- package/dist/types/icons/data/Timer.d.ts +3 -0
- package/dist/types/icons/data/TimerOff.d.ts +3 -0
- package/dist/types/icons/data/Trash.d.ts +3 -0
- package/dist/types/icons/data/TrendingDown.d.ts +3 -0
- package/dist/types/icons/data/TrendingUp.d.ts +3 -0
- package/dist/types/icons/data/TriangleAlert.d.ts +3 -0
- package/dist/types/icons/data/Trophy.d.ts +3 -0
- package/dist/types/icons/data/Truck.d.ts +3 -0
- package/dist/types/icons/data/Tv.d.ts +3 -0
- package/dist/types/icons/data/Type.d.ts +3 -0
- package/dist/types/icons/data/Underline.d.ts +3 -0
- package/dist/types/icons/data/Undo.d.ts +3 -0
- package/dist/types/icons/data/Undo2.d.ts +3 -0
- package/dist/types/icons/data/Ungroup.d.ts +3 -0
- package/dist/types/icons/data/Unlink.d.ts +3 -0
- package/dist/types/icons/data/Unlink2.d.ts +3 -0
- package/dist/types/icons/data/Upload.d.ts +3 -0
- package/dist/types/icons/data/User.d.ts +3 -0
- package/dist/types/icons/data/UserCheck.d.ts +3 -0
- package/dist/types/icons/data/UserCog.d.ts +3 -0
- package/dist/types/icons/data/UserMinus.d.ts +3 -0
- package/dist/types/icons/data/UserPen.d.ts +3 -0
- package/dist/types/icons/data/UserPlus.d.ts +3 -0
- package/dist/types/icons/data/UserRound.d.ts +3 -0
- package/dist/types/icons/data/UserRoundPlus.d.ts +3 -0
- package/dist/types/icons/data/UserX.d.ts +3 -0
- package/dist/types/icons/data/Users.d.ts +3 -0
- package/dist/types/icons/data/UsersRound.d.ts +3 -0
- package/dist/types/icons/data/Venus.d.ts +3 -0
- package/dist/types/icons/data/VenusAndMars.d.ts +3 -0
- package/dist/types/icons/data/Video.d.ts +3 -0
- package/dist/types/icons/data/VideoControl.d.ts +3 -0
- package/dist/types/icons/data/VideoDisabledControl.d.ts +3 -0
- package/dist/types/icons/data/VideoOff.d.ts +3 -0
- package/dist/types/icons/data/VideoOffControl.d.ts +3 -0
- package/dist/types/icons/data/VoiceIsolation.d.ts +3 -0
- package/dist/types/icons/data/Volume.d.ts +3 -0
- package/dist/types/icons/data/Volume1.d.ts +3 -0
- package/dist/types/icons/data/Volume2.d.ts +3 -0
- package/dist/types/icons/data/VolumeOff.d.ts +3 -0
- package/dist/types/icons/data/VolumeX.d.ts +3 -0
- package/dist/types/icons/data/Wallet.d.ts +3 -0
- package/dist/types/icons/data/Wand.d.ts +3 -0
- package/dist/types/icons/data/WandSparkles.d.ts +3 -0
- package/dist/types/icons/data/Webhook.d.ts +3 -0
- package/dist/types/icons/data/Wifi.d.ts +3 -0
- package/dist/types/icons/data/WifiOff.d.ts +3 -0
- package/dist/types/icons/data/Wind.d.ts +3 -0
- package/dist/types/icons/data/WrapText.d.ts +3 -0
- package/dist/types/icons/data/Wrench.d.ts +3 -0
- package/dist/types/icons/data/X.d.ts +3 -0
- package/dist/types/icons/data/Zap.d.ts +3 -0
- package/dist/types/icons/data/ZoomIn.d.ts +3 -0
- package/dist/types/icons/data/ZoomOut.d.ts +3 -0
- package/dist/types/icons/icons.gen.d.ts +495 -0
- package/dist/types/icons/index.d.ts +2 -0
- package/dist/types/image-cropper/image-cropper.d.ts +77 -0
- package/dist/types/image-cropper/index.d.ts +4 -0
- package/dist/types/image-lightbox/carousel-stage.d.ts +2 -0
- package/dist/types/image-lightbox/image-lightbox.d.ts +224 -0
- package/dist/types/image-lightbox/index.d.ts +2 -0
- package/dist/types/image-lightbox/stage.d.ts +45 -0
- package/dist/types/index.d.ts +150 -0
- package/dist/types/internal/arc.d.ts +14 -0
- package/dist/types/internal/chip.styles.d.ts +43 -0
- package/dist/types/internal/class.d.ts +33 -0
- package/dist/types/internal/composer/box.styles.d.ts +2 -0
- package/dist/types/internal/composer/composer-box.d.ts +147 -0
- package/dist/types/internal/composer/composer-engine.d.ts +79 -0
- package/dist/types/internal/composer/composer-format.d.ts +56 -0
- package/dist/types/internal/composer/composer.d.ts +105 -0
- package/dist/types/internal/composer/content.styles.d.ts +2 -0
- package/dist/types/internal/composer/format.styles.d.ts +20 -0
- package/dist/types/internal/composer/frame.styles.d.ts +22 -0
- package/dist/types/internal/cue.d.ts +10 -0
- package/dist/types/internal/dialog-context.d.ts +1 -0
- package/dist/types/internal/disclosure.styles.d.ts +32 -0
- package/dist/types/internal/drag-motion.d.ts +21 -0
- package/dist/types/internal/drag-touch.d.ts +28 -0
- package/dist/types/internal/drag.styles.d.ts +34 -0
- package/dist/types/internal/element.d.ts +32 -0
- package/dist/types/internal/floating.styles.d.ts +85 -0
- package/dist/types/internal/form-context.d.ts +38 -0
- package/dist/types/internal/gauge.styles.d.ts +82 -0
- package/dist/types/internal/handler.d.ts +6 -0
- package/dist/types/internal/icon-part.d.ts +17 -0
- package/dist/types/internal/icons.d.ts +18 -0
- package/dist/types/internal/layers.d.ts +18 -0
- package/dist/types/internal/list.styles.d.ts +237 -0
- package/dist/types/internal/locale.d.ts +23 -0
- package/dist/types/internal/mask.d.ts +18 -0
- package/dist/types/internal/overflow/fit.d.ts +25 -0
- package/dist/types/internal/overflow/items.d.ts +40 -0
- package/dist/types/internal/overflow/observe.d.ts +40 -0
- package/dist/types/internal/overflow/row.d.ts +15 -0
- package/dist/types/internal/part.d.ts +15 -0
- package/dist/types/internal/press-focus.d.ts +16 -0
- package/dist/types/internal/ref.d.ts +16 -0
- package/dist/types/internal/rrule.d.ts +83 -0
- package/dist/types/internal/scroll-overflow.d.ts +2 -0
- package/dist/types/internal/segmented-input.styles.d.ts +45 -0
- package/dist/types/internal/sheet.styles.d.ts +216 -0
- package/dist/types/internal/shimmer.styles.d.ts +14 -0
- package/dist/types/internal/spring.d.ts +33 -0
- package/dist/types/internal/status-icons.d.ts +7 -0
- package/dist/types/internal/styles.d.ts +39 -0
- package/dist/types/internal/text-field.styles.d.ts +92 -0
- package/dist/types/internal/threshold.d.ts +20 -0
- package/dist/types/internal/time.d.ts +2 -0
- package/dist/types/internal/zoned.d.ts +27 -0
- package/dist/types/item/index.d.ts +2 -0
- package/dist/types/item/item.d.ts +120 -0
- package/dist/types/json-view/index.d.ts +4 -0
- package/dist/types/json-view/json-view.d.ts +150 -0
- package/dist/types/json-view/model.d.ts +88 -0
- package/dist/types/kanban/index.d.ts +2 -0
- package/dist/types/kanban/kanban.d.ts +158 -0
- package/dist/types/kanban/kanban.styles.d.ts +29 -0
- package/dist/types/kbd/index.d.ts +4 -0
- package/dist/types/kbd/kbd.d.ts +18 -0
- package/dist/types/kbd/kbd.styles.d.ts +30 -0
- package/dist/types/knob/index.d.ts +2 -0
- package/dist/types/knob/knob.d.ts +117 -0
- package/dist/types/knob/math.d.ts +91 -0
- package/dist/types/label/index.d.ts +1 -0
- package/dist/types/label/label.d.ts +11 -0
- package/dist/types/layout/index.d.ts +2 -0
- package/dist/types/layout/layout.d.ts +126 -0
- package/dist/types/link/index.d.ts +3 -0
- package/dist/types/link/link.d.ts +32 -0
- package/dist/types/link/link.styles.d.ts +29 -0
- package/dist/types/loader/index.d.ts +2 -0
- package/dist/types/loader/loader.d.ts +37 -0
- package/dist/types/locale-provider/index.d.ts +5 -0
- package/dist/types/locale-provider/locale-provider.d.ts +30 -0
- package/dist/types/locale-provider/messages.d.ts +496 -0
- package/dist/types/log-view/ansi.d.ts +60 -0
- package/dist/types/log-view/index.d.ts +7 -0
- package/dist/types/log-view/log-view.d.ts +130 -0
- package/dist/types/log-view/model.d.ts +67 -0
- package/dist/types/log-view/toolbar.d.ts +27 -0
- package/dist/types/logo/index.d.ts +4 -0
- package/dist/types/logo/logo-loader.d.ts +83 -0
- package/dist/types/logo/logo.d.ts +65 -0
- package/dist/types/logo/paths.d.ts +16 -0
- package/dist/types/logo/shapes.d.ts +15 -0
- package/dist/types/markdown/engine.d.ts +27 -0
- package/dist/types/markdown/index.d.ts +5 -0
- package/dist/types/markdown/markdown.d.ts +88 -0
- package/dist/types/markdown/markdown.styles.d.ts +2 -0
- package/dist/types/markdown/sanitize.d.ts +55 -0
- package/dist/types/markdown-editor/index.d.ts +4 -0
- package/dist/types/markdown-editor/markdown-editor.d.ts +96 -0
- package/dist/types/markdown-editor/markdown-editor.styles.d.ts +2 -0
- package/dist/types/markdown-editor/markdown.d.ts +36 -0
- package/dist/types/markdown-editor/sourced.d.ts +33 -0
- package/dist/types/markdown-editor/strip.d.ts +12 -0
- package/dist/types/markdown-editor/writer.d.ts +33 -0
- package/dist/types/marker/index.d.ts +2 -0
- package/dist/types/marker/marker.d.ts +57 -0
- package/dist/types/media-player/engine.d.ts +76 -0
- package/dist/types/media-player/index.d.ts +4 -0
- package/dist/types/media-player/media-player.d.ts +234 -0
- package/dist/types/media-player/model.d.ts +47 -0
- package/dist/types/media-player/primitive.d.ts +3347 -0
- package/dist/types/menu/index.d.ts +1 -0
- package/dist/types/menu/menu.d.ts +99 -0
- package/dist/types/menubar/index.d.ts +1 -0
- package/dist/types/menubar/menubar.d.ts +27 -0
- package/dist/types/message/index.d.ts +2 -0
- package/dist/types/message/message.d.ts +120 -0
- package/dist/types/message-scroller/index.d.ts +2 -0
- package/dist/types/message-scroller/message-scroller.d.ts +89 -0
- package/dist/types/meter/index.d.ts +4 -0
- package/dist/types/meter/meter.d.ts +41 -0
- package/dist/types/model-picker/index.d.ts +2 -0
- package/dist/types/model-picker/model-picker.d.ts +99 -0
- package/dist/types/model-picker/panel.d.ts +14 -0
- package/dist/types/natural-date-input/engine.d.ts +45 -0
- package/dist/types/natural-date-input/format.d.ts +62 -0
- package/dist/types/natural-date-input/index.d.ts +9 -0
- package/dist/types/natural-date-input/natural-date-input.d.ts +284 -0
- package/dist/types/natural-date-input/parser.d.ts +22 -0
- package/dist/types/natural-date-input/picker.d.ts +16 -0
- package/dist/types/natural-date-input/types.d.ts +62 -0
- package/dist/types/navigation-menu/index.d.ts +2 -0
- package/dist/types/navigation-menu/navigation-menu.d.ts +60 -0
- package/dist/types/notice-stack/index.d.ts +2 -0
- package/dist/types/notice-stack/notice-stack.d.ts +94 -0
- package/dist/types/number-input/index.d.ts +2 -0
- package/dist/types/number-input/number-input.d.ts +34 -0
- package/dist/types/orb/index.d.ts +2 -0
- package/dist/types/orb/orb.d.ts +33 -0
- package/dist/types/otp-input/index.d.ts +2 -0
- package/dist/types/otp-input/otp-input.d.ts +23 -0
- package/dist/types/pagination/index.d.ts +1 -0
- package/dist/types/pagination/pagination.d.ts +67 -0
- package/dist/types/panel-stack/index.d.ts +1 -0
- package/dist/types/panel-stack/panel-stack.d.ts +177 -0
- package/dist/types/password-input/index.d.ts +2 -0
- package/dist/types/password-input/password-input.d.ts +33 -0
- package/dist/types/peek-panel/context.d.ts +110 -0
- package/dist/types/peek-panel/index.d.ts +2 -0
- package/dist/types/peek-panel/model.d.ts +39 -0
- package/dist/types/peek-panel/parts.d.ts +72 -0
- package/dist/types/peek-panel/peek-panel.d.ts +107 -0
- package/dist/types/peek-panel/peek-sheet.d.ts +18 -0
- package/dist/types/phone-input/countries.d.ts +25 -0
- package/dist/types/phone-input/engine.d.ts +10 -0
- package/dist/types/phone-input/index.d.ts +2 -0
- package/dist/types/phone-input/load.d.ts +10 -0
- package/dist/types/phone-input/model.d.ts +49 -0
- package/dist/types/phone-input/phone-input.d.ts +158 -0
- package/dist/types/pocket/index.d.ts +2 -0
- package/dist/types/pocket/pocket.d.ts +54 -0
- package/dist/types/popover/index.d.ts +1 -0
- package/dist/types/popover/popover.d.ts +77 -0
- package/dist/types/progress/index.d.ts +4 -0
- package/dist/types/progress/progress.d.ts +41 -0
- package/dist/types/prompt-input/index.d.ts +2 -0
- package/dist/types/prompt-input/prompt-input.d.ts +227 -0
- package/dist/types/property-list/commit.d.ts +32 -0
- package/dist/types/property-list/index.d.ts +13 -0
- package/dist/types/property-list/property-date.d.ts +29 -0
- package/dist/types/property-list/property-list.d.ts +141 -0
- package/dist/types/property-list/property-list.styles.d.ts +268 -0
- package/dist/types/property-list/property-popover.d.ts +84 -0
- package/dist/types/property-list/property-select.d.ts +72 -0
- package/dist/types/property-list/property-switch.d.ts +12 -0
- package/dist/types/property-list/property-text.d.ts +90 -0
- package/dist/types/prose/index.d.ts +2 -0
- package/dist/types/prose/prose.d.ts +26 -0
- package/dist/types/prose-editor/announce.d.ts +1 -0
- package/dist/types/prose-editor/code-view.d.ts +54 -0
- package/dist/types/prose-editor/controller.d.ts +100 -0
- package/dist/types/prose-editor/doc.d.ts +185 -0
- package/dist/types/prose-editor/dom-reader.d.ts +20 -0
- package/dist/types/prose-editor/editor.styles.d.ts +332 -0
- package/dist/types/prose-editor/engine.d.ts +56 -0
- package/dist/types/prose-editor/highlight.d.ts +7 -0
- package/dist/types/prose-editor/index.d.ts +5 -0
- package/dist/types/prose-editor/keys.d.ts +3 -0
- package/dist/types/prose-editor/labels.d.ts +122 -0
- package/dist/types/prose-editor/language-names.d.ts +1 -0
- package/dist/types/prose-editor/languages.d.ts +9 -0
- package/dist/types/prose-editor/link-row.d.ts +15 -0
- package/dist/types/prose-editor/mention.d.ts +13 -0
- package/dist/types/prose-editor/more-menu.d.ts +18 -0
- package/dist/types/prose-editor/prose-editor.d.ts +148 -0
- package/dist/types/prose-editor/schema.d.ts +8 -0
- package/dist/types/prose-editor/server.d.ts +2 -0
- package/dist/types/prose-editor/sugar.d.ts +11 -0
- package/dist/types/prose-editor/suggest-adapter.d.ts +23 -0
- package/dist/types/prose-editor/suggestions-menu.d.ts +16 -0
- package/dist/types/prose-editor/suggestions.d.ts +100 -0
- package/dist/types/prose-editor/toolbar-extras.d.ts +2 -0
- package/dist/types/prose-editor/toolbar.d.ts +106 -0
- package/dist/types/prose-editor/view-parts.d.ts +12 -0
- package/dist/types/prose-editor-suggestions/index.d.ts +1 -0
- package/dist/types/questionnaire/index.d.ts +2 -0
- package/dist/types/questionnaire/questionnaire.d.ts +151 -0
- package/dist/types/radio/index.d.ts +2 -0
- package/dist/types/radio/radio.d.ts +43 -0
- package/dist/types/rating/index.d.ts +1 -0
- package/dist/types/rating/rating.d.ts +65 -0
- package/dist/types/reactions/index.d.ts +3 -0
- package/dist/types/reactions/model.d.ts +92 -0
- package/dist/types/reactions/reactions.d.ts +113 -0
- package/dist/types/reasoning/index.d.ts +2 -0
- package/dist/types/reasoning/reasoning.d.ts +56 -0
- package/dist/types/recurrence/dialog.d.ts +30 -0
- package/dist/types/recurrence/editor.d.ts +37 -0
- package/dist/types/recurrence/index.d.ts +10 -0
- package/dist/types/recurrence/labels.d.ts +52 -0
- package/dist/types/recurrence/model.d.ts +133 -0
- package/dist/types/recurrence/recurrence-select.d.ts +41 -0
- package/dist/types/relative-time/clock.d.ts +6 -0
- package/dist/types/relative-time/index.d.ts +2 -0
- package/dist/types/relative-time/relative-time.d.ts +68 -0
- package/dist/types/resizable/index.d.ts +3 -0
- package/dist/types/resizable/resizable.d.ts +44 -0
- package/dist/types/ring/index.d.ts +5 -0
- package/dist/types/ring/meter-ring.d.ts +42 -0
- package/dist/types/ring/progress-ring.d.ts +34 -0
- package/dist/types/ring/ring.styles.d.ts +26 -0
- package/dist/types/schedule-list/index.d.ts +2 -0
- package/dist/types/schedule-list/menu.d.ts +29 -0
- package/dist/types/schedule-list/model.d.ts +132 -0
- package/dist/types/schedule-list/schedule-list.d.ts +173 -0
- package/dist/types/scroll-area/index.d.ts +1 -0
- package/dist/types/scroll-area/scroll-area.d.ts +56 -0
- package/dist/types/secret/index.d.ts +2 -0
- package/dist/types/secret/secret.d.ts +162 -0
- package/dist/types/segmented-control/index.d.ts +2 -0
- package/dist/types/segmented-control/segmented-control.d.ts +25 -0
- package/dist/types/select/align.d.ts +41 -0
- package/dist/types/select/index.d.ts +1 -0
- package/dist/types/select/select.d.ts +76 -0
- package/dist/types/separator/index.d.ts +2 -0
- package/dist/types/separator/separator.d.ts +11 -0
- package/dist/types/sheet/index.d.ts +1 -0
- package/dist/types/sheet/sheet.d.ts +80 -0
- package/dist/types/shortcut-recorder/capture.d.ts +37 -0
- package/dist/types/shortcut-recorder/index.d.ts +6 -0
- package/dist/types/shortcut-recorder/labels.d.ts +52 -0
- package/dist/types/shortcut-recorder/model.d.ts +30 -0
- package/dist/types/shortcut-recorder/popover.d.ts +68 -0
- package/dist/types/shortcut-recorder/shortcut-recorder.d.ts +76 -0
- package/dist/types/shortcuts/conflicts.d.ts +16 -0
- package/dist/types/shortcuts/index.d.ts +15 -0
- package/dist/types/shortcuts/keys.d.ts +44 -0
- package/dist/types/shortcuts/list.d.ts +46 -0
- package/dist/types/shortcuts/model.d.ts +41 -0
- package/dist/types/shortcuts/platform.d.ts +6 -0
- package/dist/types/shortcuts/scope.d.ts +52 -0
- package/dist/types/shortcuts/shortcuts.d.ts +16 -0
- package/dist/types/shortcuts/use-shortcut.d.ts +30 -0
- package/dist/types/sidebar/context.d.ts +158 -0
- package/dist/types/sidebar/index.d.ts +10 -0
- package/dist/types/sidebar/lazy-tips.d.ts +31 -0
- package/dist/types/sidebar/menu.d.ts +170 -0
- package/dist/types/sidebar/sheet.d.ts +16 -0
- package/dist/types/sidebar/sidebar.d.ts +152 -0
- package/dist/types/sidebar/sidebar.styles.d.ts +424 -0
- package/dist/types/sidebar/tips.d.ts +33 -0
- package/dist/types/sidebar/views.d.ts +63 -0
- package/dist/types/signature-pad/export.d.ts +30 -0
- package/dist/types/signature-pad/index.d.ts +6 -0
- package/dist/types/signature-pad/model.d.ts +118 -0
- package/dist/types/signature-pad/signature-pad.d.ts +208 -0
- package/dist/types/skeleton/index.d.ts +2 -0
- package/dist/types/skeleton/skeleton.d.ts +27 -0
- package/dist/types/slider/index.d.ts +2 -0
- package/dist/types/slider/slider.d.ts +28 -0
- package/dist/types/sortable-list/index.d.ts +2 -0
- package/dist/types/sortable-list/sortable-list.d.ts +101 -0
- package/dist/types/sortable-list/sortable-list.styles.d.ts +30 -0
- package/dist/types/span-timeline/index.d.ts +4 -0
- package/dist/types/span-timeline/model.d.ts +81 -0
- package/dist/types/span-timeline/span-timeline.d.ts +77 -0
- package/dist/types/spinner/index.d.ts +2 -0
- package/dist/types/spinner/spinner.d.ts +37 -0
- package/dist/types/stat/context.d.ts +24 -0
- package/dist/types/stat/delta.d.ts +150 -0
- package/dist/types/stat/index.d.ts +4 -0
- package/dist/types/stat/stat.d.ts +163 -0
- package/dist/types/statusbar/index.d.ts +2 -0
- package/dist/types/statusbar/statusbar.d.ts +127 -0
- package/dist/types/stepper/index.d.ts +1 -0
- package/dist/types/stepper/stepper.d.ts +125 -0
- package/dist/types/stepper/stepper.styles.d.ts +40 -0
- package/dist/types/switch/index.d.ts +2 -0
- package/dist/types/switch/switch.d.ts +25 -0
- package/dist/types/table/index.d.ts +2 -0
- package/dist/types/table/table.d.ts +95 -0
- package/dist/types/table-of-contents/headings.d.ts +39 -0
- package/dist/types/table-of-contents/index.d.ts +4 -0
- package/dist/types/table-of-contents/scrollspy.d.ts +46 -0
- package/dist/types/table-of-contents/table-of-contents.d.ts +76 -0
- package/dist/types/tabs/index.d.ts +2 -0
- package/dist/types/tabs/tabs.d.ts +50 -0
- package/dist/types/tabs-overflow/index.d.ts +1 -0
- package/dist/types/tabs-overflow/menu.d.ts +19 -0
- package/dist/types/tabs-overflow/tabs-overflow.d.ts +41 -0
- package/dist/types/task-tray/index.d.ts +3 -0
- package/dist/types/task-tray/model.d.ts +128 -0
- package/dist/types/task-tray/store.d.ts +133 -0
- package/dist/types/task-tray/task-tray.d.ts +145 -0
- package/dist/types/text/index.d.ts +2 -0
- package/dist/types/text/text.d.ts +76 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/theme.d.ts +62 -0
- package/dist/types/theme-switcher/index.d.ts +3 -0
- package/dist/types/theme-switcher/theme-switcher.d.ts +47 -0
- package/dist/types/thread-list/index.d.ts +2 -0
- package/dist/types/thread-list/thread-list.d.ts +71 -0
- package/dist/types/tiling/create-tiling.d.ts +44 -0
- package/dist/types/tiling/engine/controllers/drag.d.ts +38 -0
- package/dist/types/tiling/engine/controllers/resize.d.ts +22 -0
- package/dist/types/tiling/engine/defaults.d.ts +10 -0
- package/dist/types/tiling/engine/emitter.d.ts +8 -0
- package/dist/types/tiling/engine/engine.d.ts +127 -0
- package/dist/types/tiling/engine/geometry.d.ts +19 -0
- package/dist/types/tiling/engine/history.d.ts +25 -0
- package/dist/types/tiling/engine/ids.d.ts +7 -0
- package/dist/types/tiling/engine/index.d.ts +18 -0
- package/dist/types/tiling/engine/layout.d.ts +41 -0
- package/dist/types/tiling/engine/scheduler.d.ts +13 -0
- package/dist/types/tiling/engine/spring.d.ts +22 -0
- package/dist/types/tiling/engine/store.d.ts +14 -0
- package/dist/types/tiling/engine/tree.d.ts +126 -0
- package/dist/types/tiling/engine/types.d.ts +355 -0
- package/dist/types/tiling/index.d.ts +3 -0
- package/dist/types/tiling/pointer.d.ts +53 -0
- package/dist/types/tiling/tab-strip.d.ts +59 -0
- package/dist/types/tiling/tiling.d.ts +122 -0
- package/dist/types/tiling/tiling.styles.d.ts +468 -0
- package/dist/types/time-input/index.d.ts +1 -0
- package/dist/types/time-input/time-input.d.ts +21 -0
- package/dist/types/time-picker/index.d.ts +2 -0
- package/dist/types/time-picker/model.d.ts +86 -0
- package/dist/types/time-picker/time-picker.d.ts +177 -0
- package/dist/types/time-zone-picker/index.d.ts +4 -0
- package/dist/types/time-zone-picker/time-zone-picker.d.ts +57 -0
- package/dist/types/time-zone-picker/zones.d.ts +71 -0
- package/dist/types/timeline/index.d.ts +1 -0
- package/dist/types/timeline/timeline.d.ts +51 -0
- package/dist/types/toast/index.d.ts +1 -0
- package/dist/types/toast/toast.d.ts +66 -0
- package/dist/types/toggle/index.d.ts +2 -0
- package/dist/types/toggle/toggle.d.ts +53 -0
- package/dist/types/token-input/index.d.ts +1 -0
- package/dist/types/token-input/token-input.d.ts +34 -0
- package/dist/types/tokens.stylex.d.ts +273 -0
- package/dist/types/tool-call/index.d.ts +2 -0
- package/dist/types/tool-call/instead-form.d.ts +8 -0
- package/dist/types/tool-call/tool-call.d.ts +178 -0
- package/dist/types/toolbar/index.d.ts +1 -0
- package/dist/types/toolbar/toolbar.d.ts +62 -0
- package/dist/types/toolbar-overflow/index.d.ts +1 -0
- package/dist/types/toolbar-overflow/menu.d.ts +19 -0
- package/dist/types/toolbar-overflow/toolbar-overflow.d.ts +43 -0
- package/dist/types/tooltip/index.d.ts +1 -0
- package/dist/types/tooltip/tooltip.d.ts +96 -0
- package/dist/types/trace/index.d.ts +2 -0
- package/dist/types/trace/trace.d.ts +155 -0
- package/dist/types/tree/index.d.ts +1 -0
- package/dist/types/tree/tree.d.ts +56 -0
- package/dist/types/trigger-menu/index.d.ts +1 -0
- package/dist/types/trigger-menu/trigger-menu.d.ts +57 -0
- package/dist/types/undo/index.d.ts +2 -0
- package/dist/types/undo/undo.d.ts +114 -0
- package/dist/types/volume-meter/index.d.ts +2 -0
- package/dist/types/volume-meter/volume-meter.d.ts +49 -0
- package/docs/accordion.md +203 -0
- package/docs/agent-activity.md +97 -0
- package/docs/agent-todos.md +118 -0
- package/docs/alert-dialog.md +267 -0
- package/docs/alert.md +106 -0
- package/docs/api.json +37339 -0
- package/docs/attachment.md +122 -0
- package/docs/autocomplete.md +324 -0
- package/docs/avatar.md +168 -0
- package/docs/badge.md +97 -0
- package/docs/blocks/agenda.md +1601 -0
- package/docs/blocks/ai-agent.md +122 -0
- package/docs/blocks/ai-chat.md +2102 -0
- package/docs/blocks/ai-settings.md +892 -0
- package/docs/blocks/ai-workspace.md +290 -0
- package/docs/blocks/ai.md +642 -0
- package/docs/blocks/app-shell.md +4009 -0
- package/docs/blocks/auth-screens.md +2781 -0
- package/docs/blocks/auth.md +441 -0
- package/docs/blocks/availability.md +1901 -0
- package/docs/blocks/billing.md +1168 -0
- package/docs/blocks/blocks.json +1360 -0
- package/docs/blocks/breakdown.md +1296 -0
- package/docs/blocks/calendar-app.md +722 -0
- package/docs/blocks/calendar-import.md +1444 -0
- package/docs/blocks/chat.md +695 -0
- package/docs/blocks/command-palette.md +1713 -0
- package/docs/blocks/country-select.md +298 -0
- package/docs/blocks/dashboard.md +1067 -0
- package/docs/blocks/data-grid.md +540 -0
- package/docs/blocks/data-views-issues.md +2193 -0
- package/docs/blocks/data-views-table.md +2871 -0
- package/docs/blocks/data-views.md +598 -0
- package/docs/blocks/deploys.md +2008 -0
- package/docs/blocks/device-settings.md +1585 -0
- package/docs/blocks/docs-article.md +2632 -0
- package/docs/blocks/feedback-states.md +621 -0
- package/docs/blocks/files.md +3649 -0
- package/docs/blocks/guided-onboarding.md +2449 -0
- package/docs/blocks/lobby.md +2260 -0
- package/docs/blocks/meeting-home.md +4602 -0
- package/docs/blocks/meeting-summary.md +2164 -0
- package/docs/blocks/meeting.md +1121 -0
- package/docs/blocks/messenger.md +478 -0
- package/docs/blocks/metrics.md +1646 -0
- package/docs/blocks/not-found.md +1355 -0
- package/docs/blocks/notifications.md +2011 -0
- package/docs/blocks/onboarding.md +1252 -0
- package/docs/blocks/page-layouts.md +2049 -0
- package/docs/blocks/payment-form.md +907 -0
- package/docs/blocks/payment-methods.md +809 -0
- package/docs/blocks/permission-request/artwork/camera.webp +0 -0
- package/docs/blocks/permission-request/artwork/location.webp +0 -0
- package/docs/blocks/permission-request/artwork/microphone.webp +0 -0
- package/docs/blocks/permission-request/artwork/notifications.webp +0 -0
- package/docs/blocks/permission-request/artwork/screen.webp +0 -0
- package/docs/blocks/permission-request.md +1496 -0
- package/docs/blocks/pricing.md +1128 -0
- package/docs/blocks/record-detail.md +1117 -0
- package/docs/blocks/schedule-dashboard.md +3125 -0
- package/docs/blocks/secrets.md +1555 -0
- package/docs/blocks/settings-account.md +2259 -0
- package/docs/blocks/settings-core.md +3094 -0
- package/docs/blocks/settings-developers.md +1304 -0
- package/docs/blocks/settings-dialog.md +514 -0
- package/docs/blocks/settings-form.md +300 -0
- package/docs/blocks/settings-workspace.md +1553 -0
- package/docs/blocks/settings.md +552 -0
- package/docs/blocks/simple-table.md +703 -0
- package/docs/blocks/speed-test.md +533 -0
- package/docs/blocks/status.md +1446 -0
- package/docs/blocks/upload-flow.md +528 -0
- package/docs/blocks/waves-hero.md +908 -0
- package/docs/bot-avatar.md +202 -0
- package/docs/brands.md +142 -0
- package/docs/breadcrumb.md +113 -0
- package/docs/bubble.md +58 -0
- package/docs/button.md +186 -0
- package/docs/calendar.md +316 -0
- package/docs/card-input.md +326 -0
- package/docs/card.md +312 -0
- package/docs/carousel.md +498 -0
- package/docs/cascader.md +414 -0
- package/docs/chat-composer.md +414 -0
- package/docs/checkbox.md +142 -0
- package/docs/code-block.md +137 -0
- package/docs/collapsible.md +137 -0
- package/docs/color-picker.md +302 -0
- package/docs/combobox.md +568 -0
- package/docs/command.md +482 -0
- package/docs/context-menu.md +84 -0
- package/docs/context-meter.md +112 -0
- package/docs/copy-button.md +149 -0
- package/docs/create-table.md +121 -0
- package/docs/csp-provider.md +75 -0
- package/docs/cues.md +82 -0
- package/docs/data-grid.md +435 -0
- package/docs/date-input.md +144 -0
- package/docs/date-picker.md +357 -0
- package/docs/day-strip.md +545 -0
- package/docs/description-list.md +182 -0
- package/docs/dialog.md +314 -0
- package/docs/diff-review.md +120 -0
- package/docs/direction-provider.md +60 -0
- package/docs/draw-toolbar.md +364 -0
- package/docs/editable-text.md +322 -0
- package/docs/emoji-picker.md +315 -0
- package/docs/empty-state.md +126 -0
- package/docs/event-popover.md +340 -0
- package/docs/field.md +303 -0
- package/docs/file-input.md +295 -0
- package/docs/file-type.md +134 -0
- package/docs/filter-bar.md +220 -0
- package/docs/flag.md +381 -0
- package/docs/floating-panel.md +321 -0
- package/docs/form.md +240 -0
- package/docs/gauge.md +213 -0
- package/docs/gif-browser.md +370 -0
- package/docs/highlight.md +153 -0
- package/docs/hover-card.md +172 -0
- package/docs/i18n.md +1254 -0
- package/docs/icon-stack.md +90 -0
- package/docs/icon-tile.md +157 -0
- package/docs/icon.md +121 -0
- package/docs/icons.md +551 -0
- package/docs/image-cropper.md +350 -0
- package/docs/image-lightbox.md +357 -0
- package/docs/item.md +336 -0
- package/docs/json-view.md +300 -0
- package/docs/kanban.md +213 -0
- package/docs/kbd.md +40 -0
- package/docs/knob.md +159 -0
- package/docs/label.md +51 -0
- package/docs/layout.md +119 -0
- package/docs/link.md +64 -0
- package/docs/llms.txt +331 -0
- package/docs/loader.md +115 -0
- package/docs/locale-provider.md +70 -0
- package/docs/log-view.md +288 -0
- package/docs/logo-loader.md +71 -0
- package/docs/logo.md +118 -0
- package/docs/markdown-editor.md +397 -0
- package/docs/markdown.md +150 -0
- package/docs/marker.md +176 -0
- package/docs/media-player.md +472 -0
- package/docs/menu.md +461 -0
- package/docs/menubar.md +123 -0
- package/docs/message-scroller.md +123 -0
- package/docs/message.md +262 -0
- package/docs/meter.md +139 -0
- package/docs/model-picker.md +126 -0
- package/docs/natural-date-input.md +478 -0
- package/docs/navigation-menu.md +363 -0
- package/docs/notice-stack.md +246 -0
- package/docs/number-input.md +205 -0
- package/docs/orb.md +175 -0
- package/docs/otp-input.md +121 -0
- package/docs/pagination.md +195 -0
- package/docs/panel-stack.md +360 -0
- package/docs/password-input.md +129 -0
- package/docs/peek-panel.md +470 -0
- package/docs/phone-input.md +224 -0
- package/docs/pocket.md +203 -0
- package/docs/popover.md +273 -0
- package/docs/progress.md +152 -0
- package/docs/prompt-input.md +183 -0
- package/docs/property-list.md +584 -0
- package/docs/prose-editor.md +637 -0
- package/docs/questionnaire.md +322 -0
- package/docs/radio.md +164 -0
- package/docs/rating.md +305 -0
- package/docs/reactions.md +187 -0
- package/docs/reasoning.md +102 -0
- package/docs/recurrence.md +256 -0
- package/docs/relative-time.md +160 -0
- package/docs/resizable.md +199 -0
- package/docs/ring.md +98 -0
- package/docs/schedule-list.md +523 -0
- package/docs/scroll-area.md +230 -0
- package/docs/search-index.json +7031 -0
- package/docs/secret.md +239 -0
- package/docs/segmented-control.md +114 -0
- package/docs/select.md +618 -0
- package/docs/separator.md +64 -0
- package/docs/sheet.md +284 -0
- package/docs/shortcut-recorder.md +268 -0
- package/docs/shortcuts.md +312 -0
- package/docs/sidebar.md +725 -0
- package/docs/signature-pad.md +443 -0
- package/docs/skeleton.md +60 -0
- package/docs/slider.md +170 -0
- package/docs/solid-start.md +228 -0
- package/docs/sortable-list.md +149 -0
- package/docs/span-timeline.md +257 -0
- package/docs/spinner.md +63 -0
- package/docs/stat.md +325 -0
- package/docs/statusbar.md +297 -0
- package/docs/stepper.md +233 -0
- package/docs/switch.md +105 -0
- package/docs/table-of-contents.md +215 -0
- package/docs/table.md +289 -0
- package/docs/tabs.md +260 -0
- package/docs/tanstack-start.md +432 -0
- package/docs/task-tray.md +455 -0
- package/docs/text.md +185 -0
- package/docs/theme-switcher.md +136 -0
- package/docs/theming.md +188 -0
- package/docs/thread-list.md +126 -0
- package/docs/tiling.md +521 -0
- package/docs/time-input.md +130 -0
- package/docs/time-picker.md +371 -0
- package/docs/time-zone-picker.md +152 -0
- package/docs/timeline.md +248 -0
- package/docs/toast.md +259 -0
- package/docs/toggle.md +140 -0
- package/docs/token-input.md +183 -0
- package/docs/tokens.md +280 -0
- package/docs/tool-call.md +169 -0
- package/docs/toolbar.md +283 -0
- package/docs/tooltip.md +215 -0
- package/docs/trace.md +293 -0
- package/docs/tree.md +270 -0
- package/docs/trigger-menu.md +250 -0
- package/docs/undo.md +186 -0
- package/docs/volume-meter.md +166 -0
- package/package.json +860 -4
- package/skills/solid-ui-kit/SKILL.md +58 -0
|
@@ -0,0 +1,3125 @@
|
|
|
1
|
+
# Schedule dashboard (block)
|
|
2
|
+
|
|
3
|
+
<!-- search: schedule dashboard, home dashboard, upcoming meetings, meetings home, agenda with side panel, meeting details panel, participants list, attendees by rsvp, who's going, day strip with agenda, infinite agenda -->
|
|
4
|
+
|
|
5
|
+
An app's **home page of upcoming meetings**, as copyable source: a [Day strip](../day-strip.md) over one long [Schedule list](../schedule-list.md), every day from today, loading from your API two weeks at a time as people scroll; the chosen meeting opens in a side panel with its details, your answer, Join, and its participants grouped by how they answered. It's made for the [app shell's](./app-shell.md) inset layout, with the panel as the shell's `aside`; under 52rem beside the sidebar the panel is a sheet, and it works at phone width and right to left.
|
|
6
|
+
|
|
7
|
+
**Files on this page**: each is a fenced block titled with its file name. Copy them into one folder, keeping the names (they import each other by relative path).
|
|
8
|
+
|
|
9
|
+
| File | Lines |
|
|
10
|
+
| ------------------------ | ----- |
|
|
11
|
+
| `schedule-dashboard.tsx` | 611 |
|
|
12
|
+
| `meeting-panel.tsx` | 565 |
|
|
13
|
+
| `schedule-meeting.tsx` | 312 |
|
|
14
|
+
| `agenda.tsx` | 490 |
|
|
15
|
+
| `responses.ts` | 64 |
|
|
16
|
+
| `labels.tsx` | 240 |
|
|
17
|
+
| `scheduling.module.css` | 641 |
|
|
18
|
+
|
|
19
|
+
To write them into your app, from its root:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npx solid-ui-kit add schedule-dashboard
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
It writes `src/components/scheduling/` (`--dir` for a folder other than `src/components`), with the files it imports from other blocks beside it, keeps files you've edited, and lists the packages to install.
|
|
26
|
+
|
|
27
|
+
Copy the eight files into one folder (for example `src/components/scheduling/`; the [Agenda](./agenda.md) and [Availability](./availability.md) blocks share it), and the app-shell block. Public `@zsherman/kit/*` entries, `@zsherman/kit/icons` and `--sui-*` tokens only; no StyleX compiler.
|
|
28
|
+
|
|
29
|
+
## Use it
|
|
30
|
+
|
|
31
|
+
`createScheduleDashboard` holds what both halves share: the loaded meetings, the chosen one, whether the panel shows, and your answers. Hand it to `ScheduleDashboard` (the page) and `ScheduleDashboardPanel` (the shell's `aside`), and let the shell follow the panel:
|
|
32
|
+
|
|
33
|
+
```tsx
|
|
34
|
+
import { SidebarShell, ShellBrand } from "./components/app-shell/app-shell";
|
|
35
|
+
import { type AgendaApi, type AgendaCalendar } from "./components/scheduling/agenda";
|
|
36
|
+
import {
|
|
37
|
+
createScheduleDashboard,
|
|
38
|
+
ScheduleDashboard,
|
|
39
|
+
ScheduleDashboardPanel,
|
|
40
|
+
} from "./components/scheduling/schedule-dashboard";
|
|
41
|
+
|
|
42
|
+
const calendars: AgendaCalendar[] = [
|
|
43
|
+
{ id: "team", name: "Team", tone: "info" },
|
|
44
|
+
{ id: "customers", name: "Customers", tone: "warning" },
|
|
45
|
+
{ id: "personal", name: "Personal", tone: "neutral" },
|
|
46
|
+
];
|
|
47
|
+
|
|
48
|
+
const api: AgendaApi = {
|
|
49
|
+
async listEvents({ from, to }, signal) {
|
|
50
|
+
const res = await fetch(`/api/events?from=${from}&to=${to}`, { signal });
|
|
51
|
+
if (!res.ok) throw new Error(`events: ${res.status}`);
|
|
52
|
+
return res.json();
|
|
53
|
+
},
|
|
54
|
+
async respond(eventId, response) {
|
|
55
|
+
const res = await fetch(`/api/events/${eventId}/response`, {
|
|
56
|
+
method: "PUT",
|
|
57
|
+
body: JSON.stringify({ response }),
|
|
58
|
+
});
|
|
59
|
+
if (!res.ok) throw new Error(`respond: ${res.status}`);
|
|
60
|
+
},
|
|
61
|
+
// Optional: with it, a day's + opens the scheduling dialog.
|
|
62
|
+
async createEvent(draft) {
|
|
63
|
+
const res = await fetch("/api/events", { method: "POST", body: JSON.stringify(draft) });
|
|
64
|
+
if (!res.ok) throw new Error(`create: ${res.status}`);
|
|
65
|
+
return res.json();
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export function Home(props: { today: string; timeZone: string }) {
|
|
70
|
+
const dashboard = createScheduleDashboard({ api, calendars, today: props.today, timeZone: props.timeZone });
|
|
71
|
+
return (
|
|
72
|
+
<SidebarShell
|
|
73
|
+
layout="inset"
|
|
74
|
+
brand={<ShellBrand name="Acme" href="/" />}
|
|
75
|
+
nav={nav}
|
|
76
|
+
current="/"
|
|
77
|
+
crumbs={[{ label: "Home" }]}
|
|
78
|
+
aside={<ScheduleDashboardPanel dashboard={dashboard} />}
|
|
79
|
+
asideLabel="Meeting details"
|
|
80
|
+
asideOpen={dashboard.panelOpen()}
|
|
81
|
+
onAsideOpenChange={dashboard.setPanelOpen}
|
|
82
|
+
>
|
|
83
|
+
<ScheduleDashboard dashboard={dashboard} />
|
|
84
|
+
</SidebarShell>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Pass `today` and `timeZone` from the server (the user's), so the first render places meetings on the right days. Without the app shell, put `ScheduleDashboardPanel` in any column or sheet beside the page and show it while `dashboard.panelOpen()` is true.
|
|
90
|
+
|
|
91
|
+
## How it behaves
|
|
92
|
+
|
|
93
|
+
- **One schedule from today.** The list shows every day from `today` to the last day loaded (a free day says "No events"); the first two weeks load when it mounts (a skeleton until then, an error with Try again if they fail). The next two weeks load while less than two screens of the list are left below the view, so scrolling doesn't reach an empty end; up to `days` (90). While they load a line under the list says so; if they fail it says that, with Try again. The list ends at its last day: no empty room after it.
|
|
94
|
+
- **The strip and the list follow each other.** The strip shows as many days as fit its width (Day strip `days="fit"`: 6rem each, 7 to 14, again as the page or the side panel resizes), starting at today. Picking a day scrolls its band to the top (a day past what's loaded loads first); scrolling moves the strip's day along, and the days shown with it. Previous and Next show the days before or after, and pick the first of them; Today comes back. Days before today and after the last can't be picked. Each day's dots are the calendars it has meetings in.
|
|
95
|
+
- **Rows.** The calendar's color, the title, a camera after it when the meeting has a call (`joinUrl`), the time and the place, up to four people (then "+N"), and your answer when it isn't Going (Invited, Maybe, Declined). Past meetings are muted, and a line marks now in today's.
|
|
96
|
+
- **Choosing.** Pressing a meeting chooses it and shows the panel; the row stays marked. Escape in the schedule, or the panel's Close, lets go of it and hides the panel. The shell's toggle shows the panel with nothing chosen ("No meeting selected").
|
|
97
|
+
- **Shaping the page.** `scroll="page"` lets the page scroll instead of the list (the dashboard's nearest scrolling ancestor, like the app shell's main): `header` scrolls away, the strip sticks at the top on `--sui-surface`, each day's band under it (ScheduleList `scrollParent`, with the strip's height as `--schedule-list-sticky-top`) and the legend at the bottom; every row renders, and the next weeks load as the page nears its end. `header` goes above the strip (a page title and its actions); `stripControls={false}` drops the strip's own row (the months, Today, Previous, Next: the months stay for screen readers, naming the days); `density="one-line"` puts each meeting on one line; `calendars` (ids) shows only those calendars' meetings, dots and legend entries; `filter(event)` leaves out any meeting it returns false for (rows and dots); `callIcon(event)` returns `{ icon, label }` for the mark after a call's title (a brand's, by its host) instead of the camera; `class` goes on the section. A meeting with `canceled: true` says "Canceled" on its row. The [Meeting home](./meeting-home.md) block uses all of them.
|
|
98
|
+
- **Scheduling.** With `api.createEvent`, each day's band has a + named "Schedule a meeting on Tuesday, November 24" that opens the scheduling dialog (`schedule-meeting.tsx`) on that day. To open your own form instead, pass `onSchedule(day)`, then `dashboard.insert(event)` what your API created; `dashboard.choose(event.id)` opens it.
|
|
99
|
+
|
|
100
|
+
## The scheduling dialog
|
|
101
|
+
|
|
102
|
+
A [Dialog](../dialog.md) with a [Form](../form.md): a title (required: Schedule says "Give the meeting a title." and waits), the date ([Date picker](../date-picker.md), today or later), when it starts ([Time input](../time-input.md)) and how long (15 minutes to 2 hours), the calendar, the guests (a [Combobox](../combobox.md) of the people in the meetings loaded, by email), a video call (on by default), a place and a description. It starts on the day whose + opened it, at 10:00 (today: the next half hour, not before 10:00), for 30 minutes, on the first calendar. Schedule is pending while `api.createEvent(draft)` runs; then the dialog closes, the meeting is added, chosen and shown in the side panel, and the schedule scrolls to its day. A rejection keeps the dialog open with an alert.
|
|
103
|
+
|
|
104
|
+
```ts
|
|
105
|
+
interface MeetingDraft {
|
|
106
|
+
title: string;
|
|
107
|
+
date: string; // "YYYY-MM-DD", in the schedule's zone
|
|
108
|
+
start: string; // "HH:mm", 24-hour
|
|
109
|
+
minutes: number;
|
|
110
|
+
calendar: string; // an AgendaCalendar's id
|
|
111
|
+
guests: AgendaGuest[]; // you're the organizer, not among them
|
|
112
|
+
video: boolean; // your server makes the call's link
|
|
113
|
+
location?: string;
|
|
114
|
+
description?: string;
|
|
115
|
+
}
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
`ScheduleMeetingDialog` works on its own too: `controller` (`createDialogController<string>()`, opened with `{ payload: day }`), `calendars`, `people`, `today`, `suggest(day)` (the start time) and `onSchedule(draft)`.
|
|
119
|
+
|
|
120
|
+
## The panel
|
|
121
|
+
|
|
122
|
+
Three levels on the kit's [Panel stack](../panel-stack.md), each with Back (above the first), its title and Close:
|
|
123
|
+
|
|
124
|
+
- **Details**: the date, then the times, how long and the zone ("10:30 – 11:00 AM · 30 min · PT"); the call's address or the place; the calendar; About (the description); People, a row with the first avatars, "7 invited" and how they answered ("4 going, 1 maybe, 1 not going, 1 awaiting") that opens Participants; Your answer (Going, Maybe, Not going), saved at once and put back if the save fails, until the meeting is over; Join meeting while it can be joined.
|
|
125
|
+
- **Participants**: a group per answer that has people, in the order Going, Maybe, Not going, No response, each with its count; you are "(you)", the organizer says "Organizer" (an organizer who didn't answer counts as going). A row opens that person.
|
|
126
|
+
- **A person**: their name and email, Copy email, and their answer and role in this meeting.
|
|
127
|
+
|
|
128
|
+
Escape in the panel goes back a level, and closes the panel from the details. Choosing another meeting starts at its details again; a new answer keeps the level you're on.
|
|
129
|
+
|
|
130
|
+
## The API
|
|
131
|
+
|
|
132
|
+
The same `AgendaApi` as the Agenda block. `listEvents({ from, to }, signal)` returns the meetings that touch those days (`"YYYY-MM-DD"` in the dashboard's zone, both included); a meeting across two loads may come in both, and is kept once. Guests take an `email`, shown on the person level (and used as the name when `name` is empty).
|
|
133
|
+
|
|
134
|
+
```ts
|
|
135
|
+
interface AgendaEvent {
|
|
136
|
+
id: string;
|
|
137
|
+
title: string;
|
|
138
|
+
start: string; // ISO date-time with an offset, or "YYYY-MM-DD" for all day
|
|
139
|
+
end?: string;
|
|
140
|
+
allDay?: boolean;
|
|
141
|
+
calendar: string; // an AgendaCalendar's id
|
|
142
|
+
location?: string;
|
|
143
|
+
joinUrl?: string; // the call: a camera on the row, Join in the panel
|
|
144
|
+
description?: string;
|
|
145
|
+
repeats?: string; // "Repeats every Monday": the Meeting home panel shows it
|
|
146
|
+
canceled?: boolean; // its row says "Canceled"
|
|
147
|
+
guests?: readonly AgendaGuest[];
|
|
148
|
+
response?: "accepted" | "tentative" | "declined" | "needs-action"; // yours, when you're invited
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
interface AgendaGuest {
|
|
152
|
+
name: string;
|
|
153
|
+
email?: string;
|
|
154
|
+
src?: string;
|
|
155
|
+
response?: AgendaResponse;
|
|
156
|
+
organizer?: boolean;
|
|
157
|
+
self?: boolean; // you
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
interface ScheduleDashboardState {
|
|
161
|
+
events(): readonly AgendaEvent[];
|
|
162
|
+
status(): "loading" | "error" | "ready"; // the first two weeks
|
|
163
|
+
more(): "idle" | "loading" | "error" | "done"; // the next two
|
|
164
|
+
to(): string; // the last day loaded
|
|
165
|
+
loadMore(): void;
|
|
166
|
+
reach(day: string): void; // load until `day` is in
|
|
167
|
+
chosen(): string | null;
|
|
168
|
+
choose(id: string | null): void; // a meeting shows the panel
|
|
169
|
+
panelOpen(): boolean;
|
|
170
|
+
setPanelOpen(open: boolean): void; // hiding it lets go of the meeting
|
|
171
|
+
insert(event: AgendaEvent): void;
|
|
172
|
+
create(draft: MeetingDraft): Promise<AgendaEvent>; // through api.createEvent; adds and chooses it
|
|
173
|
+
people(): readonly AgendaGuest[]; // the guests the dialog offers
|
|
174
|
+
}
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
## Words and formats
|
|
178
|
+
|
|
179
|
+
Every word is in `labels.tsx` (`schedulingLabels`, shared with the Agenda and Availability blocks): pass `labels` to `ScheduleDashboard` and `ScheduleDashboardPanel`, or wrap them in `SchedulingLabelsProvider`. Dates, times and the zone's short name come from `Intl` in `LocaleProvider`'s locale.
|
|
180
|
+
|
|
181
|
+
## Source
|
|
182
|
+
|
|
183
|
+
```tsx title="schedule-dashboard.tsx"
|
|
184
|
+
/**
|
|
185
|
+
* Schedule dashboard — a copyable block for @zsherman/kit: an app's home page of upcoming meetings, with the
|
|
186
|
+
* chosen meeting in a side panel. Made to sit in the app shell's inset layout (`SidebarShell layout="inset"`)
|
|
187
|
+
* with `ScheduleDashboardPanel` as its `aside`.
|
|
188
|
+
*
|
|
189
|
+
* - `createScheduleDashboard(options)`: the state both halves share. Meetings load from your API two weeks at a
|
|
190
|
+
* time, from today on (90 days by default); the chosen meeting; whether the panel shows; your answers, saved
|
|
191
|
+
* at once and put back if the save fails.
|
|
192
|
+
* - `ScheduleDashboard`: a Day strip over one long schedule, every day from today in it (a free day says so).
|
|
193
|
+
* Picking a day scrolls the schedule to it; scrolling moves the strip's day along, and nearing the last loaded
|
|
194
|
+
* day loads the next two weeks. Each day's band has a button to schedule on that day. Rows show the
|
|
195
|
+
* calendar's color, the title (a camera after it when there's a call), the time, the people and your
|
|
196
|
+
* answer; past meetings are muted. A legend names the calendars.
|
|
197
|
+
* - `ScheduleDashboardPanel`: the chosen meeting's details, its participants by answer, and one person
|
|
198
|
+
* (`meeting-panel.tsx`).
|
|
199
|
+
*
|
|
200
|
+
* Built on the kit's Day strip, Schedule list, Panel stack, Toggle group, Avatar and Empty state. Copy
|
|
201
|
+
* `schedule-dashboard.tsx`, `meeting-panel.tsx`, `schedule-meeting.tsx`, `agenda.tsx` (the event types and
|
|
202
|
+
* helpers), `responses.ts`, `labels.tsx` and `scheduling.module.css`. Public kit entries and `--sui-*` tokens only.
|
|
203
|
+
*/
|
|
204
|
+
import { Button } from "@zsherman/kit/button";
|
|
205
|
+
import { createDialogController } from "@zsherman/kit/dialog";
|
|
206
|
+
import { addDays, firstDayOfWeek } from "@zsherman/kit/calendar";
|
|
207
|
+
import {
|
|
208
|
+
DayStrip,
|
|
209
|
+
DayStripDays,
|
|
210
|
+
DayStripHeader,
|
|
211
|
+
DayStripHeading,
|
|
212
|
+
DayStripNext,
|
|
213
|
+
DayStripPrevious,
|
|
214
|
+
type DayStripTone,
|
|
215
|
+
type DayStripWeekChangeDetails,
|
|
216
|
+
} from "@zsherman/kit/day-strip";
|
|
217
|
+
import {
|
|
218
|
+
EmptyState,
|
|
219
|
+
EmptyStateActions,
|
|
220
|
+
EmptyStateDescription,
|
|
221
|
+
EmptyStateIcon,
|
|
222
|
+
EmptyStateTitle,
|
|
223
|
+
} from "@zsherman/kit/empty-state";
|
|
224
|
+
import type { IconNode } from "@zsherman/kit/icon";
|
|
225
|
+
import { CalendarX, Video } from "@zsherman/kit/icons";
|
|
226
|
+
import { useLocale } from "@zsherman/kit/locale-provider";
|
|
227
|
+
import { type ScheduleEvent, ScheduleList, type ScheduleListDensity } from "@zsherman/kit/schedule-list";
|
|
228
|
+
import { Spinner } from "@zsherman/kit/spinner";
|
|
229
|
+
import { Text } from "@zsherman/kit/text";
|
|
230
|
+
import type { JSX } from "@solidjs/web";
|
|
231
|
+
import { createMemo, createSignal, For, Match, onSettled, Show, Switch, untrack } from "solid-js";
|
|
232
|
+
import {
|
|
233
|
+
type AgendaApi,
|
|
234
|
+
type AgendaCalendar,
|
|
235
|
+
type AgendaEvent,
|
|
236
|
+
type AgendaGuest,
|
|
237
|
+
type AgendaResponse,
|
|
238
|
+
AgendaSkeleton,
|
|
239
|
+
dayIn,
|
|
240
|
+
daysOf,
|
|
241
|
+
type MeetingDraft,
|
|
242
|
+
} from "./agenda";
|
|
243
|
+
import { type SchedulingLabels, SchedulingLabelsProvider, useSchedulingLabels } from "./labels";
|
|
244
|
+
import { MeetingPanel } from "./meeting-panel";
|
|
245
|
+
import { createResponses, type Responses } from "./responses";
|
|
246
|
+
import { ScheduleMeetingDialog } from "./schedule-meeting";
|
|
247
|
+
import styles from "./scheduling.module.css";
|
|
248
|
+
|
|
249
|
+
/** How many days a load asks for. */
|
|
250
|
+
const CHUNK = 14;
|
|
251
|
+
|
|
252
|
+
export interface ScheduleDashboardOptions {
|
|
253
|
+
/** Your server: `listEvents` for each two weeks, `respond` for your answers. */
|
|
254
|
+
api: AgendaApi;
|
|
255
|
+
calendars: readonly AgendaCalendar[];
|
|
256
|
+
/** Today, `"YYYY-MM-DD"` in the user's zone. Pass it from the server. */
|
|
257
|
+
today: string;
|
|
258
|
+
/** The zone meetings are placed and shown in, like `"America/New_York"`. */
|
|
259
|
+
timeZone: string;
|
|
260
|
+
/** Now, for past meetings and the now line (pin it for screenshots); the clock after mount otherwise. */
|
|
261
|
+
now?: string | Date;
|
|
262
|
+
/** How many days from today the schedule reaches. @defaultValue 90 */
|
|
263
|
+
days?: number;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/** The dashboard's state, shared by the schedule and the panel. */
|
|
267
|
+
export interface ScheduleDashboardState {
|
|
268
|
+
readonly options: ScheduleDashboardOptions;
|
|
269
|
+
/** Every meeting loaded so far (and those you `insert`). */
|
|
270
|
+
events: () => readonly AgendaEvent[];
|
|
271
|
+
event: (id: string | null | undefined) => AgendaEvent | undefined;
|
|
272
|
+
calendarOf: (id: string | undefined) => AgendaCalendar | undefined;
|
|
273
|
+
/** The first two weeks: loading, failed, or shown. */
|
|
274
|
+
status: () => "loading" | "error" | "ready";
|
|
275
|
+
/** The next two weeks: loading, failed, all loaded, or idle. */
|
|
276
|
+
more: () => "idle" | "loading" | "error" | "done";
|
|
277
|
+
/** The last day loaded, and the last day there is. */
|
|
278
|
+
to: () => string;
|
|
279
|
+
readonly last: string;
|
|
280
|
+
/** Loads the next two weeks (once at a time); after a failure, tries again. */
|
|
281
|
+
loadMore: () => void;
|
|
282
|
+
/** Loads until `day` is in. */
|
|
283
|
+
reach: (day: string) => void;
|
|
284
|
+
/** The chosen meeting's id; choosing one shows the panel. */
|
|
285
|
+
chosen: () => string | null;
|
|
286
|
+
choose: (id: string | null) => void;
|
|
287
|
+
/** Whether the panel shows. Hiding it lets go of the chosen meeting. */
|
|
288
|
+
panelOpen: () => boolean;
|
|
289
|
+
setPanelOpen: (open: boolean) => void;
|
|
290
|
+
/** Adds a meeting your API has just created (a scheduling form's result). */
|
|
291
|
+
insert: (event: AgendaEvent) => void;
|
|
292
|
+
/** Creates a meeting through `api.createEvent`, adds it and chooses it. Rejects as the API does. */
|
|
293
|
+
create: (draft: MeetingDraft) => Promise<AgendaEvent>;
|
|
294
|
+
/** Everyone you meet with, from the meetings loaded (by email, you left out): the scheduling dialog's guests. */
|
|
295
|
+
people: () => readonly AgendaGuest[];
|
|
296
|
+
answers: Responses;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/** The dashboard's state. Call it in a component, and hand it to `ScheduleDashboard` and `ScheduleDashboardPanel`. */
|
|
300
|
+
export function createScheduleDashboard(options: ScheduleDashboardOptions): ScheduleDashboardState {
|
|
301
|
+
const days = Math.max(1, options.days ?? 90);
|
|
302
|
+
const last = addDays(options.today, days - 1);
|
|
303
|
+
const chunks = Math.ceil(days / CHUNK);
|
|
304
|
+
const [list, setList] = createSignal<AgendaEvent[]>([]);
|
|
305
|
+
const [loaded, setLoaded] = createSignal(0);
|
|
306
|
+
const [state, setState] = createSignal<"idle" | "loading" | "error">("idle");
|
|
307
|
+
const [chosen, setChosen] = createSignal<string | null>(null);
|
|
308
|
+
const [panelOpen, setOpen] = createSignal(false);
|
|
309
|
+
// Plain copies for the loader: reads lag writes, and a second call in the same frame must see the first.
|
|
310
|
+
let count = 0;
|
|
311
|
+
let inflight: AbortController | null = null;
|
|
312
|
+
let target: string | null = null;
|
|
313
|
+
const lastLoaded = (n: number) =>
|
|
314
|
+
n === 0 ? options.today : minDay(addDays(options.today, n * CHUNK - 1), last);
|
|
315
|
+
|
|
316
|
+
const load = () => {
|
|
317
|
+
if (inflight || count >= chunks) return;
|
|
318
|
+
const from = addDays(options.today, count * CHUNK);
|
|
319
|
+
const to = minDay(addDays(from, CHUNK - 1), last);
|
|
320
|
+
const controller = new AbortController();
|
|
321
|
+
inflight = controller;
|
|
322
|
+
setState("loading");
|
|
323
|
+
options.api.listEvents({ from, to }, controller.signal).then(
|
|
324
|
+
(events) => {
|
|
325
|
+
if (controller.signal.aborted) return;
|
|
326
|
+
inflight = null;
|
|
327
|
+
count += 1;
|
|
328
|
+
// An event across the two weeks' edge comes in both answers: keep one.
|
|
329
|
+
setList((all) => {
|
|
330
|
+
const ids = new Set(all.map((e) => e.id));
|
|
331
|
+
return [...all, ...events.filter((e) => !ids.has(e.id))];
|
|
332
|
+
});
|
|
333
|
+
setLoaded(count);
|
|
334
|
+
setState("idle");
|
|
335
|
+
if (target !== null && target > lastLoaded(count)) load();
|
|
336
|
+
},
|
|
337
|
+
() => {
|
|
338
|
+
if (controller.signal.aborted) return;
|
|
339
|
+
inflight = null;
|
|
340
|
+
setState("error");
|
|
341
|
+
},
|
|
342
|
+
);
|
|
343
|
+
};
|
|
344
|
+
onSettled(() => {
|
|
345
|
+
load();
|
|
346
|
+
return () => inflight?.abort();
|
|
347
|
+
});
|
|
348
|
+
|
|
349
|
+
const insert = (added: AgendaEvent) => setList((all) => [...all.filter((e) => e.id !== added.id), added]);
|
|
350
|
+
const people = createMemo(() => {
|
|
351
|
+
const byEmail = new Map<string, AgendaGuest>();
|
|
352
|
+
for (const event of list())
|
|
353
|
+
for (const guest of event.guests ?? [])
|
|
354
|
+
if (!guest.self && guest.email && !byEmail.has(guest.email))
|
|
355
|
+
byEmail.set(guest.email, { name: guest.name, email: guest.email, src: guest.src });
|
|
356
|
+
return [...byEmail.values()].sort((a, b) => (a.name || a.email!).localeCompare(b.name || b.email!));
|
|
357
|
+
});
|
|
358
|
+
const patch = (id: string, response: AgendaResponse) =>
|
|
359
|
+
setList((all) => all.map((e) => (e.id === id ? { ...e, response } : e)));
|
|
360
|
+
const event = (id: string | null | undefined) => (id ? list().find((e) => e.id === id) : undefined);
|
|
361
|
+
const answers = createResponses({
|
|
362
|
+
save: (id, response) => options.api.respond(id, response),
|
|
363
|
+
current: (id) => untrack(() => event(id)?.response),
|
|
364
|
+
patch,
|
|
365
|
+
});
|
|
366
|
+
|
|
367
|
+
return {
|
|
368
|
+
options,
|
|
369
|
+
events: list,
|
|
370
|
+
event,
|
|
371
|
+
calendarOf: (id) => options.calendars.find((c) => c.id === id),
|
|
372
|
+
status: () => (loaded() > 0 ? "ready" : state() === "error" ? "error" : "loading"),
|
|
373
|
+
more: () =>
|
|
374
|
+
loaded() >= chunks
|
|
375
|
+
? "done"
|
|
376
|
+
: state() === "error"
|
|
377
|
+
? "error"
|
|
378
|
+
: state() === "loading"
|
|
379
|
+
? "loading"
|
|
380
|
+
: "idle",
|
|
381
|
+
to: () => lastLoaded(loaded()),
|
|
382
|
+
last,
|
|
383
|
+
loadMore: load,
|
|
384
|
+
reach: (day) => {
|
|
385
|
+
target = day;
|
|
386
|
+
if (day > lastLoaded(count)) load();
|
|
387
|
+
},
|
|
388
|
+
chosen,
|
|
389
|
+
choose: (id) => {
|
|
390
|
+
setChosen(id);
|
|
391
|
+
if (id !== null) setOpen(true);
|
|
392
|
+
},
|
|
393
|
+
panelOpen,
|
|
394
|
+
setPanelOpen: (open) => {
|
|
395
|
+
setOpen(open);
|
|
396
|
+
if (!open) setChosen(null);
|
|
397
|
+
},
|
|
398
|
+
insert,
|
|
399
|
+
create: async (draft) => {
|
|
400
|
+
if (!options.api.createEvent) throw new Error("The schedule's api has no createEvent.");
|
|
401
|
+
const made = await options.api.createEvent(draft);
|
|
402
|
+
insert(made);
|
|
403
|
+
setChosen(made.id);
|
|
404
|
+
setOpen(true);
|
|
405
|
+
return made;
|
|
406
|
+
},
|
|
407
|
+
people,
|
|
408
|
+
answers,
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
const minDay = (a: string, b: string) => (a < b ? a : b);
|
|
413
|
+
|
|
414
|
+
/** The nearest ancestor that scrolls vertically, else the page's scrolling element. */
|
|
415
|
+
function scrollingAncestor(el: HTMLElement): HTMLElement {
|
|
416
|
+
for (let node = el.parentElement; node; node = node.parentElement) {
|
|
417
|
+
const overflow = getComputedStyle(node).overflowY;
|
|
418
|
+
if (overflow === "auto" || overflow === "scroll" || overflow === "overlay") return node;
|
|
419
|
+
}
|
|
420
|
+
return (document.scrollingElement as HTMLElement | null) ?? document.documentElement;
|
|
421
|
+
}
|
|
422
|
+
const maxDay = (a: string, b: string) => (a > b ? a : b);
|
|
423
|
+
|
|
424
|
+
export interface ScheduleDashboardProps {
|
|
425
|
+
dashboard: ScheduleDashboardState;
|
|
426
|
+
/**
|
|
427
|
+
* A day's band gets a button to schedule on that day. With `api.createEvent` it opens the block's scheduling
|
|
428
|
+
* dialog (`schedule-meeting.tsx`) on that day; pass this to open your own form instead, then
|
|
429
|
+
* `dashboard.insert` what your API made.
|
|
430
|
+
*/
|
|
431
|
+
onSchedule?: (day: string) => void;
|
|
432
|
+
/** The week's first day, 0 (Sunday) to 6. @defaultValue the locale's */
|
|
433
|
+
weekStartsOn?: number;
|
|
434
|
+
/** Above the strip: a page title and its actions (the Meeting home block's). */
|
|
435
|
+
header?: JSX.Element;
|
|
436
|
+
/**
|
|
437
|
+
* The strip's own header: the months it shows, Today, Previous and Next. Without it the months stay for screen
|
|
438
|
+
* readers (they name the days). @defaultValue true
|
|
439
|
+
*/
|
|
440
|
+
stripControls?: boolean;
|
|
441
|
+
/**
|
|
442
|
+
* What scrolls. `list`: the schedule alone, under a strip that stays put. `page`: the page the dashboard is
|
|
443
|
+
* in (its nearest scrolling ancestor, like the app shell's main), so `header` scrolls away while the strip
|
|
444
|
+
* sticks at the top, each day's band under it and the legend at the bottom. @defaultValue "list"
|
|
445
|
+
*/
|
|
446
|
+
scroll?: "list" | "page";
|
|
447
|
+
/** One or two lines per meeting. @defaultValue "two-line" */
|
|
448
|
+
density?: ScheduleListDensity;
|
|
449
|
+
/** The ids of the calendars whose meetings show (rows, dots and the legend). @defaultValue every calendar */
|
|
450
|
+
calendars?: readonly string[];
|
|
451
|
+
/** Which meetings show, besides `calendars` (rows and dots): return false to leave one out. */
|
|
452
|
+
filter?: (event: AgendaEvent) => boolean;
|
|
453
|
+
/**
|
|
454
|
+
* The mark after a title for a meeting with a call (`joinUrl`), and what it says to screen readers.
|
|
455
|
+
* @defaultValue a camera, "Video call"
|
|
456
|
+
*/
|
|
457
|
+
callIcon?: (event: AgendaEvent) => { icon: IconNode; label: string };
|
|
458
|
+
labels?: Partial<SchedulingLabels>;
|
|
459
|
+
class?: string;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/** The schedule: a Day strip over every day from today, the meetings under each, a legend. */
|
|
463
|
+
export function ScheduleDashboard(props: ScheduleDashboardProps) {
|
|
464
|
+
return (
|
|
465
|
+
<SchedulingLabelsProvider labels={props.labels}>
|
|
466
|
+
<ScheduleBody {...props} />
|
|
467
|
+
</SchedulingLabelsProvider>
|
|
468
|
+
);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
function ScheduleBody(props: ScheduleDashboardProps) {
|
|
472
|
+
const t = useSchedulingLabels();
|
|
473
|
+
const locale = useLocale();
|
|
474
|
+
const d = () => props.dashboard;
|
|
475
|
+
const today = () => d().options.today;
|
|
476
|
+
const [day, setDay] = createSignal(untrack(() => props.dashboard.options.today));
|
|
477
|
+
const weekStartsOn = () => props.weekStartsOn ?? firstDayOfWeek(locale());
|
|
478
|
+
|
|
479
|
+
/** A day the strip picked: shown, and loaded first when it's past what's in. */
|
|
480
|
+
const pick = (next: string) => {
|
|
481
|
+
const clamped = maxDay(today(), minDay(next, d().last));
|
|
482
|
+
setDay(clamped);
|
|
483
|
+
d().reach(clamped);
|
|
484
|
+
};
|
|
485
|
+
// Previous and Next show the days before or after: the first of them becomes the day.
|
|
486
|
+
const moveDays = (start: string, details: DayStripWeekChangeDetails) => {
|
|
487
|
+
if (details.reason === "previous" || details.reason === "next") pick(start);
|
|
488
|
+
};
|
|
489
|
+
/**
|
|
490
|
+
* The next two weeks load while what's below the view is under two screens tall: before people reach the end
|
|
491
|
+
* of what's in, so they don't wait at an empty bottom. (A failed load waits for Try again.)
|
|
492
|
+
*/
|
|
493
|
+
const LOOKAHEAD = 2;
|
|
494
|
+
const page = untrack(() => props.scroll === "page");
|
|
495
|
+
const watchEnd = (list: HTMLElement) => {
|
|
496
|
+
// The page's scroller is found once the list is in it.
|
|
497
|
+
queueMicrotask(() => {
|
|
498
|
+
const scroller = page ? scrollingAncestor(list) : list;
|
|
499
|
+
const events: HTMLElement | Window = scroller === document.scrollingElement ? window : scroller;
|
|
500
|
+
const check = () => {
|
|
501
|
+
if (d().more() !== "idle") return;
|
|
502
|
+
const below = scroller.scrollHeight - scroller.scrollTop - scroller.clientHeight;
|
|
503
|
+
if (below < scroller.clientHeight * LOOKAHEAD) d().loadMore();
|
|
504
|
+
};
|
|
505
|
+
events.addEventListener("scroll", check, { passive: true });
|
|
506
|
+
});
|
|
507
|
+
};
|
|
508
|
+
// Page scroll: the bands stick under the strip, whose height (it wraps on a narrow page) is kept here.
|
|
509
|
+
const stickStrip = (strip: HTMLElement) => {
|
|
510
|
+
if (!page) return;
|
|
511
|
+
const section = strip.parentElement!;
|
|
512
|
+
const observer = new ResizeObserver(() =>
|
|
513
|
+
section.style.setProperty("--dashboard-strip-height", `${Math.floor(strip.offsetHeight)}px`),
|
|
514
|
+
);
|
|
515
|
+
observer.observe(strip);
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
// Scheduling: the band's + opens the dialog on its day (unless the app opens its own form).
|
|
519
|
+
const scheduling = createDialogController<string>();
|
|
520
|
+
const ownDialog = () => !props.onSchedule && !!d().options.api.createEvent;
|
|
521
|
+
const scheduleOn = (on: string) => {
|
|
522
|
+
if (props.onSchedule) props.onSchedule(on);
|
|
523
|
+
else void scheduling.open({ payload: on });
|
|
524
|
+
};
|
|
525
|
+
/** When a new meeting starts: the next half hour today (not before 10:00), 10:00 on other days. */
|
|
526
|
+
const suggest = (on: string) => {
|
|
527
|
+
if (on !== today()) return "10:00";
|
|
528
|
+
const now = d().options.now === undefined ? new Date() : new Date(d().options.now!);
|
|
529
|
+
const [h = 0, m = 0] = new Intl.DateTimeFormat("en-GB", {
|
|
530
|
+
timeZone: d().options.timeZone,
|
|
531
|
+
hour: "2-digit",
|
|
532
|
+
minute: "2-digit",
|
|
533
|
+
hourCycle: "h23",
|
|
534
|
+
})
|
|
535
|
+
.format(now)
|
|
536
|
+
.split(":")
|
|
537
|
+
.map(Number);
|
|
538
|
+
const next = Math.max(10 * 60, Math.ceil((h * 60 + m + 1) / 30) * 30);
|
|
539
|
+
if (next > 23 * 60 + 30) return "23:30";
|
|
540
|
+
return `${String(Math.floor(next / 60)).padStart(2, "0")}:${String(next % 60).padStart(2, "0")}`;
|
|
541
|
+
};
|
|
542
|
+
const schedule = async (draft: MeetingDraft) => {
|
|
543
|
+
const made = await d().create(draft);
|
|
544
|
+
pick(dayIn(made.start, d().options.timeZone));
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
// One tone per meeting (the day's name counts them: "4 events"), in the calendars' order; DayStrip draws
|
|
548
|
+
// each tone once, so the dots are one per calendar.
|
|
549
|
+
const shownCalendars = createMemo(() => {
|
|
550
|
+
const ids = props.calendars;
|
|
551
|
+
return ids ? d().options.calendars.filter((c) => ids.includes(c.id)) : d().options.calendars;
|
|
552
|
+
});
|
|
553
|
+
const shownEvents = createMemo(() => {
|
|
554
|
+
const ids = props.calendars;
|
|
555
|
+
const keep = props.filter;
|
|
556
|
+
if (!ids && !keep) return d().events();
|
|
557
|
+
return d()
|
|
558
|
+
.events()
|
|
559
|
+
.filter((e) => (!ids || ids.includes(e.calendar)) && (!keep || keep(e)));
|
|
560
|
+
});
|
|
561
|
+
const tonesByDay = createMemo(() => {
|
|
562
|
+
const calendars = shownCalendars();
|
|
563
|
+
const rank = (id: string) => calendars.findIndex((c) => c.id === id);
|
|
564
|
+
const byDay = new Map<string, string[]>();
|
|
565
|
+
for (const event of shownEvents())
|
|
566
|
+
for (const on of daysOf(event, d().options.timeZone))
|
|
567
|
+
byDay.set(on, [...(byDay.get(on) ?? []), event.calendar]);
|
|
568
|
+
const tones = new Map<string, DayStripTone[]>();
|
|
569
|
+
for (const [on, ids] of byDay)
|
|
570
|
+
tones.set(
|
|
571
|
+
on,
|
|
572
|
+
ids
|
|
573
|
+
.filter((id) => rank(id) >= 0)
|
|
574
|
+
.sort((a, b) => rank(a) - rank(b))
|
|
575
|
+
.map((id) => calendars[rank(id)]!.tone),
|
|
576
|
+
);
|
|
577
|
+
return tones;
|
|
578
|
+
});
|
|
579
|
+
|
|
580
|
+
const statusOf = ({ canceled, response }: AgendaEvent): Pick<ScheduleEvent, "status" | "statusTone"> =>
|
|
581
|
+
canceled
|
|
582
|
+
? { status: t.statusCanceled, statusTone: "neutral" }
|
|
583
|
+
: response === "needs-action"
|
|
584
|
+
? { status: t.statusInvited, statusTone: "accent" }
|
|
585
|
+
: response === "tentative"
|
|
586
|
+
? { status: t.statusMaybe, statusTone: "warning" }
|
|
587
|
+
: response === "declined"
|
|
588
|
+
? { status: t.statusDeclined, statusTone: "neutral" }
|
|
589
|
+
: {};
|
|
590
|
+
// A meeting's row, made once per meeting object: loading the next weeks (or answering one meeting) leaves
|
|
591
|
+
// every other row's object as it was, so the list doesn't redo rows that didn't change.
|
|
592
|
+
const made = new WeakMap<AgendaEvent, ScheduleEvent>();
|
|
593
|
+
const rowOf = (event: AgendaEvent): ScheduleEvent => {
|
|
594
|
+
let row = made.get(event);
|
|
595
|
+
if (!row) {
|
|
596
|
+
const call = event.joinUrl
|
|
597
|
+
? (props.callIcon?.(event) ?? { icon: Video, label: t.callIcon })
|
|
598
|
+
: undefined;
|
|
599
|
+
row = {
|
|
600
|
+
id: event.id,
|
|
601
|
+
title: event.title,
|
|
602
|
+
start: event.start,
|
|
603
|
+
end: event.end,
|
|
604
|
+
allDay: event.allDay,
|
|
605
|
+
tone: d().calendarOf(event.calendar)?.tone ?? "accent",
|
|
606
|
+
icon: call?.icon,
|
|
607
|
+
iconLabel: call?.label,
|
|
608
|
+
description: event.location,
|
|
609
|
+
people: event.guests
|
|
610
|
+
?.filter((g) => !g.self)
|
|
611
|
+
.map((g) => ({ name: g.name || g.email || "", src: g.src })),
|
|
612
|
+
...statusOf(event),
|
|
613
|
+
};
|
|
614
|
+
made.set(event, row);
|
|
615
|
+
}
|
|
616
|
+
return row;
|
|
617
|
+
};
|
|
618
|
+
const rows = createMemo((): ScheduleEvent[] => shownEvents().map(rowOf));
|
|
619
|
+
|
|
620
|
+
return (
|
|
621
|
+
<section
|
|
622
|
+
class={[styles.dashboard, props.class]}
|
|
623
|
+
data-scroll={page ? "page" : undefined}
|
|
624
|
+
aria-label={t.schedule}
|
|
625
|
+
onKeyDown={(event: KeyboardEvent) => {
|
|
626
|
+
// Escape lets go of the chosen meeting (and hides its panel), unless something inside took the key.
|
|
627
|
+
if (event.key !== "Escape" || event.defaultPrevented || d().chosen() === null) return;
|
|
628
|
+
d().setPanelOpen(false);
|
|
629
|
+
}}
|
|
630
|
+
>
|
|
631
|
+
{page ? props.header : null}
|
|
632
|
+
<div class={styles.dashboardStrip} ref={stickStrip}>
|
|
633
|
+
{page ? null : props.header}
|
|
634
|
+
<DayStrip
|
|
635
|
+
aria-label={t.scheduleDay}
|
|
636
|
+
today={today()}
|
|
637
|
+
value={day()}
|
|
638
|
+
onValueChange={pick}
|
|
639
|
+
week={day()}
|
|
640
|
+
onWeekChange={moveDays}
|
|
641
|
+
days="fit"
|
|
642
|
+
weekStartsOn={weekStartsOn()}
|
|
643
|
+
min={today()}
|
|
644
|
+
max={d().last}
|
|
645
|
+
events={(date) => tonesByDay().get(date)}
|
|
646
|
+
style={{ width: "100%" }}
|
|
647
|
+
>
|
|
648
|
+
<Show
|
|
649
|
+
when={props.stripControls !== false}
|
|
650
|
+
fallback={
|
|
651
|
+
// The months still name the days for screen readers; only the row is gone.
|
|
652
|
+
<DayStripHeader class={styles.srOnly}>
|
|
653
|
+
<DayStripHeading />
|
|
654
|
+
</DayStripHeader>
|
|
655
|
+
}
|
|
656
|
+
>
|
|
657
|
+
<DayStripHeader>
|
|
658
|
+
<DayStripHeading class={styles.stripHeading} />
|
|
659
|
+
<Button
|
|
660
|
+
size="sm"
|
|
661
|
+
variant="secondary"
|
|
662
|
+
disabled={day() === today()}
|
|
663
|
+
onClick={() => pick(today())}
|
|
664
|
+
>
|
|
665
|
+
{t.today}
|
|
666
|
+
</Button>
|
|
667
|
+
<DayStripPrevious />
|
|
668
|
+
<DayStripNext />
|
|
669
|
+
</DayStripHeader>
|
|
670
|
+
</Show>
|
|
671
|
+
<DayStripDays />
|
|
672
|
+
</DayStrip>
|
|
673
|
+
</div>
|
|
674
|
+
<div class={styles.body} aria-busy={d().status() === "loading" ? "true" : "false"}>
|
|
675
|
+
<Switch>
|
|
676
|
+
<Match when={d().status() === "loading"}>
|
|
677
|
+
<AgendaSkeleton label={t.loadingSchedule} />
|
|
678
|
+
</Match>
|
|
679
|
+
<Match when={d().status() === "error"}>
|
|
680
|
+
<EmptyState size="sm" class={styles.failed}>
|
|
681
|
+
<EmptyStateIcon icon={CalendarX} />
|
|
682
|
+
<EmptyStateTitle render={(p) => <h2 {...p} />}>{t.loadScheduleFailed}</EmptyStateTitle>
|
|
683
|
+
<EmptyStateDescription>{t.loadFailedLine}</EmptyStateDescription>
|
|
684
|
+
<EmptyStateActions>
|
|
685
|
+
<Button size="sm" onClick={() => d().loadMore()}>
|
|
686
|
+
{t.tryAgain}
|
|
687
|
+
</Button>
|
|
688
|
+
</EmptyStateActions>
|
|
689
|
+
</EmptyState>
|
|
690
|
+
</Match>
|
|
691
|
+
<Match when={d().status() === "ready"}>
|
|
692
|
+
<ScheduleList
|
|
693
|
+
class={styles.list}
|
|
694
|
+
aria-label={t.schedule}
|
|
695
|
+
events={rows()}
|
|
696
|
+
from={today()}
|
|
697
|
+
to={d().to()}
|
|
698
|
+
today={today()}
|
|
699
|
+
now={d().options.now}
|
|
700
|
+
timeZone={d().options.timeZone}
|
|
701
|
+
ref={watchEnd}
|
|
702
|
+
day={day()}
|
|
703
|
+
onDayChange={setDay}
|
|
704
|
+
maxPeople={props.density === "one-line" ? 3 : 4}
|
|
705
|
+
density={props.density}
|
|
706
|
+
// Scrolling itself, only the rows in view render, from the first two weeks on: the next weeks
|
|
707
|
+
// arriving (and crossing 200 rows) never re-render the whole list mid-scroll. A page that
|
|
708
|
+
// scrolls renders them all (each row's object is kept, so a load adds rows without redoing them).
|
|
709
|
+
virtualize={!page}
|
|
710
|
+
scrollParent={page}
|
|
711
|
+
value={d().chosen()}
|
|
712
|
+
onValueChange={(id) => d().choose(id)}
|
|
713
|
+
onAddEvent={props.onSchedule || ownDialog() ? scheduleOn : undefined}
|
|
714
|
+
labels={{ addEvent: t.scheduleOn }}
|
|
715
|
+
/>
|
|
716
|
+
</Match>
|
|
717
|
+
</Switch>
|
|
718
|
+
</div>
|
|
719
|
+
<Show when={d().status() === "ready" && (d().more() === "loading" || d().more() === "error")}>
|
|
720
|
+
<div class={styles.more} role="status">
|
|
721
|
+
<Show
|
|
722
|
+
when={d().more() === "error"}
|
|
723
|
+
fallback={
|
|
724
|
+
<>
|
|
725
|
+
<Spinner size="sm" decorative />
|
|
726
|
+
<Text size="sm" tone="muted">
|
|
727
|
+
{t.loadingLaterDays}
|
|
728
|
+
</Text>
|
|
729
|
+
</>
|
|
730
|
+
}
|
|
731
|
+
>
|
|
732
|
+
<Text size="sm" tone="muted">
|
|
733
|
+
{t.laterDaysFailed}
|
|
734
|
+
</Text>
|
|
735
|
+
<Button size="sm" variant="ghost" onClick={() => d().loadMore()}>
|
|
736
|
+
{t.tryAgain}
|
|
737
|
+
</Button>
|
|
738
|
+
</Show>
|
|
739
|
+
</div>
|
|
740
|
+
</Show>
|
|
741
|
+
<Show when={ownDialog()}>
|
|
742
|
+
<ScheduleMeetingDialog
|
|
743
|
+
controller={scheduling}
|
|
744
|
+
calendars={d().options.calendars}
|
|
745
|
+
people={d().people()}
|
|
746
|
+
today={today()}
|
|
747
|
+
suggest={suggest}
|
|
748
|
+
onSchedule={schedule}
|
|
749
|
+
/>
|
|
750
|
+
</Show>
|
|
751
|
+
<Show when={shownCalendars().length > 1}>
|
|
752
|
+
<ul class={styles.legend} aria-label={t.calendars}>
|
|
753
|
+
<For each={shownCalendars()}>
|
|
754
|
+
{(calendar) => (
|
|
755
|
+
<li class={styles.legendItem}>
|
|
756
|
+
<span class={styles.dot} data-tone={calendar.tone} aria-hidden="true" />
|
|
757
|
+
{calendar.name}
|
|
758
|
+
</li>
|
|
759
|
+
)}
|
|
760
|
+
</For>
|
|
761
|
+
</ul>
|
|
762
|
+
</Show>
|
|
763
|
+
</section>
|
|
764
|
+
);
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
export interface ScheduleDashboardPanelProps {
|
|
768
|
+
dashboard: ScheduleDashboardState;
|
|
769
|
+
labels?: Partial<SchedulingLabels>;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
/** The chosen meeting, for the shell's side panel: its details, participants and people. */
|
|
773
|
+
export function ScheduleDashboardPanel(props: ScheduleDashboardPanelProps) {
|
|
774
|
+
const d = () => props.dashboard;
|
|
775
|
+
const event = () => d().event(d().chosen());
|
|
776
|
+
return (
|
|
777
|
+
<SchedulingLabelsProvider labels={props.labels}>
|
|
778
|
+
<MeetingPanel
|
|
779
|
+
event={event()}
|
|
780
|
+
calendar={d().calendarOf(event()?.calendar)}
|
|
781
|
+
timeZone={d().options.timeZone}
|
|
782
|
+
now={d().options.now}
|
|
783
|
+
saving={d().answers.saving(d().chosen() ?? "")}
|
|
784
|
+
failed={d().answers.failed(d().chosen() ?? "")}
|
|
785
|
+
savedAs={d().answers.savedAs(d().chosen() ?? "")}
|
|
786
|
+
onRespond={(response) => {
|
|
787
|
+
const id = d().chosen();
|
|
788
|
+
if (id) void d().answers.respond(id, response);
|
|
789
|
+
}}
|
|
790
|
+
onClose={() => d().setPanelOpen(false)}
|
|
791
|
+
/>
|
|
792
|
+
</SchedulingLabelsProvider>
|
|
793
|
+
);
|
|
794
|
+
}
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
```tsx title="meeting-panel.tsx"
|
|
798
|
+
/**
|
|
799
|
+
* A meeting's panel — part of the scheduling blocks for @zsherman/kit: what the Schedule dashboard shows beside
|
|
800
|
+
* the schedule. Three levels on the kit's Panel stack:
|
|
801
|
+
*
|
|
802
|
+
* - Details: when (the date; the times, how long and the zone), the call or the place, the calendar, the
|
|
803
|
+
* description, the people (how many are invited and how they answered: a row into Participants), your answer
|
|
804
|
+
* (Going, Maybe, Not going) until it's over, and Join while it can be joined.
|
|
805
|
+
* - Participants: everyone, grouped by their answer (Going, Maybe, Not going, No response) with counts; you are
|
|
806
|
+
* marked "(you)", the organizer "Organizer". A row opens that person.
|
|
807
|
+
* - A person: their name, their email with Copy, their answer and role in this meeting.
|
|
808
|
+
*
|
|
809
|
+
* Escape goes back a level, then closes the panel. Choosing another meeting starts again at its details.
|
|
810
|
+
*/
|
|
811
|
+
import { Alert, AlertDescription, AlertIcon } from "@zsherman/kit/alert";
|
|
812
|
+
import { Avatar, AvatarFallback, AvatarGroup, AvatarImage, avatarTone, initials } from "@zsherman/kit/avatar";
|
|
813
|
+
import { Button, IconButton } from "@zsherman/kit/button";
|
|
814
|
+
import { formatDate, isISODate } from "@zsherman/kit/calendar";
|
|
815
|
+
import {
|
|
816
|
+
EmptyState,
|
|
817
|
+
EmptyStateDescription,
|
|
818
|
+
EmptyStateIcon,
|
|
819
|
+
EmptyStateTitle,
|
|
820
|
+
} from "@zsherman/kit/empty-state";
|
|
821
|
+
import { Icon, type IconNode } from "@zsherman/kit/icon";
|
|
822
|
+
import {
|
|
823
|
+
CalendarDays,
|
|
824
|
+
CalendarX,
|
|
825
|
+
CircleAlert,
|
|
826
|
+
CircleCheck,
|
|
827
|
+
CircleHelp,
|
|
828
|
+
Clock,
|
|
829
|
+
Copy,
|
|
830
|
+
Mail,
|
|
831
|
+
MapPin,
|
|
832
|
+
Video,
|
|
833
|
+
X,
|
|
834
|
+
} from "@zsherman/kit/icons";
|
|
835
|
+
import { useLocale } from "@zsherman/kit/locale-provider";
|
|
836
|
+
import {
|
|
837
|
+
PanelStack,
|
|
838
|
+
PanelStackBack,
|
|
839
|
+
PanelStackBody,
|
|
840
|
+
PanelStackHeader,
|
|
841
|
+
PanelStackLevel,
|
|
842
|
+
PanelStackTitle,
|
|
843
|
+
PanelStackTrigger,
|
|
844
|
+
usePanelStack,
|
|
845
|
+
} from "@zsherman/kit/panel-stack";
|
|
846
|
+
import { Spinner } from "@zsherman/kit/spinner";
|
|
847
|
+
import { Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
848
|
+
import { Toggle, ToggleGroup } from "@zsherman/kit/toggle";
|
|
849
|
+
import type { JSX } from "@solidjs/web";
|
|
850
|
+
import { createMemo, createSignal, createUniqueId, For, onSettled, Show } from "solid-js";
|
|
851
|
+
import type { AgendaCalendar, AgendaEvent, AgendaGuest, AgendaResponse } from "./agenda";
|
|
852
|
+
import { useSchedulingLabels } from "./labels";
|
|
853
|
+
import type { Answer } from "./responses";
|
|
854
|
+
import styles from "./scheduling.module.css";
|
|
855
|
+
|
|
856
|
+
export interface MeetingPanelProps {
|
|
857
|
+
/** The meeting shown; without one the panel says none is chosen. */
|
|
858
|
+
event: AgendaEvent | undefined;
|
|
859
|
+
calendar: AgendaCalendar | undefined;
|
|
860
|
+
/** The zone its times are shown in. */
|
|
861
|
+
timeZone: string;
|
|
862
|
+
/** Now: a meeting that has ended takes no answer and no Join. The clock otherwise. */
|
|
863
|
+
now?: string | Date;
|
|
864
|
+
/** Your answer is being saved. */
|
|
865
|
+
saving: boolean;
|
|
866
|
+
/** The last save failed (your earlier answer is back). */
|
|
867
|
+
failed: boolean;
|
|
868
|
+
/** The answer saved last, for the status line. */
|
|
869
|
+
savedAs?: AgendaResponse;
|
|
870
|
+
onRespond: (response: Answer) => void;
|
|
871
|
+
/** The panel's Close button, and Escape on its first level. */
|
|
872
|
+
onClose: () => void;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/** A guest's answer: yours is the event's, an organizer who didn't say is going. */
|
|
876
|
+
type Person = AgendaGuest & { key: string; answer: AgendaResponse };
|
|
877
|
+
|
|
878
|
+
const groups: {
|
|
879
|
+
response: AgendaResponse;
|
|
880
|
+
icon: IconNode;
|
|
881
|
+
label: "responseGoing" | "responseMaybe" | "responseNotGoing" | "responseNone";
|
|
882
|
+
}[] = [
|
|
883
|
+
{ response: "accepted", icon: CircleCheck, label: "responseGoing" },
|
|
884
|
+
{ response: "tentative", icon: CircleHelp, label: "responseMaybe" },
|
|
885
|
+
{ response: "declined", icon: X, label: "responseNotGoing" },
|
|
886
|
+
{ response: "needs-action", icon: Clock, label: "responseNone" },
|
|
887
|
+
];
|
|
888
|
+
|
|
889
|
+
const nameOf = (person: AgendaGuest) => person.name || person.email || "";
|
|
890
|
+
|
|
891
|
+
export function MeetingPanel(props: MeetingPanelProps) {
|
|
892
|
+
const t = useSchedulingLabels();
|
|
893
|
+
return (
|
|
894
|
+
<div class={styles.meetingPanel}>
|
|
895
|
+
{/* Keyed by the meeting's id: another meeting starts at its details; a new answer keeps the level. */}
|
|
896
|
+
<Show
|
|
897
|
+
when={props.event?.id}
|
|
898
|
+
keyed
|
|
899
|
+
fallback={
|
|
900
|
+
<>
|
|
901
|
+
<div class={styles.panelHeader}>
|
|
902
|
+
<h2 class={styles.panelTitle}>{t.meetingDetails}</h2>
|
|
903
|
+
<CloseButton onClose={props.onClose} />
|
|
904
|
+
</div>
|
|
905
|
+
<EmptyState size="sm" class={styles.panelEmpty}>
|
|
906
|
+
<EmptyStateIcon icon={CalendarX} />
|
|
907
|
+
<EmptyStateTitle render={(p) => <h3 {...p} />}>{t.noMeetingSelected}</EmptyStateTitle>
|
|
908
|
+
<EmptyStateDescription>{t.noMeetingSelectedLine}</EmptyStateDescription>
|
|
909
|
+
</EmptyState>
|
|
910
|
+
</>
|
|
911
|
+
}
|
|
912
|
+
>
|
|
913
|
+
{(_id) => <MeetingLevels {...props} event={props.event!} />}
|
|
914
|
+
</Show>
|
|
915
|
+
</div>
|
|
916
|
+
);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
function CloseButton(props: { onClose: () => void }) {
|
|
920
|
+
const t = useSchedulingLabels();
|
|
921
|
+
return (
|
|
922
|
+
<IconButton
|
|
923
|
+
variant="ghost"
|
|
924
|
+
size="sm"
|
|
925
|
+
label={t.closePanel}
|
|
926
|
+
class={styles.panelClose}
|
|
927
|
+
onClick={() => props.onClose()}
|
|
928
|
+
>
|
|
929
|
+
<Icon icon={X} />
|
|
930
|
+
</IconButton>
|
|
931
|
+
);
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/** Every level's header: Back (above the first), the title, Close. */
|
|
935
|
+
function LevelHeader(props: { onClose: () => void }) {
|
|
936
|
+
return (
|
|
937
|
+
<PanelStackHeader class={styles.panelHeader}>
|
|
938
|
+
<PanelStackBack />
|
|
939
|
+
<PanelStackTitle class={styles.panelTitle} />
|
|
940
|
+
<CloseButton onClose={props.onClose} />
|
|
941
|
+
</PanelStackHeader>
|
|
942
|
+
);
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Escape in the stack: back a level (through the stack, so focus returns to the row that opened it), or close
|
|
947
|
+
* the panel from the first level. Rendered inside the stack for its API; listens on the stack's element.
|
|
948
|
+
*/
|
|
949
|
+
function EscapeBack(props: { onClose: () => void }) {
|
|
950
|
+
const stack = usePanelStack();
|
|
951
|
+
let marker!: HTMLSpanElement;
|
|
952
|
+
onSettled(() => {
|
|
953
|
+
const root = marker.closest<HTMLElement>("[data-slot=panel-stack]");
|
|
954
|
+
if (!root) return;
|
|
955
|
+
const onKey = (event: KeyboardEvent) => {
|
|
956
|
+
if (event.key !== "Escape" || event.defaultPrevented) return;
|
|
957
|
+
event.preventDefault();
|
|
958
|
+
if (stack.depth() > 0) stack.pop();
|
|
959
|
+
else props.onClose();
|
|
960
|
+
};
|
|
961
|
+
root.addEventListener("keydown", onKey);
|
|
962
|
+
return () => root.removeEventListener("keydown", onKey);
|
|
963
|
+
});
|
|
964
|
+
return <span ref={(el: HTMLSpanElement) => (marker = el)} hidden />;
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
function MeetingLevels(props: MeetingPanelProps & { event: AgendaEvent }) {
|
|
968
|
+
const t = useSchedulingLabels();
|
|
969
|
+
const locale = useLocale();
|
|
970
|
+
const [stack, setStack] = createSignal<string[]>(["details"]);
|
|
971
|
+
const [personKey, setPersonKey] = createSignal<string | null>(null);
|
|
972
|
+
|
|
973
|
+
// The clock after mount (the server and the first render use `now`, or call nothing past).
|
|
974
|
+
const [clock, setClock] = createSignal<number | null>(null);
|
|
975
|
+
onSettled(() => {
|
|
976
|
+
if (props.now !== undefined) return;
|
|
977
|
+
setClock(Date.now());
|
|
978
|
+
const timer = setInterval(() => setClock(Date.now()), 30_000);
|
|
979
|
+
return () => clearInterval(timer);
|
|
980
|
+
});
|
|
981
|
+
const now = () => (props.now !== undefined ? new Date(props.now).getTime() : clock());
|
|
982
|
+
const allDay = () => !!props.event.allDay || isISODate(props.event.start);
|
|
983
|
+
const endMs = () => {
|
|
984
|
+
const e = props.event;
|
|
985
|
+
if (allDay()) return Date.parse(`${e.end ?? e.start}T23:59:59Z`);
|
|
986
|
+
return Date.parse(e.end ?? e.start);
|
|
987
|
+
};
|
|
988
|
+
const ended = () => {
|
|
989
|
+
const n = now();
|
|
990
|
+
return n !== null && endMs() <= n;
|
|
991
|
+
};
|
|
992
|
+
|
|
993
|
+
const people = createMemo((): Person[] =>
|
|
994
|
+
(props.event.guests ?? []).map((g, i) => ({
|
|
995
|
+
...g,
|
|
996
|
+
key: g.email ?? `${g.name}-${i}`,
|
|
997
|
+
answer: g.self
|
|
998
|
+
? (props.event.response ?? (g.organizer ? "accepted" : (g.response ?? "needs-action")))
|
|
999
|
+
: (g.response ?? (g.organizer ? "accepted" : "needs-action")),
|
|
1000
|
+
})),
|
|
1001
|
+
);
|
|
1002
|
+
const count = (response: AgendaResponse) => people().filter((p) => p.answer === response).length;
|
|
1003
|
+
const person = () => people().find((p) => p.key === personKey());
|
|
1004
|
+
|
|
1005
|
+
// ---- when ----
|
|
1006
|
+
const dateLine = () =>
|
|
1007
|
+
allDay()
|
|
1008
|
+
? formatDate(props.event.start.slice(0, 10), locale(), {
|
|
1009
|
+
weekday: "long",
|
|
1010
|
+
month: "long",
|
|
1011
|
+
day: "numeric",
|
|
1012
|
+
})
|
|
1013
|
+
: new Intl.DateTimeFormat(locale(), {
|
|
1014
|
+
timeZone: props.timeZone,
|
|
1015
|
+
weekday: "long",
|
|
1016
|
+
month: "long",
|
|
1017
|
+
day: "numeric",
|
|
1018
|
+
}).format(new Date(props.event.start));
|
|
1019
|
+
const timeLine = () => {
|
|
1020
|
+
if (allDay()) {
|
|
1021
|
+
const last = props.event.end;
|
|
1022
|
+
return last && last !== props.event.start
|
|
1023
|
+
? `${t.allDay} · ${formatDate(props.event.start, locale(), { month: "short", day: "numeric" })} – ${formatDate(last, locale(), { month: "short", day: "numeric" })}`
|
|
1024
|
+
: t.allDay;
|
|
1025
|
+
}
|
|
1026
|
+
const start = new Date(props.event.start);
|
|
1027
|
+
const end = props.event.end ? new Date(props.event.end) : start;
|
|
1028
|
+
const times = new Intl.DateTimeFormat(locale(), {
|
|
1029
|
+
timeZone: props.timeZone,
|
|
1030
|
+
hour: "numeric",
|
|
1031
|
+
minute: "2-digit",
|
|
1032
|
+
});
|
|
1033
|
+
const zone =
|
|
1034
|
+
new Intl.DateTimeFormat(locale(), { timeZone: props.timeZone, timeZoneName: "shortGeneric" })
|
|
1035
|
+
.formatToParts(start)
|
|
1036
|
+
.find((p) => p.type === "timeZoneName")?.value ?? props.timeZone;
|
|
1037
|
+
const minutes = Math.round((end.getTime() - start.getTime()) / 60_000);
|
|
1038
|
+
return [
|
|
1039
|
+
end > start ? times.formatRange(start, end) : times.format(start),
|
|
1040
|
+
minutes > 0 && t.duration(minutes),
|
|
1041
|
+
zone,
|
|
1042
|
+
]
|
|
1043
|
+
.filter(Boolean)
|
|
1044
|
+
.join(" · ");
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
// ---- your answer ----
|
|
1048
|
+
const answerId = createUniqueId();
|
|
1049
|
+
const answer = (): Answer[] => {
|
|
1050
|
+
const response = props.event.response;
|
|
1051
|
+
return response && response !== "needs-action" ? [response] : [];
|
|
1052
|
+
};
|
|
1053
|
+
const choose = (value: Answer[]) => {
|
|
1054
|
+
const next = value[0];
|
|
1055
|
+
if (next && next !== props.event.response) props.onRespond(next);
|
|
1056
|
+
};
|
|
1057
|
+
|
|
1058
|
+
return (
|
|
1059
|
+
<PanelStack
|
|
1060
|
+
stack={stack()}
|
|
1061
|
+
onStackChange={(next) => {
|
|
1062
|
+
setStack(next);
|
|
1063
|
+
}}
|
|
1064
|
+
class={styles.panelStack}
|
|
1065
|
+
>
|
|
1066
|
+
<EscapeBack onClose={props.onClose} />
|
|
1067
|
+
<PanelStackLevel value="details" title={props.event.title}>
|
|
1068
|
+
<LevelHeader onClose={props.onClose} />
|
|
1069
|
+
<PanelStackBody padding="none" class={styles.panelBody}>
|
|
1070
|
+
<ul class={[styles.facts, styles.panelFacts]}>
|
|
1071
|
+
<li class={styles.fact}>
|
|
1072
|
+
<Icon icon={CalendarDays} class={styles.factIcon} />
|
|
1073
|
+
<span class={styles.factLines}>
|
|
1074
|
+
<span>{dateLine()}</span>
|
|
1075
|
+
<Text size="sm" tone="muted" class={styles.when}>
|
|
1076
|
+
{timeLine()}
|
|
1077
|
+
</Text>
|
|
1078
|
+
</span>
|
|
1079
|
+
</li>
|
|
1080
|
+
<Show when={props.event.joinUrl}>
|
|
1081
|
+
{(url) => (
|
|
1082
|
+
<li class={styles.fact}>
|
|
1083
|
+
<Icon icon={Video} class={styles.factIcon} />
|
|
1084
|
+
<span class={styles.factLines}>
|
|
1085
|
+
<span>{t.videoCall}</span>
|
|
1086
|
+
<Text size="sm" tone="muted" class={styles.address} dir="ltr">
|
|
1087
|
+
{callAddress(url())}
|
|
1088
|
+
</Text>
|
|
1089
|
+
</span>
|
|
1090
|
+
</li>
|
|
1091
|
+
)}
|
|
1092
|
+
</Show>
|
|
1093
|
+
<Show when={props.event.location}>
|
|
1094
|
+
{(location) => (
|
|
1095
|
+
<li class={styles.fact}>
|
|
1096
|
+
<Icon icon={MapPin} class={styles.factIcon} />
|
|
1097
|
+
<span>{location()}</span>
|
|
1098
|
+
</li>
|
|
1099
|
+
)}
|
|
1100
|
+
</Show>
|
|
1101
|
+
<Show when={props.calendar}>
|
|
1102
|
+
{(calendar) => (
|
|
1103
|
+
<li class={styles.fact}>
|
|
1104
|
+
<span class={styles.factIcon} aria-hidden="true">
|
|
1105
|
+
<span class={styles.dot} data-tone={calendar().tone} />
|
|
1106
|
+
</span>
|
|
1107
|
+
<span>{t.calendarOf(calendar().name)}</span>
|
|
1108
|
+
</li>
|
|
1109
|
+
)}
|
|
1110
|
+
</Show>
|
|
1111
|
+
</ul>
|
|
1112
|
+
|
|
1113
|
+
<Show when={props.event.description}>
|
|
1114
|
+
{(description) => (
|
|
1115
|
+
<PanelSection title={t.about}>
|
|
1116
|
+
<p class={[styles.description, styles.about]}>{description()}</p>
|
|
1117
|
+
</PanelSection>
|
|
1118
|
+
)}
|
|
1119
|
+
</Show>
|
|
1120
|
+
|
|
1121
|
+
<Show when={people().length > 0}>
|
|
1122
|
+
<PanelSection title={t.people}>
|
|
1123
|
+
<PanelStackTrigger value="participants" class={styles.peopleRow}>
|
|
1124
|
+
<span class={styles.rowContent}>
|
|
1125
|
+
<AvatarGroup size="md" aria-hidden="true">
|
|
1126
|
+
<For each={people().slice(0, 4)} keyed={(p) => p.key}>
|
|
1127
|
+
{(p) => <PersonAvatar person={p()} />}
|
|
1128
|
+
</For>
|
|
1129
|
+
</AvatarGroup>
|
|
1130
|
+
<span class={styles.factLines}>
|
|
1131
|
+
<span>{t.invited(people().length)}</span>
|
|
1132
|
+
<Text size="sm" tone="muted">
|
|
1133
|
+
{t.peopleSummary(
|
|
1134
|
+
count("accepted"),
|
|
1135
|
+
count("tentative"),
|
|
1136
|
+
count("declined"),
|
|
1137
|
+
count("needs-action"),
|
|
1138
|
+
)}
|
|
1139
|
+
</Text>
|
|
1140
|
+
</span>
|
|
1141
|
+
</span>
|
|
1142
|
+
</PanelStackTrigger>
|
|
1143
|
+
</PanelSection>
|
|
1144
|
+
</Show>
|
|
1145
|
+
|
|
1146
|
+
<Show when={props.event.response !== undefined && !ended()}>
|
|
1147
|
+
<PanelSection title={t.yourAnswer} id={answerId}>
|
|
1148
|
+
<div class={styles.answer}>
|
|
1149
|
+
<ToggleGroup
|
|
1150
|
+
aria-labelledby={answerId}
|
|
1151
|
+
value={answer()}
|
|
1152
|
+
onValueChange={choose}
|
|
1153
|
+
deselectable={false}
|
|
1154
|
+
class={styles.answerGroup}
|
|
1155
|
+
>
|
|
1156
|
+
<Toggle value="accepted" size="sm">
|
|
1157
|
+
{t.responseGoing}
|
|
1158
|
+
</Toggle>
|
|
1159
|
+
<Toggle value="tentative" size="sm">
|
|
1160
|
+
{t.responseMaybe}
|
|
1161
|
+
</Toggle>
|
|
1162
|
+
<Toggle value="declined" size="sm">
|
|
1163
|
+
{t.responseNotGoing}
|
|
1164
|
+
</Toggle>
|
|
1165
|
+
</ToggleGroup>
|
|
1166
|
+
<Show when={props.saving}>
|
|
1167
|
+
<Spinner size="sm" decorative />
|
|
1168
|
+
</Show>
|
|
1169
|
+
</div>
|
|
1170
|
+
<VisuallyHidden role="status">
|
|
1171
|
+
{props.saving
|
|
1172
|
+
? t.saving
|
|
1173
|
+
: props.savedAs && props.savedAs !== "needs-action"
|
|
1174
|
+
? t.saved(props.savedAs)
|
|
1175
|
+
: ""}
|
|
1176
|
+
</VisuallyHidden>
|
|
1177
|
+
<Show when={props.failed}>
|
|
1178
|
+
<Alert tone="danger" role="alert" class={styles.saveFailed}>
|
|
1179
|
+
<AlertIcon icon={CircleAlert} />
|
|
1180
|
+
<AlertDescription>{t.saveFailed}</AlertDescription>
|
|
1181
|
+
</Alert>
|
|
1182
|
+
</Show>
|
|
1183
|
+
</PanelSection>
|
|
1184
|
+
</Show>
|
|
1185
|
+
</PanelStackBody>
|
|
1186
|
+
<div class={styles.panelFooter}>
|
|
1187
|
+
<Show
|
|
1188
|
+
when={!ended()}
|
|
1189
|
+
fallback={
|
|
1190
|
+
<Text size="sm" tone="muted">
|
|
1191
|
+
{t.ended}
|
|
1192
|
+
</Text>
|
|
1193
|
+
}
|
|
1194
|
+
>
|
|
1195
|
+
<Show when={props.event.joinUrl}>
|
|
1196
|
+
{(url) => (
|
|
1197
|
+
<Button
|
|
1198
|
+
variant="primary"
|
|
1199
|
+
class={styles.join}
|
|
1200
|
+
render={(p) => <a {...p} href={url()} target="_blank" rel="noopener noreferrer" />}
|
|
1201
|
+
>
|
|
1202
|
+
<Icon icon={Video} />
|
|
1203
|
+
{t.joinMeeting}
|
|
1204
|
+
</Button>
|
|
1205
|
+
)}
|
|
1206
|
+
</Show>
|
|
1207
|
+
</Show>
|
|
1208
|
+
</div>
|
|
1209
|
+
</PanelStackLevel>
|
|
1210
|
+
|
|
1211
|
+
<PanelStackLevel value="participants" title={t.participants}>
|
|
1212
|
+
<LevelHeader onClose={props.onClose} />
|
|
1213
|
+
<PanelStackBody padding="none" class={styles.panelBody}>
|
|
1214
|
+
<For each={groups.filter((g) => count(g.response) > 0)}>
|
|
1215
|
+
{(group) => {
|
|
1216
|
+
const id = createUniqueId();
|
|
1217
|
+
return (
|
|
1218
|
+
<section class={styles.group} aria-labelledby={id}>
|
|
1219
|
+
<h3 id={id} class={styles.groupHeading}>
|
|
1220
|
+
<Icon icon={group.icon} class={styles.groupIcon} />
|
|
1221
|
+
{t[group.label]}
|
|
1222
|
+
<span class={styles.groupCount}>{count(group.response)}</span>
|
|
1223
|
+
</h3>
|
|
1224
|
+
<ul class={styles.personList}>
|
|
1225
|
+
<For each={people().filter((p) => p.answer === group.response)} keyed={(p) => p.key}>
|
|
1226
|
+
{(p) => (
|
|
1227
|
+
<li>
|
|
1228
|
+
<PanelStackTrigger
|
|
1229
|
+
value="person"
|
|
1230
|
+
class={styles.personRow}
|
|
1231
|
+
onClick={() => {
|
|
1232
|
+
setPersonKey(p().key);
|
|
1233
|
+
}}
|
|
1234
|
+
>
|
|
1235
|
+
<span class={styles.rowContent}>
|
|
1236
|
+
<PersonAvatar person={p()} />
|
|
1237
|
+
<span class={styles.factLines}>
|
|
1238
|
+
<span class={styles.personName}>
|
|
1239
|
+
{nameOf(p())}
|
|
1240
|
+
<Show when={p().self}>
|
|
1241
|
+
<span class={styles.you}>{` ${t.youSuffix}`}</span>
|
|
1242
|
+
</Show>
|
|
1243
|
+
</span>
|
|
1244
|
+
<Show when={p().organizer}>
|
|
1245
|
+
<Text size="sm" tone="muted">
|
|
1246
|
+
{t.organizer}
|
|
1247
|
+
</Text>
|
|
1248
|
+
</Show>
|
|
1249
|
+
</span>
|
|
1250
|
+
</span>
|
|
1251
|
+
</PanelStackTrigger>
|
|
1252
|
+
</li>
|
|
1253
|
+
)}
|
|
1254
|
+
</For>
|
|
1255
|
+
</ul>
|
|
1256
|
+
</section>
|
|
1257
|
+
);
|
|
1258
|
+
}}
|
|
1259
|
+
</For>
|
|
1260
|
+
</PanelStackBody>
|
|
1261
|
+
</PanelStackLevel>
|
|
1262
|
+
|
|
1263
|
+
<PanelStackLevel value="person" title={person() ? nameOf(person()!) : t.participants}>
|
|
1264
|
+
<LevelHeader onClose={props.onClose} />
|
|
1265
|
+
<PanelStackBody padding="none" class={styles.panelBody}>
|
|
1266
|
+
<Show when={person()}>{(p) => <PersonDetails person={p()} />}</Show>
|
|
1267
|
+
</PanelStackBody>
|
|
1268
|
+
</PanelStackLevel>
|
|
1269
|
+
</PanelStack>
|
|
1270
|
+
);
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
function PanelSection(props: { title: string; id?: string; children: JSX.Element }) {
|
|
1274
|
+
const fallback = createUniqueId();
|
|
1275
|
+
const id = () => props.id ?? fallback;
|
|
1276
|
+
return (
|
|
1277
|
+
<section class={styles.panelSection} aria-labelledby={id()}>
|
|
1278
|
+
<h3 id={id()} class={styles.sectionHeading}>
|
|
1279
|
+
{props.title}
|
|
1280
|
+
</h3>
|
|
1281
|
+
{props.children}
|
|
1282
|
+
</section>
|
|
1283
|
+
);
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
function PersonAvatar(props: { person: AgendaGuest; size?: "md" | "lg" }) {
|
|
1287
|
+
return (
|
|
1288
|
+
<Avatar size={props.size ?? "md"} aria-hidden="true">
|
|
1289
|
+
<Show when={props.person.src}>{(src) => <AvatarImage src={src()} alt="" />}</Show>
|
|
1290
|
+
<AvatarFallback tone={avatarTone(props.person.email ?? nameOf(props.person))}>
|
|
1291
|
+
{initials(nameOf(props.person))}
|
|
1292
|
+
</AvatarFallback>
|
|
1293
|
+
</Avatar>
|
|
1294
|
+
);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
function PersonDetails(props: { person: Person }) {
|
|
1298
|
+
const t = useSchedulingLabels();
|
|
1299
|
+
const [copied, setCopied] = createSignal(false);
|
|
1300
|
+
const group = () => groups.find((g) => g.response === props.person.answer)!;
|
|
1301
|
+
const copy = async (email: string) => {
|
|
1302
|
+
await navigator.clipboard?.writeText(email).catch(() => undefined);
|
|
1303
|
+
setCopied(true);
|
|
1304
|
+
};
|
|
1305
|
+
return (
|
|
1306
|
+
<>
|
|
1307
|
+
<div class={styles.personHead}>
|
|
1308
|
+
<PersonAvatar person={props.person} size="lg" />
|
|
1309
|
+
<span class={styles.factLines}>
|
|
1310
|
+
<span class={styles.personName}>
|
|
1311
|
+
{nameOf(props.person)}
|
|
1312
|
+
<Show when={props.person.self}>
|
|
1313
|
+
<span class={styles.you}>{` ${t.youSuffix}`}</span>
|
|
1314
|
+
</Show>
|
|
1315
|
+
</span>
|
|
1316
|
+
<Show when={props.person.email && props.person.name ? props.person.email : undefined}>
|
|
1317
|
+
{(email) => (
|
|
1318
|
+
<Text size="sm" tone="muted" dir="ltr" class={styles.address}>
|
|
1319
|
+
{email()}
|
|
1320
|
+
</Text>
|
|
1321
|
+
)}
|
|
1322
|
+
</Show>
|
|
1323
|
+
</span>
|
|
1324
|
+
</div>
|
|
1325
|
+
<Show when={props.person.email}>
|
|
1326
|
+
{(email) => (
|
|
1327
|
+
<PanelSection title={t.email}>
|
|
1328
|
+
<div class={styles.copyRow}>
|
|
1329
|
+
<Icon icon={Mail} class={styles.factIcon} />
|
|
1330
|
+
<span class={styles.address} dir="ltr">
|
|
1331
|
+
{email()}
|
|
1332
|
+
</span>
|
|
1333
|
+
<Button size="sm" variant="ghost" onClick={() => void copy(email())}>
|
|
1334
|
+
<Icon icon={Copy} />
|
|
1335
|
+
{t.copyEmail}
|
|
1336
|
+
</Button>
|
|
1337
|
+
<VisuallyHidden role="status">{copied() ? t.emailCopied : ""}</VisuallyHidden>
|
|
1338
|
+
</div>
|
|
1339
|
+
</PanelSection>
|
|
1340
|
+
)}
|
|
1341
|
+
</Show>
|
|
1342
|
+
<PanelSection title={t.inThisMeeting}>
|
|
1343
|
+
<div class={styles.fact}>
|
|
1344
|
+
<Icon icon={group().icon} class={styles.factIcon} />
|
|
1345
|
+
<span>
|
|
1346
|
+
{t[group().label]} · {props.person.organizer ? t.organizer : props.person.self ? t.you : t.guest}
|
|
1347
|
+
</span>
|
|
1348
|
+
</div>
|
|
1349
|
+
</PanelSection>
|
|
1350
|
+
</>
|
|
1351
|
+
);
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
/** The call's address without the scheme ("meet.example/abc-defg"). */
|
|
1355
|
+
function callAddress(url: string) {
|
|
1356
|
+
try {
|
|
1357
|
+
const parsed = new URL(url);
|
|
1358
|
+
return `${parsed.host}${parsed.pathname === "/" ? "" : parsed.pathname}`;
|
|
1359
|
+
} catch {
|
|
1360
|
+
return url;
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
```
|
|
1364
|
+
|
|
1365
|
+
```tsx title="schedule-meeting.tsx"
|
|
1366
|
+
/**
|
|
1367
|
+
* Schedule a meeting — part of the scheduling blocks for @zsherman/kit: the dialog a Schedule dashboard day's
|
|
1368
|
+
* + opens, seeded with that day. A title (required), the date, when it starts and how long, the calendar, the
|
|
1369
|
+
* guests (from the people you meet with), a video call, a place and a description. Schedule saves it through
|
|
1370
|
+
* your API: the button waits while it saves, a failure keeps the dialog open and says so.
|
|
1371
|
+
*/
|
|
1372
|
+
import { Alert, AlertDescription, AlertIcon } from "@zsherman/kit/alert";
|
|
1373
|
+
import { Button } from "@zsherman/kit/button";
|
|
1374
|
+
import {
|
|
1375
|
+
Combobox,
|
|
1376
|
+
ComboboxChip,
|
|
1377
|
+
ComboboxChipRemove,
|
|
1378
|
+
ComboboxChips,
|
|
1379
|
+
ComboboxContent,
|
|
1380
|
+
ComboboxEmpty,
|
|
1381
|
+
ComboboxInput,
|
|
1382
|
+
ComboboxItem,
|
|
1383
|
+
ComboboxItemIndicator,
|
|
1384
|
+
ComboboxItemText,
|
|
1385
|
+
ComboboxLabel,
|
|
1386
|
+
ComboboxList,
|
|
1387
|
+
ComboboxValue,
|
|
1388
|
+
} from "@zsherman/kit/combobox";
|
|
1389
|
+
import {
|
|
1390
|
+
DatePicker,
|
|
1391
|
+
DatePickerCalendar,
|
|
1392
|
+
DatePickerContent,
|
|
1393
|
+
DatePickerGroup,
|
|
1394
|
+
DatePickerInput,
|
|
1395
|
+
DatePickerTrigger,
|
|
1396
|
+
} from "@zsherman/kit/date-picker";
|
|
1397
|
+
import {
|
|
1398
|
+
Dialog,
|
|
1399
|
+
DialogClose,
|
|
1400
|
+
DialogContent,
|
|
1401
|
+
type DialogController,
|
|
1402
|
+
DialogFooter,
|
|
1403
|
+
DialogHeader,
|
|
1404
|
+
DialogTitle,
|
|
1405
|
+
} from "@zsherman/kit/dialog";
|
|
1406
|
+
import { Field, FieldError, FieldLabel, Input, Textarea } from "@zsherman/kit/field";
|
|
1407
|
+
import { Form } from "@zsherman/kit/form";
|
|
1408
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
1409
|
+
import { CircleAlert, X } from "@zsherman/kit/icons";
|
|
1410
|
+
import {
|
|
1411
|
+
Select,
|
|
1412
|
+
SelectContent,
|
|
1413
|
+
SelectItem,
|
|
1414
|
+
SelectItemIndicator,
|
|
1415
|
+
SelectItemText,
|
|
1416
|
+
SelectLabel,
|
|
1417
|
+
SelectList,
|
|
1418
|
+
SelectTrigger,
|
|
1419
|
+
SelectValue,
|
|
1420
|
+
} from "@zsherman/kit/select";
|
|
1421
|
+
import { Switch } from "@zsherman/kit/switch";
|
|
1422
|
+
import { TimeInput } from "@zsherman/kit/time-input";
|
|
1423
|
+
import { createSignal, createUniqueId, For, Show, untrack } from "solid-js";
|
|
1424
|
+
import type { AgendaCalendar, AgendaGuest, MeetingDraft } from "./agenda";
|
|
1425
|
+
import { useSchedulingLabels } from "./labels";
|
|
1426
|
+
import styles from "./scheduling.module.css";
|
|
1427
|
+
|
|
1428
|
+
const DURATIONS = [15, 30, 45, 60, 90, 120];
|
|
1429
|
+
|
|
1430
|
+
export interface ScheduleMeetingDialogProps {
|
|
1431
|
+
/** Open it with `controller.open({ payload: day })`, the day as `"YYYY-MM-DD"`. */
|
|
1432
|
+
controller: DialogController<string>;
|
|
1433
|
+
calendars: readonly AgendaCalendar[];
|
|
1434
|
+
/** The people guests are picked from (by email). */
|
|
1435
|
+
people: readonly AgendaGuest[];
|
|
1436
|
+
/** Today, the first day the date can be. */
|
|
1437
|
+
today: string;
|
|
1438
|
+
/** When a meeting on `day` starts unless changed, `"HH:mm"`. */
|
|
1439
|
+
suggest: (day: string) => string;
|
|
1440
|
+
/** Saves the meeting. Reject to keep the dialog open with an error. */
|
|
1441
|
+
onSchedule: (draft: MeetingDraft) => Promise<void>;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
export function ScheduleMeetingDialog(props: ScheduleMeetingDialogProps) {
|
|
1445
|
+
return (
|
|
1446
|
+
<Dialog controller={props.controller}>
|
|
1447
|
+
<DialogContent<string> size="md">
|
|
1448
|
+
{(state) => (
|
|
1449
|
+
// One form per opening: its draft starts from the day the dialog opened with.
|
|
1450
|
+
<Show when={state.payload} keyed>
|
|
1451
|
+
{(day) => <MeetingForm {...props} day={day} />}
|
|
1452
|
+
</Show>
|
|
1453
|
+
)}
|
|
1454
|
+
</DialogContent>
|
|
1455
|
+
</Dialog>
|
|
1456
|
+
);
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1459
|
+
function MeetingForm(props: ScheduleMeetingDialogProps & { day: string }) {
|
|
1460
|
+
const t = useSchedulingLabels();
|
|
1461
|
+
// A deliberate snapshot when the form mounts (once per opening).
|
|
1462
|
+
const [draft, setDraft] = createSignal<MeetingDraft>(
|
|
1463
|
+
untrack(() => ({
|
|
1464
|
+
title: "",
|
|
1465
|
+
date: props.day,
|
|
1466
|
+
start: props.suggest(props.day),
|
|
1467
|
+
minutes: 30,
|
|
1468
|
+
calendar: props.calendars[0]?.id ?? "",
|
|
1469
|
+
guests: [],
|
|
1470
|
+
video: true,
|
|
1471
|
+
location: "",
|
|
1472
|
+
description: "",
|
|
1473
|
+
})),
|
|
1474
|
+
);
|
|
1475
|
+
const [failed, setFailed] = createSignal(false);
|
|
1476
|
+
const [anchor, setAnchor] = createSignal<HTMLElement>();
|
|
1477
|
+
const dateLabel = createUniqueId();
|
|
1478
|
+
const startLabel = createUniqueId();
|
|
1479
|
+
const update = (patch: Partial<MeetingDraft>) => setDraft((d) => ({ ...d, ...patch }));
|
|
1480
|
+
const byEmail = (email: string) => props.people.find((p) => p.email === email);
|
|
1481
|
+
const nameOf = (email: string) => byEmail(email)?.name || email;
|
|
1482
|
+
|
|
1483
|
+
// The Form checks the fields first, and Schedule shows it's pending while this runs.
|
|
1484
|
+
async function save() {
|
|
1485
|
+
setFailed(false);
|
|
1486
|
+
const d = draft();
|
|
1487
|
+
try {
|
|
1488
|
+
await props.onSchedule({
|
|
1489
|
+
...d,
|
|
1490
|
+
title: d.title.trim(),
|
|
1491
|
+
location: d.location?.trim() || undefined,
|
|
1492
|
+
description: d.description?.trim() || undefined,
|
|
1493
|
+
});
|
|
1494
|
+
props.controller.close();
|
|
1495
|
+
} catch {
|
|
1496
|
+
setFailed(true);
|
|
1497
|
+
}
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
return (
|
|
1501
|
+
<Form class={styles.meetingForm} onFormSubmit={save}>
|
|
1502
|
+
<DialogHeader>
|
|
1503
|
+
<DialogTitle>{t.scheduleMeeting}</DialogTitle>
|
|
1504
|
+
</DialogHeader>
|
|
1505
|
+
|
|
1506
|
+
<Field>
|
|
1507
|
+
<FieldLabel>{t.title}</FieldLabel>
|
|
1508
|
+
<Input
|
|
1509
|
+
name="title"
|
|
1510
|
+
required
|
|
1511
|
+
autofocus
|
|
1512
|
+
value={draft().title}
|
|
1513
|
+
onValueChange={(title) => update({ title })}
|
|
1514
|
+
placeholder={t.titlePlaceholder}
|
|
1515
|
+
/>
|
|
1516
|
+
<FieldError match="valueMissing">{t.titleMissing}</FieldError>
|
|
1517
|
+
</Field>
|
|
1518
|
+
|
|
1519
|
+
<div class={styles.formRow}>
|
|
1520
|
+
<div class={styles.formField}>
|
|
1521
|
+
<span class={styles.formLabel} id={dateLabel}>
|
|
1522
|
+
{t.date}
|
|
1523
|
+
</span>
|
|
1524
|
+
<DatePicker
|
|
1525
|
+
value={draft().date}
|
|
1526
|
+
today={props.today}
|
|
1527
|
+
min={props.today}
|
|
1528
|
+
onValueChange={(v) => typeof v === "string" && update({ date: v })}
|
|
1529
|
+
>
|
|
1530
|
+
<DatePickerGroup ref={setAnchor}>
|
|
1531
|
+
<DatePickerInput aria-labelledby={dateLabel} />
|
|
1532
|
+
<DatePickerTrigger />
|
|
1533
|
+
</DatePickerGroup>
|
|
1534
|
+
<DatePickerContent anchor={anchor()} align="start">
|
|
1535
|
+
<DatePickerCalendar />
|
|
1536
|
+
</DatePickerContent>
|
|
1537
|
+
</DatePicker>
|
|
1538
|
+
</div>
|
|
1539
|
+
<div class={styles.formField}>
|
|
1540
|
+
<span class={styles.formLabel} id={startLabel}>
|
|
1541
|
+
{t.startTime}
|
|
1542
|
+
</span>
|
|
1543
|
+
<TimeInput
|
|
1544
|
+
aria-labelledby={startLabel}
|
|
1545
|
+
value={draft().start}
|
|
1546
|
+
onValueChange={(start) => start && update({ start })}
|
|
1547
|
+
/>
|
|
1548
|
+
</div>
|
|
1549
|
+
<Select<string>
|
|
1550
|
+
value={String(draft().minutes)}
|
|
1551
|
+
onValueChange={(v) => v && update({ minutes: Number(v) })}
|
|
1552
|
+
>
|
|
1553
|
+
<div class={styles.formField}>
|
|
1554
|
+
<SelectLabel>{t.durationLabel}</SelectLabel>
|
|
1555
|
+
<SelectTrigger>
|
|
1556
|
+
<SelectValue />
|
|
1557
|
+
</SelectTrigger>
|
|
1558
|
+
</div>
|
|
1559
|
+
<SelectContent>
|
|
1560
|
+
<SelectList>
|
|
1561
|
+
<For each={DURATIONS}>
|
|
1562
|
+
{(minutes) => (
|
|
1563
|
+
<SelectItem value={String(minutes)} label={t.duration(minutes)}>
|
|
1564
|
+
<SelectItemText>{t.duration(minutes)}</SelectItemText>
|
|
1565
|
+
<SelectItemIndicator />
|
|
1566
|
+
</SelectItem>
|
|
1567
|
+
)}
|
|
1568
|
+
</For>
|
|
1569
|
+
</SelectList>
|
|
1570
|
+
</SelectContent>
|
|
1571
|
+
</Select>
|
|
1572
|
+
</div>
|
|
1573
|
+
|
|
1574
|
+
<Show when={props.calendars.length > 1}>
|
|
1575
|
+
<Select<string> value={draft().calendar} onValueChange={(v) => v && update({ calendar: v })}>
|
|
1576
|
+
<div class={styles.formField}>
|
|
1577
|
+
<SelectLabel>{t.calendar}</SelectLabel>
|
|
1578
|
+
<SelectTrigger>
|
|
1579
|
+
<SelectValue />
|
|
1580
|
+
</SelectTrigger>
|
|
1581
|
+
</div>
|
|
1582
|
+
<SelectContent>
|
|
1583
|
+
<SelectList>
|
|
1584
|
+
<For each={props.calendars}>
|
|
1585
|
+
{(calendar) => (
|
|
1586
|
+
<SelectItem value={calendar.id} label={calendar.name}>
|
|
1587
|
+
<span class={styles.dot} data-tone={calendar.tone} aria-hidden="true" />
|
|
1588
|
+
<SelectItemText>{calendar.name}</SelectItemText>
|
|
1589
|
+
<SelectItemIndicator />
|
|
1590
|
+
</SelectItem>
|
|
1591
|
+
)}
|
|
1592
|
+
</For>
|
|
1593
|
+
</SelectList>
|
|
1594
|
+
</SelectContent>
|
|
1595
|
+
</Select>
|
|
1596
|
+
</Show>
|
|
1597
|
+
|
|
1598
|
+
<Combobox<string, true>
|
|
1599
|
+
multiple
|
|
1600
|
+
value={draft().guests.map((g) => g.email ?? g.name)}
|
|
1601
|
+
onValueChange={(emails) =>
|
|
1602
|
+
update({ guests: emails.map((email) => byEmail(email) ?? { name: "", email }) })
|
|
1603
|
+
}
|
|
1604
|
+
itemToLabel={nameOf}
|
|
1605
|
+
>
|
|
1606
|
+
<div class={styles.formField}>
|
|
1607
|
+
<ComboboxLabel>{t.guests}</ComboboxLabel>
|
|
1608
|
+
<ComboboxChips>
|
|
1609
|
+
<ComboboxValue>
|
|
1610
|
+
{(state) => (
|
|
1611
|
+
<For each={state.value as string[]}>
|
|
1612
|
+
{(email, i) => (
|
|
1613
|
+
<ComboboxChip value={email}>
|
|
1614
|
+
{state.labels[i()]}
|
|
1615
|
+
<ComboboxChipRemove aria-label={t.removeGuest(state.labels[i()] ?? email)} />
|
|
1616
|
+
</ComboboxChip>
|
|
1617
|
+
)}
|
|
1618
|
+
</For>
|
|
1619
|
+
)}
|
|
1620
|
+
</ComboboxValue>
|
|
1621
|
+
<ComboboxInput variant="inline" placeholder={draft().guests.length ? "" : t.addGuests} />
|
|
1622
|
+
</ComboboxChips>
|
|
1623
|
+
</div>
|
|
1624
|
+
<ComboboxContent>
|
|
1625
|
+
<ComboboxEmpty>{t.noGuestMatches}</ComboboxEmpty>
|
|
1626
|
+
<ComboboxList>
|
|
1627
|
+
<For each={props.people}>
|
|
1628
|
+
{(person) => (
|
|
1629
|
+
<ComboboxItem value={person.email ?? person.name} label={person.name || person.email || ""}>
|
|
1630
|
+
<ComboboxItemText>{person.name || person.email}</ComboboxItemText>
|
|
1631
|
+
<ComboboxItemIndicator />
|
|
1632
|
+
</ComboboxItem>
|
|
1633
|
+
)}
|
|
1634
|
+
</For>
|
|
1635
|
+
</ComboboxList>
|
|
1636
|
+
</ComboboxContent>
|
|
1637
|
+
</Combobox>
|
|
1638
|
+
|
|
1639
|
+
<Field class={styles.switchField}>
|
|
1640
|
+
<Switch checked={draft().video} onCheckedChange={(video) => update({ video })} />
|
|
1641
|
+
<FieldLabel>{t.addVideoCall}</FieldLabel>
|
|
1642
|
+
</Field>
|
|
1643
|
+
|
|
1644
|
+
<Field>
|
|
1645
|
+
<FieldLabel>{t.location}</FieldLabel>
|
|
1646
|
+
<Input name="location" value={draft().location} onValueChange={(location) => update({ location })} />
|
|
1647
|
+
</Field>
|
|
1648
|
+
|
|
1649
|
+
<Field>
|
|
1650
|
+
<FieldLabel>{t.description}</FieldLabel>
|
|
1651
|
+
<Textarea
|
|
1652
|
+
name="description"
|
|
1653
|
+
rows={3}
|
|
1654
|
+
value={draft().description}
|
|
1655
|
+
onValueChange={(description) => update({ description })}
|
|
1656
|
+
/>
|
|
1657
|
+
</Field>
|
|
1658
|
+
|
|
1659
|
+
<Show when={failed()}>
|
|
1660
|
+
<Alert tone="danger" role="alert" class={styles.saveFailed}>
|
|
1661
|
+
<AlertIcon icon={CircleAlert} />
|
|
1662
|
+
<AlertDescription>{t.scheduleFailed}</AlertDescription>
|
|
1663
|
+
</Alert>
|
|
1664
|
+
</Show>
|
|
1665
|
+
|
|
1666
|
+
<DialogFooter>
|
|
1667
|
+
<DialogClose>{t.cancel}</DialogClose>
|
|
1668
|
+
<Button type="submit" variant="primary">
|
|
1669
|
+
{t.scheduleButton}
|
|
1670
|
+
</Button>
|
|
1671
|
+
</DialogFooter>
|
|
1672
|
+
<DialogClose corner aria-label={t.close}>
|
|
1673
|
+
<Icon icon={X} />
|
|
1674
|
+
</DialogClose>
|
|
1675
|
+
</Form>
|
|
1676
|
+
);
|
|
1677
|
+
}
|
|
1678
|
+
```
|
|
1679
|
+
|
|
1680
|
+
```tsx title="agenda.tsx"
|
|
1681
|
+
/**
|
|
1682
|
+
* Agenda — a copyable block for @zsherman/kit: a page of your events, a week at a time.
|
|
1683
|
+
*
|
|
1684
|
+
* - A Day strip picks the day, and the Schedule list below scrolls that day's band to the top; scrolling the
|
|
1685
|
+
* list moves the strip's day along. The list always shows the strip's week, every day of it (a free day says
|
|
1686
|
+
* "No events"), so each day the strip can pick has a band to scroll to.
|
|
1687
|
+
* - Previous and Next on the strip move the week and keep the weekday; Today comes back. Each week loads from
|
|
1688
|
+
* your API once (the keyboard crossing weeks waits for the keys to stop first); while it loads the list is a
|
|
1689
|
+
* skeleton of the same shape, and a failed load says so with Try again.
|
|
1690
|
+
* - An event opens a popover beside its row: when, where (a place, or a call with Join), the guests and how they
|
|
1691
|
+
* answered, the description, and your answer (Yes, Maybe, No), saved at once and put back if the save fails.
|
|
1692
|
+
* - The calendars' colors mark the rows and the strip's dots, and a legend names them.
|
|
1693
|
+
*
|
|
1694
|
+
* Built on the kit's Day strip, Schedule list, Event popover and Empty state. Copy `agenda.tsx`, `responses.ts`,
|
|
1695
|
+
* `labels.tsx` and `scheduling.module.css`. Public kit entries and `--sui-*` tokens only.
|
|
1696
|
+
*/
|
|
1697
|
+
import { Button } from "@zsherman/kit/button";
|
|
1698
|
+
import {
|
|
1699
|
+
addDays,
|
|
1700
|
+
daysBetween,
|
|
1701
|
+
firstDayOfWeek,
|
|
1702
|
+
formatDateRange,
|
|
1703
|
+
isISODate,
|
|
1704
|
+
startOfWeek,
|
|
1705
|
+
} from "@zsherman/kit/calendar";
|
|
1706
|
+
import { DayStrip, type DayStripTone, type DayStripWeekChangeDetails } from "@zsherman/kit/day-strip";
|
|
1707
|
+
import {
|
|
1708
|
+
EmptyState,
|
|
1709
|
+
EmptyStateActions,
|
|
1710
|
+
EmptyStateDescription,
|
|
1711
|
+
EmptyStateIcon,
|
|
1712
|
+
EmptyStateTitle,
|
|
1713
|
+
} from "@zsherman/kit/empty-state";
|
|
1714
|
+
import { EventPopover, type EventPopoverEvent, type EventPopoverLabels } from "@zsherman/kit/event-popover";
|
|
1715
|
+
import { CalendarX } from "@zsherman/kit/icons";
|
|
1716
|
+
import { useLocale } from "@zsherman/kit/locale-provider";
|
|
1717
|
+
import { createPopoverController } from "@zsherman/kit/popover";
|
|
1718
|
+
import {
|
|
1719
|
+
type ScheduleEvent,
|
|
1720
|
+
ScheduleList,
|
|
1721
|
+
type ScheduleListChangeDetails,
|
|
1722
|
+
type ScheduleListTone,
|
|
1723
|
+
} from "@zsherman/kit/schedule-list";
|
|
1724
|
+
import { Skeleton } from "@zsherman/kit/skeleton";
|
|
1725
|
+
import { Heading, Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
1726
|
+
import { createEffect, createMemo, createSignal, createUniqueId, For, Match, Show, Switch } from "solid-js";
|
|
1727
|
+
import { type SchedulingLabels, SchedulingLabelsProvider, useSchedulingLabels } from "./labels";
|
|
1728
|
+
import { createResponses } from "./responses";
|
|
1729
|
+
import styles from "./scheduling.module.css";
|
|
1730
|
+
|
|
1731
|
+
/** Your answer to an invitation. `needs-action`: not answered yet. */
|
|
1732
|
+
export type AgendaResponse = "accepted" | "tentative" | "declined" | "needs-action";
|
|
1733
|
+
|
|
1734
|
+
/** A person invited to an event. */
|
|
1735
|
+
export interface AgendaGuest {
|
|
1736
|
+
name: string;
|
|
1737
|
+
/** Their address: shown in a participant's details, and their name when `name` is empty. */
|
|
1738
|
+
email?: string;
|
|
1739
|
+
/** A photo's URL; initials otherwise. */
|
|
1740
|
+
src?: string;
|
|
1741
|
+
/** Their answer. Yours is the event's `response`, so leave it out on your own row. */
|
|
1742
|
+
response?: AgendaResponse;
|
|
1743
|
+
organizer?: boolean;
|
|
1744
|
+
/** This is you: shown as "You", answering with the event's `response`. */
|
|
1745
|
+
self?: boolean;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
/** One of your calendars: its name in the legend and the popover, its tone on rows and dots. */
|
|
1749
|
+
export interface AgendaCalendar {
|
|
1750
|
+
id: string;
|
|
1751
|
+
name: string;
|
|
1752
|
+
tone: ScheduleListTone;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
export interface AgendaEvent {
|
|
1756
|
+
id: string;
|
|
1757
|
+
title: string;
|
|
1758
|
+
/** ISO date-time with an offset or Z; a plain `"YYYY-MM-DD"` makes it all day. */
|
|
1759
|
+
start: string;
|
|
1760
|
+
/** Timed: the moment it ends. All day: its last day, included. */
|
|
1761
|
+
end?: string;
|
|
1762
|
+
allDay?: boolean;
|
|
1763
|
+
/** The id of its `AgendaCalendar`. */
|
|
1764
|
+
calendar: string;
|
|
1765
|
+
/** A room or an address. */
|
|
1766
|
+
location?: string;
|
|
1767
|
+
/** The call's address: the popover shows Join. */
|
|
1768
|
+
joinUrl?: string;
|
|
1769
|
+
description?: string;
|
|
1770
|
+
/** How it repeats, said for people ("Repeats every Monday"): the Meeting home panel shows it. */
|
|
1771
|
+
repeats?: string;
|
|
1772
|
+
/** Called off: its row says "Canceled" (the Meeting home's view options can hide it). */
|
|
1773
|
+
canceled?: boolean;
|
|
1774
|
+
guests?: readonly AgendaGuest[];
|
|
1775
|
+
/** Your answer, when you're a guest (not the organizer). Leave it out for events you aren't invited to answer. */
|
|
1776
|
+
response?: AgendaResponse;
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
/** A meeting to schedule, from the scheduling dialog (`schedule-meeting.tsx`). */
|
|
1780
|
+
export interface MeetingDraft {
|
|
1781
|
+
title: string;
|
|
1782
|
+
/** `"YYYY-MM-DD"` in the schedule's zone. */
|
|
1783
|
+
date: string;
|
|
1784
|
+
/** `"HH:mm"`, 24-hour, in the schedule's zone. */
|
|
1785
|
+
start: string;
|
|
1786
|
+
/** How long, in minutes. */
|
|
1787
|
+
minutes: number;
|
|
1788
|
+
/** The id of its `AgendaCalendar`. */
|
|
1789
|
+
calendar: string;
|
|
1790
|
+
/** Who's invited (you're the organizer, not among them). */
|
|
1791
|
+
guests: AgendaGuest[];
|
|
1792
|
+
/** Give it a call: your server makes the link (`joinUrl`). */
|
|
1793
|
+
video: boolean;
|
|
1794
|
+
location?: string;
|
|
1795
|
+
description?: string;
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
/** Your server. Dates are `"YYYY-MM-DD"` in the agenda's `timeZone`. */
|
|
1799
|
+
export interface AgendaApi {
|
|
1800
|
+
/** The events that touch the days from `from` to `to`, both included. Reject to show the error with Try again. */
|
|
1801
|
+
listEvents(range: { from: string; to: string }, signal: AbortSignal): Promise<AgendaEvent[]>;
|
|
1802
|
+
/** Saves your answer. Reject, and the agenda puts your earlier answer back and says so. */
|
|
1803
|
+
respond(eventId: string, response: Exclude<AgendaResponse, "needs-action">): Promise<void>;
|
|
1804
|
+
/**
|
|
1805
|
+
* Creates a meeting and returns it as the schedule shows it. The Schedule dashboard's scheduling dialog
|
|
1806
|
+
* calls it; reject to keep the dialog open with an error.
|
|
1807
|
+
*/
|
|
1808
|
+
createEvent?(draft: MeetingDraft): Promise<AgendaEvent>;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
export interface AgendaProps {
|
|
1812
|
+
api: AgendaApi;
|
|
1813
|
+
calendars: readonly AgendaCalendar[];
|
|
1814
|
+
/** Today, `"YYYY-MM-DD"` in the user's time zone. Pass it from the server. */
|
|
1815
|
+
today: string;
|
|
1816
|
+
/** The zone events are placed and shown in, like `"America/New_York"`. Pass the user's from the server. */
|
|
1817
|
+
timeZone: string;
|
|
1818
|
+
/** Now, for the list's now line and past events (pin it for screenshots); the clock after mount otherwise. */
|
|
1819
|
+
now?: string | Date;
|
|
1820
|
+
/** The day shown first. @defaultValue today */
|
|
1821
|
+
defaultDay?: string;
|
|
1822
|
+
/** The week's first day, 0 (Sunday) to 6. @defaultValue the locale's */
|
|
1823
|
+
weekStartsOn?: number;
|
|
1824
|
+
labels?: Partial<SchedulingLabels>;
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/** Agenda, with its words from `labels` over the English in `labels.tsx`. */
|
|
1828
|
+
export function Agenda(props: AgendaProps) {
|
|
1829
|
+
return (
|
|
1830
|
+
<SchedulingLabelsProvider labels={props.labels}>
|
|
1831
|
+
<AgendaBody {...props} />
|
|
1832
|
+
</SchedulingLabelsProvider>
|
|
1833
|
+
);
|
|
1834
|
+
}
|
|
1835
|
+
|
|
1836
|
+
type Loaded = { status: "ready"; events: AgendaEvent[] } | { status: "error"; attempt: number };
|
|
1837
|
+
|
|
1838
|
+
const parts = new Map<string, Intl.DateTimeFormat>();
|
|
1839
|
+
/** The day a date-time falls on in a zone, `"YYYY-MM-DD"`; a plain date is its own day. */
|
|
1840
|
+
export function dayIn(value: string, timeZone: string): string {
|
|
1841
|
+
if (isISODate(value)) return value;
|
|
1842
|
+
let format = parts.get(timeZone);
|
|
1843
|
+
if (!format)
|
|
1844
|
+
parts.set(
|
|
1845
|
+
timeZone,
|
|
1846
|
+
(format = new Intl.DateTimeFormat("en-US", {
|
|
1847
|
+
timeZone,
|
|
1848
|
+
year: "numeric",
|
|
1849
|
+
month: "2-digit",
|
|
1850
|
+
day: "2-digit",
|
|
1851
|
+
})),
|
|
1852
|
+
);
|
|
1853
|
+
const part = (type: string) => format.formatToParts(new Date(value)).find((p) => p.type === type)?.value;
|
|
1854
|
+
return `${part("year")}-${part("month")}-${part("day")}`;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
/** Every day an event touches in a zone, in order (an event ending at midnight doesn't touch the next day). */
|
|
1858
|
+
export function daysOf(event: AgendaEvent, timeZone: string): string[] {
|
|
1859
|
+
const first = dayIn(event.start, timeZone);
|
|
1860
|
+
const allDay = event.allDay || isISODate(event.start);
|
|
1861
|
+
const last = !event.end
|
|
1862
|
+
? first
|
|
1863
|
+
: allDay
|
|
1864
|
+
? dayIn(event.end, timeZone)
|
|
1865
|
+
: dayIn(new Date(Date.parse(event.end) - 1).toISOString(), timeZone);
|
|
1866
|
+
const days: string[] = [];
|
|
1867
|
+
for (let day = first; day <= last && days.length < 366; day = addDays(day, 1)) days.push(day);
|
|
1868
|
+
return days;
|
|
1869
|
+
}
|
|
1870
|
+
|
|
1871
|
+
function AgendaBody(props: AgendaProps) {
|
|
1872
|
+
const t = useSchedulingLabels();
|
|
1873
|
+
const locale = useLocale();
|
|
1874
|
+
const titleId = createUniqueId();
|
|
1875
|
+
const [day, setDay] = createSignal(() => props.defaultDay ?? props.today);
|
|
1876
|
+
const [week, setWeek] = createSignal(() => props.defaultDay ?? props.today);
|
|
1877
|
+
const weekStartsOn = () => props.weekStartsOn ?? firstDayOfWeek(locale());
|
|
1878
|
+
const range = createMemo(
|
|
1879
|
+
() => {
|
|
1880
|
+
const from = startOfWeek(week(), weekStartsOn());
|
|
1881
|
+
return { from, to: addDays(from, 6) };
|
|
1882
|
+
},
|
|
1883
|
+
{ equals: (a, b) => a.from === b.from },
|
|
1884
|
+
);
|
|
1885
|
+
|
|
1886
|
+
// Weeks by their first day, kept once loaded. A week without an answer (or with an older attempt's error)
|
|
1887
|
+
// is loading: derived, never set.
|
|
1888
|
+
const [weeks, setWeeks] = createSignal<Record<string, Loaded>>({});
|
|
1889
|
+
const [attempt, setAttempt] = createSignal(0);
|
|
1890
|
+
const entry = () => weeks()[range().from];
|
|
1891
|
+
const status = () => {
|
|
1892
|
+
const e = entry();
|
|
1893
|
+
if (!e || (e.status === "error" && e.attempt !== attempt())) return "loading";
|
|
1894
|
+
return e.status;
|
|
1895
|
+
};
|
|
1896
|
+
const loaded = new Set<string>();
|
|
1897
|
+
/** Set when the keyboard crossed into another week: wait for the keys to stop before loading. */
|
|
1898
|
+
let pause = false;
|
|
1899
|
+
createEffect(
|
|
1900
|
+
() => ({ ...range(), attempt: attempt(), api: props.api }),
|
|
1901
|
+
({ from, to, attempt: n, api }) => {
|
|
1902
|
+
if (loaded.has(from)) {
|
|
1903
|
+
pause = false;
|
|
1904
|
+
return;
|
|
1905
|
+
}
|
|
1906
|
+
const controller = new AbortController();
|
|
1907
|
+
const load = () =>
|
|
1908
|
+
api.listEvents({ from, to }, controller.signal).then(
|
|
1909
|
+
(events) => {
|
|
1910
|
+
if (controller.signal.aborted) return;
|
|
1911
|
+
loaded.add(from);
|
|
1912
|
+
setWeeks((all) => ({ ...all, [from]: { status: "ready", events } }));
|
|
1913
|
+
},
|
|
1914
|
+
() => {
|
|
1915
|
+
if (!controller.signal.aborted)
|
|
1916
|
+
setWeeks((all) => ({ ...all, [from]: { status: "error", attempt: n } }));
|
|
1917
|
+
},
|
|
1918
|
+
);
|
|
1919
|
+
const timer = pause ? setTimeout(load, 250) : undefined;
|
|
1920
|
+
if (!pause) void load();
|
|
1921
|
+
pause = false;
|
|
1922
|
+
return () => {
|
|
1923
|
+
clearTimeout(timer);
|
|
1924
|
+
controller.abort();
|
|
1925
|
+
};
|
|
1926
|
+
},
|
|
1927
|
+
);
|
|
1928
|
+
|
|
1929
|
+
const calendarOf = (id: string) => props.calendars.find((c) => c.id === id);
|
|
1930
|
+
const allEvents = createMemo(() =>
|
|
1931
|
+
Object.values(weeks()).flatMap((w) => (w.status === "ready" ? w.events : [])),
|
|
1932
|
+
);
|
|
1933
|
+
const shown = () => {
|
|
1934
|
+
const e = entry();
|
|
1935
|
+
return e?.status === "ready" ? e.events : [];
|
|
1936
|
+
};
|
|
1937
|
+
const tonesByDay = createMemo(() => {
|
|
1938
|
+
const byDay = new Map<string, DayStripTone[]>();
|
|
1939
|
+
for (const event of shown()) {
|
|
1940
|
+
const tone = calendarOf(event.calendar)?.tone ?? "accent";
|
|
1941
|
+
for (const d of daysOf(event, props.timeZone)) byDay.set(d, [...(byDay.get(d) ?? []), tone]);
|
|
1942
|
+
}
|
|
1943
|
+
return byDay;
|
|
1944
|
+
});
|
|
1945
|
+
const statusOf = (response?: AgendaResponse): Pick<ScheduleEvent, "status" | "statusTone"> =>
|
|
1946
|
+
response === "needs-action"
|
|
1947
|
+
? { status: t.statusInvited, statusTone: "accent" }
|
|
1948
|
+
: response === "tentative"
|
|
1949
|
+
? { status: t.statusMaybe, statusTone: "warning" }
|
|
1950
|
+
: response === "declined"
|
|
1951
|
+
? { status: t.statusDeclined, statusTone: "neutral" }
|
|
1952
|
+
: {};
|
|
1953
|
+
const rows = createMemo((): ScheduleEvent[] =>
|
|
1954
|
+
shown().map((event) => ({
|
|
1955
|
+
id: event.id,
|
|
1956
|
+
title: event.title,
|
|
1957
|
+
start: event.start,
|
|
1958
|
+
end: event.end,
|
|
1959
|
+
allDay: event.allDay,
|
|
1960
|
+
tone: calendarOf(event.calendar)?.tone ?? "accent",
|
|
1961
|
+
description: event.location ?? (event.joinUrl ? t.videoCall : undefined),
|
|
1962
|
+
people: event.guests?.filter((g) => !g.self).map((g) => ({ name: g.name, src: g.src })),
|
|
1963
|
+
...statusOf(event.response),
|
|
1964
|
+
})),
|
|
1965
|
+
);
|
|
1966
|
+
|
|
1967
|
+
// The event popover: one for the list, anchored to the pressed row. `chosen` marks the row while it's
|
|
1968
|
+
// open; `detailsId` is the event in the panel, kept while it closes. The details follow the event (your
|
|
1969
|
+
// answer) without opening again.
|
|
1970
|
+
const popover = createPopoverController();
|
|
1971
|
+
const [chosen, setChosen] = createSignal<string | null>(null);
|
|
1972
|
+
const [detailsId, setDetailsId] = createSignal<string | null>(null);
|
|
1973
|
+
const open = (id: string, details: ScheduleListChangeDetails) => {
|
|
1974
|
+
setChosen(id);
|
|
1975
|
+
setDetailsId(id);
|
|
1976
|
+
// Opened from code, the popover comes back to (and Tabs on from) what had focus: the row, also in
|
|
1977
|
+
// Safari, which doesn't focus a clicked button.
|
|
1978
|
+
details.anchor.focus({ preventScroll: true });
|
|
1979
|
+
void popover.open({ anchor: details.anchor });
|
|
1980
|
+
};
|
|
1981
|
+
const eventById = (id: string | null | undefined) => allEvents().find((e) => e.id === id);
|
|
1982
|
+
/** The event in the panel as the popover takes it: its calendar's name and tone. */
|
|
1983
|
+
const detailsEvent = (): EventPopoverEvent | undefined => {
|
|
1984
|
+
const event = eventById(detailsId());
|
|
1985
|
+
if (!event) return undefined;
|
|
1986
|
+
const calendar = calendarOf(event.calendar);
|
|
1987
|
+
return { ...event, calendar: calendar?.name, tone: calendar?.tone };
|
|
1988
|
+
};
|
|
1989
|
+
/** The words the popover shares with the other scheduling blocks, so the block's `labels` reword it too. */
|
|
1990
|
+
const popoverLabels = (): EventPopoverLabels => ({
|
|
1991
|
+
close: t.close,
|
|
1992
|
+
calendarOf: t.calendarOf,
|
|
1993
|
+
videoCall: t.videoCall,
|
|
1994
|
+
guests: t.guests,
|
|
1995
|
+
you: t.you,
|
|
1996
|
+
saving: t.saving,
|
|
1997
|
+
saved: t.saved,
|
|
1998
|
+
saveFailed: t.saveFailed,
|
|
1999
|
+
});
|
|
2000
|
+
|
|
2001
|
+
// Your answers: shown at once, put back when the save fails. The latest press per event wins.
|
|
2002
|
+
const patch = (id: string, response: AgendaResponse) =>
|
|
2003
|
+
setWeeks((all) => {
|
|
2004
|
+
const next: Record<string, Loaded> = {};
|
|
2005
|
+
for (const [key, w] of Object.entries(all))
|
|
2006
|
+
next[key] =
|
|
2007
|
+
w.status === "ready"
|
|
2008
|
+
? { status: "ready", events: w.events.map((e) => (e.id === id ? { ...e, response } : e)) }
|
|
2009
|
+
: w;
|
|
2010
|
+
return next;
|
|
2011
|
+
});
|
|
2012
|
+
const answers = createResponses({
|
|
2013
|
+
save: (id, response) => props.api.respond(id, response),
|
|
2014
|
+
current: (id) => eventById(id)?.response,
|
|
2015
|
+
patch,
|
|
2016
|
+
});
|
|
2017
|
+
|
|
2018
|
+
/** A week that failed loads again when it's shown again, so it reads as loading, not as the old error. */
|
|
2019
|
+
const leaveWeek = (to: string) => {
|
|
2020
|
+
if (startOfWeek(to, weekStartsOn()) !== range().from) setAttempt((n) => n + 1);
|
|
2021
|
+
};
|
|
2022
|
+
const moveWeek = (start: string, details: DayStripWeekChangeDetails) => {
|
|
2023
|
+
popover.close();
|
|
2024
|
+
// Previous and Next keep the weekday, so the list has the strip's day to show.
|
|
2025
|
+
if (details.reason === "previous" || details.reason === "next")
|
|
2026
|
+
setDay(addDays(day(), daysBetween(range().from, start)));
|
|
2027
|
+
if (details.reason === "list-navigation") pause = true;
|
|
2028
|
+
leaveWeek(start);
|
|
2029
|
+
setWeek(start);
|
|
2030
|
+
};
|
|
2031
|
+
const showToday = () => {
|
|
2032
|
+
popover.close();
|
|
2033
|
+
setDay(props.today);
|
|
2034
|
+
leaveWeek(props.today);
|
|
2035
|
+
setWeek(props.today);
|
|
2036
|
+
};
|
|
2037
|
+
|
|
2038
|
+
const zoneName = createMemo(
|
|
2039
|
+
() =>
|
|
2040
|
+
new Intl.DateTimeFormat(locale(), { timeZone: props.timeZone, timeZoneName: "long" })
|
|
2041
|
+
.formatToParts(new Date(`${props.today}T12:00:00Z`))
|
|
2042
|
+
.find((p) => p.type === "timeZoneName")?.value ?? props.timeZone,
|
|
2043
|
+
);
|
|
2044
|
+
const weekName = () => formatDateRange(range().from, range().to, locale());
|
|
2045
|
+
|
|
2046
|
+
return (
|
|
2047
|
+
<section class={styles.agenda} aria-labelledby={titleId}>
|
|
2048
|
+
<header class={styles.header}>
|
|
2049
|
+
<div class={styles.headerText}>
|
|
2050
|
+
<Heading level={1} size="xl" id={titleId}>
|
|
2051
|
+
{t.agenda}
|
|
2052
|
+
</Heading>
|
|
2053
|
+
<Text size="sm" tone="muted" render={(p) => <p {...p} class={[p.class as string, styles.zone]} />}>
|
|
2054
|
+
{t.timesIn(zoneName())}
|
|
2055
|
+
</Text>
|
|
2056
|
+
</div>
|
|
2057
|
+
<Button size="sm" onClick={showToday}>
|
|
2058
|
+
{t.today}
|
|
2059
|
+
</Button>
|
|
2060
|
+
</header>
|
|
2061
|
+
<div class={styles.panel}>
|
|
2062
|
+
<div class={styles.strip}>
|
|
2063
|
+
<DayStrip
|
|
2064
|
+
aria-label={t.agendaDay}
|
|
2065
|
+
today={props.today}
|
|
2066
|
+
value={day()}
|
|
2067
|
+
onValueChange={setDay}
|
|
2068
|
+
week={week()}
|
|
2069
|
+
onWeekChange={moveWeek}
|
|
2070
|
+
weekStartsOn={weekStartsOn()}
|
|
2071
|
+
events={(date) => tonesByDay().get(date)}
|
|
2072
|
+
style={{ width: "100%" }}
|
|
2073
|
+
/>
|
|
2074
|
+
</div>
|
|
2075
|
+
<div class={styles.body} aria-busy={status() === "loading" ? "true" : "false"}>
|
|
2076
|
+
<Switch>
|
|
2077
|
+
<Match when={status() === "loading"}>
|
|
2078
|
+
<AgendaSkeleton label={t.loadingWeek} />
|
|
2079
|
+
</Match>
|
|
2080
|
+
<Match when={status() === "error"}>
|
|
2081
|
+
<EmptyState size="sm" class={styles.failed}>
|
|
2082
|
+
<EmptyStateIcon icon={CalendarX} />
|
|
2083
|
+
<EmptyStateTitle render={(p) => <h2 {...p} />}>{t.loadFailedTitle}</EmptyStateTitle>
|
|
2084
|
+
<EmptyStateDescription>{t.loadFailedLine}</EmptyStateDescription>
|
|
2085
|
+
<EmptyStateActions>
|
|
2086
|
+
<Button size="sm" onClick={() => setAttempt((n) => n + 1)}>
|
|
2087
|
+
{t.tryAgain}
|
|
2088
|
+
</Button>
|
|
2089
|
+
</EmptyStateActions>
|
|
2090
|
+
</EmptyState>
|
|
2091
|
+
</Match>
|
|
2092
|
+
<Match when={status() === "ready"}>
|
|
2093
|
+
<ScheduleList
|
|
2094
|
+
class={styles.list}
|
|
2095
|
+
aria-label={t.events(weekName())}
|
|
2096
|
+
events={rows()}
|
|
2097
|
+
from={range().from}
|
|
2098
|
+
to={range().to}
|
|
2099
|
+
today={props.today}
|
|
2100
|
+
now={props.now}
|
|
2101
|
+
timeZone={props.timeZone}
|
|
2102
|
+
day={day()}
|
|
2103
|
+
onDayChange={setDay}
|
|
2104
|
+
scrollEndSpace
|
|
2105
|
+
value={chosen()}
|
|
2106
|
+
onValueChange={open}
|
|
2107
|
+
/>
|
|
2108
|
+
</Match>
|
|
2109
|
+
</Switch>
|
|
2110
|
+
</div>
|
|
2111
|
+
<Show when={props.calendars.length > 1}>
|
|
2112
|
+
<ul class={styles.legend} aria-label={t.calendars}>
|
|
2113
|
+
<For each={props.calendars}>
|
|
2114
|
+
{(calendar) => (
|
|
2115
|
+
<li class={styles.legendItem}>
|
|
2116
|
+
<span class={styles.dot} data-tone={calendar.tone} aria-hidden="true" />
|
|
2117
|
+
{calendar.name}
|
|
2118
|
+
</li>
|
|
2119
|
+
)}
|
|
2120
|
+
</For>
|
|
2121
|
+
</ul>
|
|
2122
|
+
</Show>
|
|
2123
|
+
</div>
|
|
2124
|
+
<EventPopover
|
|
2125
|
+
controller={popover}
|
|
2126
|
+
event={detailsEvent()}
|
|
2127
|
+
timeZone={props.timeZone}
|
|
2128
|
+
saving={answers.saving(detailsId() ?? "")}
|
|
2129
|
+
failed={answers.failed(detailsId() ?? "")}
|
|
2130
|
+
savedAs={answers.savedAs(detailsId() ?? "")}
|
|
2131
|
+
onResponseChange={(response) => {
|
|
2132
|
+
const id = detailsId();
|
|
2133
|
+
if (id) void answers.respond(id, response);
|
|
2134
|
+
}}
|
|
2135
|
+
labels={popoverLabels()}
|
|
2136
|
+
onOpenChange={(isOpen) => {
|
|
2137
|
+
if (!isOpen) setChosen(null);
|
|
2138
|
+
}}
|
|
2139
|
+
/>
|
|
2140
|
+
</section>
|
|
2141
|
+
);
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
/** The list's shape while a week loads: day bands and two-line rows, so nothing moves when it arrives. */
|
|
2145
|
+
export function AgendaSkeleton(props: { label: string }) {
|
|
2146
|
+
const days = [3, 2, 1];
|
|
2147
|
+
return (
|
|
2148
|
+
<div class={styles.skeleton}>
|
|
2149
|
+
<VisuallyHidden role="status">{props.label}</VisuallyHidden>
|
|
2150
|
+
<For each={days}>
|
|
2151
|
+
{(count) => (
|
|
2152
|
+
<div class={styles.skeletonDay} aria-hidden="true">
|
|
2153
|
+
<div class={styles.skeletonBand}>
|
|
2154
|
+
<Skeleton shape="text" style={{ width: "9rem" }} />
|
|
2155
|
+
</div>
|
|
2156
|
+
{Array.from({ length: count }, (_, i) => (
|
|
2157
|
+
<div class={styles.skeletonRow}>
|
|
2158
|
+
<Skeleton class={styles.skeletonMark} />
|
|
2159
|
+
<div class={styles.skeletonLines}>
|
|
2160
|
+
<Skeleton shape="text" style={{ width: i % 2 ? "45%" : "60%" }} />
|
|
2161
|
+
<Skeleton shape="text" style={{ width: i % 2 ? "30%" : "38%" }} />
|
|
2162
|
+
</div>
|
|
2163
|
+
</div>
|
|
2164
|
+
))}
|
|
2165
|
+
</div>
|
|
2166
|
+
)}
|
|
2167
|
+
</For>
|
|
2168
|
+
</div>
|
|
2169
|
+
);
|
|
2170
|
+
}
|
|
2171
|
+
```
|
|
2172
|
+
|
|
2173
|
+
```ts title="responses.ts"
|
|
2174
|
+
/**
|
|
2175
|
+
* Your answers to invitations — part of the scheduling blocks for @zsherman/kit: shown at once, saved through
|
|
2176
|
+
* your API, and put back when the save fails. The latest press per event wins, so a slow first save can't
|
|
2177
|
+
* overwrite a newer answer. Used by the Agenda and the Schedule dashboard.
|
|
2178
|
+
*/
|
|
2179
|
+
import { createSignal } from "solid-js";
|
|
2180
|
+
import type { AgendaResponse } from "./agenda";
|
|
2181
|
+
|
|
2182
|
+
export type Answer = Exclude<AgendaResponse, "needs-action">;
|
|
2183
|
+
|
|
2184
|
+
export interface ResponsesOptions {
|
|
2185
|
+
/** Saves an answer (`AgendaApi.respond`). */
|
|
2186
|
+
save: (eventId: string, response: Answer) => Promise<void>;
|
|
2187
|
+
/** The event's answer as shown now (before this press). */
|
|
2188
|
+
current: (eventId: string) => AgendaResponse | undefined;
|
|
2189
|
+
/** Shows an answer on the event: at once, and again (the earlier one) when a save fails. */
|
|
2190
|
+
patch: (eventId: string, response: AgendaResponse) => void;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
export interface Responses {
|
|
2194
|
+
respond: (eventId: string, response: Answer) => Promise<void>;
|
|
2195
|
+
/** The event's answer is being saved. */
|
|
2196
|
+
saving: (eventId: string) => boolean;
|
|
2197
|
+
/** The event's last save failed (its earlier answer is back). */
|
|
2198
|
+
failed: (eventId: string) => boolean;
|
|
2199
|
+
/** The answer saved last, for a status line. */
|
|
2200
|
+
savedAs: (eventId: string) => AgendaResponse | undefined;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
/** Call in a component (it creates signals). */
|
|
2204
|
+
export function createResponses(options: ResponsesOptions): Responses {
|
|
2205
|
+
const [saving, setSaving] = createSignal<Record<string, boolean>>({});
|
|
2206
|
+
const [failed, setFailed] = createSignal<Record<string, boolean>>({});
|
|
2207
|
+
const [savedAs, setSavedAs] = createSignal<Record<string, AgendaResponse>>({});
|
|
2208
|
+
const confirmed = new Map<string, AgendaResponse>();
|
|
2209
|
+
const latest = new Map<string, number>();
|
|
2210
|
+
let presses = 0;
|
|
2211
|
+
const respond = async (id: string, response: Answer) => {
|
|
2212
|
+
if (!confirmed.has(id)) confirmed.set(id, options.current(id) ?? "needs-action");
|
|
2213
|
+
const press = ++presses;
|
|
2214
|
+
latest.set(id, press);
|
|
2215
|
+
options.patch(id, response);
|
|
2216
|
+
setFailed((all) => ({ ...all, [id]: false }));
|
|
2217
|
+
setSaving((all) => ({ ...all, [id]: true }));
|
|
2218
|
+
try {
|
|
2219
|
+
await options.save(id, response);
|
|
2220
|
+
if (latest.get(id) !== press) return;
|
|
2221
|
+
confirmed.set(id, response);
|
|
2222
|
+
setSavedAs((all) => ({ ...all, [id]: response }));
|
|
2223
|
+
} catch {
|
|
2224
|
+
if (latest.get(id) !== press) return;
|
|
2225
|
+
options.patch(id, confirmed.get(id)!);
|
|
2226
|
+
setFailed((all) => ({ ...all, [id]: true }));
|
|
2227
|
+
} finally {
|
|
2228
|
+
if (latest.get(id) === press) setSaving((all) => ({ ...all, [id]: false }));
|
|
2229
|
+
}
|
|
2230
|
+
};
|
|
2231
|
+
return {
|
|
2232
|
+
respond,
|
|
2233
|
+
saving: (id) => saving()[id] ?? false,
|
|
2234
|
+
failed: (id) => failed()[id] ?? false,
|
|
2235
|
+
savedAs: (id) => savedAs()[id],
|
|
2236
|
+
};
|
|
2237
|
+
}
|
|
2238
|
+
```
|
|
2239
|
+
|
|
2240
|
+
```tsx title="labels.tsx"
|
|
2241
|
+
/**
|
|
2242
|
+
* The scheduling blocks' words, in English. Pass `labels` (any subset of these) to a block's root, or wrap part
|
|
2243
|
+
* of the page in `<SchedulingLabelsProvider labels={…}>`, to translate or reword them. Dates and times follow
|
|
2244
|
+
* `LocaleProvider`'s locale (they arrive here formatted). The keys are grouped by the file that shows them.
|
|
2245
|
+
*/
|
|
2246
|
+
import type { JSX } from "@solidjs/web";
|
|
2247
|
+
import { createContext, getOwner, useContext } from "solid-js";
|
|
2248
|
+
|
|
2249
|
+
export const schedulingLabels = {
|
|
2250
|
+
// agenda.tsx
|
|
2251
|
+
agenda: "Agenda",
|
|
2252
|
+
/** Under the title: the zone every time is shown in ("Times in Pacific Standard Time"). */
|
|
2253
|
+
timesIn: (zone: string) => `Times in ${zone}`,
|
|
2254
|
+
today: "Today",
|
|
2255
|
+
/** The Day strip's name. */
|
|
2256
|
+
agendaDay: "Agenda day",
|
|
2257
|
+
/** The list's name, with the week ("Events, Nov 15 – 21, 2026"). */
|
|
2258
|
+
events: (week: string) => `Events, ${week}`,
|
|
2259
|
+
loadingWeek: "Loading this week's events…",
|
|
2260
|
+
loadFailedTitle: "Couldn't load this week",
|
|
2261
|
+
loadFailedLine: "Check your connection, then try again.",
|
|
2262
|
+
tryAgain: "Try again",
|
|
2263
|
+
/** The legend's name. */
|
|
2264
|
+
calendars: "Calendars",
|
|
2265
|
+
/** A row's line when the event has a call and no place. */
|
|
2266
|
+
videoCall: "Video call",
|
|
2267
|
+
/** Your answer, as the row's badge (accepted shows none). */
|
|
2268
|
+
statusInvited: "Invited",
|
|
2269
|
+
statusMaybe: "Maybe",
|
|
2270
|
+
statusDeclined: "Declined",
|
|
2271
|
+
statusCanceled: "Canceled",
|
|
2272
|
+
|
|
2273
|
+
// Shared with the kit's Event popover (the agenda passes these to it); its other words (Join, "Going?",
|
|
2274
|
+
// Yes, Maybe, No, the guest sentence, …) are the kit's: `LocaleProvider messages={{ eventPopover }}`.
|
|
2275
|
+
close: "Close",
|
|
2276
|
+
/** The event's calendar, under its time ("Work calendar"). */
|
|
2277
|
+
calendarOf: (calendar: string) => `${calendar} calendar`,
|
|
2278
|
+
guests: "Guests",
|
|
2279
|
+
/** You, among the guests. */
|
|
2280
|
+
you: "You",
|
|
2281
|
+
saving: "Saving your answer…",
|
|
2282
|
+
/** Said to screen readers once an answer is saved. */
|
|
2283
|
+
saved: (response: "accepted" | "tentative" | "declined") =>
|
|
2284
|
+
response === "accepted"
|
|
2285
|
+
? "Saved: you're going"
|
|
2286
|
+
: response === "tentative"
|
|
2287
|
+
? "Saved: you might go"
|
|
2288
|
+
: "Saved: you're not going",
|
|
2289
|
+
saveFailed: "Couldn't save your answer. Your earlier answer is back; try again.",
|
|
2290
|
+
|
|
2291
|
+
// schedule-dashboard.tsx
|
|
2292
|
+
/** The schedule's name (its section and its list). */
|
|
2293
|
+
schedule: "Schedule",
|
|
2294
|
+
/** The Day strip's name. */
|
|
2295
|
+
scheduleDay: "Schedule day",
|
|
2296
|
+
/** A band's add button ("Schedule a meeting on Tuesday, November 24"). */
|
|
2297
|
+
scheduleOn: (day: string) => `Schedule a meeting on ${day}`,
|
|
2298
|
+
loadingSchedule: "Loading your schedule…",
|
|
2299
|
+
loadScheduleFailed: "Couldn't load your schedule",
|
|
2300
|
+
/** Under the list when the next days didn't load. */
|
|
2301
|
+
laterDaysFailed: "Later days couldn't load.",
|
|
2302
|
+
loadingLaterDays: "Loading later days…",
|
|
2303
|
+
/** A call's kind, after a row's title for screen readers. */
|
|
2304
|
+
callIcon: "Video call",
|
|
2305
|
+
|
|
2306
|
+
// schedule-meeting.tsx
|
|
2307
|
+
/** The dialog's title. */
|
|
2308
|
+
scheduleMeeting: "Schedule a meeting",
|
|
2309
|
+
title: "Title",
|
|
2310
|
+
titlePlaceholder: "Add a title",
|
|
2311
|
+
titleMissing: "Give the meeting a title.",
|
|
2312
|
+
date: "Date",
|
|
2313
|
+
startTime: "Starts",
|
|
2314
|
+
durationLabel: "Duration",
|
|
2315
|
+
calendar: "Calendar",
|
|
2316
|
+
addGuests: "Add people…",
|
|
2317
|
+
noGuestMatches: "No one matches.",
|
|
2318
|
+
removeGuest: (name: string) => `Remove ${name}`,
|
|
2319
|
+
addVideoCall: "Add a video call",
|
|
2320
|
+
location: "Location",
|
|
2321
|
+
description: "Description",
|
|
2322
|
+
/** The dialog's submit button. */
|
|
2323
|
+
scheduleButton: "Schedule",
|
|
2324
|
+
scheduleFailed: "Couldn't schedule the meeting. Check your connection, then try again.",
|
|
2325
|
+
|
|
2326
|
+
// meeting-panel.tsx
|
|
2327
|
+
meetingDetails: "Meeting details",
|
|
2328
|
+
noMeetingSelected: "No meeting selected",
|
|
2329
|
+
noMeetingSelectedLine: "Choose a meeting in your schedule to see who's coming and join it.",
|
|
2330
|
+
/** The panel's Close button. */
|
|
2331
|
+
closePanel: "Close details",
|
|
2332
|
+
/** The date line under "When", then its second line ("10:30 – 11:00 AM · 30 min · Pacific Time"). */
|
|
2333
|
+
duration: (minutes: number) =>
|
|
2334
|
+
minutes < 60
|
|
2335
|
+
? `${minutes} min`
|
|
2336
|
+
: minutes % 60
|
|
2337
|
+
? `${Math.floor(minutes / 60)} h ${minutes % 60} min`
|
|
2338
|
+
: `${minutes / 60} h`,
|
|
2339
|
+
allDay: "All day",
|
|
2340
|
+
about: "About",
|
|
2341
|
+
people: "People",
|
|
2342
|
+
/** The people row: how many are invited, then how they answered. */
|
|
2343
|
+
invited: (count: number) => (count === 1 ? "1 invited" : `${count} invited`),
|
|
2344
|
+
peopleSummary: (going: number, maybe: number, notGoing: number, waiting: number) =>
|
|
2345
|
+
[
|
|
2346
|
+
going && `${going} going`,
|
|
2347
|
+
maybe && `${maybe} maybe`,
|
|
2348
|
+
notGoing && `${notGoing} not going`,
|
|
2349
|
+
waiting && `${waiting} awaiting`,
|
|
2350
|
+
]
|
|
2351
|
+
.filter(Boolean)
|
|
2352
|
+
.join(", "),
|
|
2353
|
+
participants: "Participants",
|
|
2354
|
+
/** The answers' groups in the participants list, and the choices of your answer. */
|
|
2355
|
+
responseGoing: "Going",
|
|
2356
|
+
responseMaybe: "Maybe",
|
|
2357
|
+
responseNotGoing: "Not going",
|
|
2358
|
+
responseNone: "No response",
|
|
2359
|
+
/** Your own row ("Sam Rivera (you)"). */
|
|
2360
|
+
youSuffix: "(you)",
|
|
2361
|
+
organizer: "Organizer",
|
|
2362
|
+
yourAnswer: "Your answer",
|
|
2363
|
+
/** Instead of your answer, once the meeting is over. */
|
|
2364
|
+
ended: "This meeting has ended.",
|
|
2365
|
+
joinMeeting: "Join meeting",
|
|
2366
|
+
email: "Email",
|
|
2367
|
+
copyEmail: "Copy email",
|
|
2368
|
+
emailCopied: "Email copied",
|
|
2369
|
+
inThisMeeting: "In this meeting",
|
|
2370
|
+
/** A person's role in the meeting, after their answer. */
|
|
2371
|
+
guest: "Guest",
|
|
2372
|
+
|
|
2373
|
+
// meeting-home.tsx
|
|
2374
|
+
/** The page's title. */
|
|
2375
|
+
home: "Home",
|
|
2376
|
+
/** The view options' button and popover. */
|
|
2377
|
+
viewOptions: "View options",
|
|
2378
|
+
/** The button while the view differs from how Home opens (a dot on it says so). */
|
|
2379
|
+
viewOptionsChanged: "View options, changed",
|
|
2380
|
+
rows: "Rows",
|
|
2381
|
+
compactRows: "Compact",
|
|
2382
|
+
fullRows: "Full",
|
|
2383
|
+
meetingsToInclude: "Meetings to include",
|
|
2384
|
+
/** Which meetings show by their call. */
|
|
2385
|
+
show: "Show",
|
|
2386
|
+
showAll: "All",
|
|
2387
|
+
showHyper: "Hyper",
|
|
2388
|
+
showVideo: "Video",
|
|
2389
|
+
allDayEvents: "All-day events",
|
|
2390
|
+
canceledMeetings: "Canceled meetings",
|
|
2391
|
+
earlierToday: "Earlier today",
|
|
2392
|
+
/** A call's host: after a row's title for screen readers, and in the panel. */
|
|
2393
|
+
callHyper: "Hyper",
|
|
2394
|
+
callMeet: "Google Meet",
|
|
2395
|
+
callZoom: "Zoom",
|
|
2396
|
+
callTeams: "Microsoft Teams",
|
|
2397
|
+
/** The split button: the main action, the menu's button and its two items. */
|
|
2398
|
+
newMeeting: "New meeting",
|
|
2399
|
+
startMeeting: "Start a meeting",
|
|
2400
|
+
moreWaysToMeet: "More ways to meet",
|
|
2401
|
+
scheduleLine: "Pick a time and invite people",
|
|
2402
|
+
joinAMeeting: "Join a meeting",
|
|
2403
|
+
joinLine: "Enter a code or link",
|
|
2404
|
+
|
|
2405
|
+
// meeting-home-panel.tsx (and meeting-panel.tsx's words above)
|
|
2406
|
+
whenAndWhere: "When and where",
|
|
2407
|
+
/** The panel's menu: its button and items. */
|
|
2408
|
+
moreActions: "More actions",
|
|
2409
|
+
copyLink: "Copy link",
|
|
2410
|
+
linkCopied: "Link copied",
|
|
2411
|
+
/** The people row besides the organizer ("5 others"). */
|
|
2412
|
+
others: (count: number) => (count === 1 ? "1 other" : `${count} others`),
|
|
2413
|
+
/** Under When and where, for a meeting called off. */
|
|
2414
|
+
canceledNote: "This meeting was canceled.",
|
|
2415
|
+
/** Join, in the call's row. */
|
|
2416
|
+
join: "Join",
|
|
2417
|
+
|
|
2418
|
+
// availability-scheduler.tsx
|
|
2419
|
+
weeklyHours: "Weekly hours",
|
|
2420
|
+
weeklyHoursLine: "When people can book time with you. The hours repeat every week.",
|
|
2421
|
+
timeZone: "Time zone",
|
|
2422
|
+
/** Under the zone: what it's for. */
|
|
2423
|
+
timeZoneLine: "Every time below is in this zone.",
|
|
2424
|
+
/** The zone's search, while nothing matches. */
|
|
2425
|
+
noTimeZone: "No time zone matches",
|
|
2426
|
+
/** Over the zones listed before anything is typed. */
|
|
2427
|
+
commonTimeZones: "Common time zones",
|
|
2428
|
+
/** Over the zones that match the typed text, with how many were left out ("12 more: keep typing"). */
|
|
2429
|
+
moreTimeZones: (count: number) => `${count} more: keep typing to narrow them down`,
|
|
2430
|
+
/** A day that's off. */
|
|
2431
|
+
unavailable: "Unavailable",
|
|
2432
|
+
/** The hours' separator, between the start and the end. */
|
|
2433
|
+
until: "to",
|
|
2434
|
+
/** The start field's name: "Monday start" for a day's only range, "Monday, range 2, start" among several. */
|
|
2435
|
+
startOf: (day: string, n: number, count: number) =>
|
|
2436
|
+
count > 1 ? `${day}, range ${n}, start` : `${day} start`,
|
|
2437
|
+
endOf: (day: string, n: number, count: number) => (count > 1 ? `${day}, range ${n}, end` : `${day} end`),
|
|
2438
|
+
addHours: (day: string) => `Add hours on ${day}`,
|
|
2439
|
+
noRoom: (day: string) => `${day} has no free half hour left`,
|
|
2440
|
+
removeHours: (day: string, range: string) => `Remove ${day} ${range}`,
|
|
2441
|
+
copyHours: (day: string) => `Copy ${day}'s hours to other days`,
|
|
2442
|
+
/** The copy popover's title. */
|
|
2443
|
+
copyTitle: (day: string) => `Copy ${day}'s hours to`,
|
|
2444
|
+
copyLine: "Their hours are replaced.",
|
|
2445
|
+
/** The copy popover's checkbox that picks every other day. */
|
|
2446
|
+
everyDay: "All other days",
|
|
2447
|
+
copy: "Copy",
|
|
2448
|
+
cancel: "Cancel",
|
|
2449
|
+
/** Said once the copy is done ("Copied Monday's hours to Tuesday and Friday"). */
|
|
2450
|
+
copied: (day: string, days: string[]) =>
|
|
2451
|
+
`Copied ${day}'s hours to ${days.length < 2 ? (days[0] ?? "") : `${days.slice(0, -1).join(", ")} and ${days.at(-1)}`}`,
|
|
2452
|
+
/** A range as words, for names and errors ("9:00 AM to 5:00 PM"). */
|
|
2453
|
+
rangeText: (start: string, end: string) => `${start} to ${end}`,
|
|
2454
|
+
missingStart: "Enter a start time.",
|
|
2455
|
+
missingEnd: "Enter an end time.",
|
|
2456
|
+
endBeforeStart: (start: string) => `End after the start, ${start}.`,
|
|
2457
|
+
overlaps: (range: string) => `Overlaps ${range}. Change one of them, or remove one.`,
|
|
2458
|
+
};
|
|
2459
|
+
|
|
2460
|
+
export type SchedulingLabels = typeof schedulingLabels;
|
|
2461
|
+
|
|
2462
|
+
const LabelsContext = createContext<SchedulingLabels | null>(null);
|
|
2463
|
+
|
|
2464
|
+
/** The words in effect: the nearest `labels` override, else the English above (also outside a component). */
|
|
2465
|
+
export function useSchedulingLabels(): SchedulingLabels {
|
|
2466
|
+
return (getOwner() ? useContext(LabelsContext) : null) ?? schedulingLabels;
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
/** Overrides some of the blocks' words for everything inside; nested overrides merge. */
|
|
2470
|
+
export function SchedulingLabelsProvider(props: {
|
|
2471
|
+
labels?: Partial<SchedulingLabels>;
|
|
2472
|
+
children: JSX.Element;
|
|
2473
|
+
}) {
|
|
2474
|
+
const parent = useSchedulingLabels();
|
|
2475
|
+
const value = new Proxy(parent, {
|
|
2476
|
+
get: (target, key) =>
|
|
2477
|
+
(props.labels as Record<PropertyKey, unknown> | undefined)?.[key] ?? Reflect.get(target, key),
|
|
2478
|
+
});
|
|
2479
|
+
return <LabelsContext value={value}>{props.children}</LabelsContext>;
|
|
2480
|
+
}
|
|
2481
|
+
```
|
|
2482
|
+
|
|
2483
|
+
```css title="scheduling.module.css"
|
|
2484
|
+
/*
|
|
2485
|
+
* Scheduling block styles. Plain CSS on --sui-* tokens: copy alongside the scheduling folder. The first
|
|
2486
|
+
* section is shared; each section after it names the file it styles.
|
|
2487
|
+
*/
|
|
2488
|
+
|
|
2489
|
+
/* ---- Shared: calendar marks ---- */
|
|
2490
|
+
|
|
2491
|
+
/* A calendar's color: a dot in the legends, the calendar picker and the meeting panel. */
|
|
2492
|
+
.dot {
|
|
2493
|
+
display: inline-block;
|
|
2494
|
+
flex: none;
|
|
2495
|
+
background-color: var(--tone, var(--sui-accent-text));
|
|
2496
|
+
forced-color-adjust: none;
|
|
2497
|
+
width: 0.5rem;
|
|
2498
|
+
height: 0.5rem;
|
|
2499
|
+
border-radius: var(--sui-radius-full);
|
|
2500
|
+
}
|
|
2501
|
+
.dot[data-tone="neutral"] {
|
|
2502
|
+
--tone: var(--sui-text-muted);
|
|
2503
|
+
}
|
|
2504
|
+
.dot[data-tone="info"] {
|
|
2505
|
+
--tone: var(--sui-info-text);
|
|
2506
|
+
}
|
|
2507
|
+
.dot[data-tone="success"] {
|
|
2508
|
+
--tone: var(--sui-success-text);
|
|
2509
|
+
}
|
|
2510
|
+
.dot[data-tone="warning"] {
|
|
2511
|
+
--tone: var(--sui-warning-text);
|
|
2512
|
+
}
|
|
2513
|
+
.dot[data-tone="danger"] {
|
|
2514
|
+
--tone: var(--sui-danger-text);
|
|
2515
|
+
}
|
|
2516
|
+
@media (forced-colors: active) {
|
|
2517
|
+
.dot {
|
|
2518
|
+
background-color: CanvasText;
|
|
2519
|
+
}
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2522
|
+
/* ---- agenda.tsx ---- */
|
|
2523
|
+
|
|
2524
|
+
/*
|
|
2525
|
+
* The page: a header over one panel (the strip, the list, the legend) that takes the height it's given. The
|
|
2526
|
+
* header's text starts on the panel's outer edge and Today ends on it; inside, the strip, the list's bands and
|
|
2527
|
+
* rows and the legend share one 12px text line.
|
|
2528
|
+
*/
|
|
2529
|
+
.agenda {
|
|
2530
|
+
container: agenda / inline-size;
|
|
2531
|
+
box-sizing: border-box;
|
|
2532
|
+
display: grid;
|
|
2533
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
2534
|
+
gap: var(--sui-space-4);
|
|
2535
|
+
width: 100%;
|
|
2536
|
+
max-width: 48rem;
|
|
2537
|
+
height: 100%;
|
|
2538
|
+
min-height: 0;
|
|
2539
|
+
margin-inline: auto;
|
|
2540
|
+
}
|
|
2541
|
+
.header {
|
|
2542
|
+
display: flex;
|
|
2543
|
+
flex-wrap: wrap;
|
|
2544
|
+
align-items: flex-end;
|
|
2545
|
+
justify-content: space-between;
|
|
2546
|
+
gap: var(--sui-space-3);
|
|
2547
|
+
}
|
|
2548
|
+
.headerText {
|
|
2549
|
+
display: grid;
|
|
2550
|
+
gap: var(--sui-space-1);
|
|
2551
|
+
min-width: 0;
|
|
2552
|
+
}
|
|
2553
|
+
.zone {
|
|
2554
|
+
margin: 0;
|
|
2555
|
+
}
|
|
2556
|
+
.panel {
|
|
2557
|
+
box-sizing: border-box;
|
|
2558
|
+
display: grid;
|
|
2559
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
2560
|
+
min-height: 0;
|
|
2561
|
+
overflow: hidden;
|
|
2562
|
+
border: 1px solid var(--sui-border);
|
|
2563
|
+
border-radius: var(--sui-radius-lg);
|
|
2564
|
+
background-color: var(--sui-surface);
|
|
2565
|
+
}
|
|
2566
|
+
.strip {
|
|
2567
|
+
padding: var(--sui-space-3);
|
|
2568
|
+
border-block-end: 1px solid var(--sui-border);
|
|
2569
|
+
}
|
|
2570
|
+
.body {
|
|
2571
|
+
display: grid;
|
|
2572
|
+
min-height: 0;
|
|
2573
|
+
}
|
|
2574
|
+
.list {
|
|
2575
|
+
height: 100%;
|
|
2576
|
+
min-height: 0;
|
|
2577
|
+
}
|
|
2578
|
+
.failed {
|
|
2579
|
+
margin: auto;
|
|
2580
|
+
}
|
|
2581
|
+
.legend {
|
|
2582
|
+
display: flex;
|
|
2583
|
+
flex-wrap: wrap;
|
|
2584
|
+
gap: var(--sui-space-1) var(--sui-space-4);
|
|
2585
|
+
margin: 0;
|
|
2586
|
+
padding: var(--sui-space-2) var(--sui-space-3);
|
|
2587
|
+
border-block-start: 1px solid var(--sui-border);
|
|
2588
|
+
list-style: none;
|
|
2589
|
+
font-size: var(--sui-text-sm);
|
|
2590
|
+
color: var(--sui-text-muted);
|
|
2591
|
+
}
|
|
2592
|
+
.legendItem {
|
|
2593
|
+
display: flex;
|
|
2594
|
+
align-items: center;
|
|
2595
|
+
gap: var(--sui-space-2);
|
|
2596
|
+
}
|
|
2597
|
+
|
|
2598
|
+
/* The skeleton: the list's bands and two-line rows, at their heights. */
|
|
2599
|
+
.skeleton {
|
|
2600
|
+
display: grid;
|
|
2601
|
+
align-content: start;
|
|
2602
|
+
overflow: hidden;
|
|
2603
|
+
}
|
|
2604
|
+
.skeletonBand {
|
|
2605
|
+
box-sizing: border-box;
|
|
2606
|
+
display: flex;
|
|
2607
|
+
align-items: center;
|
|
2608
|
+
height: calc(var(--sui-item-height) + var(--sui-space-2));
|
|
2609
|
+
padding-inline: var(--sui-space-3);
|
|
2610
|
+
background-color: var(--sui-surface-muted);
|
|
2611
|
+
font-size: var(--sui-text-sm);
|
|
2612
|
+
}
|
|
2613
|
+
.skeletonRow {
|
|
2614
|
+
box-sizing: border-box;
|
|
2615
|
+
display: flex;
|
|
2616
|
+
align-items: center;
|
|
2617
|
+
gap: var(--sui-space-3);
|
|
2618
|
+
height: calc(var(--sui-item-height) + var(--sui-space-6));
|
|
2619
|
+
padding-inline: var(--sui-space-3);
|
|
2620
|
+
}
|
|
2621
|
+
.skeletonMark {
|
|
2622
|
+
flex: none;
|
|
2623
|
+
width: 4px;
|
|
2624
|
+
height: 2rem;
|
|
2625
|
+
border-radius: var(--sui-radius-full);
|
|
2626
|
+
}
|
|
2627
|
+
/* Text skeletons take their line's height: the title's and the time's, as in a two-line row. */
|
|
2628
|
+
.skeletonLines {
|
|
2629
|
+
display: grid;
|
|
2630
|
+
flex: 1 1 auto;
|
|
2631
|
+
font-size: var(--sui-text-sm);
|
|
2632
|
+
line-height: var(--sui-leading-normal);
|
|
2633
|
+
}
|
|
2634
|
+
|
|
2635
|
+
/* ---- Shared: a meeting's facts (meeting-panel.tsx) ---- */
|
|
2636
|
+
|
|
2637
|
+
/* "Wed, Nov 18, 10:00 – 11:30 AM" keeps its order in right-to-left pages. */
|
|
2638
|
+
.when {
|
|
2639
|
+
unicode-bidi: plaintext;
|
|
2640
|
+
}
|
|
2641
|
+
.facts {
|
|
2642
|
+
display: grid;
|
|
2643
|
+
gap: var(--sui-space-3);
|
|
2644
|
+
margin: 0;
|
|
2645
|
+
padding: 0;
|
|
2646
|
+
list-style: none;
|
|
2647
|
+
font-size: var(--sui-text-sm);
|
|
2648
|
+
line-height: var(--sui-leading-normal);
|
|
2649
|
+
}
|
|
2650
|
+
/* An icon column (16px), then the text. */
|
|
2651
|
+
.fact {
|
|
2652
|
+
display: grid;
|
|
2653
|
+
grid-template-columns: 1rem minmax(0, 1fr);
|
|
2654
|
+
align-items: start;
|
|
2655
|
+
gap: var(--sui-space-3);
|
|
2656
|
+
min-width: 0;
|
|
2657
|
+
}
|
|
2658
|
+
/* The icon centres on the first line of text (20px at 14px type). */
|
|
2659
|
+
.factIcon {
|
|
2660
|
+
display: flex;
|
|
2661
|
+
align-items: center;
|
|
2662
|
+
justify-content: center;
|
|
2663
|
+
width: 1rem;
|
|
2664
|
+
height: 1.25rem;
|
|
2665
|
+
color: var(--sui-text-muted);
|
|
2666
|
+
}
|
|
2667
|
+
.factLines {
|
|
2668
|
+
display: grid;
|
|
2669
|
+
gap: 2px;
|
|
2670
|
+
min-width: 0;
|
|
2671
|
+
}
|
|
2672
|
+
.address {
|
|
2673
|
+
overflow: hidden;
|
|
2674
|
+
text-overflow: ellipsis;
|
|
2675
|
+
white-space: nowrap;
|
|
2676
|
+
}
|
|
2677
|
+
/* Your text: each paragraph takes its own direction. */
|
|
2678
|
+
.description {
|
|
2679
|
+
unicode-bidi: plaintext;
|
|
2680
|
+
white-space: pre-line;
|
|
2681
|
+
overflow-wrap: anywhere;
|
|
2682
|
+
}
|
|
2683
|
+
.saveFailed {
|
|
2684
|
+
font-size: var(--sui-text-sm);
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
/* ---- availability-scheduler.tsx ---- */
|
|
2688
|
+
|
|
2689
|
+
/*
|
|
2690
|
+
* The weekly hours: a header (title, the zone) over one panel of day rows. Each row is the day (its switch and
|
|
2691
|
+
* name), its ranges, and its actions at the end; under 34rem of the block's own width the ranges move under the
|
|
2692
|
+
* day's line. The block is also named `settings-page`, the container the settings block's save bar reads to
|
|
2693
|
+
* span the width on phones.
|
|
2694
|
+
*/
|
|
2695
|
+
.hours {
|
|
2696
|
+
container: hours settings-page / inline-size;
|
|
2697
|
+
box-sizing: border-box;
|
|
2698
|
+
display: grid;
|
|
2699
|
+
gap: var(--sui-space-6);
|
|
2700
|
+
width: 100%;
|
|
2701
|
+
max-width: 48rem;
|
|
2702
|
+
margin-inline: auto;
|
|
2703
|
+
}
|
|
2704
|
+
/* The title and the zone's label start on one top line. */
|
|
2705
|
+
.hoursHeader {
|
|
2706
|
+
display: flex;
|
|
2707
|
+
flex-wrap: wrap;
|
|
2708
|
+
align-items: flex-start;
|
|
2709
|
+
justify-content: space-between;
|
|
2710
|
+
gap: var(--sui-space-4);
|
|
2711
|
+
}
|
|
2712
|
+
.hoursHeading {
|
|
2713
|
+
display: grid;
|
|
2714
|
+
gap: var(--sui-space-1);
|
|
2715
|
+
flex: 1 1 18rem;
|
|
2716
|
+
min-width: 0;
|
|
2717
|
+
}
|
|
2718
|
+
.hoursHeading > :focus {
|
|
2719
|
+
outline: none;
|
|
2720
|
+
}
|
|
2721
|
+
.hoursZone {
|
|
2722
|
+
display: grid;
|
|
2723
|
+
gap: var(--sui-space-1_5, 6px);
|
|
2724
|
+
/* Beside the title it takes up to 20rem; once it wraps under it (a phone), the full width. */
|
|
2725
|
+
flex: 1 1 16rem;
|
|
2726
|
+
max-width: 20rem;
|
|
2727
|
+
min-width: 0;
|
|
2728
|
+
}
|
|
2729
|
+
@container hours (max-width: 34rem) {
|
|
2730
|
+
.hoursZone {
|
|
2731
|
+
max-width: none;
|
|
2732
|
+
}
|
|
2733
|
+
}
|
|
2734
|
+
.hoursZoneMore {
|
|
2735
|
+
display: block;
|
|
2736
|
+
padding: var(--sui-space-2) var(--sui-space-3);
|
|
2737
|
+
}
|
|
2738
|
+
.hoursDays {
|
|
2739
|
+
box-sizing: border-box;
|
|
2740
|
+
display: grid;
|
|
2741
|
+
border: 1px solid var(--sui-border);
|
|
2742
|
+
border-radius: var(--sui-radius-lg);
|
|
2743
|
+
background-color: var(--sui-surface);
|
|
2744
|
+
}
|
|
2745
|
+
/* Every line of a row centres on the controls' height: the switch and name, a range, "Unavailable", the actions. */
|
|
2746
|
+
.hoursDay {
|
|
2747
|
+
display: grid;
|
|
2748
|
+
grid-template-columns: 9rem minmax(0, 1fr) auto;
|
|
2749
|
+
align-items: start;
|
|
2750
|
+
gap: var(--sui-space-2) var(--sui-space-4);
|
|
2751
|
+
padding: var(--sui-space-3) var(--sui-space-4);
|
|
2752
|
+
}
|
|
2753
|
+
.hoursDay + .hoursDay {
|
|
2754
|
+
border-block-start: 1px solid var(--sui-border);
|
|
2755
|
+
}
|
|
2756
|
+
.hoursDayName {
|
|
2757
|
+
display: flex;
|
|
2758
|
+
align-items: center;
|
|
2759
|
+
gap: var(--sui-space-3);
|
|
2760
|
+
min-height: var(--sui-control-md);
|
|
2761
|
+
font-weight: var(--sui-weight-medium);
|
|
2762
|
+
}
|
|
2763
|
+
.hoursRanges {
|
|
2764
|
+
display: grid;
|
|
2765
|
+
gap: var(--sui-space-2);
|
|
2766
|
+
min-width: 0;
|
|
2767
|
+
}
|
|
2768
|
+
.hoursOff {
|
|
2769
|
+
display: flex;
|
|
2770
|
+
align-items: center;
|
|
2771
|
+
min-height: var(--sui-control-md);
|
|
2772
|
+
}
|
|
2773
|
+
.hoursActions {
|
|
2774
|
+
display: flex;
|
|
2775
|
+
align-items: center;
|
|
2776
|
+
justify-content: flex-end;
|
|
2777
|
+
gap: var(--sui-space-1);
|
|
2778
|
+
min-height: var(--sui-control-md);
|
|
2779
|
+
}
|
|
2780
|
+
/* A range: start, "to", end and Remove on one line, its error under them. Each Field is `display: contents`, so
|
|
2781
|
+
* its input and its error take places in this grid. */
|
|
2782
|
+
.hoursRange {
|
|
2783
|
+
display: grid;
|
|
2784
|
+
grid-template-columns: repeat(3, auto) minmax(0, 1fr);
|
|
2785
|
+
align-items: center;
|
|
2786
|
+
justify-items: start;
|
|
2787
|
+
gap: var(--sui-space-1) var(--sui-space-2);
|
|
2788
|
+
}
|
|
2789
|
+
.hoursField {
|
|
2790
|
+
display: contents;
|
|
2791
|
+
}
|
|
2792
|
+
.hoursTime,
|
|
2793
|
+
.hoursUntil,
|
|
2794
|
+
.hoursRemove {
|
|
2795
|
+
grid-row: 1;
|
|
2796
|
+
}
|
|
2797
|
+
.hoursUntil {
|
|
2798
|
+
color: var(--sui-text-muted);
|
|
2799
|
+
font-size: var(--sui-text-sm);
|
|
2800
|
+
}
|
|
2801
|
+
.hoursError {
|
|
2802
|
+
grid-row: 2;
|
|
2803
|
+
grid-column: 1 / -1;
|
|
2804
|
+
}
|
|
2805
|
+
/* The Field keeps its error part while valid: empty, it must not add a row's gap. */
|
|
2806
|
+
.hoursError:empty {
|
|
2807
|
+
display: none;
|
|
2808
|
+
}
|
|
2809
|
+
.hoursCopyDays {
|
|
2810
|
+
display: grid;
|
|
2811
|
+
gap: var(--sui-space-2);
|
|
2812
|
+
}
|
|
2813
|
+
/* Narrow: the day's line is the switch and name, "Unavailable" after them on an off day, and the actions; the
|
|
2814
|
+
* ranges go under it, from the switch's edge. */
|
|
2815
|
+
@container hours (max-width: 34rem) {
|
|
2816
|
+
.hoursDay {
|
|
2817
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
2818
|
+
padding-inline: var(--sui-space-3);
|
|
2819
|
+
}
|
|
2820
|
+
.hoursRanges {
|
|
2821
|
+
grid-column: 1 / -1;
|
|
2822
|
+
grid-row: 2;
|
|
2823
|
+
}
|
|
2824
|
+
.hoursDay[data-off] .hoursRanges {
|
|
2825
|
+
grid-column: 2;
|
|
2826
|
+
grid-row: 1;
|
|
2827
|
+
}
|
|
2828
|
+
.hoursActions {
|
|
2829
|
+
grid-column: 3;
|
|
2830
|
+
grid-row: 1;
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
/* ---- schedule-dashboard.tsx ---- */
|
|
2835
|
+
|
|
2836
|
+
/*
|
|
2837
|
+
* The page in the shell's card: the strip, the schedule (it scrolls itself, so its day bands stick), the line
|
|
2838
|
+
* about later days, the legend. One column, centred at a readable width, on one 12px text line inside.
|
|
2839
|
+
*/
|
|
2840
|
+
.dashboard {
|
|
2841
|
+
container: dashboard-schedule / inline-size;
|
|
2842
|
+
box-sizing: border-box;
|
|
2843
|
+
display: flex;
|
|
2844
|
+
flex-direction: column;
|
|
2845
|
+
width: 100%;
|
|
2846
|
+
/* A schedule reads down one column: about 48rem of rows, however wide the card. */
|
|
2847
|
+
max-width: 50rem;
|
|
2848
|
+
height: 100%;
|
|
2849
|
+
min-height: 0;
|
|
2850
|
+
margin-inline: auto;
|
|
2851
|
+
padding-inline: var(--sui-space-4);
|
|
2852
|
+
/* Narrower days, so the strip still shows about ten at that width. */
|
|
2853
|
+
--day-strip-day-min: 4.5rem;
|
|
2854
|
+
}
|
|
2855
|
+
.dashboardStrip {
|
|
2856
|
+
flex: none;
|
|
2857
|
+
padding-block: var(--sui-space-3);
|
|
2858
|
+
}
|
|
2859
|
+
.dashboard > .body {
|
|
2860
|
+
flex: 1 1 auto;
|
|
2861
|
+
}
|
|
2862
|
+
.dashboard > :is(.more, .legend) {
|
|
2863
|
+
flex: none;
|
|
2864
|
+
}
|
|
2865
|
+
/* `scroll="page"`: the page scrolls the dashboard. The header scrolls away; the strip sticks at the top on the
|
|
2866
|
+
page's surface, each band under it, and the legend at the bottom. */
|
|
2867
|
+
.dashboard[data-scroll="page"] {
|
|
2868
|
+
height: auto;
|
|
2869
|
+
min-height: 100%;
|
|
2870
|
+
}
|
|
2871
|
+
.dashboard[data-scroll="page"] .dashboardStrip {
|
|
2872
|
+
position: sticky;
|
|
2873
|
+
top: 0;
|
|
2874
|
+
z-index: 3;
|
|
2875
|
+
background: var(--sui-surface);
|
|
2876
|
+
}
|
|
2877
|
+
.dashboard[data-scroll="page"] > .body {
|
|
2878
|
+
display: block;
|
|
2879
|
+
flex: 1 0 auto;
|
|
2880
|
+
}
|
|
2881
|
+
.dashboard[data-scroll="page"] .list {
|
|
2882
|
+
height: auto;
|
|
2883
|
+
--schedule-list-sticky-top: var(--dashboard-strip-height, 0px);
|
|
2884
|
+
}
|
|
2885
|
+
.dashboard[data-scroll="page"] > .legend {
|
|
2886
|
+
position: sticky;
|
|
2887
|
+
bottom: 0;
|
|
2888
|
+
z-index: 3;
|
|
2889
|
+
background: var(--sui-surface);
|
|
2890
|
+
}
|
|
2891
|
+
/* The month takes the room; Today, Previous and Next sit at the end. */
|
|
2892
|
+
.stripHeading {
|
|
2893
|
+
flex: 1 1 auto;
|
|
2894
|
+
}
|
|
2895
|
+
.dashboard .list {
|
|
2896
|
+
/* The bands sit on the card's surface with a quiet fill. */
|
|
2897
|
+
--schedule-list-band: var(--sui-surface-muted);
|
|
2898
|
+
border-radius: var(--sui-radius-md);
|
|
2899
|
+
}
|
|
2900
|
+
.more {
|
|
2901
|
+
display: flex;
|
|
2902
|
+
align-items: center;
|
|
2903
|
+
gap: var(--sui-space-2);
|
|
2904
|
+
min-height: var(--sui-control-md);
|
|
2905
|
+
padding-inline: var(--sui-space-3);
|
|
2906
|
+
}
|
|
2907
|
+
.dashboard .legend {
|
|
2908
|
+
padding-inline: var(--sui-space-3);
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
/* ---- schedule-meeting.tsx ---- */
|
|
2912
|
+
|
|
2913
|
+
.meetingForm {
|
|
2914
|
+
display: flex;
|
|
2915
|
+
flex-direction: column;
|
|
2916
|
+
gap: var(--sui-space-4);
|
|
2917
|
+
}
|
|
2918
|
+
/* The date, the start and how long: side by side while there's room, then stacked. */
|
|
2919
|
+
.formRow {
|
|
2920
|
+
display: grid;
|
|
2921
|
+
grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
|
|
2922
|
+
gap: var(--sui-space-3);
|
|
2923
|
+
}
|
|
2924
|
+
/* Labels set their own space below (the kit's SelectLabel and ComboboxLabel have 6px), so every control in a
|
|
2925
|
+
row starts at the same height. */
|
|
2926
|
+
.formField {
|
|
2927
|
+
display: flex;
|
|
2928
|
+
flex-direction: column;
|
|
2929
|
+
min-width: 0;
|
|
2930
|
+
}
|
|
2931
|
+
.formLabel {
|
|
2932
|
+
margin-bottom: var(--sui-space-1_5);
|
|
2933
|
+
font-size: var(--sui-text-sm);
|
|
2934
|
+
font-weight: var(--sui-weight-medium);
|
|
2935
|
+
}
|
|
2936
|
+
/* The switch before its label, on one line. */
|
|
2937
|
+
.switchField {
|
|
2938
|
+
flex-direction: row;
|
|
2939
|
+
align-items: center;
|
|
2940
|
+
gap: var(--sui-space-2);
|
|
2941
|
+
}
|
|
2942
|
+
.switchField > label {
|
|
2943
|
+
margin: 0;
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
/* ---- meeting-panel.tsx ---- */
|
|
2947
|
+
|
|
2948
|
+
/* The panel fills the shell's side card (or its sheet): a header per level, a body that scrolls, a footer. */
|
|
2949
|
+
.meetingPanel {
|
|
2950
|
+
display: flex;
|
|
2951
|
+
flex-direction: column;
|
|
2952
|
+
flex: 1 1 auto;
|
|
2953
|
+
height: 100%;
|
|
2954
|
+
min-height: 0;
|
|
2955
|
+
}
|
|
2956
|
+
.panelStack {
|
|
2957
|
+
flex: 1 1 auto;
|
|
2958
|
+
min-height: 0;
|
|
2959
|
+
}
|
|
2960
|
+
/* At the shell header's height, so the two headers share a line. */
|
|
2961
|
+
.panelHeader {
|
|
2962
|
+
box-sizing: border-box;
|
|
2963
|
+
display: flex;
|
|
2964
|
+
align-items: center;
|
|
2965
|
+
gap: var(--sui-space-2);
|
|
2966
|
+
height: 3.25rem;
|
|
2967
|
+
flex-shrink: 0;
|
|
2968
|
+
padding-inline: var(--sui-space-4) var(--sui-space-2);
|
|
2969
|
+
border-bottom: 1px solid var(--sui-border);
|
|
2970
|
+
}
|
|
2971
|
+
/* With Back before it, the title starts closer to the edge. */
|
|
2972
|
+
.panelHeader:has([data-slot="panel-stack-back"]) {
|
|
2973
|
+
padding-inline-start: var(--sui-space-2);
|
|
2974
|
+
}
|
|
2975
|
+
.panelTitle {
|
|
2976
|
+
flex: 1 1 auto;
|
|
2977
|
+
min-width: 0;
|
|
2978
|
+
margin: 0;
|
|
2979
|
+
overflow: hidden;
|
|
2980
|
+
font-size: var(--sui-text-md);
|
|
2981
|
+
font-weight: var(--sui-weight-semibold);
|
|
2982
|
+
line-height: var(--sui-leading-tight);
|
|
2983
|
+
text-overflow: ellipsis;
|
|
2984
|
+
white-space: nowrap;
|
|
2985
|
+
}
|
|
2986
|
+
.panelClose {
|
|
2987
|
+
flex-shrink: 0;
|
|
2988
|
+
color: var(--sui-text-muted);
|
|
2989
|
+
}
|
|
2990
|
+
.panelEmpty {
|
|
2991
|
+
margin: auto;
|
|
2992
|
+
padding: var(--sui-space-6) var(--sui-space-4);
|
|
2993
|
+
}
|
|
2994
|
+
.panelBody {
|
|
2995
|
+
display: flex;
|
|
2996
|
+
flex-direction: column;
|
|
2997
|
+
gap: var(--sui-space-5);
|
|
2998
|
+
padding: var(--sui-space-4);
|
|
2999
|
+
}
|
|
3000
|
+
.panelFacts {
|
|
3001
|
+
gap: var(--sui-space-4);
|
|
3002
|
+
}
|
|
3003
|
+
.panelSection {
|
|
3004
|
+
display: grid;
|
|
3005
|
+
gap: var(--sui-space-2);
|
|
3006
|
+
}
|
|
3007
|
+
.sectionHeading {
|
|
3008
|
+
margin: 0;
|
|
3009
|
+
color: var(--sui-text-muted);
|
|
3010
|
+
font-size: var(--sui-text-xs);
|
|
3011
|
+
font-weight: var(--sui-weight-medium);
|
|
3012
|
+
letter-spacing: 0.02em;
|
|
3013
|
+
text-transform: uppercase;
|
|
3014
|
+
}
|
|
3015
|
+
.about {
|
|
3016
|
+
margin: 0;
|
|
3017
|
+
font-size: var(--sui-text-sm);
|
|
3018
|
+
line-height: var(--sui-leading-normal);
|
|
3019
|
+
}
|
|
3020
|
+
/* A trigger row's content: the avatar(s) beside the lines of text. */
|
|
3021
|
+
.rowContent {
|
|
3022
|
+
display: flex;
|
|
3023
|
+
align-items: center;
|
|
3024
|
+
gap: var(--sui-space-3);
|
|
3025
|
+
min-width: 0;
|
|
3026
|
+
}
|
|
3027
|
+
/* The people row: avatars, how many and how they answered, a chevron into Participants. */
|
|
3028
|
+
.peopleRow {
|
|
3029
|
+
gap: var(--sui-space-3);
|
|
3030
|
+
margin-inline: calc(-1 * var(--sui-space-2));
|
|
3031
|
+
padding-block: var(--sui-space-2);
|
|
3032
|
+
text-align: start;
|
|
3033
|
+
}
|
|
3034
|
+
.answer {
|
|
3035
|
+
display: flex;
|
|
3036
|
+
align-items: center;
|
|
3037
|
+
gap: var(--sui-space-2);
|
|
3038
|
+
}
|
|
3039
|
+
.answerGroup {
|
|
3040
|
+
flex: 1 1 auto;
|
|
3041
|
+
}
|
|
3042
|
+
.answerGroup > * {
|
|
3043
|
+
flex: 1 1 0;
|
|
3044
|
+
}
|
|
3045
|
+
.panelFooter {
|
|
3046
|
+
display: flex;
|
|
3047
|
+
align-items: center;
|
|
3048
|
+
flex-shrink: 0;
|
|
3049
|
+
padding: var(--sui-space-3) var(--sui-space-4);
|
|
3050
|
+
border-top: 1px solid var(--sui-border);
|
|
3051
|
+
}
|
|
3052
|
+
.panelFooter:empty {
|
|
3053
|
+
display: none;
|
|
3054
|
+
}
|
|
3055
|
+
.join {
|
|
3056
|
+
flex: 1 1 auto;
|
|
3057
|
+
}
|
|
3058
|
+
|
|
3059
|
+
/* Participants: a heading per answer (icon, label, count), then its people. */
|
|
3060
|
+
.group {
|
|
3061
|
+
display: grid;
|
|
3062
|
+
gap: var(--sui-space-1);
|
|
3063
|
+
}
|
|
3064
|
+
.groupHeading {
|
|
3065
|
+
display: flex;
|
|
3066
|
+
align-items: center;
|
|
3067
|
+
gap: var(--sui-space-2);
|
|
3068
|
+
margin: 0;
|
|
3069
|
+
font-size: var(--sui-text-sm);
|
|
3070
|
+
font-weight: var(--sui-weight-medium);
|
|
3071
|
+
}
|
|
3072
|
+
.groupIcon {
|
|
3073
|
+
color: var(--sui-text-muted);
|
|
3074
|
+
}
|
|
3075
|
+
.groupCount {
|
|
3076
|
+
color: var(--sui-text-muted);
|
|
3077
|
+
font-weight: var(--sui-weight-normal);
|
|
3078
|
+
font-variant-numeric: tabular-nums;
|
|
3079
|
+
}
|
|
3080
|
+
.personList {
|
|
3081
|
+
display: grid;
|
|
3082
|
+
gap: 1px;
|
|
3083
|
+
margin: 0;
|
|
3084
|
+
margin-inline: calc(-1 * var(--sui-space-2));
|
|
3085
|
+
padding: 0;
|
|
3086
|
+
list-style: none;
|
|
3087
|
+
}
|
|
3088
|
+
.personRow {
|
|
3089
|
+
gap: var(--sui-space-3);
|
|
3090
|
+
text-align: start;
|
|
3091
|
+
}
|
|
3092
|
+
.personName {
|
|
3093
|
+
overflow: hidden;
|
|
3094
|
+
text-overflow: ellipsis;
|
|
3095
|
+
white-space: nowrap;
|
|
3096
|
+
}
|
|
3097
|
+
.you {
|
|
3098
|
+
color: var(--sui-text-muted);
|
|
3099
|
+
}
|
|
3100
|
+
.personHead {
|
|
3101
|
+
display: flex;
|
|
3102
|
+
align-items: center;
|
|
3103
|
+
gap: var(--sui-space-3);
|
|
3104
|
+
min-width: 0;
|
|
3105
|
+
font-weight: var(--sui-weight-medium);
|
|
3106
|
+
}
|
|
3107
|
+
.copyRow {
|
|
3108
|
+
display: grid;
|
|
3109
|
+
grid-template-columns: 1rem minmax(0, 1fr) auto;
|
|
3110
|
+
align-items: center;
|
|
3111
|
+
gap: var(--sui-space-3);
|
|
3112
|
+
font-size: var(--sui-text-sm);
|
|
3113
|
+
}
|
|
3114
|
+
|
|
3115
|
+
/* Read, not seen: the Day strip's months when its header row is off (`stripControls={false}`). */
|
|
3116
|
+
.srOnly {
|
|
3117
|
+
position: absolute;
|
|
3118
|
+
width: 1px;
|
|
3119
|
+
height: 1px;
|
|
3120
|
+
margin: -1px;
|
|
3121
|
+
overflow: hidden;
|
|
3122
|
+
clip-path: inset(50%);
|
|
3123
|
+
white-space: nowrap;
|
|
3124
|
+
}
|
|
3125
|
+
```
|