@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,2011 @@
|
|
|
1
|
+
# Notifications (blocks)
|
|
2
|
+
|
|
3
|
+
<!-- search: notification center, notification feed, inbox, bell, unread count, unread badge, activity feed, mentions, mark as read, mark all as read, accept decline invitation, alerts list -->
|
|
4
|
+
|
|
5
|
+
What happened while someone was away, as copyable source, in two views over one inbox:
|
|
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
|
+
| `notification-bell.tsx` | 255 |
|
|
12
|
+
| `notification-popover.tsx` | 154 |
|
|
13
|
+
| `notifications-page.tsx` | 144 |
|
|
14
|
+
| `notification-list.tsx` | 483 |
|
|
15
|
+
| `inbox.ts` | 379 |
|
|
16
|
+
| `labels.tsx` | 95 |
|
|
17
|
+
| `notifications.module.css` | 252 |
|
|
18
|
+
|
|
19
|
+
To write them into your app, from its root:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
npx solid-ui-kit add notifications
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
It writes `src/components/notifications/` (`--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
|
+
- **`NotificationBell`**, for the app's header: a bell named with the unread count, with a badge on it, that opens a popover of the recent notifications by day, in a [Scroll area](../scroll-area.md).
|
|
28
|
+
- **`NotificationsPage`**, a page of its own: the same rows with [Tabs](../tabs.md) that filter them (All, Unread, Mentions, Invitations).
|
|
29
|
+
|
|
30
|
+
Each row is a kit [Item](../item.md): who did it (an [Avatar](../avatar.md), or an icon for what the system did), what happened, a line of detail, when and where. Opening a row goes where it points and marks it read; the dot at its end marks it read or unread; an invitation answers in place (Accept, Decline). Older notifications load a page at a time. Both views show a skeleton while loading, an [Empty state](../empty-state.md) per filter when there's nothing, and Try again when a load fails. Both work at phone width (the popover fits the window, and opens as a bottom sheet on a touch phone) and right to left.
|
|
31
|
+
|
|
32
|
+
Copy the seven files into one folder (for example `src/components/notifications/`). Public `@zsherman/kit/*` entries, `@zsherman/kit/icons` and `--sui-*` tokens only; no StyleX compiler.
|
|
33
|
+
|
|
34
|
+
## Use it
|
|
35
|
+
|
|
36
|
+
Create one inbox per signed-in user, in a component, and give it to both views. A row read in the popover is read on the page, and the bell's count follows either.
|
|
37
|
+
|
|
38
|
+
```tsx
|
|
39
|
+
import { type AppNotification, createInbox, type NotificationsApi } from "./components/notifications/inbox";
|
|
40
|
+
import { NotificationBell } from "./components/notifications/notification-bell";
|
|
41
|
+
import { NotificationsPage } from "./components/notifications/notifications-page";
|
|
42
|
+
|
|
43
|
+
const api: NotificationsApi = {
|
|
44
|
+
async list({ filter, cursor }, signal) {
|
|
45
|
+
const query = new URLSearchParams({ filter, ...(cursor ? { cursor } : {}) });
|
|
46
|
+
const res = await fetch(`/api/notifications?${query}`, { signal });
|
|
47
|
+
if (!res.ok) throw new Error(`notifications: ${res.status}`);
|
|
48
|
+
return res.json(); // { items, next, unread }
|
|
49
|
+
},
|
|
50
|
+
async setRead(ids, read) {
|
|
51
|
+
const res = await fetch("/api/notifications/read", {
|
|
52
|
+
method: "POST",
|
|
53
|
+
body: JSON.stringify({ ids, read }),
|
|
54
|
+
});
|
|
55
|
+
if (!res.ok) throw new Error(`read: ${res.status}`);
|
|
56
|
+
},
|
|
57
|
+
async markAllRead(upTo) {
|
|
58
|
+
const res = await fetch("/api/notifications/read-all", {
|
|
59
|
+
method: "POST",
|
|
60
|
+
body: JSON.stringify({ upTo }),
|
|
61
|
+
});
|
|
62
|
+
if (!res.ok) throw new Error(`read all: ${res.status}`);
|
|
63
|
+
},
|
|
64
|
+
async respond(id, answer) {
|
|
65
|
+
const res = await fetch(`/api/notifications/${id}/answer`, {
|
|
66
|
+
method: "POST",
|
|
67
|
+
body: JSON.stringify({ answer }),
|
|
68
|
+
});
|
|
69
|
+
if (!res.ok) throw new Error(`answer: ${res.status}`);
|
|
70
|
+
},
|
|
71
|
+
subscribe(onNotification) {
|
|
72
|
+
const events = new EventSource("/api/notifications/stream");
|
|
73
|
+
events.onmessage = (message) => onNotification(JSON.parse(message.data));
|
|
74
|
+
return () => events.close();
|
|
75
|
+
},
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
function App(props: { now: string; timeZone: string }) {
|
|
79
|
+
const inbox = createInbox({ api, now: props.now, timeZone: props.timeZone });
|
|
80
|
+
// A row with a link goes there in the app; one without only marks itself read.
|
|
81
|
+
const open = (notification: AppNotification, event: MouseEvent) => {
|
|
82
|
+
if (!notification.href) return;
|
|
83
|
+
event.preventDefault();
|
|
84
|
+
navigate(notification.href);
|
|
85
|
+
};
|
|
86
|
+
return (
|
|
87
|
+
<>
|
|
88
|
+
<header>
|
|
89
|
+
…
|
|
90
|
+
<NotificationBell
|
|
91
|
+
inbox={inbox}
|
|
92
|
+
href="/notifications"
|
|
93
|
+
onOpen={open}
|
|
94
|
+
onViewAll={(event) => {
|
|
95
|
+
event.preventDefault();
|
|
96
|
+
navigate("/notifications");
|
|
97
|
+
}}
|
|
98
|
+
/>
|
|
99
|
+
</header>
|
|
100
|
+
<Route path="/notifications">
|
|
101
|
+
<NotificationsPage inbox={inbox} onOpen={open} />
|
|
102
|
+
</Route>
|
|
103
|
+
</>
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Pass `now` and `timeZone` from the server: they decide the day groups and "12 minutes ago", so the server's render matches the browser's. Without `now` the inbox reads the clock and moves the times on once a minute.
|
|
109
|
+
|
|
110
|
+
The page fills the width it's given (up to 48rem, centered) and lets its container scroll. The popover is 26rem wide, never wider than the window, and as tall as there's room for, up to 34rem.
|
|
111
|
+
|
|
112
|
+
## The API and the types
|
|
113
|
+
|
|
114
|
+
```ts
|
|
115
|
+
type NotificationKind = "mention" | "comment" | "invitation" | "assignment" | "update";
|
|
116
|
+
type NotificationFilter = "all" | "unread" | "mentions" | "invitations";
|
|
117
|
+
type InvitationAnswer = "accepted" | "declined";
|
|
118
|
+
|
|
119
|
+
interface AppNotification {
|
|
120
|
+
id: string;
|
|
121
|
+
kind: NotificationKind;
|
|
122
|
+
title: string; // what happened, one sentence from your server: "Ada Lovelace mentioned you in Q3 planning"
|
|
123
|
+
body?: string; // a line of detail: the comment, an invitation's note (two lines at most)
|
|
124
|
+
context?: string; // where, after the time: "Q3 planning", "#design"
|
|
125
|
+
actor?: { name: string; src?: string }; // who did it: their photo or initials; leave it out for the system
|
|
126
|
+
createdAt: string; // ISO date-time with an offset or Z
|
|
127
|
+
read: boolean;
|
|
128
|
+
href?: string; // where opening it goes; without one the row is a button that only marks it read
|
|
129
|
+
answer?: InvitationAnswer; // for invitations, once answered; left out, the row offers Accept and Decline
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
interface NotificationPage {
|
|
133
|
+
items: AppNotification[]; // newest first
|
|
134
|
+
next: string | null; // the cursor for the next, older page; null at the end
|
|
135
|
+
unread: number; // every unread notification the user has, not only this page's
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
interface NotificationsApi {
|
|
139
|
+
list(
|
|
140
|
+
query: { filter: NotificationFilter; cursor?: string },
|
|
141
|
+
signal: AbortSignal,
|
|
142
|
+
): Promise<NotificationPage>;
|
|
143
|
+
setRead(ids: readonly string[], read: boolean): Promise<void>;
|
|
144
|
+
markAllRead(upTo: string): Promise<void>; // read: everything created at or before upTo (ISO)
|
|
145
|
+
respond(id: string, answer: InvitationAnswer): Promise<void>; // and mark it read
|
|
146
|
+
subscribe?(onNotification: (notification: AppNotification) => void): () => void;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
interface InboxOptions {
|
|
150
|
+
api: NotificationsApi;
|
|
151
|
+
now?: string | Date; // pass it from the server
|
|
152
|
+
timeZone?: string; // the user's, like "America/New_York"; the runtime's by default
|
|
153
|
+
}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
The server owns the rules: which notifications each filter holds, their order, and the unread count. `list` answers one filter a page at a time, and the inbox asks each filter once, the first time it's shown (`all` as soon as the inbox is created, for the count). A `cursor` is whatever your server needs to find the next page; the inbox passes back `next` as it came. Rows a page repeats (new arrivals move a server's offsets) are skipped.
|
|
157
|
+
|
|
158
|
+
- **Read and unread** change at once: the row, the count and the badge. If `setRead` or `markAllRead` rejects, the rows and the count come back as they were (rows changed or arrived since keep their newer state) and the view says so above the list, until the next change that saves.
|
|
159
|
+
- **A page that lands after a change** doesn't undo it: a row the user read, unread or answered after the request went out keeps their `read` and `answer`, whatever the page says.
|
|
160
|
+
- **Mark all as read** sends `upTo`, the `createdAt` of the newest row the inbox holds, and your server marks read everything created at or before it. A notification created later stays unread on both sides, whether it reached the user before the server answered or not, so the count agrees with the server's. The Unread tab keeps only those newer rows.
|
|
161
|
+
- **The Unread tab keeps rows you read one by one** (they show as read) until it's loaded again (a reload), so a row doesn't jump away from under the pointer; Mark all as read clears them.
|
|
162
|
+
- **An answer** waits for the server: the pressed button is pending (its pair is disabled), then the row says "Accepted" or "Declined", is read, and focus moves to its link. A rejected `respond` keeps both buttons, with "Couldn't send your answer. Try again." under them.
|
|
163
|
+
- **New notifications** from `subscribe` go to the top of every loaded filter they belong to, and the count goes up. The inbox decides where they belong with `inFilter(filter, notification)` in `inbox.ts`: change it with your server's rules.
|
|
164
|
+
|
|
165
|
+
The inbox itself (`createInbox` returns it) is for views of your own: `unread()`, `list(filter)` (`ids`, `next`, `status`, `more`), `status(filter)`, `get(id)`, `now()`, and the changes above as `load`, `retry`, `loadMore`, `setRead`, `markAllRead` and `respond`.
|
|
166
|
+
|
|
167
|
+
## Days, times and the unread mark
|
|
168
|
+
|
|
169
|
+
- Rows group by the day they happened in `timeZone`: **Today**, **Yesterday**, **Earlier this week** (the five days before) and **Older**. Each group is a list named by its heading.
|
|
170
|
+
- The time fits its group: "Just now" and "12 minutes ago" or "2 hours ago" today, "4:12 PM" yesterday, "Mon 9:30 AM" this week, "Nov 3" before that. The full date and time is its tooltip, and it's a `<time datetime>`.
|
|
171
|
+
- **Unread** isn't shown by color alone: an unread row's title is semibold and its dot is filled; a read row's title is regular and its dot is a ring that shows on hover and focus (always on touch screens). For screen readers an unread row's link starts with "Unread:". The dot is a button, "Mark as read" or "Mark as unread", described by the row's title. In forced colors the dot keeps its shape (it's drawn with a border).
|
|
172
|
+
|
|
173
|
+
## The bell
|
|
174
|
+
|
|
175
|
+
```tsx
|
|
176
|
+
<NotificationBell inbox={inbox} href="/notifications" onOpen={open} onViewAll={viewAll} />
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
- Its name carries the count: "Notifications, 6 unread", or "Notifications" with none. The badge on it (up to "99+") is hidden from screen readers, since the name says it.
|
|
180
|
+
- A polite live region beside it says the count when it changes ("5 unread notifications"), not when the page first loads.
|
|
181
|
+
- The popover: a title and **Mark all as read** (disabled, still focusable, with nothing unread), the rows of All, "Show older" at the end, and "View all notifications" when you pass `href`. Opening a row closes it. Escape closes it and focus goes back to the bell.
|
|
182
|
+
- On a phone's touch screen it's a bottom sheet (`presentation="auto"`); in a narrow window on a computer, the panel fits the window.
|
|
183
|
+
- Only the button is eager: its icon, the count badge, the polite live count and the three words it says (`bellLabels` in `notification-bell.tsx`, the same English as `labels.tsx`; `labels` overrides both). The popover is a lazy module, `notification-popover.tsx`, with the kit Popover, the list (Item, Avatar, Empty state, Scroll area) and the rest of the words: it loads when the browser is idle after the bell settles, or on the bell's first hover, focus or press. Until then the bell is a plain icon button with the same look, name and `aria-haspopup="dialog"` (`aria-expanded="false"`); when the module lands, the popover's trigger takes its place, keeping focus. A press that came first opens the popover as soon as it lands, focus going into it as on any open, if focus or the pointer is still on the bell: a press people moved on from (Tab away, another control) is dropped, and a second press takes the first back. If the module can't load, a hover, focus or idle load fails quietly; a press says "Couldn't open notifications. Try again." (`bellFailed`) in the live region, and the next press asks again. For an app shell's header, see [the app-shell recipe](./app-shell.md#notifications-in-the-header).
|
|
184
|
+
|
|
185
|
+
## The page
|
|
186
|
+
|
|
187
|
+
```tsx
|
|
188
|
+
<NotificationsPage inbox={inbox} filters={["all", "unread", "mentions"]} defaultFilter="unread" />
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
An `h1` with the unread count under it ("6 unread", or "All caught up"), Mark all as read, then the tabs, which follow the reading direction. The Unread tab shows its count. Each tab's list loads the first time it's chosen; while it loads it's a skeleton of a day heading and four rows. Empty, each says what it's for:
|
|
192
|
+
|
|
193
|
+
| Filter | Empty |
|
|
194
|
+
| ----------- | --------------------------------------------------------------------- |
|
|
195
|
+
| All | No notifications yet. Mentions, invitations and updates show up here. |
|
|
196
|
+
| Unread | You're all caught up. New notifications show up here as they arrive. |
|
|
197
|
+
| Mentions | No mentions. When someone @mentions you, it shows up here. |
|
|
198
|
+
| Invitations | No invitations. Invitations to workspaces and meetings show up here. |
|
|
199
|
+
|
|
200
|
+
A failed first load says "Couldn't load notifications" with Try again; a failed "Show older" keeps the rows, says "Couldn't load older notifications." and the button becomes Try again. After "Show older", focus moves to the first row it brought.
|
|
201
|
+
|
|
202
|
+
The page is a size container: under 32rem wide its padding tightens, and a row's dot and buttons wrap under its text when the row is narrow (the Item's `--item-content-basis`).
|
|
203
|
+
|
|
204
|
+
## Words and formats
|
|
205
|
+
|
|
206
|
+
Every word is in `labels.tsx`: `notificationsLabels`, in English, one key per string; sentences with values are functions (`bellUnread(count)`, `unreadNow(count)`, `unreadSummary(count)`, `answered(answer, title)`), and each filter's empty state is a `{ title, line }`. Both views take `labels`, any subset, over the English. Relative times and dates follow the kit's `LocaleProvider`.
|
|
207
|
+
|
|
208
|
+
```tsx
|
|
209
|
+
import { LocaleProvider } from "@zsherman/kit/locale-provider";
|
|
210
|
+
|
|
211
|
+
<LocaleProvider locale="de-DE">
|
|
212
|
+
<NotificationBell
|
|
213
|
+
inbox={inbox}
|
|
214
|
+
labels={{
|
|
215
|
+
notifications: "Benachrichtigungen",
|
|
216
|
+
bellUnread: (count) => `Benachrichtigungen, ${count} ungelesen`,
|
|
217
|
+
unreadNow: (count) => `${count} ungelesen`,
|
|
218
|
+
markAllRead: "Alle als gelesen markieren",
|
|
219
|
+
groupToday: "Heute",
|
|
220
|
+
groupYesterday: "Gestern",
|
|
221
|
+
}}
|
|
222
|
+
/>
|
|
223
|
+
</LocaleProvider>;
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Titles, details and places are your server's text, shown as they come and aligned with the page's direction; a place sits in a `<bdi>`, so a name in another script keeps its order.
|
|
227
|
+
|
|
228
|
+
## Source
|
|
229
|
+
|
|
230
|
+
```tsx title="notification-bell.tsx"
|
|
231
|
+
/**
|
|
232
|
+
* Notification bell — a copyable block for @zsherman/kit: a bell for an app's header with the unread count,
|
|
233
|
+
* opening a popover inbox.
|
|
234
|
+
*
|
|
235
|
+
* - The bell's name carries the count ("Notifications, 3 unread"); the badge on it is decoration. When the count
|
|
236
|
+
* changes (a new notification, rows read), a polite live region says the new count once.
|
|
237
|
+
* - The popover lists every notification by day, newest first, in a scroll area: opening a row marks it read
|
|
238
|
+
* and calls `onOpen`; a row's dot marks it read or unread; invitations answer in place; "Show older" loads
|
|
239
|
+
* the next page. Mark all as read empties the count at once and comes back if the server refuses.
|
|
240
|
+
* - On a phone's touch screen it opens as a bottom sheet; in a narrow window the panel fits the window.
|
|
241
|
+
* - Only the button is eager: its count, its live count and the three words it says. The popover (the kit
|
|
242
|
+
* Popover, the list and the rest of the words: `notification-popover.tsx`) is a lazy module, loaded when the
|
|
243
|
+
* browser is idle after the bell settles, or when the bell is first hovered, focused or pressed. Until it
|
|
244
|
+
* lands the bell is a plain button with the same look, name and `aria-haspopup`; then the popover's trigger
|
|
245
|
+
* takes its place, keeping focus and a hover. A press that came first opens the popover once it's in.
|
|
246
|
+
*
|
|
247
|
+
* Built on the kit's Popover, Scroll area, Item, Badge, Avatar, Skeleton and Empty state. It shares its inbox
|
|
248
|
+
* with the notifications page (`notifications-page.tsx`): create it with `createInbox` (`inbox.ts`).
|
|
249
|
+
*/
|
|
250
|
+
import { Badge } from "@zsherman/kit/badge";
|
|
251
|
+
import { IconButton } from "@zsherman/kit/button";
|
|
252
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
253
|
+
import { Bell } from "@zsherman/kit/icons";
|
|
254
|
+
import { VisuallyHidden } from "@zsherman/kit/text";
|
|
255
|
+
import { createEffect, createSignal, onSettled, Show } from "solid-js";
|
|
256
|
+
import type { AppNotification, Inbox } from "./inbox";
|
|
257
|
+
import type { NotificationsLabels } from "./labels";
|
|
258
|
+
import styles from "./notifications.module.css";
|
|
259
|
+
|
|
260
|
+
type PopoverModule = typeof import("./notification-popover");
|
|
261
|
+
let request: Promise<PopoverModule> | undefined;
|
|
262
|
+
/**
|
|
263
|
+
* The popover, once for the page: a literal import, so bundlers split it into its own chunk. Every caller
|
|
264
|
+
* shares the one request; one that fails is forgotten, so a later press asks again.
|
|
265
|
+
*/
|
|
266
|
+
const loadPopover = () => {
|
|
267
|
+
request ??= import("./notification-popover");
|
|
268
|
+
const mine = request;
|
|
269
|
+
mine.catch(() => {
|
|
270
|
+
if (request === mine) request = undefined;
|
|
271
|
+
});
|
|
272
|
+
return mine;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
export interface NotificationBellProps {
|
|
276
|
+
/** The inbox from `createInbox`, shared with the notifications page. */
|
|
277
|
+
inbox: Inbox;
|
|
278
|
+
/** The notifications page: the popover ends with "View all notifications". */
|
|
279
|
+
href?: string;
|
|
280
|
+
/** A row was opened (marked read, the popover closing). Call `event.preventDefault()` to route in the app. */
|
|
281
|
+
onOpen?: (notification: AppNotification, event: MouseEvent) => void;
|
|
282
|
+
/** "View all notifications" was pressed: route to `href` in the app (`event.preventDefault()`). */
|
|
283
|
+
onViewAll?: (event: MouseEvent) => void;
|
|
284
|
+
labels?: Partial<NotificationsLabels>;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* The words the button says before the popover's module (and `labels.tsx` with it) is in: the same English
|
|
289
|
+
* as `labels.tsx`'s, which the popover uses. `labels` overrides both.
|
|
290
|
+
*/
|
|
291
|
+
export const bellLabels: Pick<
|
|
292
|
+
NotificationsLabels,
|
|
293
|
+
"notifications" | "bellUnread" | "unreadNow" | "bellFailed"
|
|
294
|
+
> = {
|
|
295
|
+
notifications: "Notifications",
|
|
296
|
+
bellUnread: (count) => `Notifications, ${count} unread`,
|
|
297
|
+
unreadNow: (count) =>
|
|
298
|
+
count === 0
|
|
299
|
+
? "No unread notifications"
|
|
300
|
+
: count === 1
|
|
301
|
+
? "1 unread notification"
|
|
302
|
+
: `${count} unread notifications`,
|
|
303
|
+
bellFailed: "Couldn't open notifications. Try again.",
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
/** The badge's text: the count up to 99, then "99+" (the bell's name says the exact count). */
|
|
307
|
+
const shown = (count: number) => (count > 99 ? "99+" : String(count));
|
|
308
|
+
|
|
309
|
+
/** How long the pointer rests on the button before the popover's trigger may replace it. */
|
|
310
|
+
const SETTLE = 150;
|
|
311
|
+
|
|
312
|
+
export function NotificationBell(props: NotificationBellProps) {
|
|
313
|
+
const t = {
|
|
314
|
+
notifications: () => props.labels?.notifications ?? bellLabels.notifications,
|
|
315
|
+
bellUnread: (n: number) => (props.labels?.bellUnread ?? bellLabels.bellUnread)(n),
|
|
316
|
+
unreadNow: (n: number) => (props.labels?.unreadNow ?? bellLabels.unreadNow)(n),
|
|
317
|
+
bellFailed: () => props.labels?.bellFailed ?? bellLabels.bellFailed,
|
|
318
|
+
};
|
|
319
|
+
const count = () => props.inbox.unread() ?? 0;
|
|
320
|
+
const name = () => (count() > 0 ? t.bellUnread(count()) : t.notifications());
|
|
321
|
+
|
|
322
|
+
// Say the count when it changes, not when it first arrives: a DOM write, so nothing re-renders for it.
|
|
323
|
+
let live: HTMLElement | undefined;
|
|
324
|
+
createEffect(
|
|
325
|
+
() => {
|
|
326
|
+
const n = props.inbox.unread();
|
|
327
|
+
return { n, text: n === undefined ? "" : t.unreadNow(n) };
|
|
328
|
+
},
|
|
329
|
+
(now, before) => {
|
|
330
|
+
if (now.n === undefined || before?.n === undefined || now.n === before.n || !live) return;
|
|
331
|
+
live.textContent = now.text;
|
|
332
|
+
},
|
|
333
|
+
);
|
|
334
|
+
|
|
335
|
+
// The popover's module: loaded on idle or intent, swapped in when nothing is in the way. A pointer that just
|
|
336
|
+
// arrived gets a moment (a click often follows at once), and a press that started on the plain button keeps
|
|
337
|
+
// it until the press ends, so the click lands where it began.
|
|
338
|
+
// A press before it lands is an intent to open, replayed once it's in: a second press takes it back (open,
|
|
339
|
+
// then close, ends closed), and it's dropped when focus leaves the bell, so it never opens the popover
|
|
340
|
+
// over whatever people went on to.
|
|
341
|
+
const [landed, setLanded] = createSignal<PopoverModule>();
|
|
342
|
+
let module: PopoverModule | undefined;
|
|
343
|
+
let held = false;
|
|
344
|
+
let wanted = false;
|
|
345
|
+
// A load failed: only a press asks again (not a hover, focus or idle), and a failed press is said.
|
|
346
|
+
let failed = false;
|
|
347
|
+
let quietAt = 0;
|
|
348
|
+
let wait: ReturnType<typeof setTimeout> | undefined;
|
|
349
|
+
let button: HTMLButtonElement | undefined;
|
|
350
|
+
// Whether the plain button had focus when it was swapped, and from the keyboard: the trigger takes it back.
|
|
351
|
+
let focus: "keyboard" | "other" | null = null;
|
|
352
|
+
// Whether the popover opens as it lands (a press that's still wanted).
|
|
353
|
+
let open = false;
|
|
354
|
+
// Swapped: a plain flag, since `landed()` reads the old value until Solid flushes, and two loads that
|
|
355
|
+
// resolve together (a pointerdown's and its click's) would both land.
|
|
356
|
+
let swapped = false;
|
|
357
|
+
const land = () => {
|
|
358
|
+
if (!module || held || swapped) return;
|
|
359
|
+
clearTimeout(wait);
|
|
360
|
+
const left = quietAt - performance.now();
|
|
361
|
+
if (left > 0) {
|
|
362
|
+
wait = setTimeout(land, left);
|
|
363
|
+
return;
|
|
364
|
+
}
|
|
365
|
+
focus =
|
|
366
|
+
button && button === document.activeElement
|
|
367
|
+
? button.matches(":focus-visible")
|
|
368
|
+
? "keyboard"
|
|
369
|
+
: "other"
|
|
370
|
+
: null;
|
|
371
|
+
// Replayed only while the bell is still where people are: focused, or under the pointer (a press doesn't
|
|
372
|
+
// focus a button in Safari).
|
|
373
|
+
open = wanted && !!button && (focus !== null || button.matches(":hover"));
|
|
374
|
+
wanted = false;
|
|
375
|
+
swapped = true;
|
|
376
|
+
setLanded(() => module);
|
|
377
|
+
};
|
|
378
|
+
const load = (press = false) => {
|
|
379
|
+
if (swapped || (failed && !press)) return;
|
|
380
|
+
loadPopover().then(
|
|
381
|
+
(m) => {
|
|
382
|
+
failed = false;
|
|
383
|
+
module = m;
|
|
384
|
+
land();
|
|
385
|
+
},
|
|
386
|
+
() => {
|
|
387
|
+
failed = true;
|
|
388
|
+
// A press waiting for it is dropped, and said; a hover, focus or idle load fails quietly.
|
|
389
|
+
if (wanted && live) live.textContent = t.bellFailed();
|
|
390
|
+
wanted = false;
|
|
391
|
+
},
|
|
392
|
+
);
|
|
393
|
+
};
|
|
394
|
+
const enter = () => {
|
|
395
|
+
quietAt = performance.now() + SETTLE;
|
|
396
|
+
load();
|
|
397
|
+
};
|
|
398
|
+
const hold = () => {
|
|
399
|
+
load(true);
|
|
400
|
+
if (held) return;
|
|
401
|
+
held = true;
|
|
402
|
+
const release = () => {
|
|
403
|
+
removeEventListener("pointerup", release, true);
|
|
404
|
+
removeEventListener("pointercancel", release, true);
|
|
405
|
+
// After the click the release sends (same task), then swap.
|
|
406
|
+
setTimeout(() => {
|
|
407
|
+
held = false;
|
|
408
|
+
land();
|
|
409
|
+
});
|
|
410
|
+
};
|
|
411
|
+
addEventListener("pointerup", release, true);
|
|
412
|
+
addEventListener("pointercancel", release, true);
|
|
413
|
+
};
|
|
414
|
+
onSettled(() => {
|
|
415
|
+
const idle = window.requestIdleCallback ?? ((run: () => void) => setTimeout(run, 200));
|
|
416
|
+
const handle = idle(() => load(), { timeout: 2000 });
|
|
417
|
+
return () => {
|
|
418
|
+
(window.cancelIdleCallback ?? clearTimeout)(handle);
|
|
419
|
+
clearTimeout(wait);
|
|
420
|
+
};
|
|
421
|
+
});
|
|
422
|
+
|
|
423
|
+
// A function: the plain button and the popover's trigger each get their own nodes.
|
|
424
|
+
const face = () => (
|
|
425
|
+
<>
|
|
426
|
+
<Icon icon={Bell} />
|
|
427
|
+
<Show when={count() > 0}>
|
|
428
|
+
<Badge variant="solid" tone="accent" size="sm" class={styles.count} aria-hidden="true">
|
|
429
|
+
{shown(count())}
|
|
430
|
+
</Badge>
|
|
431
|
+
</Show>
|
|
432
|
+
</>
|
|
433
|
+
);
|
|
434
|
+
|
|
435
|
+
return (
|
|
436
|
+
<span class={styles.bellWrap}>
|
|
437
|
+
<Show
|
|
438
|
+
when={landed()}
|
|
439
|
+
keyed
|
|
440
|
+
fallback={
|
|
441
|
+
<IconButton
|
|
442
|
+
ref={(el: HTMLButtonElement) => (button = el)}
|
|
443
|
+
variant="ghost"
|
|
444
|
+
class={styles.bell}
|
|
445
|
+
label={name()}
|
|
446
|
+
// No native tooltip: the popover's trigger that replaces it has none.
|
|
447
|
+
title=""
|
|
448
|
+
aria-haspopup="dialog"
|
|
449
|
+
aria-expanded="false"
|
|
450
|
+
onPointerEnter={enter}
|
|
451
|
+
onFocus={() => load()}
|
|
452
|
+
// Not a blur during its own press: Safari takes focus from a focused button at mousedown, and
|
|
453
|
+
// the kit's Button takes it back at the click.
|
|
454
|
+
onFocusOut={() => {
|
|
455
|
+
if (!held) wanted = false;
|
|
456
|
+
}}
|
|
457
|
+
onPointerDown={hold}
|
|
458
|
+
onClick={() => {
|
|
459
|
+
wanted = !wanted;
|
|
460
|
+
if (live && failed) live.textContent = "";
|
|
461
|
+
load(true);
|
|
462
|
+
}}
|
|
463
|
+
>
|
|
464
|
+
{face()}
|
|
465
|
+
</IconButton>
|
|
466
|
+
}
|
|
467
|
+
>
|
|
468
|
+
{(m) => (
|
|
469
|
+
<m.BellPopover
|
|
470
|
+
inbox={props.inbox}
|
|
471
|
+
href={props.href}
|
|
472
|
+
onOpen={props.onOpen}
|
|
473
|
+
onViewAll={props.onViewAll}
|
|
474
|
+
labels={props.labels}
|
|
475
|
+
name={name()}
|
|
476
|
+
focus={focus}
|
|
477
|
+
pressed={open}
|
|
478
|
+
face={face}
|
|
479
|
+
/>
|
|
480
|
+
)}
|
|
481
|
+
</Show>
|
|
482
|
+
<VisuallyHidden aria-live="polite" ref={(el: HTMLElement) => (live = el)} />
|
|
483
|
+
</span>
|
|
484
|
+
);
|
|
485
|
+
}
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
```tsx title="notification-popover.tsx"
|
|
489
|
+
/**
|
|
490
|
+
* The bell's popover — part of the notifications block for @zsherman/kit: the kit Popover with its trigger,
|
|
491
|
+
* the title, Mark all as read, the rows of All by day in a scroll area, and "View all notifications". A lazy
|
|
492
|
+
* module: `notification-bell.tsx` imports it on idle or on the bell's first hover, focus or press, and
|
|
493
|
+
* renders it in the plain button's place. The trigger takes over the button's focus, and a press on the
|
|
494
|
+
* button before this module landed opens the popover as a press on the trigger would.
|
|
495
|
+
*/
|
|
496
|
+
import { Button } from "@zsherman/kit/button";
|
|
497
|
+
import { Link } from "@zsherman/kit/link";
|
|
498
|
+
import {
|
|
499
|
+
createPopoverController,
|
|
500
|
+
Popover,
|
|
501
|
+
PopoverContent,
|
|
502
|
+
PopoverTitle,
|
|
503
|
+
PopoverTrigger,
|
|
504
|
+
} from "@zsherman/kit/popover";
|
|
505
|
+
import {
|
|
506
|
+
ScrollArea,
|
|
507
|
+
ScrollAreaContent,
|
|
508
|
+
ScrollAreaScrollbar,
|
|
509
|
+
ScrollAreaViewport,
|
|
510
|
+
} from "@zsherman/kit/scroll-area";
|
|
511
|
+
import { Text } from "@zsherman/kit/text";
|
|
512
|
+
import type { JSX } from "@solidjs/web";
|
|
513
|
+
import { createSignal, onSettled, Show } from "solid-js";
|
|
514
|
+
import type { AppNotification } from "./inbox";
|
|
515
|
+
import { NotificationsLabelsProvider, useNotificationsLabels } from "./labels";
|
|
516
|
+
import type { NotificationBellProps } from "./notification-bell";
|
|
517
|
+
import { NotificationList } from "./notification-list";
|
|
518
|
+
import styles from "./notifications.module.css";
|
|
519
|
+
|
|
520
|
+
export interface BellPopoverProps extends NotificationBellProps {
|
|
521
|
+
/** The trigger's name, with the count (the bell keeps it, since it says it before this module is in). */
|
|
522
|
+
name: string;
|
|
523
|
+
/** The plain button this replaces had focus (from the keyboard or not): the trigger takes it. */
|
|
524
|
+
focus: "keyboard" | "other" | null;
|
|
525
|
+
/** A press on the plain button is still wanted: open once the trigger is connected, as a press on it would. */
|
|
526
|
+
pressed: boolean;
|
|
527
|
+
/** The bell and its count, for the trigger. */
|
|
528
|
+
face: () => JSX.Element;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
/** The popover, its words from `labels` over the English in `labels.tsx`. */
|
|
532
|
+
export function BellPopover(props: BellPopoverProps) {
|
|
533
|
+
return (
|
|
534
|
+
<NotificationsLabelsProvider labels={props.labels}>
|
|
535
|
+
<PopoverBody {...props} />
|
|
536
|
+
</NotificationsLabelsProvider>
|
|
537
|
+
);
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
function PopoverBody(props: BellPopoverProps) {
|
|
541
|
+
const t = useNotificationsLabels();
|
|
542
|
+
const popover = createPopoverController();
|
|
543
|
+
const [problem, setProblem] = createSignal(false);
|
|
544
|
+
const count = () => props.inbox.unread() ?? 0;
|
|
545
|
+
|
|
546
|
+
// Take over from the plain button: its focus (a keyboard focus is replayed once ui-sdk has connected the
|
|
547
|
+
// trigger, a moment after it's in the page, so it shows as it would), then a press that came first.
|
|
548
|
+
let trigger: HTMLButtonElement | undefined;
|
|
549
|
+
onSettled(() => {
|
|
550
|
+
if (props.focus && trigger && document.activeElement !== trigger) trigger.focus({ preventScroll: true });
|
|
551
|
+
const frame = requestAnimationFrame(() => {
|
|
552
|
+
if (!trigger) return;
|
|
553
|
+
const focused = document.activeElement === trigger;
|
|
554
|
+
if (props.focus === "keyboard" && focused)
|
|
555
|
+
trigger.dispatchEvent(new FocusEvent("focusin", { bubbles: true }));
|
|
556
|
+
// Still on the bell (focus, or the pointer: a press doesn't focus a button in Safari), or not at all.
|
|
557
|
+
if (props.pressed && (focused || trigger.matches(":hover"))) trigger.click();
|
|
558
|
+
});
|
|
559
|
+
return () => cancelAnimationFrame(frame);
|
|
560
|
+
});
|
|
561
|
+
|
|
562
|
+
const markAll = async () => {
|
|
563
|
+
setProblem(false);
|
|
564
|
+
try {
|
|
565
|
+
await props.inbox.markAllRead();
|
|
566
|
+
} catch {
|
|
567
|
+
setProblem(true);
|
|
568
|
+
}
|
|
569
|
+
};
|
|
570
|
+
const open = (notification: AppNotification, event: MouseEvent) => {
|
|
571
|
+
props.onOpen?.(notification, event);
|
|
572
|
+
popover.close();
|
|
573
|
+
};
|
|
574
|
+
const viewAll = (event: MouseEvent) => {
|
|
575
|
+
props.onViewAll?.(event);
|
|
576
|
+
popover.close();
|
|
577
|
+
};
|
|
578
|
+
|
|
579
|
+
return (
|
|
580
|
+
<Popover controller={popover} presentation="auto" onOpenChange={() => setProblem(false)}>
|
|
581
|
+
<PopoverTrigger
|
|
582
|
+
ref={(el: HTMLButtonElement) => (trigger = el)}
|
|
583
|
+
iconOnly
|
|
584
|
+
variant="ghost"
|
|
585
|
+
class={styles.bell}
|
|
586
|
+
aria-label={props.name}
|
|
587
|
+
>
|
|
588
|
+
{props.face()}
|
|
589
|
+
</PopoverTrigger>
|
|
590
|
+
<PopoverContent size="lg" padding="none" align="end" class={styles.popover}>
|
|
591
|
+
<div class={styles.panel}>
|
|
592
|
+
<div class={styles.panelHeader}>
|
|
593
|
+
<PopoverTitle class={styles.panelTitle}>{t.notifications}</PopoverTitle>
|
|
594
|
+
<Button
|
|
595
|
+
size="sm"
|
|
596
|
+
variant="ghost"
|
|
597
|
+
disabled={count() === 0}
|
|
598
|
+
focusableWhenDisabled
|
|
599
|
+
onClick={markAll}
|
|
600
|
+
>
|
|
601
|
+
{t.markAllRead}
|
|
602
|
+
</Button>
|
|
603
|
+
</div>
|
|
604
|
+
<Show when={problem()}>
|
|
605
|
+
<Text
|
|
606
|
+
size="sm"
|
|
607
|
+
tone="danger"
|
|
608
|
+
role="alert"
|
|
609
|
+
render={(p) => <p {...p} class={[p.class as string, styles.problem]} />}
|
|
610
|
+
>
|
|
611
|
+
{t.updateFailed}
|
|
612
|
+
</Text>
|
|
613
|
+
</Show>
|
|
614
|
+
<ScrollArea class={styles.panelScroll}>
|
|
615
|
+
<ScrollAreaViewport>
|
|
616
|
+
<ScrollAreaContent>
|
|
617
|
+
<NotificationList
|
|
618
|
+
inbox={props.inbox}
|
|
619
|
+
filter="all"
|
|
620
|
+
size="sm"
|
|
621
|
+
headingLevel={3}
|
|
622
|
+
onOpen={open}
|
|
623
|
+
onUpdate={(saved) => setProblem(!saved)}
|
|
624
|
+
/>
|
|
625
|
+
</ScrollAreaContent>
|
|
626
|
+
</ScrollAreaViewport>
|
|
627
|
+
<ScrollAreaScrollbar />
|
|
628
|
+
</ScrollArea>
|
|
629
|
+
<Show when={props.href}>
|
|
630
|
+
{(href) => (
|
|
631
|
+
<div class={styles.panelFooter}>
|
|
632
|
+
<Link href={href()} variant="muted" onClick={viewAll}>
|
|
633
|
+
{t.viewAll}
|
|
634
|
+
</Link>
|
|
635
|
+
</div>
|
|
636
|
+
)}
|
|
637
|
+
</Show>
|
|
638
|
+
</div>
|
|
639
|
+
</PopoverContent>
|
|
640
|
+
</Popover>
|
|
641
|
+
);
|
|
642
|
+
}
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
```tsx title="notifications-page.tsx"
|
|
646
|
+
/**
|
|
647
|
+
* Notifications page — a copyable block for @zsherman/kit: the whole inbox on a page of its own.
|
|
648
|
+
*
|
|
649
|
+
* - Tabs filter it: All, Unread (with its count), Mentions, Invitations. Each filter loads from your API the
|
|
650
|
+
* first time it's shown, a page at a time ("Show older"), and says what it's for when it's empty. On a narrow
|
|
651
|
+
* screen (or in a longer language) the filters that don't fit wait in a More menu at the strip's end.
|
|
652
|
+
* - The same rows as the bell's popover, roomier: open, mark read or unread, answer invitations in place.
|
|
653
|
+
* - It shares the inbox with the bell: a row read here is read there, and the count follows.
|
|
654
|
+
*
|
|
655
|
+
* Built on the kit's Tabs (with TabsOverflow), Item, Badge, Avatar, Skeleton and Empty state, with
|
|
656
|
+
* `notification-list.tsx`.
|
|
657
|
+
*/
|
|
658
|
+
import { Badge } from "@zsherman/kit/badge";
|
|
659
|
+
import { Button } from "@zsherman/kit/button";
|
|
660
|
+
import { Tabs, TabsList, TabsPanel, TabsTab } from "@zsherman/kit/tabs";
|
|
661
|
+
import { TabsOverflow } from "@zsherman/kit/tabs-overflow";
|
|
662
|
+
import { Heading, Text } from "@zsherman/kit/text";
|
|
663
|
+
import { createSignal, createUniqueId, For, onSettled, Show } from "solid-js";
|
|
664
|
+
import type { AppNotification, Inbox, NotificationFilter } from "./inbox";
|
|
665
|
+
import { type NotificationsLabels, NotificationsLabelsProvider, useNotificationsLabels } from "./labels";
|
|
666
|
+
import { NotificationList } from "./notification-list";
|
|
667
|
+
import styles from "./notifications.module.css";
|
|
668
|
+
|
|
669
|
+
export interface NotificationsPageProps {
|
|
670
|
+
/** The inbox from `createInbox`, shared with the bell. */
|
|
671
|
+
inbox: Inbox;
|
|
672
|
+
/** The tabs, in order. @defaultValue ["all", "unread", "mentions", "invitations"] */
|
|
673
|
+
filters?: readonly NotificationFilter[];
|
|
674
|
+
/** The tab shown first. @defaultValue the first of `filters` */
|
|
675
|
+
defaultFilter?: NotificationFilter;
|
|
676
|
+
/** A row was opened (it's marked read already). Call `event.preventDefault()` to route in the app. */
|
|
677
|
+
onOpen?: (notification: AppNotification, event: MouseEvent) => void;
|
|
678
|
+
labels?: Partial<NotificationsLabels>;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
const allFilters: readonly NotificationFilter[] = ["all", "unread", "mentions", "invitations"];
|
|
682
|
+
|
|
683
|
+
/** NotificationsPage, with its words from `labels` over the English in `labels.tsx`. */
|
|
684
|
+
export function NotificationsPage(props: NotificationsPageProps) {
|
|
685
|
+
return (
|
|
686
|
+
<NotificationsLabelsProvider labels={props.labels}>
|
|
687
|
+
<PageBody {...props} />
|
|
688
|
+
</NotificationsLabelsProvider>
|
|
689
|
+
);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
function PageBody(props: NotificationsPageProps) {
|
|
693
|
+
const t = useNotificationsLabels();
|
|
694
|
+
const titleId = createUniqueId();
|
|
695
|
+
const filters = () => props.filters ?? allFilters;
|
|
696
|
+
const [filter, setFilter] = createSignal<NotificationFilter>(() => props.defaultFilter ?? filters()[0]!);
|
|
697
|
+
const [problem, setProblem] = createSignal(false);
|
|
698
|
+
const count = () => props.inbox.unread();
|
|
699
|
+
const label = (f: NotificationFilter) =>
|
|
700
|
+
({
|
|
701
|
+
all: t.filterAll,
|
|
702
|
+
unread: t.filterUnread,
|
|
703
|
+
mentions: t.filterMentions,
|
|
704
|
+
invitations: t.filterInvitations,
|
|
705
|
+
})[f];
|
|
706
|
+
|
|
707
|
+
onSettled(() => props.inbox.load(filter()));
|
|
708
|
+
const show = (next: NotificationFilter | null) => {
|
|
709
|
+
if (!next) return;
|
|
710
|
+
setFilter(next);
|
|
711
|
+
props.inbox.load(next);
|
|
712
|
+
};
|
|
713
|
+
const markAll = async () => {
|
|
714
|
+
setProblem(false);
|
|
715
|
+
try {
|
|
716
|
+
await props.inbox.markAllRead();
|
|
717
|
+
} catch {
|
|
718
|
+
setProblem(true);
|
|
719
|
+
}
|
|
720
|
+
};
|
|
721
|
+
|
|
722
|
+
return (
|
|
723
|
+
<section class={styles.page} aria-labelledby={titleId}>
|
|
724
|
+
<div class={styles.pageInner}>
|
|
725
|
+
<header class={styles.pageHeader}>
|
|
726
|
+
<div class={styles.pageHeading}>
|
|
727
|
+
<Heading level={1} size="xl" id={titleId}>
|
|
728
|
+
{t.notifications}
|
|
729
|
+
</Heading>
|
|
730
|
+
{/* The line keeps its place while the count loads, so nothing moves when it lands. */}
|
|
731
|
+
<Text
|
|
732
|
+
size="sm"
|
|
733
|
+
tone="muted"
|
|
734
|
+
render={(p) => <p {...p} class={[p.class as string, styles.summary]} />}
|
|
735
|
+
>
|
|
736
|
+
{count() === undefined ? "\u00a0" : t.unreadSummary(count()!)}
|
|
737
|
+
</Text>
|
|
738
|
+
</div>
|
|
739
|
+
<Button size="sm" disabled={!count()} focusableWhenDisabled onClick={markAll}>
|
|
740
|
+
{t.markAllRead}
|
|
741
|
+
</Button>
|
|
742
|
+
</header>
|
|
743
|
+
<Show when={problem()}>
|
|
744
|
+
<Text
|
|
745
|
+
size="sm"
|
|
746
|
+
tone="danger"
|
|
747
|
+
role="alert"
|
|
748
|
+
render={(p) => <p {...p} class={[p.class as string, styles.problem]} />}
|
|
749
|
+
>
|
|
750
|
+
{t.updateFailed}
|
|
751
|
+
</Text>
|
|
752
|
+
</Show>
|
|
753
|
+
<Tabs value={filter()} onValueChange={show} class={styles.tabs}>
|
|
754
|
+
<TabsOverflow label={t.moreFilters}>
|
|
755
|
+
<TabsList aria-label={t.filters}>
|
|
756
|
+
<For each={filters()}>
|
|
757
|
+
{(f) => (
|
|
758
|
+
<TabsTab value={f}>
|
|
759
|
+
{label(f)}
|
|
760
|
+
<Show when={f === "unread" && (count() ?? 0) > 0}>
|
|
761
|
+
<Badge size="sm" tone="accent">
|
|
762
|
+
{count()}
|
|
763
|
+
</Badge>
|
|
764
|
+
</Show>
|
|
765
|
+
</TabsTab>
|
|
766
|
+
)}
|
|
767
|
+
</For>
|
|
768
|
+
</TabsList>
|
|
769
|
+
</TabsOverflow>
|
|
770
|
+
<For each={filters()}>
|
|
771
|
+
{(f) => (
|
|
772
|
+
<TabsPanel value={f} class={styles.tabPanel}>
|
|
773
|
+
<Show when={filter() === f}>
|
|
774
|
+
<NotificationList
|
|
775
|
+
inbox={props.inbox}
|
|
776
|
+
filter={f}
|
|
777
|
+
headingLevel={2}
|
|
778
|
+
onOpen={props.onOpen}
|
|
779
|
+
onUpdate={(saved) => setProblem(!saved)}
|
|
780
|
+
/>
|
|
781
|
+
</Show>
|
|
782
|
+
</TabsPanel>
|
|
783
|
+
)}
|
|
784
|
+
</For>
|
|
785
|
+
</Tabs>
|
|
786
|
+
</div>
|
|
787
|
+
</section>
|
|
788
|
+
);
|
|
789
|
+
}
|
|
790
|
+
```
|
|
791
|
+
|
|
792
|
+
```tsx title="notification-list.tsx"
|
|
793
|
+
/**
|
|
794
|
+
* One filter's notifications, grouped by day (Today, Yesterday, Earlier this week, Older), with its loading,
|
|
795
|
+
* empty and failed states and "Show older" at the end. The bell's popover and the notifications page both
|
|
796
|
+
* render it. A row opens what it's about (and marks it read), marks itself read or unread from its dot, and an
|
|
797
|
+
* invitation answers in place.
|
|
798
|
+
*/
|
|
799
|
+
import { Avatar, AvatarFallback, AvatarImage, initials } from "@zsherman/kit/avatar";
|
|
800
|
+
import { Button, IconButton } from "@zsherman/kit/button";
|
|
801
|
+
import {
|
|
802
|
+
EmptyState,
|
|
803
|
+
EmptyStateActions,
|
|
804
|
+
EmptyStateDescription,
|
|
805
|
+
EmptyStateIcon,
|
|
806
|
+
EmptyStateTitle,
|
|
807
|
+
} from "@zsherman/kit/empty-state";
|
|
808
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
809
|
+
import {
|
|
810
|
+
AtSign,
|
|
811
|
+
BellOff,
|
|
812
|
+
Check,
|
|
813
|
+
CircleAlert,
|
|
814
|
+
Inbox as InboxIcon,
|
|
815
|
+
MessageSquare,
|
|
816
|
+
TriangleAlert,
|
|
817
|
+
UserCheck,
|
|
818
|
+
UserPlus,
|
|
819
|
+
X,
|
|
820
|
+
} from "@zsherman/kit/icons";
|
|
821
|
+
import type { IconNode } from "@zsherman/kit/icons";
|
|
822
|
+
import {
|
|
823
|
+
Item,
|
|
824
|
+
ItemActions,
|
|
825
|
+
ItemContent,
|
|
826
|
+
ItemDescription,
|
|
827
|
+
ItemGroup,
|
|
828
|
+
ItemLink,
|
|
829
|
+
ItemMedia,
|
|
830
|
+
ItemTitle,
|
|
831
|
+
} from "@zsherman/kit/item";
|
|
832
|
+
import { useLocale } from "@zsherman/kit/locale-provider";
|
|
833
|
+
import { Skeleton } from "@zsherman/kit/skeleton";
|
|
834
|
+
import { Heading, Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
835
|
+
import type { JSX } from "@solidjs/web";
|
|
836
|
+
import { createMemo, createSignal, createUniqueId, flush, For, Match, Show, Switch } from "solid-js";
|
|
837
|
+
import { daysBetween } from "@zsherman/kit/calendar";
|
|
838
|
+
import type { AppNotification, Inbox, InvitationAnswer, NotificationFilter, NotificationKind } from "./inbox";
|
|
839
|
+
import { type NotificationsLabels, useNotificationsLabels } from "./labels";
|
|
840
|
+
import styles from "./notifications.module.css";
|
|
841
|
+
|
|
842
|
+
export interface NotificationListProps {
|
|
843
|
+
inbox: Inbox;
|
|
844
|
+
filter: NotificationFilter;
|
|
845
|
+
/** `sm` rows in a popover, `md` on a page. @defaultValue "md" */
|
|
846
|
+
size?: "sm" | "md";
|
|
847
|
+
/** The day groups' heading level: 3 under a popover's title, 2 on a page under its `h1`. @defaultValue 2 */
|
|
848
|
+
headingLevel?: 2 | 3;
|
|
849
|
+
/** A row was opened (it's marked read already). Call `event.preventDefault()` to route in the app. */
|
|
850
|
+
onOpen?: (notification: AppNotification, event: MouseEvent) => void;
|
|
851
|
+
/**
|
|
852
|
+
* A row's read or unread change finished: `true` saved, `false` refused (the row is back as it was; say so,
|
|
853
|
+
* and stop saying it at the next `true`).
|
|
854
|
+
*/
|
|
855
|
+
onUpdate?: (saved: boolean) => void;
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
const kindIcons: Record<NotificationKind, IconNode> = {
|
|
859
|
+
mention: AtSign,
|
|
860
|
+
comment: MessageSquare,
|
|
861
|
+
invitation: UserPlus,
|
|
862
|
+
assignment: UserCheck,
|
|
863
|
+
update: CircleAlert,
|
|
864
|
+
};
|
|
865
|
+
|
|
866
|
+
const groupLabel = (t: NotificationsLabels, group: DateGroup) =>
|
|
867
|
+
({ today: t.groupToday, yesterday: t.groupYesterday, week: t.groupWeek, earlier: t.groupEarlier })[group];
|
|
868
|
+
|
|
869
|
+
const emptyOf = (t: NotificationsLabels, filter: NotificationFilter) =>
|
|
870
|
+
({ all: t.emptyAll, unread: t.emptyUnread, mentions: t.emptyMentions, invitations: t.emptyInvitations })[
|
|
871
|
+
filter
|
|
872
|
+
];
|
|
873
|
+
const emptyIcons: Record<NotificationFilter, IconNode> = {
|
|
874
|
+
all: InboxIcon,
|
|
875
|
+
unread: BellOff,
|
|
876
|
+
mentions: AtSign,
|
|
877
|
+
invitations: UserPlus,
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
interface Group {
|
|
881
|
+
key: DateGroup;
|
|
882
|
+
ids: string[];
|
|
883
|
+
}
|
|
884
|
+
const sameGroups = (a: Group[], b: Group[]) =>
|
|
885
|
+
a.length === b.length &&
|
|
886
|
+
a.every(
|
|
887
|
+
(g, i) =>
|
|
888
|
+
g.key === b[i]!.key && g.ids.length === b[i]!.ids.length && g.ids.every((id, j) => id === b[i]!.ids[j]),
|
|
889
|
+
);
|
|
890
|
+
|
|
891
|
+
export function NotificationList(props: NotificationListProps) {
|
|
892
|
+
const t = useNotificationsLabels();
|
|
893
|
+
const [said, setSaid] = createSignal("");
|
|
894
|
+
let root: HTMLElement | undefined;
|
|
895
|
+
const list = () => props.inbox.list(props.filter);
|
|
896
|
+
const status = () => props.inbox.status(props.filter);
|
|
897
|
+
|
|
898
|
+
const groups = createMemo(
|
|
899
|
+
() => {
|
|
900
|
+
const byGroup = new Map<DateGroup, string[]>();
|
|
901
|
+
const now = props.inbox.now();
|
|
902
|
+
for (const id of list()?.ids ?? []) {
|
|
903
|
+
const n = props.inbox.get(id);
|
|
904
|
+
if (!n) continue;
|
|
905
|
+
const key = groupOf(n.createdAt, now, props.inbox.timeZone);
|
|
906
|
+
byGroup.set(key, [...(byGroup.get(key) ?? []), id]);
|
|
907
|
+
}
|
|
908
|
+
return dateGroups.filter((key) => byGroup.has(key)).map((key) => ({ key, ids: byGroup.get(key)! }));
|
|
909
|
+
},
|
|
910
|
+
{ equals: sameGroups },
|
|
911
|
+
);
|
|
912
|
+
|
|
913
|
+
/** Focus a row's link after it renders (the rows "Show older" brought, a row whose buttons went away). */
|
|
914
|
+
const focusRow = (id: string) => {
|
|
915
|
+
flush();
|
|
916
|
+
root
|
|
917
|
+
?.querySelector<HTMLElement>(`[data-notification="${CSS.escape(id)}"] [data-slot=item-link]`)
|
|
918
|
+
?.focus();
|
|
919
|
+
};
|
|
920
|
+
|
|
921
|
+
const more = async () => {
|
|
922
|
+
try {
|
|
923
|
+
const ids = await props.inbox.loadMore(props.filter);
|
|
924
|
+
// Every row it brought may have been here already (new arrivals shift a server's pages): then the
|
|
925
|
+
// last row, so focus doesn't fall to the page when the button goes.
|
|
926
|
+
flush();
|
|
927
|
+
const target = ids[0] ?? (list()?.next ? undefined : list()?.ids.at(-1));
|
|
928
|
+
if (target) focusRow(target);
|
|
929
|
+
} catch {
|
|
930
|
+
// The list says it failed, beside the button (now "Try again").
|
|
931
|
+
}
|
|
932
|
+
};
|
|
933
|
+
|
|
934
|
+
const level = () => props.headingLevel ?? 2;
|
|
935
|
+
|
|
936
|
+
return (
|
|
937
|
+
<div
|
|
938
|
+
class={styles.list}
|
|
939
|
+
data-size={props.size ?? "md"}
|
|
940
|
+
aria-busy={status() === "loading" ? "true" : "false"}
|
|
941
|
+
ref={(el: HTMLElement) => (root = el)}
|
|
942
|
+
>
|
|
943
|
+
<VisuallyHidden aria-live="polite">{said()}</VisuallyHidden>
|
|
944
|
+
<Switch>
|
|
945
|
+
<Match when={status() === "loading"}>
|
|
946
|
+
<ListSkeleton label={t.loading} size={props.size ?? "md"} />
|
|
947
|
+
</Match>
|
|
948
|
+
<Match when={status() === "error"}>
|
|
949
|
+
<EmptyState size="sm" class={styles.state}>
|
|
950
|
+
<EmptyStateIcon icon={TriangleAlert} />
|
|
951
|
+
<EmptyStateTitle render={(p) => (level() === 2 ? <h2 {...p} /> : <p {...p} />)}>
|
|
952
|
+
{t.loadFailedTitle}
|
|
953
|
+
</EmptyStateTitle>
|
|
954
|
+
<EmptyStateDescription>{t.loadFailedLine}</EmptyStateDescription>
|
|
955
|
+
<EmptyStateActions>
|
|
956
|
+
<Button size="sm" onClick={() => props.inbox.retry(props.filter)}>
|
|
957
|
+
{t.tryAgain}
|
|
958
|
+
</Button>
|
|
959
|
+
</EmptyStateActions>
|
|
960
|
+
</EmptyState>
|
|
961
|
+
</Match>
|
|
962
|
+
<Match when={(list()?.ids.length ?? 0) === 0}>
|
|
963
|
+
<EmptyState size="sm" class={styles.state}>
|
|
964
|
+
<EmptyStateIcon icon={emptyIcons[props.filter]} />
|
|
965
|
+
<EmptyStateTitle render={(p) => (level() === 2 ? <h2 {...p} /> : <p {...p} />)}>
|
|
966
|
+
{emptyOf(t, props.filter).title}
|
|
967
|
+
</EmptyStateTitle>
|
|
968
|
+
<EmptyStateDescription>{emptyOf(t, props.filter).line}</EmptyStateDescription>
|
|
969
|
+
</EmptyState>
|
|
970
|
+
</Match>
|
|
971
|
+
<Match when={true}>
|
|
972
|
+
<For each={groups()} keyed={(g) => g.key}>
|
|
973
|
+
{(group) => {
|
|
974
|
+
const headingId = createUniqueId();
|
|
975
|
+
return (
|
|
976
|
+
<div class={styles.group} data-group={group().key}>
|
|
977
|
+
<Heading level={level()} size="sm" id={headingId} class={styles.groupHeading}>
|
|
978
|
+
{groupLabel(t, group().key)}
|
|
979
|
+
</Heading>
|
|
980
|
+
<ItemGroup aria-labelledby={headingId} class={styles.rows}>
|
|
981
|
+
<For each={group().ids}>
|
|
982
|
+
{(id) => (
|
|
983
|
+
<NotificationRow
|
|
984
|
+
id={id}
|
|
985
|
+
inbox={props.inbox}
|
|
986
|
+
size={props.size ?? "md"}
|
|
987
|
+
onOpen={props.onOpen}
|
|
988
|
+
onUpdate={props.onUpdate}
|
|
989
|
+
onAnswered={(answer, title) => {
|
|
990
|
+
setSaid(t.answered(answer, title));
|
|
991
|
+
focusRow(id);
|
|
992
|
+
}}
|
|
993
|
+
/>
|
|
994
|
+
)}
|
|
995
|
+
</For>
|
|
996
|
+
</ItemGroup>
|
|
997
|
+
</div>
|
|
998
|
+
);
|
|
999
|
+
}}
|
|
1000
|
+
</For>
|
|
1001
|
+
<Show when={list()?.next}>
|
|
1002
|
+
<div class={styles.more}>
|
|
1003
|
+
<Show when={list()?.more === "error"}>
|
|
1004
|
+
<Text size="sm" tone="danger" role="alert">
|
|
1005
|
+
{t.loadMoreFailed}
|
|
1006
|
+
</Text>
|
|
1007
|
+
</Show>
|
|
1008
|
+
<Button size="sm" onClick={more} pendingAnnouncement={t.loadingMore}>
|
|
1009
|
+
{list()?.more === "error" ? t.tryAgain : t.loadMore}
|
|
1010
|
+
</Button>
|
|
1011
|
+
</div>
|
|
1012
|
+
</Show>
|
|
1013
|
+
</Match>
|
|
1014
|
+
</Switch>
|
|
1015
|
+
</div>
|
|
1016
|
+
);
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
function NotificationRow(props: {
|
|
1020
|
+
id: string;
|
|
1021
|
+
inbox: Inbox;
|
|
1022
|
+
size: "sm" | "md";
|
|
1023
|
+
onOpen?: NotificationListProps["onOpen"];
|
|
1024
|
+
onUpdate?: (saved: boolean) => void;
|
|
1025
|
+
onAnswered: (answer: InvitationAnswer, title: string) => void;
|
|
1026
|
+
}) {
|
|
1027
|
+
const t = useNotificationsLabels();
|
|
1028
|
+
const locale = useLocale();
|
|
1029
|
+
const titleId = createUniqueId();
|
|
1030
|
+
const n = () => props.inbox.get(props.id)!;
|
|
1031
|
+
const settle = (change: Promise<void>) =>
|
|
1032
|
+
change.then(
|
|
1033
|
+
() => props.onUpdate?.(true),
|
|
1034
|
+
() => props.onUpdate?.(false),
|
|
1035
|
+
);
|
|
1036
|
+
|
|
1037
|
+
const open = (event: MouseEvent) => {
|
|
1038
|
+
if (!n().read) void settle(props.inbox.setRead([props.id], true));
|
|
1039
|
+
props.onOpen?.(n(), event);
|
|
1040
|
+
};
|
|
1041
|
+
const toggle = () => settle(props.inbox.setRead([props.id], !n().read));
|
|
1042
|
+
|
|
1043
|
+
const title = (): JSX.Element => (
|
|
1044
|
+
<>
|
|
1045
|
+
<Show when={!n().read}>
|
|
1046
|
+
<VisuallyHidden>{t.unread} </VisuallyHidden>
|
|
1047
|
+
</Show>
|
|
1048
|
+
{n().title}
|
|
1049
|
+
</>
|
|
1050
|
+
);
|
|
1051
|
+
|
|
1052
|
+
return (
|
|
1053
|
+
<Item
|
|
1054
|
+
size={props.size}
|
|
1055
|
+
class={styles.row}
|
|
1056
|
+
data-notification={props.id}
|
|
1057
|
+
data-unread={n().read ? undefined : ""}
|
|
1058
|
+
>
|
|
1059
|
+
<Show when={n().actor} fallback={<ItemMedia icon={kindIcons[n().kind]} />}>
|
|
1060
|
+
{(actor) => (
|
|
1061
|
+
<ItemMedia>
|
|
1062
|
+
<Avatar size={props.size === "sm" ? "md" : "lg"}>
|
|
1063
|
+
<AvatarImage src={actor().src} alt="" />
|
|
1064
|
+
<AvatarFallback>{initials(actor().name)}</AvatarFallback>
|
|
1065
|
+
</Avatar>
|
|
1066
|
+
</ItemMedia>
|
|
1067
|
+
)}
|
|
1068
|
+
</Show>
|
|
1069
|
+
<ItemContent>
|
|
1070
|
+
<ItemTitle class={styles.title}>
|
|
1071
|
+
<Show
|
|
1072
|
+
when={n().href}
|
|
1073
|
+
fallback={
|
|
1074
|
+
<ItemLink id={titleId} render={(p) => <button {...p} type="button" onClick={open} />}>
|
|
1075
|
+
{title()}
|
|
1076
|
+
</ItemLink>
|
|
1077
|
+
}
|
|
1078
|
+
>
|
|
1079
|
+
{(href) => (
|
|
1080
|
+
<ItemLink id={titleId} href={href()} onClick={open}>
|
|
1081
|
+
{title()}
|
|
1082
|
+
</ItemLink>
|
|
1083
|
+
)}
|
|
1084
|
+
</Show>
|
|
1085
|
+
</ItemTitle>
|
|
1086
|
+
<Show when={n().body}>
|
|
1087
|
+
{(body) => <ItemDescription class={styles.body}>{body()}</ItemDescription>}
|
|
1088
|
+
</Show>
|
|
1089
|
+
<ItemDescription class={styles.meta}>
|
|
1090
|
+
<time datetime={n().createdAt} title={fullTime(n().createdAt, props.inbox.timeZone, locale())}>
|
|
1091
|
+
{timeLabel(n().createdAt, props.inbox.now(), props.inbox.timeZone, locale(), t.justNow)}
|
|
1092
|
+
</time>
|
|
1093
|
+
<Show when={n().context}>
|
|
1094
|
+
{(context) => (
|
|
1095
|
+
<>
|
|
1096
|
+
<span aria-hidden="true"> · </span>
|
|
1097
|
+
<bdi>{context()}</bdi>
|
|
1098
|
+
</>
|
|
1099
|
+
)}
|
|
1100
|
+
</Show>
|
|
1101
|
+
</ItemDescription>
|
|
1102
|
+
<Show when={n().kind === "invitation"}>
|
|
1103
|
+
<Invitation notification={n()} inbox={props.inbox} onAnswered={props.onAnswered} />
|
|
1104
|
+
</Show>
|
|
1105
|
+
</ItemContent>
|
|
1106
|
+
<ItemActions align="start">
|
|
1107
|
+
<IconButton
|
|
1108
|
+
size="sm"
|
|
1109
|
+
class={styles.readToggle}
|
|
1110
|
+
label={n().read ? t.markUnread : t.markRead}
|
|
1111
|
+
aria-describedby={titleId}
|
|
1112
|
+
onClick={toggle}
|
|
1113
|
+
>
|
|
1114
|
+
<span class={styles.dot} aria-hidden="true" />
|
|
1115
|
+
</IconButton>
|
|
1116
|
+
</ItemActions>
|
|
1117
|
+
</Item>
|
|
1118
|
+
);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
/** Accept and Decline, pending while the answer is on its way; the answer once given; a line when it fails. */
|
|
1122
|
+
function Invitation(props: {
|
|
1123
|
+
notification: AppNotification;
|
|
1124
|
+
inbox: Inbox;
|
|
1125
|
+
onAnswered: (answer: InvitationAnswer, title: string) => void;
|
|
1126
|
+
}) {
|
|
1127
|
+
const t = useNotificationsLabels();
|
|
1128
|
+
const [sending, setSending] = createSignal<InvitationAnswer | null>(null);
|
|
1129
|
+
const [failed, setFailed] = createSignal(false);
|
|
1130
|
+
const answer = async (choice: InvitationAnswer) => {
|
|
1131
|
+
setSending(choice);
|
|
1132
|
+
setFailed(false);
|
|
1133
|
+
try {
|
|
1134
|
+
await props.inbox.respond(props.notification.id, choice);
|
|
1135
|
+
props.onAnswered(choice, props.notification.title);
|
|
1136
|
+
} catch {
|
|
1137
|
+
setFailed(true);
|
|
1138
|
+
} finally {
|
|
1139
|
+
setSending(null);
|
|
1140
|
+
}
|
|
1141
|
+
};
|
|
1142
|
+
return (
|
|
1143
|
+
<Show
|
|
1144
|
+
when={props.notification.answer}
|
|
1145
|
+
fallback={
|
|
1146
|
+
<div class={styles.responses}>
|
|
1147
|
+
<div class={styles.responseButtons}>
|
|
1148
|
+
<Button
|
|
1149
|
+
size="sm"
|
|
1150
|
+
variant="primary"
|
|
1151
|
+
disabled={sending() === "declined"}
|
|
1152
|
+
pendingAnnouncement={t.sending}
|
|
1153
|
+
onClick={() => answer("accepted")}
|
|
1154
|
+
>
|
|
1155
|
+
{t.accept}
|
|
1156
|
+
</Button>
|
|
1157
|
+
<Button
|
|
1158
|
+
size="sm"
|
|
1159
|
+
disabled={sending() === "accepted"}
|
|
1160
|
+
pendingAnnouncement={t.sending}
|
|
1161
|
+
onClick={() => answer("declined")}
|
|
1162
|
+
>
|
|
1163
|
+
{t.decline}
|
|
1164
|
+
</Button>
|
|
1165
|
+
</div>
|
|
1166
|
+
<Show when={failed()}>
|
|
1167
|
+
<Text
|
|
1168
|
+
size="sm"
|
|
1169
|
+
tone="danger"
|
|
1170
|
+
role="alert"
|
|
1171
|
+
render={(p) => <p {...p} class={[p.class as string, styles.failed]} />}
|
|
1172
|
+
>
|
|
1173
|
+
{t.respondFailed}
|
|
1174
|
+
</Text>
|
|
1175
|
+
</Show>
|
|
1176
|
+
</div>
|
|
1177
|
+
}
|
|
1178
|
+
>
|
|
1179
|
+
{(given) => (
|
|
1180
|
+
<Text size="sm" tone="muted" render={(p) => <p {...p} class={[p.class as string, styles.answer]} />}>
|
|
1181
|
+
<Icon icon={given() === "accepted" ? Check : X} />
|
|
1182
|
+
{given() === "accepted" ? t.accepted : t.declined}
|
|
1183
|
+
</Text>
|
|
1184
|
+
)}
|
|
1185
|
+
</Show>
|
|
1186
|
+
);
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/** The list's shape while it loads: a day heading and rows with a picture and two lines. */
|
|
1190
|
+
function ListSkeleton(props: { label: string; size: "sm" | "md" }) {
|
|
1191
|
+
return (
|
|
1192
|
+
<div class={styles.skeleton}>
|
|
1193
|
+
<VisuallyHidden role="status">{props.label}</VisuallyHidden>
|
|
1194
|
+
<div class={styles.group} aria-hidden="true">
|
|
1195
|
+
<div class={styles.groupHeading}>
|
|
1196
|
+
<Skeleton shape="text" style={{ width: "4.5rem" }} />
|
|
1197
|
+
</div>
|
|
1198
|
+
{Array.from({ length: 4 }, (_, i) => (
|
|
1199
|
+
<Item size={props.size} class={styles.row}>
|
|
1200
|
+
<ItemMedia>
|
|
1201
|
+
<Skeleton shape="circle" class={styles.skeletonAvatar} />
|
|
1202
|
+
</ItemMedia>
|
|
1203
|
+
<ItemContent>
|
|
1204
|
+
<Skeleton shape="text" style={{ width: i % 2 ? "70%" : "85%" }} />
|
|
1205
|
+
<Skeleton shape="text" style={{ width: i % 2 ? "30%" : "40%" }} />
|
|
1206
|
+
</ItemContent>
|
|
1207
|
+
</Item>
|
|
1208
|
+
))}
|
|
1209
|
+
</div>
|
|
1210
|
+
</div>
|
|
1211
|
+
);
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
// Dates: groups and "how long ago", in the inbox's zone and the page's locale.
|
|
1215
|
+
|
|
1216
|
+
export type DateGroup = "today" | "yesterday" | "week" | "earlier";
|
|
1217
|
+
export const dateGroups: readonly DateGroup[] = ["today", "yesterday", "week", "earlier"];
|
|
1218
|
+
|
|
1219
|
+
const formats = new Map<string, Intl.DateTimeFormat>();
|
|
1220
|
+
function format(locale: string, timeZone: string, options: Intl.DateTimeFormatOptions) {
|
|
1221
|
+
const key = `${locale}|${timeZone}|${JSON.stringify(options)}`;
|
|
1222
|
+
let f = formats.get(key);
|
|
1223
|
+
if (!f) formats.set(key, (f = new Intl.DateTimeFormat(locale, { timeZone, ...options })));
|
|
1224
|
+
return f;
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
/** The day a moment falls on in a zone, `"YYYY-MM-DD"`. */
|
|
1228
|
+
export function dayIn(value: string | Date, timeZone: string): string {
|
|
1229
|
+
const parts = format("en-US", timeZone, {
|
|
1230
|
+
year: "numeric",
|
|
1231
|
+
month: "2-digit",
|
|
1232
|
+
day: "2-digit",
|
|
1233
|
+
}).formatToParts(new Date(value));
|
|
1234
|
+
const part = (type: string) => parts.find((p) => p.type === type)?.value;
|
|
1235
|
+
return `${part("year")}-${part("month")}-${part("day")}`;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/** Today, yesterday, the six days before, or older, counted in days of the zone. */
|
|
1239
|
+
export function groupOf(createdAt: string, now: Date, timeZone: string): DateGroup {
|
|
1240
|
+
const days = daysBetween(dayIn(createdAt, timeZone), dayIn(now, timeZone));
|
|
1241
|
+
return days <= 0 ? "today" : days === 1 ? "yesterday" : days < 7 ? "week" : "earlier";
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* A row's time, for its group: "12 minutes ago" today (`justNow` under a minute), the time yesterday
|
|
1246
|
+
* ("4:12 PM"), the weekday and time this week ("Mon 9:30 AM"), the date before that ("Nov 3").
|
|
1247
|
+
*/
|
|
1248
|
+
export function timeLabel(
|
|
1249
|
+
createdAt: string,
|
|
1250
|
+
now: Date,
|
|
1251
|
+
timeZone: string,
|
|
1252
|
+
locale: string,
|
|
1253
|
+
justNow: string,
|
|
1254
|
+
): string {
|
|
1255
|
+
const at = new Date(createdAt);
|
|
1256
|
+
const group = groupOf(createdAt, now, timeZone);
|
|
1257
|
+
if (group === "today") {
|
|
1258
|
+
const minutes = Math.floor((now.getTime() - at.getTime()) / 60_000);
|
|
1259
|
+
if (minutes < 1) return justNow;
|
|
1260
|
+
const relative = new Intl.RelativeTimeFormat(locale, { numeric: "auto" });
|
|
1261
|
+
return minutes < 60
|
|
1262
|
+
? relative.format(-minutes, "minute")
|
|
1263
|
+
: relative.format(-Math.floor(minutes / 60), "hour");
|
|
1264
|
+
}
|
|
1265
|
+
if (group === "yesterday")
|
|
1266
|
+
return format(locale, timeZone, { hour: "numeric", minute: "2-digit" }).format(at);
|
|
1267
|
+
if (group === "week")
|
|
1268
|
+
return format(locale, timeZone, { weekday: "short", hour: "numeric", minute: "2-digit" }).format(at);
|
|
1269
|
+
return format(locale, timeZone, { month: "short", day: "numeric" }).format(at);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
/** The full date and time, for the time's tooltip. */
|
|
1273
|
+
export function fullTime(createdAt: string, timeZone: string, locale: string): string {
|
|
1274
|
+
return format(locale, timeZone, { dateStyle: "full", timeStyle: "short" }).format(new Date(createdAt));
|
|
1275
|
+
}
|
|
1276
|
+
```
|
|
1277
|
+
|
|
1278
|
+
```ts title="inbox.ts"
|
|
1279
|
+
/**
|
|
1280
|
+
* The inbox model the notification bell and the notifications page share: what's loaded per filter, the
|
|
1281
|
+
* unread count, and the changes (read, unread, all read, an invitation's answer), shown at once and put back
|
|
1282
|
+
* when the server refuses. Create one per signed-in user, in a component, and pass it to both views. Dates
|
|
1283
|
+
* (the day groups, "5 minutes ago") are the list's (`notification-list.tsx`): a header with the bell carries
|
|
1284
|
+
* the model without them.
|
|
1285
|
+
*/
|
|
1286
|
+
import { createSignal, createStore, onSettled, reconcile } from "solid-js";
|
|
1287
|
+
|
|
1288
|
+
/** What a notification is about. Mentions and invitations have their own filters; invitations take an answer. */
|
|
1289
|
+
export type NotificationKind = "mention" | "comment" | "invitation" | "assignment" | "update";
|
|
1290
|
+
export type InvitationAnswer = "accepted" | "declined";
|
|
1291
|
+
/** The views of the inbox. Each loads from your API on its own, a page at a time. */
|
|
1292
|
+
export type NotificationFilter = "all" | "unread" | "mentions" | "invitations";
|
|
1293
|
+
|
|
1294
|
+
/** Who caused it: their picture, or their initials. Leave it out for what the system did (a kind icon shows). */
|
|
1295
|
+
export interface NotificationActor {
|
|
1296
|
+
name: string;
|
|
1297
|
+
/** A photo's URL. */
|
|
1298
|
+
src?: string;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
export interface AppNotification {
|
|
1302
|
+
id: string;
|
|
1303
|
+
kind: NotificationKind;
|
|
1304
|
+
/** What happened, as one sentence from your server: "Ada Lovelace mentioned you in Q3 planning". */
|
|
1305
|
+
title: string;
|
|
1306
|
+
/** A line of detail under it: the comment, an invitation's note. */
|
|
1307
|
+
body?: string;
|
|
1308
|
+
/** Where it happened, after the time: "Q3 planning", "#design". */
|
|
1309
|
+
context?: string;
|
|
1310
|
+
actor?: NotificationActor;
|
|
1311
|
+
/** When it happened: an ISO date-time with an offset or `Z`. */
|
|
1312
|
+
createdAt: string;
|
|
1313
|
+
read: boolean;
|
|
1314
|
+
/** Opening the row goes here (and marks it read). Without one, the row is a button that only marks it read. */
|
|
1315
|
+
href?: string;
|
|
1316
|
+
/** For `kind: "invitation"`: your answer, once given. Left out, the row offers Accept and Decline. */
|
|
1317
|
+
answer?: InvitationAnswer;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
/** One answer to `list`: newest first. */
|
|
1321
|
+
export interface NotificationPage {
|
|
1322
|
+
items: AppNotification[];
|
|
1323
|
+
/** The cursor for the next (older) page, or `null` at the end. */
|
|
1324
|
+
next: string | null;
|
|
1325
|
+
/** Every unread notification the user has, not only this page's. */
|
|
1326
|
+
unread: number;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
/** Your server. Reject any call to show its error; the inbox puts its own changes back. */
|
|
1330
|
+
export interface NotificationsApi {
|
|
1331
|
+
/** A page of one filter's notifications, newest first; `cursor` is the last page's `next`. */
|
|
1332
|
+
list(
|
|
1333
|
+
query: { filter: NotificationFilter; cursor?: string },
|
|
1334
|
+
signal: AbortSignal,
|
|
1335
|
+
): Promise<NotificationPage>;
|
|
1336
|
+
setRead(ids: readonly string[], read: boolean): Promise<void>;
|
|
1337
|
+
/**
|
|
1338
|
+
* Marks read every notification created at or before `upTo` (an ISO date-time: the newest one the user had
|
|
1339
|
+
* when they pressed). One created later, delivered or not, stays unread.
|
|
1340
|
+
*/
|
|
1341
|
+
markAllRead(upTo: string): Promise<void>;
|
|
1342
|
+
/** Answers an invitation (and marks it read). */
|
|
1343
|
+
respond(id: string, answer: InvitationAnswer): Promise<void>;
|
|
1344
|
+
/** New notifications as they arrive (a socket, server-sent events). Returns the unsubscribe. */
|
|
1345
|
+
subscribe?(onNotification: (notification: AppNotification) => void): () => void;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
export type ListStatus = "loading" | "ready" | "error";
|
|
1349
|
+
|
|
1350
|
+
export interface InboxList {
|
|
1351
|
+
/** The rows, newest first. */
|
|
1352
|
+
ids: string[];
|
|
1353
|
+
/** The next page's cursor, `null` at the end. */
|
|
1354
|
+
next: string | null;
|
|
1355
|
+
status: ListStatus;
|
|
1356
|
+
/** "Show older": idle, on its way, or failed (the list keeps what it has). */
|
|
1357
|
+
more: "idle" | "loading" | "error";
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
export interface InboxOptions {
|
|
1361
|
+
api: NotificationsApi;
|
|
1362
|
+
/** Now, for "5 minutes ago" and the Today group: pass it from the server (and pin it for screenshots). */
|
|
1363
|
+
now?: string | Date;
|
|
1364
|
+
/** The zone days are counted in, like `"America/New_York"`: pass the user's from the server. @defaultValue the runtime's */
|
|
1365
|
+
timeZone?: string;
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
export interface Inbox {
|
|
1369
|
+
/** Every unread notification the user has; `undefined` until the first page lands. */
|
|
1370
|
+
unread(): number | undefined;
|
|
1371
|
+
list(filter: NotificationFilter): InboxList | undefined;
|
|
1372
|
+
/** `loading` also before a filter was asked for. */
|
|
1373
|
+
status(filter: NotificationFilter): ListStatus;
|
|
1374
|
+
get(id: string): AppNotification | undefined;
|
|
1375
|
+
now(): Date;
|
|
1376
|
+
readonly timeZone: string;
|
|
1377
|
+
/** Loads a filter's first page, once (the inbox loads `all` itself). */
|
|
1378
|
+
load(filter: NotificationFilter): void;
|
|
1379
|
+
/** Loads a filter's first page again, after it failed. */
|
|
1380
|
+
retry(filter: NotificationFilter): void;
|
|
1381
|
+
/** Appends the next page; resolves with the new rows' ids. Rejects when it fails (the list says so). */
|
|
1382
|
+
loadMore(filter: NotificationFilter): Promise<string[]>;
|
|
1383
|
+
/** Marks rows read or unread at once; rejects, after putting them back, when the server refuses. */
|
|
1384
|
+
setRead(ids: readonly string[], read: boolean): Promise<void>;
|
|
1385
|
+
/** Marks read everything up to the newest row the inbox holds; rows arriving meanwhile stay unread. */
|
|
1386
|
+
markAllRead(): Promise<void>;
|
|
1387
|
+
/** Saves an invitation's answer; the row changes once the server has it. Rejects when it fails. */
|
|
1388
|
+
respond(id: string, answer: InvitationAnswer): Promise<void>;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
interface State {
|
|
1392
|
+
records: Record<string, AppNotification>;
|
|
1393
|
+
lists: Partial<Record<NotificationFilter, InboxList>>;
|
|
1394
|
+
unread: number | null;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/** Which filters a notification belongs to: the client's copy of your server's rules, for new arrivals. */
|
|
1398
|
+
export function inFilter(filter: NotificationFilter, notification: AppNotification): boolean {
|
|
1399
|
+
if (filter === "unread") return !notification.read;
|
|
1400
|
+
if (filter === "mentions") return notification.kind === "mention";
|
|
1401
|
+
if (filter === "invitations") return notification.kind === "invitation";
|
|
1402
|
+
return true;
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
/** Sets a filter's list, field by field once it exists, so readers of one field don't re-run for another. */
|
|
1406
|
+
function putList(s: State, filter: NotificationFilter, list: InboxList) {
|
|
1407
|
+
const current = s.lists[filter];
|
|
1408
|
+
if (!current) {
|
|
1409
|
+
s.lists[filter] = list;
|
|
1410
|
+
return;
|
|
1411
|
+
}
|
|
1412
|
+
current.ids = list.ids;
|
|
1413
|
+
current.next = list.next;
|
|
1414
|
+
current.status = list.status;
|
|
1415
|
+
current.more = list.more;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
export function createInbox(options: InboxOptions): Inbox {
|
|
1419
|
+
const api = options.api;
|
|
1420
|
+
const timeZone = options.timeZone ?? Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
1421
|
+
const [state, setState] = createStore<State>({ records: {}, lists: {}, unread: null });
|
|
1422
|
+
const [clock, setClock] = createSignal(options.now ? new Date(options.now) : new Date());
|
|
1423
|
+
|
|
1424
|
+
// Guards that must hold within one tick live in plain variables (store writes are read back after a flush).
|
|
1425
|
+
const started = new Set<NotificationFilter>();
|
|
1426
|
+
const fetching = new Map<NotificationFilter, AbortController>();
|
|
1427
|
+
const moreBusy = new Set<NotificationFilter>();
|
|
1428
|
+
/** The latest change per row: a refused older one doesn't undo a newer one. */
|
|
1429
|
+
const latest = new Map<string, number>();
|
|
1430
|
+
let changes = 0;
|
|
1431
|
+
/** The last Mark all as read (saving or saved): its change number and `upTo`, as a time. */
|
|
1432
|
+
let allRead = { change: 0, upTo: Number.NEGATIVE_INFINITY };
|
|
1433
|
+
|
|
1434
|
+
const first = (filter: NotificationFilter) => {
|
|
1435
|
+
fetching.get(filter)?.abort();
|
|
1436
|
+
const controller = new AbortController();
|
|
1437
|
+
fetching.set(filter, controller);
|
|
1438
|
+
const since = changes;
|
|
1439
|
+
setState((s) => {
|
|
1440
|
+
putList(s, filter, { ids: [], next: null, status: "loading", more: "idle" });
|
|
1441
|
+
});
|
|
1442
|
+
api.list({ filter }, controller.signal).then(
|
|
1443
|
+
(page) => {
|
|
1444
|
+
if (controller.signal.aborted) return;
|
|
1445
|
+
setState((s) => {
|
|
1446
|
+
for (const n of page.items) keep(s, n, since);
|
|
1447
|
+
putList(s, filter, {
|
|
1448
|
+
ids: page.items.map((n) => n.id),
|
|
1449
|
+
next: page.next,
|
|
1450
|
+
status: "ready",
|
|
1451
|
+
more: "idle",
|
|
1452
|
+
});
|
|
1453
|
+
if (s.unread === null) s.unread = page.unread;
|
|
1454
|
+
});
|
|
1455
|
+
},
|
|
1456
|
+
() => {
|
|
1457
|
+
if (controller.signal.aborted) return;
|
|
1458
|
+
setState((s) => {
|
|
1459
|
+
s.lists[filter]!.status = "error";
|
|
1460
|
+
});
|
|
1461
|
+
},
|
|
1462
|
+
);
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
/**
|
|
1466
|
+
* Stores a row from the server. A row the user changed after the request went out (read, unread, all read,
|
|
1467
|
+
* an answer) keeps its own `read` and `answer`: the server may have read the page before the change.
|
|
1468
|
+
*/
|
|
1469
|
+
const keep = (s: State, n: AppNotification, since: number) => {
|
|
1470
|
+
const local = s.records[n.id];
|
|
1471
|
+
// A Mark all made after the request went out covers rows the server read before it, new ones too.
|
|
1472
|
+
const covered = allRead.change > since && Date.parse(n.createdAt) <= allRead.upTo;
|
|
1473
|
+
if (!local) {
|
|
1474
|
+
s.records[n.id] = covered ? { ...n, read: true } : n;
|
|
1475
|
+
return;
|
|
1476
|
+
}
|
|
1477
|
+
const mine = (latest.get(n.id) ?? 0) > since;
|
|
1478
|
+
const read = local.read;
|
|
1479
|
+
const answer = local.answer;
|
|
1480
|
+
// Merged field by field, so a row that comes back unchanged doesn't re-render.
|
|
1481
|
+
reconcile(n, "id")(local);
|
|
1482
|
+
if (covered) local.read = true;
|
|
1483
|
+
if (mine) {
|
|
1484
|
+
local.read = read;
|
|
1485
|
+
local.answer = answer;
|
|
1486
|
+
}
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
const load = (filter: NotificationFilter) => {
|
|
1490
|
+
if (started.has(filter)) return;
|
|
1491
|
+
started.add(filter);
|
|
1492
|
+
first(filter);
|
|
1493
|
+
};
|
|
1494
|
+
|
|
1495
|
+
/** Writes rows' read state and the count; returns the rows it changed. */
|
|
1496
|
+
const applyRead = (ids: readonly string[], read: boolean) => {
|
|
1497
|
+
const changed = ids.filter((id) => state.records[id] && state.records[id].read !== read);
|
|
1498
|
+
if (!changed.length) return changed;
|
|
1499
|
+
setState((s) => {
|
|
1500
|
+
for (const id of changed) s.records[id]!.read = read;
|
|
1501
|
+
if (s.unread !== null) s.unread = Math.max(0, s.unread + (read ? -changed.length : changed.length));
|
|
1502
|
+
});
|
|
1503
|
+
return changed;
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
const setRead = async (ids: readonly string[], read: boolean) => {
|
|
1507
|
+
const changed = applyRead(ids, read);
|
|
1508
|
+
if (!changed.length) return;
|
|
1509
|
+
const change = ++changes;
|
|
1510
|
+
for (const id of changed) latest.set(id, change);
|
|
1511
|
+
try {
|
|
1512
|
+
await api.setRead(changed, read);
|
|
1513
|
+
} catch (error) {
|
|
1514
|
+
applyRead(
|
|
1515
|
+
changed.filter((id) => latest.get(id) === change),
|
|
1516
|
+
!read,
|
|
1517
|
+
);
|
|
1518
|
+
throw error;
|
|
1519
|
+
}
|
|
1520
|
+
};
|
|
1521
|
+
|
|
1522
|
+
const markAllRead = async () => {
|
|
1523
|
+
// Everything up to the newest row the inbox holds. The server marks the same, so the count agrees, and
|
|
1524
|
+
// rows that arrive while it saves stay unread.
|
|
1525
|
+
const stored = Object.values(state.records);
|
|
1526
|
+
const upTo = stored.reduce(
|
|
1527
|
+
(max, n) => (Date.parse(n.createdAt) > Date.parse(max) ? n.createdAt : max),
|
|
1528
|
+
"1970-01-01T00:00:00Z",
|
|
1529
|
+
);
|
|
1530
|
+
const seen = (n: AppNotification) => Date.parse(n.createdAt) <= Date.parse(upTo);
|
|
1531
|
+
const ids = stored.filter((n) => !n.read && seen(n)).map((n) => n.id);
|
|
1532
|
+
// The count drops by all it had but the rows newer than `upTo` (unloaded unread rows are older).
|
|
1533
|
+
const newer = stored.filter((n) => !n.read && !seen(n)).length;
|
|
1534
|
+
const drop = Math.max(0, (state.unread ?? 0) - newer);
|
|
1535
|
+
const unreadList = state.lists.unread;
|
|
1536
|
+
// The Unread view drops every row up to then (also ones read one by one), keeping what's newer.
|
|
1537
|
+
const removed = new Set(unreadList?.ids.filter((id) => state.records[id] && seen(state.records[id])));
|
|
1538
|
+
const kept = unreadList && { ids: unreadList.ids.filter((id) => removed.has(id)), next: unreadList.next };
|
|
1539
|
+
const change = ++changes;
|
|
1540
|
+
for (const id of ids) latest.set(id, change);
|
|
1541
|
+
const before = allRead;
|
|
1542
|
+
allRead = { change, upTo: Date.parse(upTo) };
|
|
1543
|
+
setState((s) => {
|
|
1544
|
+
for (const id of ids) s.records[id]!.read = true;
|
|
1545
|
+
if (s.unread !== null) s.unread = Math.max(0, s.unread - drop);
|
|
1546
|
+
if (s.lists.unread) {
|
|
1547
|
+
s.lists.unread.ids = s.lists.unread.ids.filter((id) => !removed.has(id));
|
|
1548
|
+
s.lists.unread.next = null;
|
|
1549
|
+
}
|
|
1550
|
+
});
|
|
1551
|
+
try {
|
|
1552
|
+
await api.markAllRead(upTo);
|
|
1553
|
+
} catch (error) {
|
|
1554
|
+
if (allRead.change === change) allRead = before;
|
|
1555
|
+
// Undo by the difference: rows changed since keep their newer state, and arrivals stay on top.
|
|
1556
|
+
const back = new Set(ids.filter((id) => latest.get(id) === change));
|
|
1557
|
+
setState((s) => {
|
|
1558
|
+
for (const id of back) s.records[id]!.read = false;
|
|
1559
|
+
if (s.unread !== null) s.unread += drop - (ids.length - back.size);
|
|
1560
|
+
if (s.lists.unread && kept) {
|
|
1561
|
+
const now = s.lists.unread.ids.filter((id) => !removed.has(id));
|
|
1562
|
+
s.lists.unread.ids = [...now, ...kept.ids];
|
|
1563
|
+
s.lists.unread.next = kept.next;
|
|
1564
|
+
}
|
|
1565
|
+
});
|
|
1566
|
+
throw error;
|
|
1567
|
+
}
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
const loadMore = async (filter: NotificationFilter) => {
|
|
1571
|
+
const list = state.lists[filter];
|
|
1572
|
+
if (!list?.next || moreBusy.has(filter)) return [];
|
|
1573
|
+
const cursor = list.next;
|
|
1574
|
+
moreBusy.add(filter);
|
|
1575
|
+
// Kept with the first page's request: loading the filter again, or the inbox going away, aborts it.
|
|
1576
|
+
const controller = new AbortController();
|
|
1577
|
+
fetching.set(filter, controller);
|
|
1578
|
+
const since = changes;
|
|
1579
|
+
setState((s) => {
|
|
1580
|
+
s.lists[filter]!.more = "loading";
|
|
1581
|
+
});
|
|
1582
|
+
try {
|
|
1583
|
+
const page = await api.list({ filter, cursor }, controller.signal);
|
|
1584
|
+
if (controller.signal.aborted) return [];
|
|
1585
|
+
// New arrivals shift a server's offsets: skip rows the list already has.
|
|
1586
|
+
const have = new Set(state.lists[filter]!.ids);
|
|
1587
|
+
const fresh = page.items.filter((n) => !have.has(n.id));
|
|
1588
|
+
setState((s) => {
|
|
1589
|
+
for (const n of fresh) keep(s, n, since);
|
|
1590
|
+
const l = s.lists[filter]!;
|
|
1591
|
+
l.ids.push(...fresh.map((n) => n.id));
|
|
1592
|
+
l.next = page.next;
|
|
1593
|
+
l.more = "idle";
|
|
1594
|
+
});
|
|
1595
|
+
return fresh.map((n) => n.id);
|
|
1596
|
+
} catch (error) {
|
|
1597
|
+
if (controller.signal.aborted) return [];
|
|
1598
|
+
setState((s) => {
|
|
1599
|
+
s.lists[filter]!.more = "error";
|
|
1600
|
+
});
|
|
1601
|
+
throw error;
|
|
1602
|
+
} finally {
|
|
1603
|
+
moreBusy.delete(filter);
|
|
1604
|
+
}
|
|
1605
|
+
};
|
|
1606
|
+
|
|
1607
|
+
const respond = async (id: string, answer: InvitationAnswer) => {
|
|
1608
|
+
await api.respond(id, answer);
|
|
1609
|
+
latest.set(id, ++changes);
|
|
1610
|
+
setState((s) => {
|
|
1611
|
+
const n = s.records[id];
|
|
1612
|
+
if (!n) return;
|
|
1613
|
+
n.answer = answer;
|
|
1614
|
+
if (!n.read) {
|
|
1615
|
+
n.read = true;
|
|
1616
|
+
if (s.unread !== null) s.unread = Math.max(0, s.unread - 1);
|
|
1617
|
+
}
|
|
1618
|
+
});
|
|
1619
|
+
};
|
|
1620
|
+
|
|
1621
|
+
const arrive = (n: AppNotification) => {
|
|
1622
|
+
if (state.records[n.id]) return;
|
|
1623
|
+
setState((s) => {
|
|
1624
|
+
s.records[n.id] = n;
|
|
1625
|
+
for (const [filter, list] of Object.entries(s.lists) as [NotificationFilter, InboxList][])
|
|
1626
|
+
if (list.status === "ready" && inFilter(filter, n)) list.ids.unshift(n.id);
|
|
1627
|
+
if (!n.read && s.unread !== null) s.unread += 1;
|
|
1628
|
+
});
|
|
1629
|
+
};
|
|
1630
|
+
|
|
1631
|
+
onSettled(() => {
|
|
1632
|
+
load("all");
|
|
1633
|
+
const unsubscribe = api.subscribe?.(arrive);
|
|
1634
|
+
// Without a pinned `now`, the times move on once a minute.
|
|
1635
|
+
const timer = options.now ? undefined : setInterval(() => setClock(new Date()), 60_000);
|
|
1636
|
+
return () => {
|
|
1637
|
+
unsubscribe?.();
|
|
1638
|
+
clearInterval(timer);
|
|
1639
|
+
for (const controller of fetching.values()) controller.abort();
|
|
1640
|
+
};
|
|
1641
|
+
});
|
|
1642
|
+
|
|
1643
|
+
return {
|
|
1644
|
+
unread: () => state.unread ?? undefined,
|
|
1645
|
+
list: (filter) => state.lists[filter],
|
|
1646
|
+
status: (filter) => state.lists[filter]?.status ?? "loading",
|
|
1647
|
+
get: (id) => state.records[id],
|
|
1648
|
+
now: clock,
|
|
1649
|
+
timeZone,
|
|
1650
|
+
load,
|
|
1651
|
+
retry: first,
|
|
1652
|
+
loadMore,
|
|
1653
|
+
setRead,
|
|
1654
|
+
markAllRead,
|
|
1655
|
+
respond,
|
|
1656
|
+
};
|
|
1657
|
+
}
|
|
1658
|
+
```
|
|
1659
|
+
|
|
1660
|
+
```tsx title="labels.tsx"
|
|
1661
|
+
/**
|
|
1662
|
+
* The notification blocks' words, in English. Pass `labels` (any subset of these) to `NotificationBell` or
|
|
1663
|
+
* `NotificationsPage`, or wrap part of the page in `<NotificationsLabelsProvider labels={…}>`, to translate or
|
|
1664
|
+
* reword them. Times follow `LocaleProvider`'s locale. The keys are grouped by the file that shows them.
|
|
1665
|
+
*/
|
|
1666
|
+
import type { JSX } from "@solidjs/web";
|
|
1667
|
+
import { createContext, getOwner, useContext } from "solid-js";
|
|
1668
|
+
|
|
1669
|
+
export const notificationsLabels = {
|
|
1670
|
+
// notification-list.tsx
|
|
1671
|
+
/** The date groups, newest first. */
|
|
1672
|
+
groupToday: "Today",
|
|
1673
|
+
groupYesterday: "Yesterday",
|
|
1674
|
+
groupWeek: "Earlier this week",
|
|
1675
|
+
groupEarlier: "Older",
|
|
1676
|
+
/** Before an unread row's title, for screen readers. */
|
|
1677
|
+
unread: "Unread:",
|
|
1678
|
+
/** How long ago, under a minute. Longer ago reads from the locale ("12 minutes ago", "Yesterday, 4:12 PM"). */
|
|
1679
|
+
justNow: "Just now",
|
|
1680
|
+
markRead: "Mark as read",
|
|
1681
|
+
markUnread: "Mark as unread",
|
|
1682
|
+
accept: "Accept",
|
|
1683
|
+
decline: "Decline",
|
|
1684
|
+
accepted: "Accepted",
|
|
1685
|
+
declined: "Declined",
|
|
1686
|
+
/** Said while an answer is on its way (the pressed button's pending announcement). */
|
|
1687
|
+
sending: "Sending your answer…",
|
|
1688
|
+
respondFailed: "Couldn't send your answer. Try again.",
|
|
1689
|
+
/** Said once an answer is saved, with the row's title. */
|
|
1690
|
+
answered: (answer: "accepted" | "declined", title: string) =>
|
|
1691
|
+
`${answer === "accepted" ? "Accepted" : "Declined"}: ${title}`,
|
|
1692
|
+
loadMore: "Show older",
|
|
1693
|
+
loadingMore: "Loading older notifications…",
|
|
1694
|
+
loadMoreFailed: "Couldn't load older notifications.",
|
|
1695
|
+
tryAgain: "Try again",
|
|
1696
|
+
loading: "Loading notifications…",
|
|
1697
|
+
loadFailedTitle: "Couldn't load notifications",
|
|
1698
|
+
loadFailedLine: "Check your connection, then try again.",
|
|
1699
|
+
updateFailed: "Couldn't update your notifications. They're back as they were; try again.",
|
|
1700
|
+
/** What each filter shows when it has nothing: a title and a line. */
|
|
1701
|
+
emptyAll: { title: "No notifications yet", line: "Mentions, invitations and updates show up here." },
|
|
1702
|
+
emptyUnread: { title: "You're all caught up", line: "New notifications show up here as they arrive." },
|
|
1703
|
+
emptyMentions: { title: "No mentions", line: "When someone @mentions you, it shows up here." },
|
|
1704
|
+
emptyInvitations: { title: "No invitations", line: "Invitations to workspaces and meetings show up here." },
|
|
1705
|
+
|
|
1706
|
+
// notification-bell.tsx
|
|
1707
|
+
notifications: "Notifications",
|
|
1708
|
+
/** The bell's name with a count ("Notifications, 3 unread"). */
|
|
1709
|
+
bellUnread: (count: number) => `Notifications, ${count} unread`,
|
|
1710
|
+
/** Said when the popover's module couldn't load after a press on the bell (the next press tries again). */
|
|
1711
|
+
bellFailed: "Couldn't open notifications. Try again.",
|
|
1712
|
+
/** Said politely when the count changes. */
|
|
1713
|
+
unreadNow: (count: number) =>
|
|
1714
|
+
count === 0
|
|
1715
|
+
? "No unread notifications"
|
|
1716
|
+
: count === 1
|
|
1717
|
+
? "1 unread notification"
|
|
1718
|
+
: `${count} unread notifications`,
|
|
1719
|
+
markAllRead: "Mark all as read",
|
|
1720
|
+
viewAll: "View all notifications",
|
|
1721
|
+
|
|
1722
|
+
// notifications-page.tsx
|
|
1723
|
+
/** The filter tabs' name. */
|
|
1724
|
+
filters: "Filter notifications",
|
|
1725
|
+
filterAll: "All",
|
|
1726
|
+
filterUnread: "Unread",
|
|
1727
|
+
filterMentions: "Mentions",
|
|
1728
|
+
filterInvitations: "Invitations",
|
|
1729
|
+
/** The button at the end of the filter tabs that holds the ones that don't fit. */
|
|
1730
|
+
moreFilters: "More filters",
|
|
1731
|
+
/** Under the page's title. */
|
|
1732
|
+
unreadSummary: (count: number) => (count === 0 ? "All caught up" : `${count} unread`),
|
|
1733
|
+
};
|
|
1734
|
+
|
|
1735
|
+
export type NotificationsLabels = typeof notificationsLabels;
|
|
1736
|
+
|
|
1737
|
+
const LabelsContext = createContext<NotificationsLabels | null>(null);
|
|
1738
|
+
|
|
1739
|
+
/** The words in effect: the nearest `labels` override, else the English above (also outside a component). */
|
|
1740
|
+
export function useNotificationsLabels(): NotificationsLabels {
|
|
1741
|
+
return (getOwner() ? useContext(LabelsContext) : null) ?? notificationsLabels;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/** Overrides some of the blocks' words for everything inside; nested overrides merge. */
|
|
1745
|
+
export function NotificationsLabelsProvider(props: {
|
|
1746
|
+
labels?: Partial<NotificationsLabels>;
|
|
1747
|
+
children: JSX.Element;
|
|
1748
|
+
}) {
|
|
1749
|
+
const parent = useNotificationsLabels();
|
|
1750
|
+
const value = new Proxy(parent, {
|
|
1751
|
+
get: (target, key) =>
|
|
1752
|
+
(props.labels as Record<PropertyKey, unknown> | undefined)?.[key] ?? Reflect.get(target, key),
|
|
1753
|
+
});
|
|
1754
|
+
return <LabelsContext value={value}>{props.children}</LabelsContext>;
|
|
1755
|
+
}
|
|
1756
|
+
```
|
|
1757
|
+
|
|
1758
|
+
```css title="notifications.module.css"
|
|
1759
|
+
/* The notification blocks: tokens only (`--sui-*`), logical properties, so themes and right to left follow.
|
|
1760
|
+
Core (the list both views render), then the bell's popover, then the page. */
|
|
1761
|
+
|
|
1762
|
+
/* Core: notification-list.tsx */
|
|
1763
|
+
|
|
1764
|
+
.list {
|
|
1765
|
+
display: flex;
|
|
1766
|
+
flex-direction: column;
|
|
1767
|
+
min-width: 0;
|
|
1768
|
+
}
|
|
1769
|
+
/* In the popover the rows sit 4px inside the panel, so a row's hover fill doesn't touch its edges; the day
|
|
1770
|
+
headings start on the rows' media edge (16px in). */
|
|
1771
|
+
.list[data-size="sm"] {
|
|
1772
|
+
padding: var(--sui-space-1);
|
|
1773
|
+
--group-inset: var(--sui-space-3);
|
|
1774
|
+
}
|
|
1775
|
+
/* On the page the rows' boxes hang out by their padding, so their pictures start on the page's text line,
|
|
1776
|
+
under the title and the tabs. */
|
|
1777
|
+
.list[data-size="md"] {
|
|
1778
|
+
margin-inline: calc(-1 * var(--sui-space-4));
|
|
1779
|
+
--group-inset: var(--sui-space-4);
|
|
1780
|
+
}
|
|
1781
|
+
|
|
1782
|
+
.group {
|
|
1783
|
+
display: flex;
|
|
1784
|
+
flex-direction: column;
|
|
1785
|
+
min-width: 0;
|
|
1786
|
+
}
|
|
1787
|
+
.groupHeading {
|
|
1788
|
+
margin: 0;
|
|
1789
|
+
padding-block: var(--sui-space-3) var(--sui-space-1);
|
|
1790
|
+
padding-inline: var(--group-inset);
|
|
1791
|
+
color: var(--sui-text-muted);
|
|
1792
|
+
font-size: var(--sui-text-xs);
|
|
1793
|
+
font-weight: var(--sui-weight-medium);
|
|
1794
|
+
}
|
|
1795
|
+
.group:first-child .groupHeading {
|
|
1796
|
+
padding-block-start: var(--sui-space-2);
|
|
1797
|
+
}
|
|
1798
|
+
.rows {
|
|
1799
|
+
min-width: 0;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
.row {
|
|
1803
|
+
--item-content-basis: 10rem;
|
|
1804
|
+
}
|
|
1805
|
+
/* Unread: a semibold title and a filled dot, so shape and weight say it as well as color. No row fill: rows
|
|
1806
|
+
sit flush in the list, and tinted rows read as a stack of separate cards. Read: a regular title. */
|
|
1807
|
+
.row[data-unread] .title {
|
|
1808
|
+
font-weight: var(--sui-weight-semibold);
|
|
1809
|
+
}
|
|
1810
|
+
.row:not([data-unread]) .title {
|
|
1811
|
+
font-weight: var(--sui-weight-regular);
|
|
1812
|
+
}
|
|
1813
|
+
.body {
|
|
1814
|
+
display: -webkit-box;
|
|
1815
|
+
-webkit-box-orient: vertical;
|
|
1816
|
+
-webkit-line-clamp: 2;
|
|
1817
|
+
line-clamp: 2;
|
|
1818
|
+
overflow: hidden;
|
|
1819
|
+
}
|
|
1820
|
+
.meta time {
|
|
1821
|
+
unicode-bidi: plaintext;
|
|
1822
|
+
}
|
|
1823
|
+
|
|
1824
|
+
/* The dot is the read toggle: filled while unread, a ring on hover or focus once read (always on touch). It's
|
|
1825
|
+
drawn with a border, which forced colors keep. */
|
|
1826
|
+
.readToggle {
|
|
1827
|
+
flex: none;
|
|
1828
|
+
}
|
|
1829
|
+
.dot {
|
|
1830
|
+
box-sizing: border-box;
|
|
1831
|
+
inline-size: 0.625rem;
|
|
1832
|
+
block-size: 0.625rem;
|
|
1833
|
+
border-radius: 50%;
|
|
1834
|
+
border: 0.3125rem solid var(--sui-accent);
|
|
1835
|
+
}
|
|
1836
|
+
.row:not([data-unread]) .dot {
|
|
1837
|
+
border-width: 1.5px;
|
|
1838
|
+
border-color: var(--sui-text-muted);
|
|
1839
|
+
opacity: 0;
|
|
1840
|
+
}
|
|
1841
|
+
.row:not([data-unread]):hover .dot,
|
|
1842
|
+
.row:not([data-unread]) .readToggle:focus-visible .dot {
|
|
1843
|
+
opacity: 1;
|
|
1844
|
+
}
|
|
1845
|
+
@media (hover: none) {
|
|
1846
|
+
.row:not([data-unread]) .dot {
|
|
1847
|
+
opacity: 1;
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/* Accept and Decline sit over the row's stretched link, so they stay their own targets. */
|
|
1852
|
+
.responses {
|
|
1853
|
+
position: relative;
|
|
1854
|
+
z-index: 1;
|
|
1855
|
+
display: flex;
|
|
1856
|
+
flex-direction: column;
|
|
1857
|
+
gap: var(--sui-space-1_5);
|
|
1858
|
+
margin-block-start: var(--sui-space-2);
|
|
1859
|
+
}
|
|
1860
|
+
.responseButtons {
|
|
1861
|
+
display: flex;
|
|
1862
|
+
flex-wrap: wrap;
|
|
1863
|
+
gap: var(--sui-space-2);
|
|
1864
|
+
}
|
|
1865
|
+
.failed {
|
|
1866
|
+
margin: 0;
|
|
1867
|
+
}
|
|
1868
|
+
.answer {
|
|
1869
|
+
display: flex;
|
|
1870
|
+
align-items: center;
|
|
1871
|
+
gap: var(--sui-space-1);
|
|
1872
|
+
margin: var(--sui-space-1) 0 0;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
.more {
|
|
1876
|
+
display: flex;
|
|
1877
|
+
flex-direction: column;
|
|
1878
|
+
align-items: center;
|
|
1879
|
+
gap: var(--sui-space-2);
|
|
1880
|
+
padding: var(--sui-space-2) var(--group-inset) var(--sui-space-3);
|
|
1881
|
+
text-align: center;
|
|
1882
|
+
}
|
|
1883
|
+
.state {
|
|
1884
|
+
padding-block: var(--sui-space-6);
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
.skeleton {
|
|
1888
|
+
display: flex;
|
|
1889
|
+
flex-direction: column;
|
|
1890
|
+
}
|
|
1891
|
+
.skeletonAvatar {
|
|
1892
|
+
inline-size: 2.5rem;
|
|
1893
|
+
block-size: 2.5rem;
|
|
1894
|
+
}
|
|
1895
|
+
.list[data-size="sm"] .skeletonAvatar {
|
|
1896
|
+
inline-size: 2rem;
|
|
1897
|
+
block-size: 2rem;
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
.problem {
|
|
1901
|
+
margin: 0;
|
|
1902
|
+
}
|
|
1903
|
+
|
|
1904
|
+
/* The bell and its popover: notification-bell.tsx */
|
|
1905
|
+
|
|
1906
|
+
.bellWrap {
|
|
1907
|
+
display: inline-flex;
|
|
1908
|
+
}
|
|
1909
|
+
.bell {
|
|
1910
|
+
position: relative;
|
|
1911
|
+
overflow: visible;
|
|
1912
|
+
}
|
|
1913
|
+
/* The count sits on the bell's corner, ringed in the surface so it reads apart from the glyph; it hangs
|
|
1914
|
+
4px past the box (positioned from inside the button's 1px border, hence the pixel), in a header's padding
|
|
1915
|
+
or its gap. */
|
|
1916
|
+
.count {
|
|
1917
|
+
position: absolute;
|
|
1918
|
+
inset-block-start: calc(-0.25rem - 1px);
|
|
1919
|
+
inset-inline-end: calc(-0.25rem - 1px);
|
|
1920
|
+
min-inline-size: 1.125rem;
|
|
1921
|
+
justify-content: center;
|
|
1922
|
+
padding-inline: var(--sui-space-1);
|
|
1923
|
+
box-shadow: 0 0 0 2px var(--sui-surface);
|
|
1924
|
+
pointer-events: none;
|
|
1925
|
+
}
|
|
1926
|
+
|
|
1927
|
+
.panel {
|
|
1928
|
+
display: flex;
|
|
1929
|
+
flex-direction: column;
|
|
1930
|
+
max-block-size: min(34rem, var(--available-height, 34rem));
|
|
1931
|
+
min-block-size: 0;
|
|
1932
|
+
}
|
|
1933
|
+
.popover[data-presentation="sheet"] .panel {
|
|
1934
|
+
max-block-size: none;
|
|
1935
|
+
block-size: 100%;
|
|
1936
|
+
}
|
|
1937
|
+
.panelHeader {
|
|
1938
|
+
display: flex;
|
|
1939
|
+
align-items: center;
|
|
1940
|
+
justify-content: space-between;
|
|
1941
|
+
gap: var(--sui-space-3);
|
|
1942
|
+
padding-block: var(--sui-space-2);
|
|
1943
|
+
padding-inline: var(--sui-space-4) var(--sui-space-2);
|
|
1944
|
+
border-block-end: 1px solid var(--sui-border);
|
|
1945
|
+
}
|
|
1946
|
+
.panelTitle {
|
|
1947
|
+
margin: 0;
|
|
1948
|
+
}
|
|
1949
|
+
.panel > .problem {
|
|
1950
|
+
padding: var(--sui-space-2) var(--sui-space-4) 0;
|
|
1951
|
+
}
|
|
1952
|
+
.panelScroll {
|
|
1953
|
+
flex: 0 1 auto;
|
|
1954
|
+
min-block-size: 0;
|
|
1955
|
+
}
|
|
1956
|
+
.panelFooter {
|
|
1957
|
+
display: flex;
|
|
1958
|
+
justify-content: center;
|
|
1959
|
+
padding: var(--sui-space-2) var(--sui-space-4);
|
|
1960
|
+
border-block-start: 1px solid var(--sui-border);
|
|
1961
|
+
}
|
|
1962
|
+
|
|
1963
|
+
/* The page: notifications-page.tsx. A size container: it tightens at its own width, not the window's. */
|
|
1964
|
+
|
|
1965
|
+
.page {
|
|
1966
|
+
container: notifications-page / inline-size;
|
|
1967
|
+
box-sizing: border-box;
|
|
1968
|
+
inline-size: 100%;
|
|
1969
|
+
}
|
|
1970
|
+
.pageInner {
|
|
1971
|
+
box-sizing: border-box;
|
|
1972
|
+
display: flex;
|
|
1973
|
+
flex-direction: column;
|
|
1974
|
+
gap: var(--sui-space-4);
|
|
1975
|
+
max-inline-size: 48rem;
|
|
1976
|
+
margin-inline: auto;
|
|
1977
|
+
padding: var(--sui-space-6);
|
|
1978
|
+
}
|
|
1979
|
+
@container notifications-page (max-width: 32rem) {
|
|
1980
|
+
.pageInner {
|
|
1981
|
+
padding: var(--sui-space-4);
|
|
1982
|
+
}
|
|
1983
|
+
}
|
|
1984
|
+
.pageHeader {
|
|
1985
|
+
display: flex;
|
|
1986
|
+
flex-wrap: wrap;
|
|
1987
|
+
align-items: center;
|
|
1988
|
+
justify-content: space-between;
|
|
1989
|
+
gap: var(--sui-space-3);
|
|
1990
|
+
}
|
|
1991
|
+
.pageHeading {
|
|
1992
|
+
display: flex;
|
|
1993
|
+
flex-direction: column;
|
|
1994
|
+
gap: var(--sui-space-1);
|
|
1995
|
+
min-width: 0;
|
|
1996
|
+
}
|
|
1997
|
+
.summary {
|
|
1998
|
+
margin: 0;
|
|
1999
|
+
}
|
|
2000
|
+
.tabs {
|
|
2001
|
+
min-width: 0;
|
|
2002
|
+
}
|
|
2003
|
+
/* The first tab's label starts on the page's text line, under the title: the strip hangs out by a tab's
|
|
2004
|
+
padding on both sides (the list hangs out at its start by itself; the strip with More, at its end). */
|
|
2005
|
+
.tabs > [data-slot="tabs-overflow"] {
|
|
2006
|
+
margin-inline-end: calc(-1 * var(--sui-space-2));
|
|
2007
|
+
}
|
|
2008
|
+
.tabPanel {
|
|
2009
|
+
padding-block-start: var(--sui-space-2);
|
|
2010
|
+
}
|
|
2011
|
+
```
|