@zsherman/kit 0.0.0-stage → 0.1.1
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 +32 -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 +546 -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 +118 -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 +390 -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 +439 -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 +91 -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 +356 -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 +1715 -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 +471 -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 +865 -4
- package/skills/solid-ui-kit/SKILL.md +58 -0
|
@@ -0,0 +1,2259 @@
|
|
|
1
|
+
# Settings: account pages (source)
|
|
2
|
+
|
|
3
|
+
Part of the [settings block](./settings.md): read that page first for the recipes, the props of each page and how the save bar works. Profile (Formisch + valibot, a photo crop), Appearance, Keyboard shortcuts, Notifications and Security (with `qr.ts`, the QR code encoder Security's two-factor step uses). They need the core files ([settings-core.md](./settings-core.md)) and `page-layouts` ([page-layouts.md](./page-layouts.md)) beside them. Each page is optional: copy the ones your `nav` lists.
|
|
4
|
+
|
|
5
|
+
**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).
|
|
6
|
+
|
|
7
|
+
| File | Lines |
|
|
8
|
+
| ------------------- | ----- |
|
|
9
|
+
| `profile.tsx` | 437 |
|
|
10
|
+
| `appearance.tsx` | 244 |
|
|
11
|
+
| `shortcuts.tsx` | 195 |
|
|
12
|
+
| `notifications.tsx` | 375 |
|
|
13
|
+
| `security.tsx` | 600 |
|
|
14
|
+
| `qr.ts` | 302 |
|
|
15
|
+
|
|
16
|
+
To write them into your app (the whole Settings block, this page's files included), from its root:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npx solid-ui-kit add settings
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
It writes `src/components/settings/` (`--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.
|
|
23
|
+
|
|
24
|
+
Appearance takes its `Appearance` type (scheme, density, typography) from the [app shell](./app-shell.md)'s `appearance.tsx`, which imports that folder's `prefs.ts` and `labels.tsx`: copy those three into `app-shell/` beside `settings/` (or replace the import with your own `Appearance` type). The same file's `createAppearance()` saves the choice to a cookie; apply it, with the page's live preview, through the kit `Theme`:
|
|
25
|
+
|
|
26
|
+
```tsx
|
|
27
|
+
import { Theme } from "@zsherman/kit/theme";
|
|
28
|
+
import { type Appearance, createAppearance } from "../app-shell/appearance";
|
|
29
|
+
|
|
30
|
+
const saved = createAppearance();
|
|
31
|
+
const [preview, setPreview] = createSignal<Appearance>();
|
|
32
|
+
const look = () => preview() ?? saved.value();
|
|
33
|
+
|
|
34
|
+
<Theme
|
|
35
|
+
scheme={look().scheme === "system" ? undefined : look().scheme}
|
|
36
|
+
density={look().density}
|
|
37
|
+
typography={look().typography}
|
|
38
|
+
>
|
|
39
|
+
{/* the app, with the settings inside */}
|
|
40
|
+
</Theme>;
|
|
41
|
+
|
|
42
|
+
// in nav:
|
|
43
|
+
lazyPage(
|
|
44
|
+
() => import("./settings/appearance"),
|
|
45
|
+
(m) => (
|
|
46
|
+
<m.AppearanceSettings
|
|
47
|
+
value={saved.value()}
|
|
48
|
+
onPreview={setPreview}
|
|
49
|
+
onSave={async (next) => saved.set(next)}
|
|
50
|
+
/>
|
|
51
|
+
),
|
|
52
|
+
);
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Notifications' intro and quiet-hours sentences (`whereEachKindOfUpdate` and `quietHoursDescription` in `labels.tsx`) describe the demo's rules: "Failed payments always email owners", Push and Slack waiting for quiet hours. Rewrite them for your events and channels, or pass your own through `labels`.
|
|
56
|
+
|
|
57
|
+
Keyboard shortcuts (`shortcuts.tsx`) lists your commands, each with its shortcuts, any number of them: a kit [ShortcutRecorderPopover](../shortcut-recorder.md#in-a-popover) per shortcut (press it, type the new keys, Save; Remove takes it off) and a + that adds one. Reset puts a command's defaults back, the bin removes all of its shortcuts, Reset all puts every default back, and the changes keep with the save bar. Keys another command has (in the draft, not only as saved) warn first ("Already used by: …") and Save keeps them anyway, the browser's own keys are refused, and `fixed` lists keys the app keeps for itself. A command's `default` is one keys string, a list (`["j", "down"]`) or `null`. The saved value has a list of keys strings per command id (`ShortcutBindings`; a single string or `null` saved before lists still reads); `resolveBindings(commands, saved)` fills in the defaults. Register the commands with what's saved (`useShortcut` takes a list, and the help dialog shows "J or ↓"):
|
|
58
|
+
|
|
59
|
+
```tsx
|
|
60
|
+
import { useShortcut } from "@zsherman/kit/shortcuts";
|
|
61
|
+
import { resolveBindings, type ShortcutBindings, type ShortcutCommand } from "./settings/shortcuts";
|
|
62
|
+
|
|
63
|
+
const commands: ShortcutCommand[] = [
|
|
64
|
+
{ id: "palette", label: "Open the command palette", default: "mod+k" },
|
|
65
|
+
{ id: "next", label: "Next issue", default: ["j", "down"] },
|
|
66
|
+
{ id: "inbox", label: "Go to the inbox", default: null },
|
|
67
|
+
];
|
|
68
|
+
const [saved, setSaved] = createSignal<ShortcutBindings>({}); // from the account
|
|
69
|
+
const keys = () => resolveBindings(commands, saved());
|
|
70
|
+
|
|
71
|
+
useShortcut(() => keys().palette, openPalette, { description: "Open the command palette" });
|
|
72
|
+
useShortcut(() => keys().next, nextIssue, { description: "Next issue" });
|
|
73
|
+
|
|
74
|
+
// in nav:
|
|
75
|
+
lazyPage(
|
|
76
|
+
() => import("./settings/shortcuts"),
|
|
77
|
+
(m) => (
|
|
78
|
+
<m.ShortcutSettings
|
|
79
|
+
commands={commands}
|
|
80
|
+
value={saved()}
|
|
81
|
+
fixed={[{ keys: "mod+s", description: "Save changes" }]}
|
|
82
|
+
onSave={async (next) => setSaved(next)}
|
|
83
|
+
/>
|
|
84
|
+
),
|
|
85
|
+
);
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Source
|
|
89
|
+
|
|
90
|
+
```tsx title="profile.tsx"
|
|
91
|
+
/**
|
|
92
|
+
* Profile settings — part of the settings block for @zsherman/kit. A Formisch form (`@formisch/solid` with a
|
|
93
|
+
* valibot schema) on kit fields, saved with the save bar (dirty from `form.isDirty`, Discard is
|
|
94
|
+
* `reset(form)`, the server's refusals land on their fields), and a photo: pick a file, crop it in a
|
|
95
|
+
* dialog with the kit's Image cropper, upload the cropped circle.
|
|
96
|
+
*
|
|
97
|
+
* Formisch and valibot are this page's dependencies, not the kit's: `npm install @formisch/solid valibot`.
|
|
98
|
+
*/
|
|
99
|
+
import {
|
|
100
|
+
createForm,
|
|
101
|
+
Field as FormischField,
|
|
102
|
+
Form as FormischForm,
|
|
103
|
+
focus,
|
|
104
|
+
getDeepErrorEntries,
|
|
105
|
+
reset,
|
|
106
|
+
setErrors,
|
|
107
|
+
validate,
|
|
108
|
+
} from "@formisch/solid/v2";
|
|
109
|
+
import { Avatar, AvatarFallback, AvatarImage } from "@zsherman/kit/avatar";
|
|
110
|
+
import { Button } from "@zsherman/kit/button";
|
|
111
|
+
import {
|
|
112
|
+
Dialog,
|
|
113
|
+
DialogBody,
|
|
114
|
+
DialogClose,
|
|
115
|
+
DialogContent,
|
|
116
|
+
DialogDescription,
|
|
117
|
+
DialogFooter,
|
|
118
|
+
DialogHeader,
|
|
119
|
+
DialogTitle,
|
|
120
|
+
} from "@zsherman/kit/dialog";
|
|
121
|
+
import { Input, InputGroup, InputGroupAddon, Textarea } from "@zsherman/kit/field";
|
|
122
|
+
import { FileInput, FileInputTrigger, type FileRejection } from "@zsherman/kit/file-input";
|
|
123
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
124
|
+
import { Item, ItemActions, ItemContent, ItemMedia } from "@zsherman/kit/item";
|
|
125
|
+
import {
|
|
126
|
+
cropImage,
|
|
127
|
+
type ImageCrop,
|
|
128
|
+
ImageCropper,
|
|
129
|
+
ImageCropperImage,
|
|
130
|
+
ImageCropperRotate,
|
|
131
|
+
ImageCropperSelection,
|
|
132
|
+
ImageCropperViewport,
|
|
133
|
+
ImageCropperZoom,
|
|
134
|
+
} from "@zsherman/kit/image-cropper";
|
|
135
|
+
import {
|
|
136
|
+
Select,
|
|
137
|
+
SelectContent,
|
|
138
|
+
SelectItem,
|
|
139
|
+
SelectItemIndicator,
|
|
140
|
+
SelectItemText,
|
|
141
|
+
SelectList,
|
|
142
|
+
SelectTrigger,
|
|
143
|
+
SelectValue,
|
|
144
|
+
} from "@zsherman/kit/select";
|
|
145
|
+
import { Text } from "@zsherman/kit/text";
|
|
146
|
+
import { toast, type Toaster } from "@zsherman/kit/toast";
|
|
147
|
+
import { RotateCw, ZoomIn, ZoomOut } from "@zsherman/kit/icons";
|
|
148
|
+
import { createSignal, For, onCleanup, Show } from "solid-js";
|
|
149
|
+
import * as v from "valibot";
|
|
150
|
+
import { createSaveBar, SaveBar } from "./save-bar";
|
|
151
|
+
import { createLoader, SettingsField, SettingsGroup, SettingsPage, settingsSkeleton } from "./settings-parts";
|
|
152
|
+
import styles from "./settings.module.css";
|
|
153
|
+
import { FieldErrors, type Profile } from "./types";
|
|
154
|
+
import { type SettingsLabels, useSettingsLabels } from "./labels";
|
|
155
|
+
|
|
156
|
+
export interface ProfileApi {
|
|
157
|
+
profile: (signal?: AbortSignal) => Promise<Profile>;
|
|
158
|
+
/** Throw `FieldErrors` ({ handle: "…" }) to put a refusal on its field. */
|
|
159
|
+
saveProfile: (next: Profile, signal?: AbortSignal) => Promise<Profile>;
|
|
160
|
+
/** Uploads the cropped photo (a 256px round PNG) and returns its URL. */
|
|
161
|
+
uploadAvatar: (file: File, signal?: AbortSignal) => Promise<string>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export interface ProfileSettingsProps {
|
|
165
|
+
api: ProfileApi;
|
|
166
|
+
timezones: Array<{ value: string; label: string }>;
|
|
167
|
+
/** The queue for "Photo updated". @defaultValue the app's `toast` */
|
|
168
|
+
toaster?: Toaster;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// The schema is the form: types, defaults, messages. The photo isn't in it: it saves on its own.
|
|
172
|
+
// Built with the page's words (`labels`), so the messages follow a translation.
|
|
173
|
+
const profileSchema = (t: SettingsLabels) =>
|
|
174
|
+
v.object({
|
|
175
|
+
name: v.pipe(v.string(), v.trim(), v.nonEmpty(t.enterYourName), v.maxLength(60, t.nameMax)),
|
|
176
|
+
handle: v.pipe(v.string(), v.trim(), v.regex(/^[a-z0-9_]{2,20}$/, t.handleRule)),
|
|
177
|
+
email: v.pipe(v.string(), v.trim(), v.email(t.emailRule)),
|
|
178
|
+
title: v.pipe(v.string(), v.trim(), v.maxLength(60, t.titleMax)),
|
|
179
|
+
bio: v.pipe(v.string(), v.maxLength(160, t.bioMax)),
|
|
180
|
+
timezone: v.pipe(v.string(), v.nonEmpty(t.chooseATimeZone)),
|
|
181
|
+
});
|
|
182
|
+
type ProfileInput = v.InferOutput<ReturnType<typeof profileSchema>>;
|
|
183
|
+
|
|
184
|
+
const initials = (name: string) =>
|
|
185
|
+
name
|
|
186
|
+
.split(/\s+/)
|
|
187
|
+
.filter(Boolean)
|
|
188
|
+
.slice(0, 2)
|
|
189
|
+
.map((part) => part[0]!.toUpperCase())
|
|
190
|
+
.join("");
|
|
191
|
+
|
|
192
|
+
/** The profile page: loads the profile, then the form. */
|
|
193
|
+
export function ProfileSettings(props: ProfileSettingsProps) {
|
|
194
|
+
const t = useSettingsLabels();
|
|
195
|
+
|
|
196
|
+
const load = createLoader((signal) => props.api.profile(signal));
|
|
197
|
+
return (
|
|
198
|
+
<SettingsPage
|
|
199
|
+
title={t.profile}
|
|
200
|
+
description={t.howYouAppearToYour}
|
|
201
|
+
phase={load.phase()}
|
|
202
|
+
error={load.error()}
|
|
203
|
+
onRetry={load.retry}
|
|
204
|
+
skeleton={settingsSkeleton([1, 6])}
|
|
205
|
+
>
|
|
206
|
+
<Show when={load.data()} keyed>
|
|
207
|
+
{(profile: Profile) => <ProfileForm {...props} initial={profile} />}
|
|
208
|
+
</Show>
|
|
209
|
+
</SettingsPage>
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
function ProfileForm(props: ProfileSettingsProps & { initial: Profile }) {
|
|
214
|
+
const t = useSettingsLabels();
|
|
215
|
+
|
|
216
|
+
const form = createForm({ schema: profileSchema(t), initialInput: props.initial });
|
|
217
|
+
const [avatar, setAvatar] = createSignal(props.initial.avatar);
|
|
218
|
+
const toaster = () => props.toaster ?? toast;
|
|
219
|
+
|
|
220
|
+
const save = async () => {
|
|
221
|
+
const result = await validate(form, { shouldFocus: true });
|
|
222
|
+
if (!result.success) return false;
|
|
223
|
+
const sent: ProfileInput = result.output;
|
|
224
|
+
try {
|
|
225
|
+
await props.api.saveProfile({ ...sent, avatar: avatar() });
|
|
226
|
+
} catch (caught) {
|
|
227
|
+
if (!(caught instanceof FieldErrors)) throw caught;
|
|
228
|
+
// The server's refusals go on their fields, like the schema's.
|
|
229
|
+
const keys = Object.keys(caught.fields) as Array<keyof ProfileInput>;
|
|
230
|
+
for (const key of keys) setErrors(form, { path: [key], errors: [caught.fields[key]!] });
|
|
231
|
+
if (keys[0]) focus(form, { path: [keys[0]] });
|
|
232
|
+
return false;
|
|
233
|
+
}
|
|
234
|
+
// What was sent is the new baseline; anything typed while it saved stays as a change.
|
|
235
|
+
reset(form, { initialInput: sent, keepInput: true });
|
|
236
|
+
};
|
|
237
|
+
const bar = createSaveBar({
|
|
238
|
+
label: t.profile,
|
|
239
|
+
dirty: () => form.isDirty,
|
|
240
|
+
discard: () => reset(form),
|
|
241
|
+
invalid: () => getDeepErrorEntries(form).length,
|
|
242
|
+
save,
|
|
243
|
+
});
|
|
244
|
+
const submit = () => void bar.save();
|
|
245
|
+
|
|
246
|
+
return (
|
|
247
|
+
<>
|
|
248
|
+
<AvatarSettings
|
|
249
|
+
api={props.api}
|
|
250
|
+
name={props.initial.name}
|
|
251
|
+
avatar={avatar()}
|
|
252
|
+
onChange={(url) => {
|
|
253
|
+
setAvatar(url);
|
|
254
|
+
toaster().success(url ? t.photoUpdated : t.photoRemoved);
|
|
255
|
+
}}
|
|
256
|
+
/>
|
|
257
|
+
<FormischForm of={form} onSubmit={submit} class={styles.form}>
|
|
258
|
+
<SettingsGroup title={t.aboutYou}>
|
|
259
|
+
<FormischField of={form} path={["name"]}>
|
|
260
|
+
{(field) => (
|
|
261
|
+
<SettingsField label={t.name} error={field.errors?.[0]}>
|
|
262
|
+
<Input
|
|
263
|
+
{...field.props}
|
|
264
|
+
class={styles.fieldInput}
|
|
265
|
+
autocomplete="name"
|
|
266
|
+
value={field.input ?? ""}
|
|
267
|
+
onValueChange={field.onInput}
|
|
268
|
+
/>
|
|
269
|
+
</SettingsField>
|
|
270
|
+
)}
|
|
271
|
+
</FormischField>
|
|
272
|
+
<FormischField of={form} path={["handle"]}>
|
|
273
|
+
{(field) => (
|
|
274
|
+
<SettingsField
|
|
275
|
+
label={t.handle}
|
|
276
|
+
description={t.peopleMentionYouWithIt}
|
|
277
|
+
error={field.errors?.[0]}
|
|
278
|
+
>
|
|
279
|
+
<InputGroup class={styles.fieldInput}>
|
|
280
|
+
<InputGroupAddon>@</InputGroupAddon>
|
|
281
|
+
<Input
|
|
282
|
+
{...field.props}
|
|
283
|
+
autocomplete="username"
|
|
284
|
+
spellcheck={false}
|
|
285
|
+
value={field.input ?? ""}
|
|
286
|
+
onValueChange={(next) => field.onInput(next.toLowerCase())}
|
|
287
|
+
/>
|
|
288
|
+
</InputGroup>
|
|
289
|
+
</SettingsField>
|
|
290
|
+
)}
|
|
291
|
+
</FormischField>
|
|
292
|
+
<FormischField of={form} path={["title"]}>
|
|
293
|
+
{(field) => (
|
|
294
|
+
<SettingsField label={t.jobTitle} error={field.errors?.[0]}>
|
|
295
|
+
<Input
|
|
296
|
+
{...field.props}
|
|
297
|
+
class={styles.fieldInput}
|
|
298
|
+
autocomplete="organization-title"
|
|
299
|
+
value={field.input ?? ""}
|
|
300
|
+
onValueChange={field.onInput}
|
|
301
|
+
/>
|
|
302
|
+
</SettingsField>
|
|
303
|
+
)}
|
|
304
|
+
</FormischField>
|
|
305
|
+
<FormischField of={form} path={["bio"]}>
|
|
306
|
+
{(field) => (
|
|
307
|
+
<SettingsField
|
|
308
|
+
label={t.bio}
|
|
309
|
+
layout="stacked"
|
|
310
|
+
description={t.shownOnYourProfileCard(160 - (field.input?.length ?? 0))}
|
|
311
|
+
error={field.errors?.[0]}
|
|
312
|
+
>
|
|
313
|
+
<Textarea
|
|
314
|
+
{...field.props}
|
|
315
|
+
autoResize
|
|
316
|
+
rows={2}
|
|
317
|
+
value={field.input ?? ""}
|
|
318
|
+
onValueChange={field.onInput}
|
|
319
|
+
/>
|
|
320
|
+
</SettingsField>
|
|
321
|
+
)}
|
|
322
|
+
</FormischField>
|
|
323
|
+
</SettingsGroup>
|
|
324
|
+
<SettingsGroup title={t.contactAndTime}>
|
|
325
|
+
<FormischField of={form} path={["email"]}>
|
|
326
|
+
{(field) => (
|
|
327
|
+
<SettingsField
|
|
328
|
+
label={t.email}
|
|
329
|
+
description={t.signInLinksAndNotifications}
|
|
330
|
+
error={field.errors?.[0]}
|
|
331
|
+
>
|
|
332
|
+
<Input
|
|
333
|
+
{...field.props}
|
|
334
|
+
class={styles.fieldInput}
|
|
335
|
+
type="email"
|
|
336
|
+
autocomplete="email"
|
|
337
|
+
value={field.input ?? ""}
|
|
338
|
+
onValueChange={field.onInput}
|
|
339
|
+
/>
|
|
340
|
+
</SettingsField>
|
|
341
|
+
)}
|
|
342
|
+
</FormischField>
|
|
343
|
+
<FormischField of={form} path={["timezone"]}>
|
|
344
|
+
{(field) => (
|
|
345
|
+
<SettingsField
|
|
346
|
+
label={t.timeZone}
|
|
347
|
+
description={t.forQuietHoursReportsAnd}
|
|
348
|
+
error={field.errors?.[0]}
|
|
349
|
+
>
|
|
350
|
+
<Select
|
|
351
|
+
items={props.timezones}
|
|
352
|
+
value={field.input ?? null}
|
|
353
|
+
onValueChange={(value) => field.onInput(value ?? "")}
|
|
354
|
+
>
|
|
355
|
+
<SelectTrigger class={styles.fieldInput} onBlur={field.props.onBlur}>
|
|
356
|
+
<SelectValue />
|
|
357
|
+
</SelectTrigger>
|
|
358
|
+
<SelectContent>
|
|
359
|
+
<SelectList>
|
|
360
|
+
<For each={props.timezones}>
|
|
361
|
+
{(zone) => (
|
|
362
|
+
<SelectItem value={zone.value} label={zone.label}>
|
|
363
|
+
<SelectItemText>{zone.label}</SelectItemText>
|
|
364
|
+
<SelectItemIndicator />
|
|
365
|
+
</SelectItem>
|
|
366
|
+
)}
|
|
367
|
+
</For>
|
|
368
|
+
</SelectList>
|
|
369
|
+
</SelectContent>
|
|
370
|
+
</Select>
|
|
371
|
+
</SettingsField>
|
|
372
|
+
)}
|
|
373
|
+
</FormischField>
|
|
374
|
+
</SettingsGroup>
|
|
375
|
+
</FormischForm>
|
|
376
|
+
<div class={styles.saveBarSpace} />
|
|
377
|
+
<SaveBar bar={bar} />
|
|
378
|
+
</>
|
|
379
|
+
);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
const MAX_PHOTO = 8 * 1024 * 1024;
|
|
383
|
+
|
|
384
|
+
function AvatarSettings(props: {
|
|
385
|
+
api: ProfileApi;
|
|
386
|
+
name: string;
|
|
387
|
+
avatar: string | undefined;
|
|
388
|
+
onChange: (url: string | undefined) => void;
|
|
389
|
+
}) {
|
|
390
|
+
const t = useSettingsLabels();
|
|
391
|
+
|
|
392
|
+
const [source, setSource] = createSignal<string>();
|
|
393
|
+
const [crop, setCrop] = createSignal<ImageCrop>();
|
|
394
|
+
const [problem, setProblem] = createSignal<string>();
|
|
395
|
+
const [uploadError, setUploadError] = createSignal<string>();
|
|
396
|
+
const release = () => {
|
|
397
|
+
const url = source();
|
|
398
|
+
if (url) URL.revokeObjectURL(url);
|
|
399
|
+
};
|
|
400
|
+
onCleanup(release);
|
|
401
|
+
|
|
402
|
+
const pick = (files: File[]) => {
|
|
403
|
+
const file = files[0];
|
|
404
|
+
if (!file) return;
|
|
405
|
+
release();
|
|
406
|
+
setProblem(undefined);
|
|
407
|
+
setUploadError(undefined);
|
|
408
|
+
setSource(URL.createObjectURL(file));
|
|
409
|
+
};
|
|
410
|
+
const reject = (rejected: FileRejection[]) => {
|
|
411
|
+
const reasons = rejected[0]?.reasons ?? [];
|
|
412
|
+
setProblem(reasons.includes("file-too-large") ? t.thatPhotoIsOver8 : t.chooseAPNGJPEGOr);
|
|
413
|
+
};
|
|
414
|
+
const apply = async () => {
|
|
415
|
+
const from = source();
|
|
416
|
+
const area = crop();
|
|
417
|
+
if (!from || !area) return;
|
|
418
|
+
setUploadError(undefined);
|
|
419
|
+
try {
|
|
420
|
+
const file = await cropImage(from, area, {
|
|
421
|
+
width: 256,
|
|
422
|
+
shape: "circle",
|
|
423
|
+
type: "image/png",
|
|
424
|
+
name: "avatar.png",
|
|
425
|
+
});
|
|
426
|
+
const url = await props.api.uploadAvatar(file);
|
|
427
|
+
props.onChange(url);
|
|
428
|
+
release();
|
|
429
|
+
setSource(undefined);
|
|
430
|
+
} catch (caught) {
|
|
431
|
+
setUploadError(caught instanceof Error ? caught.message : t.thePhotoDidntUploadTry);
|
|
432
|
+
}
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
return (
|
|
436
|
+
<SettingsGroup title={t.photo}>
|
|
437
|
+
<Item class={styles.row} data-layout="inline">
|
|
438
|
+
<ItemMedia align="center">
|
|
439
|
+
<Avatar size="xl">
|
|
440
|
+
<AvatarImage src={props.avatar} alt="" />
|
|
441
|
+
<AvatarFallback>{initials(props.name)}</AvatarFallback>
|
|
442
|
+
</Avatar>
|
|
443
|
+
</ItemMedia>
|
|
444
|
+
<ItemContent class={styles.rowText}>
|
|
445
|
+
<Text size="sm">{t.pNGJPEGOrWebPUp}</Text>
|
|
446
|
+
<Show when={problem()}>
|
|
447
|
+
<Text tone="danger" size="sm" role="alert">
|
|
448
|
+
{problem()}
|
|
449
|
+
</Text>
|
|
450
|
+
</Show>
|
|
451
|
+
</ItemContent>
|
|
452
|
+
<ItemActions class={styles.rowControl} align="center">
|
|
453
|
+
<FileInput
|
|
454
|
+
accept="image/png,image/jpeg,image/webp"
|
|
455
|
+
maxSize={MAX_PHOTO}
|
|
456
|
+
value={[]}
|
|
457
|
+
onValueChange={(files, details) => {
|
|
458
|
+
// The file goes to the crop dialog, not into the input: refuse the change so it stays empty.
|
|
459
|
+
pick(files);
|
|
460
|
+
details.cancel();
|
|
461
|
+
}}
|
|
462
|
+
onReject={reject}
|
|
463
|
+
announcement={() => null}
|
|
464
|
+
>
|
|
465
|
+
<FileInputTrigger size="sm">{props.avatar ? t.changePhoto : t.uploadPhoto}</FileInputTrigger>
|
|
466
|
+
</FileInput>
|
|
467
|
+
<Show when={props.avatar}>
|
|
468
|
+
<Button variant="ghost" size="sm" onClick={() => props.onChange(undefined)}>
|
|
469
|
+
{t.remove}
|
|
470
|
+
</Button>
|
|
471
|
+
</Show>
|
|
472
|
+
</ItemActions>
|
|
473
|
+
</Item>
|
|
474
|
+
<Dialog
|
|
475
|
+
open={!!source()}
|
|
476
|
+
onOpenChange={(open) => {
|
|
477
|
+
if (open) return;
|
|
478
|
+
release();
|
|
479
|
+
setSource(undefined);
|
|
480
|
+
}}
|
|
481
|
+
>
|
|
482
|
+
<DialogContent size="sm">
|
|
483
|
+
<DialogHeader>
|
|
484
|
+
<DialogTitle>{t.cropYourPhoto}</DialogTitle>
|
|
485
|
+
<DialogDescription>{t.dragToMoveItZoom}</DialogDescription>
|
|
486
|
+
</DialogHeader>
|
|
487
|
+
<DialogBody>
|
|
488
|
+
<ImageCropper
|
|
489
|
+
aria-label={t.profilePhoto}
|
|
490
|
+
src={source()}
|
|
491
|
+
mode="frame"
|
|
492
|
+
aspectRatio={1}
|
|
493
|
+
shape="circle"
|
|
494
|
+
maxZoom={4}
|
|
495
|
+
crop={crop()}
|
|
496
|
+
onCropChange={setCrop}
|
|
497
|
+
>
|
|
498
|
+
<ImageCropperViewport class={styles.cropViewport}>
|
|
499
|
+
<ImageCropperImage alt="" />
|
|
500
|
+
<ImageCropperSelection />
|
|
501
|
+
</ImageCropperViewport>
|
|
502
|
+
<div class={styles.cropControls}>
|
|
503
|
+
<Icon icon={ZoomOut} class={styles.muted} />
|
|
504
|
+
<ImageCropperZoom aria-label={t.zoom} />
|
|
505
|
+
<Icon icon={ZoomIn} class={styles.muted} />
|
|
506
|
+
<ImageCropperRotate variant="ghost" size="sm" iconOnly aria-label={t.rotate2}>
|
|
507
|
+
<Icon icon={RotateCw} />
|
|
508
|
+
</ImageCropperRotate>
|
|
509
|
+
</div>
|
|
510
|
+
</ImageCropper>
|
|
511
|
+
<Show when={uploadError()}>
|
|
512
|
+
<Text tone="danger" size="sm" role="alert">
|
|
513
|
+
{uploadError()}
|
|
514
|
+
</Text>
|
|
515
|
+
</Show>
|
|
516
|
+
</DialogBody>
|
|
517
|
+
<DialogFooter>
|
|
518
|
+
<DialogClose>{t.cancel}</DialogClose>
|
|
519
|
+
<Button variant="primary" onClick={apply} disabled={!crop()}>
|
|
520
|
+
{t.apply}
|
|
521
|
+
</Button>
|
|
522
|
+
</DialogFooter>
|
|
523
|
+
</DialogContent>
|
|
524
|
+
</Dialog>
|
|
525
|
+
</SettingsGroup>
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
```
|
|
529
|
+
|
|
530
|
+
```tsx title="appearance.tsx"
|
|
531
|
+
/**
|
|
532
|
+
* Appearance settings — part of the settings block for @zsherman/kit. Picture cards for the color theme
|
|
533
|
+
* (light, dark, the system's), the density and the typography preset (the app shell's appearance: the
|
|
534
|
+
* kit's `data-color-scheme`, `data-density` and `data-typography`). Choices preview live (`onPreview`)
|
|
535
|
+
* and keep with the save bar; Discard, or leaving, puts the saved look back.
|
|
536
|
+
*/
|
|
537
|
+
import { RadioCard, RadioGroup } from "@zsherman/kit/radio";
|
|
538
|
+
import type { ColorScheme, Density, TypographyPreset } from "@zsherman/kit/theme";
|
|
539
|
+
import { For, onCleanup, untrack } from "solid-js";
|
|
540
|
+
import type { Appearance } from "../app-shell/appearance";
|
|
541
|
+
import { createDraft } from "./draft";
|
|
542
|
+
import { createSaveBar, SaveBar } from "./save-bar";
|
|
543
|
+
import { isEqual, productName, SettingsGroup, SettingsPage } from "./settings-parts";
|
|
544
|
+
import styles from "./settings.module.css";
|
|
545
|
+
import { useSettingsLabels } from "./labels";
|
|
546
|
+
|
|
547
|
+
export interface AppearanceSettingsProps {
|
|
548
|
+
/** The saved appearance. */
|
|
549
|
+
value: Appearance;
|
|
550
|
+
/** Applies a look while people choose (`undefined`: back to the saved one). */
|
|
551
|
+
onPreview: (next: Appearance | undefined) => void;
|
|
552
|
+
/** Keeps it (a cookie, an account setting). Throw to show the failure in the save bar. */
|
|
553
|
+
onSave: (next: Appearance) => Promise<void>;
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
const schemes: Array<{ value: ColorScheme; label: string }> = [
|
|
557
|
+
{
|
|
558
|
+
value: "light",
|
|
559
|
+
get label() {
|
|
560
|
+
return useSettingsLabels().light;
|
|
561
|
+
},
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
value: "dark",
|
|
565
|
+
get label() {
|
|
566
|
+
return useSettingsLabels().dark;
|
|
567
|
+
},
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
value: "system",
|
|
571
|
+
get label() {
|
|
572
|
+
return useSettingsLabels().matchTheSystem;
|
|
573
|
+
},
|
|
574
|
+
},
|
|
575
|
+
];
|
|
576
|
+
const densities: Array<{ value: Density; label: string; hint: string }> = [
|
|
577
|
+
{
|
|
578
|
+
value: "comfortable",
|
|
579
|
+
get label() {
|
|
580
|
+
return useSettingsLabels().comfortable;
|
|
581
|
+
},
|
|
582
|
+
get hint() {
|
|
583
|
+
return useSettingsLabels().moreRoomAroundRowsAnd;
|
|
584
|
+
},
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
value: "compact",
|
|
588
|
+
get label() {
|
|
589
|
+
return useSettingsLabels().compact;
|
|
590
|
+
},
|
|
591
|
+
get hint() {
|
|
592
|
+
return useSettingsLabels().moreOnScreenAtOnce;
|
|
593
|
+
},
|
|
594
|
+
},
|
|
595
|
+
];
|
|
596
|
+
const typefaces: Array<{ value: TypographyPreset; label: string; hint: string }> = [
|
|
597
|
+
{
|
|
598
|
+
value: "system",
|
|
599
|
+
get label() {
|
|
600
|
+
return useSettingsLabels().system;
|
|
601
|
+
},
|
|
602
|
+
get hint() {
|
|
603
|
+
return useSettingsLabels().yourDevicesInterfaceFont;
|
|
604
|
+
},
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
value: "humanist",
|
|
608
|
+
get label() {
|
|
609
|
+
return useSettingsLabels().humanist;
|
|
610
|
+
},
|
|
611
|
+
get hint() {
|
|
612
|
+
return useSettingsLabels().warmOpenLetters;
|
|
613
|
+
},
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
value: "geometric",
|
|
617
|
+
get label() {
|
|
618
|
+
return useSettingsLabels().geometric;
|
|
619
|
+
},
|
|
620
|
+
get hint() {
|
|
621
|
+
return useSettingsLabels().roundAndEven;
|
|
622
|
+
},
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
value: "serif",
|
|
626
|
+
get label() {
|
|
627
|
+
return useSettingsLabels().editorial;
|
|
628
|
+
},
|
|
629
|
+
get hint() {
|
|
630
|
+
return useSettingsLabels().serifHeadingsAndLongText;
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
];
|
|
634
|
+
|
|
635
|
+
/** A small window in one scheme: a sidebar, a title and lines, drawn with the kit's tokens. */
|
|
636
|
+
function MiniWindow(props: { scheme: "light" | "dark" }) {
|
|
637
|
+
return (
|
|
638
|
+
<span class={styles.mini} data-color-scheme={props.scheme}>
|
|
639
|
+
<span class={styles.miniSide}>
|
|
640
|
+
<span class={styles.miniDot} />
|
|
641
|
+
<span class={styles.miniLine} data-w="2" />
|
|
642
|
+
<span class={styles.miniLine} data-w="3" />
|
|
643
|
+
<span class={styles.miniLine} data-w="2" />
|
|
644
|
+
</span>
|
|
645
|
+
<span class={styles.miniMain}>
|
|
646
|
+
<span class={styles.miniLine} data-w="3" data-strong="" />
|
|
647
|
+
<span class={styles.miniBlock} />
|
|
648
|
+
<span class={styles.miniLine} data-w="4" />
|
|
649
|
+
<span class={styles.miniLine} data-w="2" />
|
|
650
|
+
<span class={styles.miniButton} />
|
|
651
|
+
</span>
|
|
652
|
+
</span>
|
|
653
|
+
);
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
export function AppearanceSettings(props: AppearanceSettingsProps) {
|
|
657
|
+
const t = useSettingsLabels();
|
|
658
|
+
|
|
659
|
+
const draft = createDraft<Appearance>(untrack(() => props.value));
|
|
660
|
+
// Every choice previews at once (from the handler, not an effect); Discard, saving and leaving the
|
|
661
|
+
// page put the saved look back.
|
|
662
|
+
const preview = untrack(() => props.onPreview);
|
|
663
|
+
onCleanup(() => preview(undefined));
|
|
664
|
+
const bar = createSaveBar({
|
|
665
|
+
label: t.appearance,
|
|
666
|
+
dirty: draft.dirty,
|
|
667
|
+
discard: () => {
|
|
668
|
+
draft.discard();
|
|
669
|
+
preview(undefined);
|
|
670
|
+
},
|
|
671
|
+
save: async () => {
|
|
672
|
+
const sent = draft.values();
|
|
673
|
+
await props.onSave(sent);
|
|
674
|
+
draft.commit(sent);
|
|
675
|
+
preview(undefined);
|
|
676
|
+
},
|
|
677
|
+
});
|
|
678
|
+
const set =
|
|
679
|
+
<K extends keyof Appearance>(key: K) =>
|
|
680
|
+
(value: unknown) => {
|
|
681
|
+
if (!value) return;
|
|
682
|
+
const next = { ...draft.values(), [key]: value as Appearance[K] };
|
|
683
|
+
draft.set(key, value as Appearance[K]);
|
|
684
|
+
preview(isEqual(next, draft.saved()) ? undefined : next);
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
return (
|
|
688
|
+
<SettingsPage title={t.appearance} description={t.appearanceDescription(productName)}>
|
|
689
|
+
<SettingsGroup title={t.theme}>
|
|
690
|
+
<RadioGroup
|
|
691
|
+
aria-label={t.theme}
|
|
692
|
+
class={styles.pictureGrid}
|
|
693
|
+
value={draft.values().scheme}
|
|
694
|
+
onValueChange={set("scheme")}
|
|
695
|
+
>
|
|
696
|
+
<For each={schemes}>
|
|
697
|
+
{(scheme) => (
|
|
698
|
+
<RadioCard value={scheme.value} class={styles.pictureCard}>
|
|
699
|
+
<span class={styles.picture} aria-hidden="true">
|
|
700
|
+
{scheme.value === "system" ? (
|
|
701
|
+
<span class={styles.miniSplit}>
|
|
702
|
+
<MiniWindow scheme="light" />
|
|
703
|
+
<MiniWindow scheme="dark" />
|
|
704
|
+
</span>
|
|
705
|
+
) : (
|
|
706
|
+
<MiniWindow scheme={scheme.value} />
|
|
707
|
+
)}
|
|
708
|
+
</span>
|
|
709
|
+
<span class={styles.pictureLabel}>{scheme.label}</span>
|
|
710
|
+
</RadioCard>
|
|
711
|
+
)}
|
|
712
|
+
</For>
|
|
713
|
+
</RadioGroup>
|
|
714
|
+
</SettingsGroup>
|
|
715
|
+
|
|
716
|
+
<SettingsGroup title={t.density}>
|
|
717
|
+
<RadioGroup
|
|
718
|
+
aria-label={t.density}
|
|
719
|
+
class={styles.pictureGrid}
|
|
720
|
+
value={draft.values().density}
|
|
721
|
+
onValueChange={set("density")}
|
|
722
|
+
>
|
|
723
|
+
<For each={densities}>
|
|
724
|
+
{(density) => (
|
|
725
|
+
<RadioCard value={density.value} class={styles.pictureCard}>
|
|
726
|
+
<span class={styles.picture} aria-hidden="true">
|
|
727
|
+
<span class={styles.densitySample} data-density={density.value}>
|
|
728
|
+
<For each={[3, 2, 4, 2]}>
|
|
729
|
+
{(w) => (
|
|
730
|
+
<span class={styles.densityRow}>
|
|
731
|
+
<span class={styles.miniDot} />
|
|
732
|
+
<span class={styles.miniLine} data-w={String(w)} />
|
|
733
|
+
</span>
|
|
734
|
+
)}
|
|
735
|
+
</For>
|
|
736
|
+
</span>
|
|
737
|
+
</span>
|
|
738
|
+
<span class={styles.pictureLabel}>{density.label}</span>
|
|
739
|
+
<span class={styles.pictureHint}>{density.hint}</span>
|
|
740
|
+
</RadioCard>
|
|
741
|
+
)}
|
|
742
|
+
</For>
|
|
743
|
+
</RadioGroup>
|
|
744
|
+
</SettingsGroup>
|
|
745
|
+
|
|
746
|
+
<SettingsGroup title={t.typography} description={t.typographyDescription}>
|
|
747
|
+
<RadioGroup
|
|
748
|
+
aria-label={t.typography}
|
|
749
|
+
class={styles.pictureGrid}
|
|
750
|
+
data-columns="4"
|
|
751
|
+
value={draft.values().typography}
|
|
752
|
+
onValueChange={set("typography")}
|
|
753
|
+
>
|
|
754
|
+
<For each={typefaces}>
|
|
755
|
+
{(face) => (
|
|
756
|
+
<RadioCard value={face.value} class={styles.pictureCard}>
|
|
757
|
+
<span class={styles.picture} aria-hidden="true">
|
|
758
|
+
<span class={styles.typeSample} data-typography={face.value}>
|
|
759
|
+
<span class={styles.typeGlyph}>{t.aa}</span>
|
|
760
|
+
<span class={styles.typeLine}>{t.theQuickBrownFox}</span>
|
|
761
|
+
</span>
|
|
762
|
+
</span>
|
|
763
|
+
<span class={styles.pictureLabel}>{face.label}</span>
|
|
764
|
+
<span class={styles.pictureHint}>{face.hint}</span>
|
|
765
|
+
</RadioCard>
|
|
766
|
+
)}
|
|
767
|
+
</For>
|
|
768
|
+
</RadioGroup>
|
|
769
|
+
</SettingsGroup>
|
|
770
|
+
<div class={styles.saveBarSpace} />
|
|
771
|
+
<SaveBar bar={bar} />
|
|
772
|
+
</SettingsPage>
|
|
773
|
+
);
|
|
774
|
+
}
|
|
775
|
+
```
|
|
776
|
+
|
|
777
|
+
```tsx title="shortcuts.tsx"
|
|
778
|
+
/**
|
|
779
|
+
* Keyboard shortcut settings — part of the settings block for @zsherman/kit. Each of the app's commands
|
|
780
|
+
* with its shortcuts, any number of them: press one to change it in a `ShortcutRecorderPopover` (type the
|
|
781
|
+
* new keys, Save; Remove takes it off), + adds another. Keys another command has warn first ("Already
|
|
782
|
+
* used by"), the browser's own are refused, Reset puts a command's defaults back, the bin removes all of
|
|
783
|
+
* its shortcuts, and the changes keep with the save bar. The saved keys are ui-sdk keys strings
|
|
784
|
+
* (`"mod+shift+k"`), a list per command: register each command with
|
|
785
|
+
* `useShortcut(() => saved()[id], run, { description: label })` (useShortcut takes a list).
|
|
786
|
+
*/
|
|
787
|
+
import { Button, IconButton } from "@zsherman/kit/button";
|
|
788
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
789
|
+
import { Plus, RotateCcw, Trash } from "@zsherman/kit/icons";
|
|
790
|
+
import { ShortcutRecorderPopover, type TakenShortcut } from "@zsherman/kit/shortcut-recorder";
|
|
791
|
+
import { Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
792
|
+
import { createUniqueId, For, Show, untrack } from "solid-js";
|
|
793
|
+
import { createDraft } from "./draft";
|
|
794
|
+
import { useSettingsLabels } from "./labels";
|
|
795
|
+
import { createSaveBar, SaveBar } from "./save-bar";
|
|
796
|
+
import { isEqual, productName, SettingsGroup, SettingsPage } from "./settings-parts";
|
|
797
|
+
import styles from "./settings.module.css";
|
|
798
|
+
|
|
799
|
+
/** A command people can rebind. */
|
|
800
|
+
export interface ShortcutCommand {
|
|
801
|
+
id: string;
|
|
802
|
+
/** What it does: the row's label, the popover's title, and "Already used by: …" on another row. */
|
|
803
|
+
label: string;
|
|
804
|
+
description?: string;
|
|
805
|
+
/** Its keys out of the box: one set (`"mod+k"`), several (`["k", "up"]`), or `null` for none. */
|
|
806
|
+
default: string | readonly string[] | null;
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
/** Every set of keys per command id (`[]`: none); a command left out has its defaults. */
|
|
810
|
+
export type ShortcutBindings = Record<string, readonly string[]>;
|
|
811
|
+
|
|
812
|
+
export interface ShortcutSettingsProps {
|
|
813
|
+
commands: ShortcutCommand[];
|
|
814
|
+
/** The saved keys. A command's value may also be one keys string or `null` (saved before lists). */
|
|
815
|
+
value: Record<string, readonly string[] | string | null>;
|
|
816
|
+
/** Keys that belong to the app and can't be taken (Save's ⌘S), as `{ keys, description }`. */
|
|
817
|
+
fixed?: TakenShortcut[];
|
|
818
|
+
/** Keeps them (an account setting). Throw to show the failure in the save bar. */
|
|
819
|
+
onSave: (next: ShortcutBindings) => Promise<void>;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
const asList = (keys: string | readonly string[] | null | undefined): readonly string[] =>
|
|
823
|
+
keys == null ? [] : typeof keys === "string" ? [keys] : keys;
|
|
824
|
+
|
|
825
|
+
/** Every command's keys as a list: the saved ones, else the defaults. */
|
|
826
|
+
export function resolveBindings(
|
|
827
|
+
commands: ShortcutCommand[],
|
|
828
|
+
value: Record<string, readonly string[] | string | null>,
|
|
829
|
+
): ShortcutBindings {
|
|
830
|
+
return Object.fromEntries(commands.map((c) => [c.id, asList(c.id in value ? value[c.id] : c.default)]));
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export function ShortcutSettings(props: ShortcutSettingsProps) {
|
|
834
|
+
const t = useSettingsLabels();
|
|
835
|
+
const draft = createDraft<ShortcutBindings>(untrack(() => resolveBindings(props.commands, props.value)));
|
|
836
|
+
const bar = createSaveBar({
|
|
837
|
+
label: t.keyboardShortcuts,
|
|
838
|
+
dirty: draft.dirty,
|
|
839
|
+
discard: () => draft.discard(),
|
|
840
|
+
save: async () => {
|
|
841
|
+
const sent = draft.values();
|
|
842
|
+
await props.onSave(sent);
|
|
843
|
+
draft.commit(sent);
|
|
844
|
+
},
|
|
845
|
+
});
|
|
846
|
+
const defaults = (): ShortcutBindings =>
|
|
847
|
+
Object.fromEntries(props.commands.map((c) => [c.id, asList(c.default)]));
|
|
848
|
+
const keysOf = (id: string) => draft.values()[id] ?? [];
|
|
849
|
+
const setKeys = (id: string, next: readonly string[]) => draft.set(id, next);
|
|
850
|
+
// What a new combination for `id` can't reuse without a warning: every other shortcut in the draft (the
|
|
851
|
+
// command's own others too, except the one being changed, `skip`) and the app's own.
|
|
852
|
+
const taken = (id: string, skip?: number): TakenShortcut[] => [
|
|
853
|
+
...props.commands.flatMap((c) =>
|
|
854
|
+
keysOf(c.id)
|
|
855
|
+
.filter((_, i) => c.id !== id || i !== skip)
|
|
856
|
+
.map((keys) => ({ keys, description: c.label })),
|
|
857
|
+
),
|
|
858
|
+
...(props.fixed ?? []),
|
|
859
|
+
];
|
|
860
|
+
|
|
861
|
+
return (
|
|
862
|
+
<SettingsPage title={t.keyboardShortcuts} description={t.keyboardShortcutsDescription(productName)}>
|
|
863
|
+
<SettingsGroup
|
|
864
|
+
title={t.commands}
|
|
865
|
+
action={
|
|
866
|
+
<Button
|
|
867
|
+
variant="ghost"
|
|
868
|
+
size="sm"
|
|
869
|
+
disabled={isEqual(draft.values(), defaults())}
|
|
870
|
+
onClick={() => {
|
|
871
|
+
const next = defaults();
|
|
872
|
+
draft.update(() => next);
|
|
873
|
+
}}
|
|
874
|
+
>
|
|
875
|
+
{t.resetAll}
|
|
876
|
+
</Button>
|
|
877
|
+
}
|
|
878
|
+
footer={t.shortcutsFooter}
|
|
879
|
+
>
|
|
880
|
+
<For each={props.commands}>
|
|
881
|
+
{(command) => {
|
|
882
|
+
const labelId = createUniqueId();
|
|
883
|
+
const keys = () => keysOf(command.id);
|
|
884
|
+
return (
|
|
885
|
+
<div class={styles.row} role="group" aria-labelledby={labelId} data-slot="shortcut-command">
|
|
886
|
+
<div class={styles.rowText}>
|
|
887
|
+
<span id={labelId} class={styles.rowTitle}>
|
|
888
|
+
{command.label}
|
|
889
|
+
</span>
|
|
890
|
+
<Show when={command.description}>
|
|
891
|
+
{(description) => (
|
|
892
|
+
<Text tone="muted" size="sm">
|
|
893
|
+
{description()}
|
|
894
|
+
</Text>
|
|
895
|
+
)}
|
|
896
|
+
</Show>
|
|
897
|
+
</div>
|
|
898
|
+
<div class={styles.rowControl}>
|
|
899
|
+
<div class={styles.shortcutKeys}>
|
|
900
|
+
<For each={keys()}>
|
|
901
|
+
{(binding, i) => (
|
|
902
|
+
<ShortcutRecorderPopover
|
|
903
|
+
title={command.label}
|
|
904
|
+
aria-label={command.label}
|
|
905
|
+
size="sm"
|
|
906
|
+
value={binding}
|
|
907
|
+
onValueChange={(next) =>
|
|
908
|
+
setKeys(
|
|
909
|
+
command.id,
|
|
910
|
+
next === null
|
|
911
|
+
? keys().filter((_, j) => j !== i())
|
|
912
|
+
: keys().map((k, j) => (j === i() ? next : k)),
|
|
913
|
+
)
|
|
914
|
+
}
|
|
915
|
+
taken={taken(command.id, i())}
|
|
916
|
+
checkRegistered={false}
|
|
917
|
+
/>
|
|
918
|
+
)}
|
|
919
|
+
</For>
|
|
920
|
+
<ShortcutRecorderPopover
|
|
921
|
+
title={command.label}
|
|
922
|
+
variant="ghost"
|
|
923
|
+
size="sm"
|
|
924
|
+
iconOnly={keys().length > 0}
|
|
925
|
+
value={null}
|
|
926
|
+
onValueChange={(next) => next && setKeys(command.id, [...keys(), next])}
|
|
927
|
+
taken={taken(command.id)}
|
|
928
|
+
checkRegistered={false}
|
|
929
|
+
>
|
|
930
|
+
<Show
|
|
931
|
+
when={keys().length > 0}
|
|
932
|
+
fallback={
|
|
933
|
+
<span>
|
|
934
|
+
{t.addShortcut}
|
|
935
|
+
<VisuallyHidden>{t.forCommand(command.label)}</VisuallyHidden>
|
|
936
|
+
</span>
|
|
937
|
+
}
|
|
938
|
+
>
|
|
939
|
+
<Icon icon={Plus} />
|
|
940
|
+
<VisuallyHidden>{t.addShortcutFor(command.label)}</VisuallyHidden>
|
|
941
|
+
</Show>
|
|
942
|
+
</ShortcutRecorderPopover>
|
|
943
|
+
</div>
|
|
944
|
+
<IconButton
|
|
945
|
+
variant="ghost"
|
|
946
|
+
size="sm"
|
|
947
|
+
label={t.resetShortcut(command.label)}
|
|
948
|
+
disabled={isEqual(keys(), asList(command.default))}
|
|
949
|
+
onClick={() => setKeys(command.id, asList(command.default))}
|
|
950
|
+
>
|
|
951
|
+
<Icon icon={RotateCcw} />
|
|
952
|
+
</IconButton>
|
|
953
|
+
<IconButton
|
|
954
|
+
variant="ghost"
|
|
955
|
+
size="sm"
|
|
956
|
+
label={t.removeShortcuts(command.label)}
|
|
957
|
+
disabled={keys().length === 0}
|
|
958
|
+
onClick={() => setKeys(command.id, [])}
|
|
959
|
+
>
|
|
960
|
+
<Icon icon={Trash} />
|
|
961
|
+
</IconButton>
|
|
962
|
+
</div>
|
|
963
|
+
</div>
|
|
964
|
+
);
|
|
965
|
+
}}
|
|
966
|
+
</For>
|
|
967
|
+
</SettingsGroup>
|
|
968
|
+
<div class={styles.saveBarSpace} />
|
|
969
|
+
<SaveBar bar={bar} />
|
|
970
|
+
</SettingsPage>
|
|
971
|
+
);
|
|
972
|
+
}
|
|
973
|
+
```
|
|
974
|
+
|
|
975
|
+
```tsx title="notifications.tsx"
|
|
976
|
+
/**
|
|
977
|
+
* Notifications settings — part of the settings block for @zsherman/kit. A matrix of events × channels
|
|
978
|
+
* (a table of checkboxes with a whole-column toggle; on a narrow page, one group of checkboxes per
|
|
979
|
+
* event), quiet hours (days, from and to, urgent ones through) and an email digest, saved with the save
|
|
980
|
+
* bar.
|
|
981
|
+
*/
|
|
982
|
+
import { Checkbox, CheckboxGroup } from "@zsherman/kit/checkbox";
|
|
983
|
+
import { FieldLegend, FieldSet } from "@zsherman/kit/field";
|
|
984
|
+
import { Label } from "@zsherman/kit/label";
|
|
985
|
+
import {
|
|
986
|
+
Select,
|
|
987
|
+
SelectContent,
|
|
988
|
+
SelectItem,
|
|
989
|
+
SelectItemIndicator,
|
|
990
|
+
SelectItemText,
|
|
991
|
+
SelectList,
|
|
992
|
+
SelectTrigger,
|
|
993
|
+
SelectValue,
|
|
994
|
+
} from "@zsherman/kit/select";
|
|
995
|
+
import { Switch } from "@zsherman/kit/switch";
|
|
996
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "@zsherman/kit/table";
|
|
997
|
+
import { Text } from "@zsherman/kit/text";
|
|
998
|
+
import { TimeInput } from "@zsherman/kit/time-input";
|
|
999
|
+
import { Toggle, ToggleGroup } from "@zsherman/kit/toggle";
|
|
1000
|
+
import { createUniqueId, For, Show } from "solid-js";
|
|
1001
|
+
import { createDraft } from "./draft";
|
|
1002
|
+
import { createSaveBar, SaveBar } from "./save-bar";
|
|
1003
|
+
import { createLoader, SettingsField, SettingsGroup, SettingsPage, settingsSkeleton } from "./settings-parts";
|
|
1004
|
+
import styles from "./settings.module.css";
|
|
1005
|
+
import type { ChannelId, NotificationEvent, NotificationPrefs } from "./types";
|
|
1006
|
+
import { useSettingsLabels } from "./labels";
|
|
1007
|
+
import { useLocale } from "@zsherman/kit/locale-provider";
|
|
1008
|
+
|
|
1009
|
+
export interface NotificationsApi {
|
|
1010
|
+
notifications: (signal?: AbortSignal) => Promise<NotificationPrefs>;
|
|
1011
|
+
saveNotifications: (next: NotificationPrefs, signal?: AbortSignal) => Promise<NotificationPrefs>;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export interface NotificationsSettingsProps {
|
|
1015
|
+
api: NotificationsApi;
|
|
1016
|
+
/** The rows: what people can be notified about, in groups. */
|
|
1017
|
+
events: NotificationEvent[];
|
|
1018
|
+
/** The columns. */
|
|
1019
|
+
channels: Array<{ id: ChannelId; label: string }>;
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
// Monday first; their names come from `Intl` in the page's locale (2026-11-16 was a Monday).
|
|
1023
|
+
const days = ["mon", "tue", "wed", "thu", "fri", "sat", "sun"] as const;
|
|
1024
|
+
const dayName = (index: number, locale: string, weekday: "short" | "long") =>
|
|
1025
|
+
new Intl.DateTimeFormat(locale, { weekday, timeZone: "UTC" }).format(
|
|
1026
|
+
new Date(Date.UTC(2026, 10, 16 + index)),
|
|
1027
|
+
);
|
|
1028
|
+
const digests = [
|
|
1029
|
+
{
|
|
1030
|
+
value: "off",
|
|
1031
|
+
get label() {
|
|
1032
|
+
return useSettingsLabels().off;
|
|
1033
|
+
},
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
value: "daily",
|
|
1037
|
+
get label() {
|
|
1038
|
+
return useSettingsLabels().dailyAt8AM;
|
|
1039
|
+
},
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
value: "weekly",
|
|
1043
|
+
get label() {
|
|
1044
|
+
return useSettingsLabels().weeklyOnMondays;
|
|
1045
|
+
},
|
|
1046
|
+
},
|
|
1047
|
+
];
|
|
1048
|
+
|
|
1049
|
+
/** The notifications page: loads the preferences, then the form. */
|
|
1050
|
+
export function NotificationsSettings(props: NotificationsSettingsProps) {
|
|
1051
|
+
const t = useSettingsLabels();
|
|
1052
|
+
|
|
1053
|
+
const load = createLoader((signal) => props.api.notifications(signal));
|
|
1054
|
+
return (
|
|
1055
|
+
<SettingsPage
|
|
1056
|
+
title={t.notifications}
|
|
1057
|
+
description={t.chooseWhatYouHearAbout}
|
|
1058
|
+
phase={load.phase()}
|
|
1059
|
+
error={load.error()}
|
|
1060
|
+
onRetry={load.retry}
|
|
1061
|
+
skeleton={settingsSkeleton([7, 3, 1])}
|
|
1062
|
+
>
|
|
1063
|
+
<Show when={load.data()} keyed>
|
|
1064
|
+
{(prefs: NotificationPrefs) => <NotificationsForm {...props} initial={prefs} />}
|
|
1065
|
+
</Show>
|
|
1066
|
+
</SettingsPage>
|
|
1067
|
+
);
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
function NotificationsForm(props: NotificationsSettingsProps & { initial: NotificationPrefs }) {
|
|
1071
|
+
const t = useSettingsLabels();
|
|
1072
|
+
const locale = useLocale();
|
|
1073
|
+
|
|
1074
|
+
const draft = createDraft(props.initial);
|
|
1075
|
+
const groups = () => [...new Set(props.events.map((event) => event.group))];
|
|
1076
|
+
const on = (event: NotificationEvent, channel: ChannelId) =>
|
|
1077
|
+
draft.values().matrix[event.id]?.includes(channel) ?? false;
|
|
1078
|
+
const required = (event: NotificationEvent, channel: ChannelId) =>
|
|
1079
|
+
event.required?.includes(channel) ?? false;
|
|
1080
|
+
const setChannels = (event: NotificationEvent, next: string[]) =>
|
|
1081
|
+
draft.set("matrix", {
|
|
1082
|
+
...draft.values().matrix,
|
|
1083
|
+
// Required channels stay on whatever was asked.
|
|
1084
|
+
[event.id]: props.channels.map((c) => c.id).filter((id) => next.includes(id) || required(event, id)),
|
|
1085
|
+
});
|
|
1086
|
+
const toggle = (event: NotificationEvent, channel: ChannelId, value: boolean) => {
|
|
1087
|
+
const current = draft.values().matrix[event.id] ?? [];
|
|
1088
|
+
setChannels(event, value ? [...current, channel] : current.filter((c) => c !== channel));
|
|
1089
|
+
};
|
|
1090
|
+
const column = (channel: ChannelId): boolean | "indeterminate" => {
|
|
1091
|
+
const count = props.events.filter((event) => on(event, channel)).length;
|
|
1092
|
+
return count === 0 ? false : count === props.events.length ? true : "indeterminate";
|
|
1093
|
+
};
|
|
1094
|
+
const setColumn = (channel: ChannelId, value: boolean) => {
|
|
1095
|
+
const matrix = { ...draft.values().matrix };
|
|
1096
|
+
for (const event of props.events) {
|
|
1097
|
+
const current = matrix[event.id] ?? [];
|
|
1098
|
+
matrix[event.id] = props.channels
|
|
1099
|
+
.map((c) => c.id)
|
|
1100
|
+
.filter((id) =>
|
|
1101
|
+
id === channel ? value || required(event, id) : current.includes(id) || required(event, id),
|
|
1102
|
+
);
|
|
1103
|
+
}
|
|
1104
|
+
draft.set("matrix", matrix);
|
|
1105
|
+
};
|
|
1106
|
+
const quiet = () => draft.values().quietHours;
|
|
1107
|
+
const setQuiet = (change: Partial<NotificationPrefs["quietHours"]>) =>
|
|
1108
|
+
draft.set("quietHours", { ...quiet(), ...change });
|
|
1109
|
+
|
|
1110
|
+
const validate = () => {
|
|
1111
|
+
const errors: Record<string, string> = {};
|
|
1112
|
+
if (quiet().enabled && quiet().from === quiet().to) errors.quietHours = t.startAndEndCantBe;
|
|
1113
|
+
if (quiet().enabled && quiet().days.length === 0) errors.quietDays = t.chooseAtLeastOneDay;
|
|
1114
|
+
return errors;
|
|
1115
|
+
};
|
|
1116
|
+
const bar = createSaveBar({
|
|
1117
|
+
label: t.notifications,
|
|
1118
|
+
dirty: draft.dirty,
|
|
1119
|
+
discard: draft.discard,
|
|
1120
|
+
invalid: draft.invalid,
|
|
1121
|
+
save: async () => {
|
|
1122
|
+
const errors = validate();
|
|
1123
|
+
if (Object.keys(errors).length) {
|
|
1124
|
+
draft.setErrors(errors as never);
|
|
1125
|
+
return false;
|
|
1126
|
+
}
|
|
1127
|
+
const sent = draft.values();
|
|
1128
|
+
await props.api.saveNotifications(sent);
|
|
1129
|
+
draft.commit(sent);
|
|
1130
|
+
},
|
|
1131
|
+
});
|
|
1132
|
+
const error = (key: string) => (draft.errors() as Record<string, string | undefined>)[key];
|
|
1133
|
+
const daysLabel = createUniqueId();
|
|
1134
|
+
const hoursLabel = createUniqueId();
|
|
1135
|
+
|
|
1136
|
+
return (
|
|
1137
|
+
<>
|
|
1138
|
+
<SettingsGroup title={t.notifyMeAbout} description={t.whereEachKindOfUpdate}>
|
|
1139
|
+
{/* Wide: a table, a row per event and a column per channel. */}
|
|
1140
|
+
<div class={styles.matrixTable}>
|
|
1141
|
+
<Table aria-label={t.notificationsByEventAndChannel} variant="plain">
|
|
1142
|
+
<TableHeader>
|
|
1143
|
+
<TableRow>
|
|
1144
|
+
<TableHead>{t.event}</TableHead>
|
|
1145
|
+
<For each={props.channels}>
|
|
1146
|
+
{(channel) => (
|
|
1147
|
+
<TableHead align="center" class={styles.matrixChannel}>
|
|
1148
|
+
{channel.label}
|
|
1149
|
+
</TableHead>
|
|
1150
|
+
)}
|
|
1151
|
+
</For>
|
|
1152
|
+
</TableRow>
|
|
1153
|
+
</TableHeader>
|
|
1154
|
+
<TableBody>
|
|
1155
|
+
<TableRow>
|
|
1156
|
+
<TableHead scope="row">
|
|
1157
|
+
<Text tone="muted" size="sm">
|
|
1158
|
+
{t.allEvents}
|
|
1159
|
+
</Text>
|
|
1160
|
+
</TableHead>
|
|
1161
|
+
<For each={props.channels}>
|
|
1162
|
+
{(channel) => (
|
|
1163
|
+
<TableCell align="center">
|
|
1164
|
+
<Checkbox
|
|
1165
|
+
aria-label={t.labelForAllEvents(channel.label)}
|
|
1166
|
+
checked={column(channel.id)}
|
|
1167
|
+
onCheckedChange={(value) => setColumn(channel.id, value === true)}
|
|
1168
|
+
/>
|
|
1169
|
+
</TableCell>
|
|
1170
|
+
)}
|
|
1171
|
+
</For>
|
|
1172
|
+
</TableRow>
|
|
1173
|
+
</TableBody>
|
|
1174
|
+
<For each={groups()}>
|
|
1175
|
+
{(group) => (
|
|
1176
|
+
<TableBody>
|
|
1177
|
+
<TableRow class={styles.matrixGroupRow}>
|
|
1178
|
+
<TableHead scope="colgroup" colspan={props.channels.length + 1}>
|
|
1179
|
+
{group}
|
|
1180
|
+
</TableHead>
|
|
1181
|
+
</TableRow>
|
|
1182
|
+
<For each={props.events.filter((event) => event.group === group)}>
|
|
1183
|
+
{(event) => (
|
|
1184
|
+
<TableRow>
|
|
1185
|
+
<TableHead scope="row">
|
|
1186
|
+
<div class={styles.matrixEvent}>
|
|
1187
|
+
<span class={styles.matrixLabel}>{event.label}</span>
|
|
1188
|
+
<Text tone="muted" size="sm">
|
|
1189
|
+
{event.description}
|
|
1190
|
+
</Text>
|
|
1191
|
+
</div>
|
|
1192
|
+
</TableHead>
|
|
1193
|
+
<For each={props.channels}>
|
|
1194
|
+
{(channel) => (
|
|
1195
|
+
<TableCell align="center">
|
|
1196
|
+
<Checkbox
|
|
1197
|
+
aria-label={t.labelForLabel2(channel.label, event.label)}
|
|
1198
|
+
checked={on(event, channel.id)}
|
|
1199
|
+
disabled={required(event, channel.id)}
|
|
1200
|
+
onCheckedChange={(value) => toggle(event, channel.id, value === true)}
|
|
1201
|
+
/>
|
|
1202
|
+
</TableCell>
|
|
1203
|
+
)}
|
|
1204
|
+
</For>
|
|
1205
|
+
</TableRow>
|
|
1206
|
+
)}
|
|
1207
|
+
</For>
|
|
1208
|
+
</TableBody>
|
|
1209
|
+
)}
|
|
1210
|
+
</For>
|
|
1211
|
+
</Table>
|
|
1212
|
+
</div>
|
|
1213
|
+
{/* Narrow: each event is a group of checkboxes, one per channel. */}
|
|
1214
|
+
<div class={styles.matrixCards}>
|
|
1215
|
+
<For each={props.events}>
|
|
1216
|
+
{(event) => (
|
|
1217
|
+
<div class={styles.row} data-layout="stacked">
|
|
1218
|
+
<FieldSet class={styles.matrixCard}>
|
|
1219
|
+
<FieldLegend>{event.label}</FieldLegend>
|
|
1220
|
+
<Text tone="muted" size="sm">
|
|
1221
|
+
{event.description}
|
|
1222
|
+
</Text>
|
|
1223
|
+
<CheckboxGroup
|
|
1224
|
+
class={styles.matrixCardChannels}
|
|
1225
|
+
value={draft.values().matrix[event.id] ?? []}
|
|
1226
|
+
onValueChange={(next) => setChannels(event, next)}
|
|
1227
|
+
>
|
|
1228
|
+
<For each={props.channels}>
|
|
1229
|
+
{(channel) => (
|
|
1230
|
+
<Label>
|
|
1231
|
+
<Checkbox value={channel.id} disabled={required(event, channel.id)} />
|
|
1232
|
+
{channel.label}
|
|
1233
|
+
</Label>
|
|
1234
|
+
)}
|
|
1235
|
+
</For>
|
|
1236
|
+
</CheckboxGroup>
|
|
1237
|
+
</FieldSet>
|
|
1238
|
+
</div>
|
|
1239
|
+
)}
|
|
1240
|
+
</For>
|
|
1241
|
+
</div>
|
|
1242
|
+
</SettingsGroup>
|
|
1243
|
+
|
|
1244
|
+
<SettingsGroup title={t.quietHours} description={t.quietHoursDescription}>
|
|
1245
|
+
<SettingsField label={t.pauseNotifications} description={t.onTheDaysAndBetween}>
|
|
1246
|
+
<Switch checked={quiet().enabled} onCheckedChange={(enabled) => setQuiet({ enabled })} />
|
|
1247
|
+
</SettingsField>
|
|
1248
|
+
<Show when={quiet().enabled}>
|
|
1249
|
+
<div class={styles.row} data-layout="inline" role="group" aria-labelledby={hoursLabel}>
|
|
1250
|
+
<div class={styles.rowText}>
|
|
1251
|
+
<Text id={hoursLabel} class={styles.rowTitle}>
|
|
1252
|
+
{t.hours}
|
|
1253
|
+
</Text>
|
|
1254
|
+
<Show when={error("quietHours")}>
|
|
1255
|
+
<Text tone="danger" size="sm" role="alert">
|
|
1256
|
+
{error("quietHours")}
|
|
1257
|
+
</Text>
|
|
1258
|
+
</Show>
|
|
1259
|
+
</div>
|
|
1260
|
+
<div class={styles.rowControl}>
|
|
1261
|
+
<TimeInput
|
|
1262
|
+
aria-label={t.from}
|
|
1263
|
+
value={quiet().from}
|
|
1264
|
+
onValueChange={(from) => {
|
|
1265
|
+
setQuiet({ from: from ?? quiet().from });
|
|
1266
|
+
draft.setErrors({});
|
|
1267
|
+
}}
|
|
1268
|
+
/>
|
|
1269
|
+
<Text tone="muted" size="sm">
|
|
1270
|
+
to
|
|
1271
|
+
</Text>
|
|
1272
|
+
<TimeInput
|
|
1273
|
+
aria-label={t.to}
|
|
1274
|
+
value={quiet().to}
|
|
1275
|
+
onValueChange={(to) => {
|
|
1276
|
+
setQuiet({ to: to ?? quiet().to });
|
|
1277
|
+
draft.setErrors({});
|
|
1278
|
+
}}
|
|
1279
|
+
/>
|
|
1280
|
+
</div>
|
|
1281
|
+
</div>
|
|
1282
|
+
<div class={styles.row} data-layout="inline">
|
|
1283
|
+
<div class={styles.rowText}>
|
|
1284
|
+
<Text id={daysLabel} class={styles.rowTitle}>
|
|
1285
|
+
{t.days}
|
|
1286
|
+
</Text>
|
|
1287
|
+
<Show when={error("quietDays")}>
|
|
1288
|
+
<Text tone="danger" size="sm" role="alert">
|
|
1289
|
+
{error("quietDays")}
|
|
1290
|
+
</Text>
|
|
1291
|
+
</Show>
|
|
1292
|
+
</div>
|
|
1293
|
+
<div class={styles.rowControl}>
|
|
1294
|
+
<ToggleGroup
|
|
1295
|
+
multiple
|
|
1296
|
+
aria-labelledby={daysLabel}
|
|
1297
|
+
value={quiet().days}
|
|
1298
|
+
onValueChange={(next) => {
|
|
1299
|
+
setQuiet({ days: next as string[] });
|
|
1300
|
+
draft.setErrors({});
|
|
1301
|
+
}}
|
|
1302
|
+
>
|
|
1303
|
+
<For each={days}>
|
|
1304
|
+
{(value, i) => (
|
|
1305
|
+
<Toggle value={value} variant="outline" size="sm">
|
|
1306
|
+
<abbr title={dayName(i(), locale(), "long")} class={styles.abbr}>
|
|
1307
|
+
{dayName(i(), locale(), "short")}
|
|
1308
|
+
</abbr>
|
|
1309
|
+
</Toggle>
|
|
1310
|
+
)}
|
|
1311
|
+
</For>
|
|
1312
|
+
</ToggleGroup>
|
|
1313
|
+
</div>
|
|
1314
|
+
</div>
|
|
1315
|
+
<SettingsField label={t.letUrgentOnesThrough} description={t.conversationsAssignedToYouAnd}>
|
|
1316
|
+
<Switch checked={quiet().urgent} onCheckedChange={(urgent) => setQuiet({ urgent })} />
|
|
1317
|
+
</SettingsField>
|
|
1318
|
+
</Show>
|
|
1319
|
+
</SettingsGroup>
|
|
1320
|
+
|
|
1321
|
+
<SettingsGroup title={t.emailDigest}>
|
|
1322
|
+
<SettingsField label={t.summaryEmail} description={t.whatHappenedWhileYouWere}>
|
|
1323
|
+
<Select
|
|
1324
|
+
items={digests}
|
|
1325
|
+
value={draft.values().digest}
|
|
1326
|
+
onValueChange={(value) => value && draft.set("digest", value as NotificationPrefs["digest"])}
|
|
1327
|
+
>
|
|
1328
|
+
<SelectTrigger class={styles.selectWide}>
|
|
1329
|
+
<SelectValue />
|
|
1330
|
+
</SelectTrigger>
|
|
1331
|
+
<SelectContent>
|
|
1332
|
+
<SelectList>
|
|
1333
|
+
<For each={digests}>
|
|
1334
|
+
{(digest) => (
|
|
1335
|
+
<SelectItem value={digest.value} label={digest.label}>
|
|
1336
|
+
<SelectItemText>{digest.label}</SelectItemText>
|
|
1337
|
+
<SelectItemIndicator />
|
|
1338
|
+
</SelectItem>
|
|
1339
|
+
)}
|
|
1340
|
+
</For>
|
|
1341
|
+
</SelectList>
|
|
1342
|
+
</SelectContent>
|
|
1343
|
+
</Select>
|
|
1344
|
+
</SettingsField>
|
|
1345
|
+
</SettingsGroup>
|
|
1346
|
+
<div class={styles.saveBarSpace} />
|
|
1347
|
+
<SaveBar bar={bar} />
|
|
1348
|
+
</>
|
|
1349
|
+
);
|
|
1350
|
+
}
|
|
1351
|
+
```
|
|
1352
|
+
|
|
1353
|
+
```tsx title="security.tsx"
|
|
1354
|
+
/**
|
|
1355
|
+
* Security settings — part of the settings block for @zsherman/kit. Where you're signed in (sign out of
|
|
1356
|
+
* one device, or everywhere else after a confirm), two-factor authentication (a QR code and its key,
|
|
1357
|
+
* a six-digit code to verify, recovery codes to keep; turning it off asks first), and passkeys (add one,
|
|
1358
|
+
* remove one after a confirm). Actions apply at once: no save bar here.
|
|
1359
|
+
*/
|
|
1360
|
+
import {
|
|
1361
|
+
AlertDialog,
|
|
1362
|
+
AlertDialogClose,
|
|
1363
|
+
AlertDialogContent,
|
|
1364
|
+
AlertDialogDescription,
|
|
1365
|
+
AlertDialogFooter,
|
|
1366
|
+
AlertDialogHeader,
|
|
1367
|
+
AlertDialogTitle,
|
|
1368
|
+
createConfirm,
|
|
1369
|
+
} from "@zsherman/kit/alert-dialog";
|
|
1370
|
+
import { CopyButton } from "@zsherman/kit/copy-button";
|
|
1371
|
+
import { Badge } from "@zsherman/kit/badge";
|
|
1372
|
+
import { Button } from "@zsherman/kit/button";
|
|
1373
|
+
import {
|
|
1374
|
+
Dialog,
|
|
1375
|
+
DialogBody,
|
|
1376
|
+
DialogClose,
|
|
1377
|
+
DialogContent,
|
|
1378
|
+
DialogDescription,
|
|
1379
|
+
DialogFooter,
|
|
1380
|
+
DialogHeader,
|
|
1381
|
+
DialogTitle,
|
|
1382
|
+
} from "@zsherman/kit/dialog";
|
|
1383
|
+
import { Field, FieldDescription, FieldError, FieldLabel, Input } from "@zsherman/kit/field";
|
|
1384
|
+
import type { IconNode } from "@zsherman/kit/icon";
|
|
1385
|
+
import { OTPInput } from "@zsherman/kit/otp-input";
|
|
1386
|
+
import { Spinner } from "@zsherman/kit/spinner";
|
|
1387
|
+
import { Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
1388
|
+
import { toast, type Toaster } from "@zsherman/kit/toast";
|
|
1389
|
+
import { Fingerprint, Laptop, Monitor, Smartphone, Tablet } from "@zsherman/kit/icons";
|
|
1390
|
+
import { createSignal, For, Match, onSettled, Show, Switch } from "solid-js";
|
|
1391
|
+
import { encodeQr, qrPath } from "./qr";
|
|
1392
|
+
import {
|
|
1393
|
+
createLoader,
|
|
1394
|
+
productName,
|
|
1395
|
+
SettingsEmpty,
|
|
1396
|
+
SettingsGroup,
|
|
1397
|
+
SettingsPage,
|
|
1398
|
+
settingsSkeleton,
|
|
1399
|
+
} from "./settings-parts";
|
|
1400
|
+
import { SettingsList, SettingsRow } from "./settings-rows";
|
|
1401
|
+
import styles from "./settings.module.css";
|
|
1402
|
+
import { FieldErrors, type Passkey, type Session } from "./types";
|
|
1403
|
+
import { useSettingsLabels } from "./labels";
|
|
1404
|
+
|
|
1405
|
+
export interface SecurityApi {
|
|
1406
|
+
security: (
|
|
1407
|
+
signal?: AbortSignal,
|
|
1408
|
+
) => Promise<{ sessions: Session[]; passkeys: Passkey[]; twoFactor: boolean }>;
|
|
1409
|
+
revokeSession: (id: string) => Promise<void>;
|
|
1410
|
+
revokeOtherSessions: () => Promise<void>;
|
|
1411
|
+
/** A new secret and its otpauth:// URI for the QR code. */
|
|
1412
|
+
startTwoFactor: () => Promise<{ secret: string; uri: string }>;
|
|
1413
|
+
/** Checks a code; throw `FieldErrors({ code })` when it's wrong. Resolves the recovery codes. */
|
|
1414
|
+
verifyTwoFactor: (code: string) => Promise<{ recoveryCodes: string[] }>;
|
|
1415
|
+
disableTwoFactor: () => Promise<void>;
|
|
1416
|
+
/** In an app: run `navigator.credentials.create()` first and send the result with the name. */
|
|
1417
|
+
addPasskey: (name: string) => Promise<Passkey>;
|
|
1418
|
+
removePasskey: (id: string) => Promise<void>;
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
export interface SecuritySettingsProps {
|
|
1422
|
+
api: SecurityApi;
|
|
1423
|
+
/** The account name the authenticator app shows. */
|
|
1424
|
+
account: string;
|
|
1425
|
+
/** @defaultValue the app's `toast` */
|
|
1426
|
+
toaster?: Toaster;
|
|
1427
|
+
/** A hint under the code field (the demo says which code works). */
|
|
1428
|
+
codeHint?: string;
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
const deviceIcon: Record<Session["kind"], IconNode> = { desktop: Monitor, phone: Smartphone, tablet: Tablet };
|
|
1432
|
+
|
|
1433
|
+
export function SecuritySettings(props: SecuritySettingsProps) {
|
|
1434
|
+
const t = useSettingsLabels();
|
|
1435
|
+
|
|
1436
|
+
const load = createLoader((signal) => props.api.security(signal));
|
|
1437
|
+
const toaster = () => props.toaster ?? toast;
|
|
1438
|
+
const confirmOthers = createConfirm();
|
|
1439
|
+
const confirmOff = createConfirm();
|
|
1440
|
+
const confirmRemove = createConfirm<{ name: string }>();
|
|
1441
|
+
let addButton: HTMLButtonElement | undefined;
|
|
1442
|
+
let beginSetup = () => {};
|
|
1443
|
+
|
|
1444
|
+
const failed = (caught: unknown) =>
|
|
1445
|
+
toaster().error(t.thatDidntWork, {
|
|
1446
|
+
description: caught instanceof Error ? caught.message : t.tryAgain,
|
|
1447
|
+
});
|
|
1448
|
+
|
|
1449
|
+
const signOut = async (session: Session) => {
|
|
1450
|
+
try {
|
|
1451
|
+
await props.api.revokeSession(session.id);
|
|
1452
|
+
load.set((data) => ({ ...data, sessions: data.sessions.filter((s) => s.id !== session.id) }));
|
|
1453
|
+
toaster().success(t.signedOutOfDevice(session.device));
|
|
1454
|
+
} catch (caught) {
|
|
1455
|
+
failed(caught);
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
const signOutOthers = async () => {
|
|
1459
|
+
if (!(await confirmOthers())) return;
|
|
1460
|
+
try {
|
|
1461
|
+
await props.api.revokeOtherSessions();
|
|
1462
|
+
load.set((data) => ({ ...data, sessions: data.sessions.filter((s) => s.current) }));
|
|
1463
|
+
toaster().success(t.signedOutEverywhereElse);
|
|
1464
|
+
} catch (caught) {
|
|
1465
|
+
failed(caught);
|
|
1466
|
+
}
|
|
1467
|
+
};
|
|
1468
|
+
const turnOff = async () => {
|
|
1469
|
+
if (!(await confirmOff())) return;
|
|
1470
|
+
try {
|
|
1471
|
+
await props.api.disableTwoFactor();
|
|
1472
|
+
load.set((data) => ({ ...data, twoFactor: false }));
|
|
1473
|
+
toaster().info(t.twoFactorAuthenticationIsOff);
|
|
1474
|
+
} catch (caught) {
|
|
1475
|
+
failed(caught);
|
|
1476
|
+
}
|
|
1477
|
+
};
|
|
1478
|
+
const removePasskey = async (passkey: Passkey) => {
|
|
1479
|
+
if (!(await confirmRemove({ name: passkey.name }))) return;
|
|
1480
|
+
try {
|
|
1481
|
+
await props.api.removePasskey(passkey.id);
|
|
1482
|
+
load.set((data) => ({ ...data, passkeys: data.passkeys.filter((p) => p.id !== passkey.id) }));
|
|
1483
|
+
toaster().success(t.removedName(passkey.name));
|
|
1484
|
+
// The row and its button are gone: focus the group's Add button.
|
|
1485
|
+
requestAnimationFrame(() => addButton?.focus());
|
|
1486
|
+
} catch (caught) {
|
|
1487
|
+
failed(caught);
|
|
1488
|
+
}
|
|
1489
|
+
};
|
|
1490
|
+
|
|
1491
|
+
return (
|
|
1492
|
+
<SettingsPage
|
|
1493
|
+
title={t.security}
|
|
1494
|
+
description={t.keepYourAccountYoursWhere}
|
|
1495
|
+
phase={load.phase()}
|
|
1496
|
+
error={load.error()}
|
|
1497
|
+
onRetry={load.retry}
|
|
1498
|
+
skeleton={settingsSkeleton([4, 1, 2])}
|
|
1499
|
+
>
|
|
1500
|
+
<Show when={load.data()}>
|
|
1501
|
+
{(data) => (
|
|
1502
|
+
<>
|
|
1503
|
+
<SettingsGroup
|
|
1504
|
+
id="sessions"
|
|
1505
|
+
title={t.whereYoureSignedIn}
|
|
1506
|
+
action={
|
|
1507
|
+
<Show when={data().sessions.length > 1}>
|
|
1508
|
+
<Button size="sm" variant="ghost" onClick={signOutOthers}>
|
|
1509
|
+
{t.signOutEverywhereElse}
|
|
1510
|
+
</Button>
|
|
1511
|
+
</Show>
|
|
1512
|
+
}
|
|
1513
|
+
>
|
|
1514
|
+
<SettingsList label={t.signedInDevices}>
|
|
1515
|
+
<For each={data().sessions} keyed={(session) => session.id}>
|
|
1516
|
+
{(session) => (
|
|
1517
|
+
<SettingsRow
|
|
1518
|
+
icon={deviceIcon[session().kind] ?? Laptop}
|
|
1519
|
+
title={session().device}
|
|
1520
|
+
badges={
|
|
1521
|
+
<Show when={session().current}>
|
|
1522
|
+
<Badge tone="success" size="sm" dot>
|
|
1523
|
+
{t.thisDevice}
|
|
1524
|
+
</Badge>
|
|
1525
|
+
</Show>
|
|
1526
|
+
}
|
|
1527
|
+
description={
|
|
1528
|
+
<span class={styles.meta}>
|
|
1529
|
+
<span>{session().browser}</span>
|
|
1530
|
+
<span>{session().location}</span>
|
|
1531
|
+
<span>{session().lastActive}</span>
|
|
1532
|
+
</span>
|
|
1533
|
+
}
|
|
1534
|
+
>
|
|
1535
|
+
<Show when={!session().current}>
|
|
1536
|
+
<Button size="sm" onClick={() => signOut(session())}>
|
|
1537
|
+
{t.signOut}
|
|
1538
|
+
<VisuallyHidden> of {session().device}</VisuallyHidden>
|
|
1539
|
+
</Button>
|
|
1540
|
+
</Show>
|
|
1541
|
+
</SettingsRow>
|
|
1542
|
+
)}
|
|
1543
|
+
</For>
|
|
1544
|
+
</SettingsList>
|
|
1545
|
+
</SettingsGroup>
|
|
1546
|
+
|
|
1547
|
+
<SettingsGroup id="two-factor" title={t.twoFactorAuthentication}>
|
|
1548
|
+
<SettingsRow
|
|
1549
|
+
title={t.authenticatorApp}
|
|
1550
|
+
badges={
|
|
1551
|
+
<Badge tone={data().twoFactor ? "success" : "neutral"} size="sm">
|
|
1552
|
+
{data().twoFactor ? t.on : t.off}
|
|
1553
|
+
</Badge>
|
|
1554
|
+
}
|
|
1555
|
+
description={t.aSixDigitCodeFrom}
|
|
1556
|
+
>
|
|
1557
|
+
<Show
|
|
1558
|
+
when={data().twoFactor}
|
|
1559
|
+
fallback={
|
|
1560
|
+
<Button size="sm" variant="primary" onClick={() => beginSetup()}>
|
|
1561
|
+
{t.setUp}
|
|
1562
|
+
</Button>
|
|
1563
|
+
}
|
|
1564
|
+
>
|
|
1565
|
+
<Button size="sm" onClick={turnOff}>
|
|
1566
|
+
{t.turnOff}
|
|
1567
|
+
</Button>
|
|
1568
|
+
</Show>
|
|
1569
|
+
</SettingsRow>
|
|
1570
|
+
</SettingsGroup>
|
|
1571
|
+
|
|
1572
|
+
{/* Outside the row's Show: it stays open on the codes step after two-factor turns on. */}
|
|
1573
|
+
<TwoFactorSetup
|
|
1574
|
+
api={props.api}
|
|
1575
|
+
account={props.account}
|
|
1576
|
+
codeHint={props.codeHint}
|
|
1577
|
+
bind={(begin) => (beginSetup = begin)}
|
|
1578
|
+
onEnabled={() => load.set((d) => ({ ...d, twoFactor: true }))}
|
|
1579
|
+
/>
|
|
1580
|
+
|
|
1581
|
+
<SettingsGroup
|
|
1582
|
+
id="passkeys"
|
|
1583
|
+
title={t.passkeys}
|
|
1584
|
+
description={t.signInWithYourFingerprint}
|
|
1585
|
+
action={
|
|
1586
|
+
<AddPasskey
|
|
1587
|
+
api={props.api}
|
|
1588
|
+
ref={(el) => (addButton = el)}
|
|
1589
|
+
onAdded={(passkey) => {
|
|
1590
|
+
load.set((d) => ({ ...d, passkeys: [...d.passkeys, passkey] }));
|
|
1591
|
+
toaster().success(t.addedName(passkey.name));
|
|
1592
|
+
}}
|
|
1593
|
+
/>
|
|
1594
|
+
}
|
|
1595
|
+
>
|
|
1596
|
+
<Show
|
|
1597
|
+
when={data().passkeys.length}
|
|
1598
|
+
fallback={<SettingsEmpty title={t.noPasskeysYet} description={t.addOneToSignIn} />}
|
|
1599
|
+
>
|
|
1600
|
+
<SettingsList label={t.passkeys}>
|
|
1601
|
+
<For each={data().passkeys} keyed={(passkey) => passkey.id}>
|
|
1602
|
+
{(passkey) => (
|
|
1603
|
+
<SettingsRow
|
|
1604
|
+
icon={Fingerprint}
|
|
1605
|
+
title={passkey().name}
|
|
1606
|
+
description={
|
|
1607
|
+
<span class={styles.meta}>
|
|
1608
|
+
<span>{t.addedOn(passkey().created)}</span>
|
|
1609
|
+
<span>
|
|
1610
|
+
{passkey().lastUsed
|
|
1611
|
+
? t.lastUsedLastUsed(passkey().lastUsed ?? "")
|
|
1612
|
+
: t.neverUsed}
|
|
1613
|
+
</span>
|
|
1614
|
+
</span>
|
|
1615
|
+
}
|
|
1616
|
+
>
|
|
1617
|
+
<Button size="sm" variant="ghost" onClick={() => removePasskey(passkey())}>
|
|
1618
|
+
{t.remove}
|
|
1619
|
+
<VisuallyHidden> {passkey().name}</VisuallyHidden>
|
|
1620
|
+
</Button>
|
|
1621
|
+
</SettingsRow>
|
|
1622
|
+
)}
|
|
1623
|
+
</For>
|
|
1624
|
+
</SettingsList>
|
|
1625
|
+
</Show>
|
|
1626
|
+
</SettingsGroup>
|
|
1627
|
+
</>
|
|
1628
|
+
)}
|
|
1629
|
+
</Show>
|
|
1630
|
+
|
|
1631
|
+
<AlertDialog controller={confirmOthers.controller}>
|
|
1632
|
+
<AlertDialogContent>
|
|
1633
|
+
<AlertDialogHeader>
|
|
1634
|
+
<AlertDialogTitle>{t.signOutEverywhereElse2}</AlertDialogTitle>
|
|
1635
|
+
<AlertDialogDescription>{t.everyOtherDeviceAndBrowser}</AlertDialogDescription>
|
|
1636
|
+
</AlertDialogHeader>
|
|
1637
|
+
<AlertDialogFooter>
|
|
1638
|
+
<AlertDialogClose>{t.cancel}</AlertDialogClose>
|
|
1639
|
+
<AlertDialogClose variant="danger" value="confirm">
|
|
1640
|
+
{t.signOut}
|
|
1641
|
+
</AlertDialogClose>
|
|
1642
|
+
</AlertDialogFooter>
|
|
1643
|
+
</AlertDialogContent>
|
|
1644
|
+
</AlertDialog>
|
|
1645
|
+
<AlertDialog controller={confirmOff.controller}>
|
|
1646
|
+
<AlertDialogContent>
|
|
1647
|
+
<AlertDialogHeader>
|
|
1648
|
+
<AlertDialogTitle>{t.turnOffTwoFactorAuthentication}</AlertDialogTitle>
|
|
1649
|
+
<AlertDialogDescription>{t.signingInWillOnlyNeed}</AlertDialogDescription>
|
|
1650
|
+
</AlertDialogHeader>
|
|
1651
|
+
<AlertDialogFooter>
|
|
1652
|
+
<AlertDialogClose>{t.keepItOn}</AlertDialogClose>
|
|
1653
|
+
<AlertDialogClose variant="danger" value="confirm">
|
|
1654
|
+
{t.turnOff}
|
|
1655
|
+
</AlertDialogClose>
|
|
1656
|
+
</AlertDialogFooter>
|
|
1657
|
+
</AlertDialogContent>
|
|
1658
|
+
</AlertDialog>
|
|
1659
|
+
<AlertDialog controller={confirmRemove.controller}>
|
|
1660
|
+
<AlertDialogContent<{ name: string }>>
|
|
1661
|
+
{(state) => (
|
|
1662
|
+
<>
|
|
1663
|
+
<AlertDialogHeader>
|
|
1664
|
+
<AlertDialogTitle>
|
|
1665
|
+
{t.remove} {state.payload?.name}?
|
|
1666
|
+
</AlertDialogTitle>
|
|
1667
|
+
<AlertDialogDescription>{t.youWontBeAbleTo}</AlertDialogDescription>
|
|
1668
|
+
</AlertDialogHeader>
|
|
1669
|
+
<AlertDialogFooter>
|
|
1670
|
+
<AlertDialogClose>{t.cancel}</AlertDialogClose>
|
|
1671
|
+
<AlertDialogClose variant="danger" value="confirm">
|
|
1672
|
+
{t.remove}
|
|
1673
|
+
</AlertDialogClose>
|
|
1674
|
+
</AlertDialogFooter>
|
|
1675
|
+
</>
|
|
1676
|
+
)}
|
|
1677
|
+
</AlertDialogContent>
|
|
1678
|
+
</AlertDialog>
|
|
1679
|
+
</SettingsPage>
|
|
1680
|
+
);
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
/** "Add passkey": a name, then the browser's passkey prompt (here, the pretend server). */
|
|
1684
|
+
function AddPasskey(props: {
|
|
1685
|
+
api: SecurityApi;
|
|
1686
|
+
onAdded: (passkey: Passkey) => void;
|
|
1687
|
+
ref: (el: HTMLButtonElement) => void;
|
|
1688
|
+
}) {
|
|
1689
|
+
const t = useSettingsLabels();
|
|
1690
|
+
|
|
1691
|
+
const [open, setOpen] = createSignal(false);
|
|
1692
|
+
const [name, setName] = createSignal("");
|
|
1693
|
+
const [error, setError] = createSignal<string>();
|
|
1694
|
+
const add = async () => {
|
|
1695
|
+
if (!name().trim()) return void setError(t.nameItSoYouCan);
|
|
1696
|
+
try {
|
|
1697
|
+
const passkey = await props.api.addPasskey(name().trim());
|
|
1698
|
+
props.onAdded(passkey);
|
|
1699
|
+
setOpen(false);
|
|
1700
|
+
setName("");
|
|
1701
|
+
} catch (caught) {
|
|
1702
|
+
setError(caught instanceof Error ? caught.message : t.thePasskeyWasntAddedTry);
|
|
1703
|
+
}
|
|
1704
|
+
};
|
|
1705
|
+
return (
|
|
1706
|
+
<>
|
|
1707
|
+
<Button size="sm" ref={props.ref} onClick={() => setOpen(true)}>
|
|
1708
|
+
{t.addPasskey}
|
|
1709
|
+
</Button>
|
|
1710
|
+
<Dialog open={open()} onOpenChange={setOpen}>
|
|
1711
|
+
<DialogContent size="sm">
|
|
1712
|
+
<DialogHeader>
|
|
1713
|
+
<DialogTitle>{t.addAPasskey}</DialogTitle>
|
|
1714
|
+
<DialogDescription>{t.yourBrowserAsksForYour}</DialogDescription>
|
|
1715
|
+
</DialogHeader>
|
|
1716
|
+
<DialogBody>
|
|
1717
|
+
<Field invalid={!!error()}>
|
|
1718
|
+
<FieldLabel>{t.name}</FieldLabel>
|
|
1719
|
+
<Input
|
|
1720
|
+
value={name()}
|
|
1721
|
+
placeholder={t.macBookTouchID}
|
|
1722
|
+
onValueChange={(next) => {
|
|
1723
|
+
setName(next);
|
|
1724
|
+
setError(undefined);
|
|
1725
|
+
}}
|
|
1726
|
+
onKeyDown={(event) => {
|
|
1727
|
+
if (event.key === "Enter") void add();
|
|
1728
|
+
}}
|
|
1729
|
+
/>
|
|
1730
|
+
<FieldDescription>{t.whereItLivesALaptop}</FieldDescription>
|
|
1731
|
+
<FieldError>{error()}</FieldError>
|
|
1732
|
+
</Field>
|
|
1733
|
+
</DialogBody>
|
|
1734
|
+
<DialogFooter>
|
|
1735
|
+
<DialogClose>{t.cancel}</DialogClose>
|
|
1736
|
+
<Button variant="primary" onClick={add}>
|
|
1737
|
+
<Spinner decorative size="sm" data-show="pending" />
|
|
1738
|
+
{t.continue}
|
|
1739
|
+
</Button>
|
|
1740
|
+
</DialogFooter>
|
|
1741
|
+
</DialogContent>
|
|
1742
|
+
</Dialog>
|
|
1743
|
+
</>
|
|
1744
|
+
);
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
/** The setup dialog, in three steps: scan, verify, save the recovery codes. `bind` gets its opener. */
|
|
1748
|
+
function TwoFactorSetup(props: {
|
|
1749
|
+
api: SecurityApi;
|
|
1750
|
+
account: string;
|
|
1751
|
+
codeHint?: string;
|
|
1752
|
+
bind: (begin: () => void) => void;
|
|
1753
|
+
onEnabled: () => void;
|
|
1754
|
+
}) {
|
|
1755
|
+
const t = useSettingsLabels();
|
|
1756
|
+
|
|
1757
|
+
const [open, setOpen] = createSignal(false);
|
|
1758
|
+
const [step, setStep] = createSignal<"scan" | "verify" | "codes">("scan");
|
|
1759
|
+
const [setup, setSetup] = createSignal<{ secret: string; uri: string }>();
|
|
1760
|
+
const [setupError, setSetupError] = createSignal<string>();
|
|
1761
|
+
const [code, setCode] = createSignal("");
|
|
1762
|
+
const [codeError, setCodeError] = createSignal<string>();
|
|
1763
|
+
const [codes, setCodes] = createSignal<string[]>([]);
|
|
1764
|
+
const [verifying, setVerifying] = createSignal(false);
|
|
1765
|
+
|
|
1766
|
+
const start = async () => {
|
|
1767
|
+
setSetupError(undefined);
|
|
1768
|
+
setSetup(undefined);
|
|
1769
|
+
try {
|
|
1770
|
+
setSetup(await props.api.startTwoFactor());
|
|
1771
|
+
} catch (caught) {
|
|
1772
|
+
setSetupError(caught instanceof Error ? caught.message : t.setupDidntStart);
|
|
1773
|
+
}
|
|
1774
|
+
};
|
|
1775
|
+
const verify = async (value = code()) => {
|
|
1776
|
+
if (value.length < 6) return void setCodeError(t.enterAllSixDigits);
|
|
1777
|
+
setVerifying(true);
|
|
1778
|
+
try {
|
|
1779
|
+
const result = await props.api.verifyTwoFactor(value);
|
|
1780
|
+
setCodes(result.recoveryCodes);
|
|
1781
|
+
setStep("codes");
|
|
1782
|
+
props.onEnabled();
|
|
1783
|
+
} catch (caught) {
|
|
1784
|
+
setCodeError(caught instanceof FieldErrors ? caught.fields.code : t.theCodeWasntCheckedTry);
|
|
1785
|
+
setCode("");
|
|
1786
|
+
} finally {
|
|
1787
|
+
setVerifying(false);
|
|
1788
|
+
}
|
|
1789
|
+
};
|
|
1790
|
+
const qr = () => {
|
|
1791
|
+
const uri = setup()?.uri;
|
|
1792
|
+
if (!uri) return undefined;
|
|
1793
|
+
const matrix = encodeQr(uri);
|
|
1794
|
+
return { size: matrix.length, path: qrPath(matrix) };
|
|
1795
|
+
};
|
|
1796
|
+
const download = () => {
|
|
1797
|
+
const blob = new Blob([`${productName} recovery codes for ${props.account}\n\n${codes().join("\n")}\n`], {
|
|
1798
|
+
type: "text/plain",
|
|
1799
|
+
});
|
|
1800
|
+
const link = document.createElement("a");
|
|
1801
|
+
link.href = URL.createObjectURL(blob);
|
|
1802
|
+
link.download = "northwind-recovery-codes.txt";
|
|
1803
|
+
link.click();
|
|
1804
|
+
URL.revokeObjectURL(link.href);
|
|
1805
|
+
};
|
|
1806
|
+
const titles = () => t.twoFactorTitles;
|
|
1807
|
+
const descriptions = () => t.twoFactorDescriptions(productName);
|
|
1808
|
+
const stepNumber = () => ({ scan: 1, verify: 2, codes: 3 })[step()];
|
|
1809
|
+
const begin = () => {
|
|
1810
|
+
setStep("scan");
|
|
1811
|
+
setCode("");
|
|
1812
|
+
setCodeError(undefined);
|
|
1813
|
+
setOpen(true);
|
|
1814
|
+
void start();
|
|
1815
|
+
};
|
|
1816
|
+
onSettled(() => props.bind(begin));
|
|
1817
|
+
|
|
1818
|
+
return (
|
|
1819
|
+
<Dialog
|
|
1820
|
+
open={open()}
|
|
1821
|
+
onOpenChange={(next, details) => {
|
|
1822
|
+
// Once it's on, closing early would lose the codes: only Done closes it.
|
|
1823
|
+
if (!next && step() === "codes" && details.reason !== "close-press") return details.cancel();
|
|
1824
|
+
setOpen(next);
|
|
1825
|
+
}}
|
|
1826
|
+
>
|
|
1827
|
+
<DialogContent size="sm">
|
|
1828
|
+
<DialogHeader>
|
|
1829
|
+
<Text tone="muted" size="xs">
|
|
1830
|
+
{t.stepOf(stepNumber(), 3)}
|
|
1831
|
+
</Text>
|
|
1832
|
+
<DialogTitle>{titles()[step()]}</DialogTitle>
|
|
1833
|
+
<DialogDescription>{descriptions()[step()]}</DialogDescription>
|
|
1834
|
+
</DialogHeader>
|
|
1835
|
+
<DialogBody>
|
|
1836
|
+
<Switch>
|
|
1837
|
+
<Match when={step() === "scan"}>
|
|
1838
|
+
<div class={styles.qrStep}>
|
|
1839
|
+
<Show
|
|
1840
|
+
when={qr()}
|
|
1841
|
+
fallback={
|
|
1842
|
+
<Show
|
|
1843
|
+
when={setupError()}
|
|
1844
|
+
fallback={
|
|
1845
|
+
<div class={styles.qrBox} aria-busy="true">
|
|
1846
|
+
<Spinner label={t.preparingTheCode} />
|
|
1847
|
+
</div>
|
|
1848
|
+
}
|
|
1849
|
+
>
|
|
1850
|
+
<Text tone="danger" size="sm" role="alert">
|
|
1851
|
+
{setupError()}
|
|
1852
|
+
</Text>
|
|
1853
|
+
<Button size="sm" onClick={start}>
|
|
1854
|
+
{t.tryAgain2}
|
|
1855
|
+
</Button>
|
|
1856
|
+
</Show>
|
|
1857
|
+
}
|
|
1858
|
+
>
|
|
1859
|
+
{(code) => (
|
|
1860
|
+
<svg
|
|
1861
|
+
class={styles.qr}
|
|
1862
|
+
viewBox={`-2 -2 ${code().size + 4} ${code().size + 4}`}
|
|
1863
|
+
role="img"
|
|
1864
|
+
aria-label={t.qRCodeToAddAccount(props.account)}
|
|
1865
|
+
>
|
|
1866
|
+
<rect
|
|
1867
|
+
x="-2"
|
|
1868
|
+
y="-2"
|
|
1869
|
+
width={code().size + 4}
|
|
1870
|
+
height={code().size + 4}
|
|
1871
|
+
class={styles.qrBack}
|
|
1872
|
+
/>
|
|
1873
|
+
<path d={code().path} class={styles.qrDark} />
|
|
1874
|
+
</svg>
|
|
1875
|
+
)}
|
|
1876
|
+
</Show>
|
|
1877
|
+
<Show when={setup()}>
|
|
1878
|
+
{(s) => (
|
|
1879
|
+
<div class={styles.secret}>
|
|
1880
|
+
<Text tone="muted" size="xs">
|
|
1881
|
+
{t.cantScanItEnterThis}
|
|
1882
|
+
</Text>
|
|
1883
|
+
<div class={styles.secretRow}>
|
|
1884
|
+
<code class={styles.mono}>{s().secret}</code>
|
|
1885
|
+
<CopyButton
|
|
1886
|
+
value={s().secret.replace(/\s/g, "")}
|
|
1887
|
+
label={t.copyKey}
|
|
1888
|
+
labels={{ copied: t.copied, failed: t.couldntCopySelectTheText }}
|
|
1889
|
+
/>
|
|
1890
|
+
</div>
|
|
1891
|
+
</div>
|
|
1892
|
+
)}
|
|
1893
|
+
</Show>
|
|
1894
|
+
</div>
|
|
1895
|
+
</Match>
|
|
1896
|
+
<Match when={step() === "verify"}>
|
|
1897
|
+
<Field invalid={!!codeError()}>
|
|
1898
|
+
<FieldLabel>{t.sixDigitCode}</FieldLabel>
|
|
1899
|
+
<OTPInput
|
|
1900
|
+
value={code()}
|
|
1901
|
+
readOnly={verifying()}
|
|
1902
|
+
onValueChange={(next) => {
|
|
1903
|
+
setCode(next);
|
|
1904
|
+
setCodeError(undefined);
|
|
1905
|
+
}}
|
|
1906
|
+
onValueCommit={(value) => void verify(value)}
|
|
1907
|
+
/>
|
|
1908
|
+
<Show when={props.codeHint && !codeError()}>
|
|
1909
|
+
<FieldDescription>{props.codeHint}</FieldDescription>
|
|
1910
|
+
</Show>
|
|
1911
|
+
<FieldError>{codeError()}</FieldError>
|
|
1912
|
+
</Field>
|
|
1913
|
+
</Match>
|
|
1914
|
+
<Match when={step() === "codes"}>
|
|
1915
|
+
<ol class={styles.codes} aria-label={t.recoveryCodes}>
|
|
1916
|
+
<For each={codes()}>{(item) => <li class={styles.mono}>{item}</li>}</For>
|
|
1917
|
+
</ol>
|
|
1918
|
+
</Match>
|
|
1919
|
+
</Switch>
|
|
1920
|
+
</DialogBody>
|
|
1921
|
+
<DialogFooter>
|
|
1922
|
+
<Switch>
|
|
1923
|
+
<Match when={step() === "scan"}>
|
|
1924
|
+
<DialogClose>{t.cancel}</DialogClose>
|
|
1925
|
+
<Button variant="primary" disabled={!setup()} onClick={() => setStep("verify")}>
|
|
1926
|
+
{t.next}
|
|
1927
|
+
</Button>
|
|
1928
|
+
</Match>
|
|
1929
|
+
<Match when={step() === "verify"}>
|
|
1930
|
+
<Button onClick={() => setStep("scan")}>{t.back}</Button>
|
|
1931
|
+
<Button variant="primary" onClick={() => verify()} aria-busy={verifying() ? "true" : undefined}>
|
|
1932
|
+
<Show when={verifying()}>
|
|
1933
|
+
<Spinner decorative size="sm" />
|
|
1934
|
+
</Show>
|
|
1935
|
+
{t.verify}
|
|
1936
|
+
</Button>
|
|
1937
|
+
</Match>
|
|
1938
|
+
<Match when={step() === "codes"}>
|
|
1939
|
+
<CopyButton
|
|
1940
|
+
value={codes().join("\n")}
|
|
1941
|
+
label={t.copyCodes}
|
|
1942
|
+
text
|
|
1943
|
+
labels={{ copied: t.copied, failed: t.couldntCopySelectTheText }}
|
|
1944
|
+
/>
|
|
1945
|
+
<Button onClick={download}>{t.download}</Button>
|
|
1946
|
+
<DialogClose variant="primary">{t.done}</DialogClose>
|
|
1947
|
+
</Match>
|
|
1948
|
+
</Switch>
|
|
1949
|
+
</DialogFooter>
|
|
1950
|
+
</DialogContent>
|
|
1951
|
+
</Dialog>
|
|
1952
|
+
);
|
|
1953
|
+
}
|
|
1954
|
+
```
|
|
1955
|
+
|
|
1956
|
+
```ts title="qr.ts"
|
|
1957
|
+
/**
|
|
1958
|
+
* QR code — part of the settings block for @zsherman/kit (the two-factor setup): a small QR encoder (byte
|
|
1959
|
+
* mode, error correction level M, versions 1–15, the mask with the lowest penalty) and `qrPath`, the dark
|
|
1960
|
+
* modules as one SVG path. No dependency; enough for an otpauth:// URI.
|
|
1961
|
+
*/
|
|
1962
|
+
type QrMatrix = boolean[][];
|
|
1963
|
+
|
|
1964
|
+
const eccPerBlock = [0, 10, 16, 26, 18, 24, 16, 18, 22, 22, 26, 30, 22, 22, 24, 24];
|
|
1965
|
+
const blockCount = [0, 1, 1, 1, 2, 2, 4, 4, 4, 5, 5, 5, 8, 9, 9, 10];
|
|
1966
|
+
const maxVersion = eccPerBlock.length - 1;
|
|
1967
|
+
|
|
1968
|
+
function rawModules(version: number) {
|
|
1969
|
+
let result = (16 * version + 128) * version + 64;
|
|
1970
|
+
if (version >= 2) {
|
|
1971
|
+
const align = Math.floor(version / 7) + 2;
|
|
1972
|
+
result -= (25 * align - 10) * align - 55;
|
|
1973
|
+
if (version >= 7) result -= 36;
|
|
1974
|
+
}
|
|
1975
|
+
return result;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
function dataCodewords(version: number) {
|
|
1979
|
+
return Math.floor(rawModules(version) / 8) - eccPerBlock[version]! * blockCount[version]!;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
function multiply(x: number, y: number) {
|
|
1983
|
+
let z = 0;
|
|
1984
|
+
for (let i = 7; i >= 0; i--) {
|
|
1985
|
+
z = (z << 1) ^ ((z >>> 7) * 0x11d);
|
|
1986
|
+
z ^= ((y >>> i) & 1) * x;
|
|
1987
|
+
}
|
|
1988
|
+
return z;
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
function divisor(degree: number) {
|
|
1992
|
+
const result = Array.from({ length: degree }, () => 0);
|
|
1993
|
+
result[degree - 1] = 1;
|
|
1994
|
+
let root = 1;
|
|
1995
|
+
for (let i = 0; i < degree; i++) {
|
|
1996
|
+
for (let j = 0; j < result.length; j++) {
|
|
1997
|
+
result[j] = multiply(result[j]!, root);
|
|
1998
|
+
if (j + 1 < result.length) result[j]! ^= result[j + 1]!;
|
|
1999
|
+
}
|
|
2000
|
+
root = multiply(root, 0x02);
|
|
2001
|
+
}
|
|
2002
|
+
return result;
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
function remainder(data: number[], by: number[]) {
|
|
2006
|
+
const result = by.map(() => 0);
|
|
2007
|
+
for (const byte of data) {
|
|
2008
|
+
const factor = byte ^ (result.shift() as number);
|
|
2009
|
+
result.push(0);
|
|
2010
|
+
by.forEach((coefficient, index) => {
|
|
2011
|
+
result[index]! ^= multiply(coefficient, factor);
|
|
2012
|
+
});
|
|
2013
|
+
}
|
|
2014
|
+
return result;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
function bit(value: number, index: number) {
|
|
2018
|
+
return ((value >>> index) & 1) !== 0;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
function alignmentPositions(version: number, size: number) {
|
|
2022
|
+
if (version === 1) return [];
|
|
2023
|
+
const count = Math.floor(version / 7) + 2;
|
|
2024
|
+
const step = Math.ceil((version * 4 + 4) / (count * 2 - 2)) * 2;
|
|
2025
|
+
const result = [6];
|
|
2026
|
+
for (let position = size - 7; result.length < count; position -= step) {
|
|
2027
|
+
result.splice(1, 0, position);
|
|
2028
|
+
}
|
|
2029
|
+
return result;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
function encodeQr(text: string): QrMatrix {
|
|
2033
|
+
const bytes = Array.from(new TextEncoder().encode(text));
|
|
2034
|
+
let version = 1;
|
|
2035
|
+
for (; version <= maxVersion; version++) {
|
|
2036
|
+
const countBits = version < 10 ? 8 : 16;
|
|
2037
|
+
if (4 + countBits + bytes.length * 8 <= dataCodewords(version) * 8) break;
|
|
2038
|
+
}
|
|
2039
|
+
if (version > maxVersion) throw new RangeError("Text is too long for a QR code.");
|
|
2040
|
+
|
|
2041
|
+
const capacity = dataCodewords(version) * 8;
|
|
2042
|
+
const bits: number[] = [];
|
|
2043
|
+
const push = (value: number, length: number) => {
|
|
2044
|
+
for (let i = length - 1; i >= 0; i--) bits.push((value >>> i) & 1);
|
|
2045
|
+
};
|
|
2046
|
+
push(0b0100, 4);
|
|
2047
|
+
push(bytes.length, version < 10 ? 8 : 16);
|
|
2048
|
+
bytes.forEach((byte) => push(byte, 8));
|
|
2049
|
+
push(0, Math.min(4, capacity - bits.length));
|
|
2050
|
+
push(0, (8 - (bits.length % 8)) % 8);
|
|
2051
|
+
for (let pad = 0xec; bits.length < capacity; pad ^= 0xec ^ 0x11) push(pad, 8);
|
|
2052
|
+
|
|
2053
|
+
const data: number[] = [];
|
|
2054
|
+
for (let i = 0; i < bits.length; i += 8) {
|
|
2055
|
+
data.push(bits.slice(i, i + 8).reduce((byte, value) => (byte << 1) | value, 0));
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
const blocks = blockCount[version]!;
|
|
2059
|
+
const eccLength = eccPerBlock[version]!;
|
|
2060
|
+
const total = Math.floor(rawModules(version) / 8);
|
|
2061
|
+
const shortBlocks = blocks - (total % blocks);
|
|
2062
|
+
const shortLength = Math.floor(total / blocks);
|
|
2063
|
+
const generator = divisor(eccLength);
|
|
2064
|
+
const split: number[][] = [];
|
|
2065
|
+
for (let i = 0, offset = 0; i < blocks; i++) {
|
|
2066
|
+
const length = shortLength - eccLength + (i < shortBlocks ? 0 : 1);
|
|
2067
|
+
const chunk = data.slice(offset, offset + length);
|
|
2068
|
+
offset += length;
|
|
2069
|
+
const ecc = remainder(chunk, generator);
|
|
2070
|
+
if (i < shortBlocks) chunk.push(0);
|
|
2071
|
+
split.push(chunk.concat(ecc));
|
|
2072
|
+
}
|
|
2073
|
+
const codewords: number[] = [];
|
|
2074
|
+
for (let i = 0; i < split[0]!.length; i++) {
|
|
2075
|
+
split.forEach((block, index) => {
|
|
2076
|
+
if (i !== shortLength - eccLength || index >= shortBlocks) codewords.push(block[i]!);
|
|
2077
|
+
});
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
const size = version * 4 + 17;
|
|
2081
|
+
const modules: QrMatrix = Array.from({ length: size }, () => Array.from({ length: size }, () => false));
|
|
2082
|
+
const reserved: QrMatrix = Array.from({ length: size }, () => Array.from({ length: size }, () => false));
|
|
2083
|
+
const set = (x: number, y: number, dark: boolean) => {
|
|
2084
|
+
modules[y]![x] = dark;
|
|
2085
|
+
reserved[y]![x] = true;
|
|
2086
|
+
};
|
|
2087
|
+
|
|
2088
|
+
for (let i = 0; i < size; i++) {
|
|
2089
|
+
set(6, i, i % 2 === 0);
|
|
2090
|
+
set(i, 6, i % 2 === 0);
|
|
2091
|
+
}
|
|
2092
|
+
const finders: Array<[number, number]> = [
|
|
2093
|
+
[3, 3],
|
|
2094
|
+
[size - 4, 3],
|
|
2095
|
+
[3, size - 4],
|
|
2096
|
+
];
|
|
2097
|
+
for (const [cx, cy] of finders) {
|
|
2098
|
+
for (let dy = -4; dy <= 4; dy++) {
|
|
2099
|
+
for (let dx = -4; dx <= 4; dx++) {
|
|
2100
|
+
const x = cx + dx;
|
|
2101
|
+
const y = cy + dy;
|
|
2102
|
+
if (x < 0 || y < 0 || x >= size || y >= size) continue;
|
|
2103
|
+
const distance = Math.max(Math.abs(dx), Math.abs(dy));
|
|
2104
|
+
set(x, y, distance !== 2 && distance !== 4);
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
}
|
|
2108
|
+
const aligns = alignmentPositions(version, size);
|
|
2109
|
+
aligns.forEach((ay, i) => {
|
|
2110
|
+
aligns.forEach((ax, j) => {
|
|
2111
|
+
const last = aligns.length - 1;
|
|
2112
|
+
if ((i === 0 && j === 0) || (i === 0 && j === last) || (i === last && j === 0)) return;
|
|
2113
|
+
for (let dy = -2; dy <= 2; dy++) {
|
|
2114
|
+
for (let dx = -2; dx <= 2; dx++) {
|
|
2115
|
+
set(ax + dx, ay + dy, Math.max(Math.abs(dx), Math.abs(dy)) !== 1);
|
|
2116
|
+
}
|
|
2117
|
+
}
|
|
2118
|
+
});
|
|
2119
|
+
});
|
|
2120
|
+
|
|
2121
|
+
const drawFormat = (mask: number) => {
|
|
2122
|
+
const value = mask;
|
|
2123
|
+
let rem = value;
|
|
2124
|
+
for (let i = 0; i < 10; i++) rem = (rem << 1) ^ ((rem >>> 9) * 0x537);
|
|
2125
|
+
const format = ((value << 10) | rem) ^ 0x5412;
|
|
2126
|
+
for (let i = 0; i <= 5; i++) set(8, i, bit(format, i));
|
|
2127
|
+
set(8, 7, bit(format, 6));
|
|
2128
|
+
set(8, 8, bit(format, 7));
|
|
2129
|
+
set(7, 8, bit(format, 8));
|
|
2130
|
+
for (let i = 9; i < 15; i++) set(14 - i, 8, bit(format, i));
|
|
2131
|
+
for (let i = 0; i < 8; i++) set(size - 1 - i, 8, bit(format, i));
|
|
2132
|
+
for (let i = 8; i < 15; i++) set(8, size - 15 + i, bit(format, i));
|
|
2133
|
+
set(8, size - 8, true);
|
|
2134
|
+
};
|
|
2135
|
+
drawFormat(0);
|
|
2136
|
+
|
|
2137
|
+
if (version >= 7) {
|
|
2138
|
+
let rem = version;
|
|
2139
|
+
for (let i = 0; i < 12; i++) rem = (rem << 1) ^ ((rem >>> 11) * 0x1f25);
|
|
2140
|
+
const versionBits = (version << 12) | rem;
|
|
2141
|
+
for (let i = 0; i < 18; i++) {
|
|
2142
|
+
const a = size - 11 + (i % 3);
|
|
2143
|
+
const b = Math.floor(i / 3);
|
|
2144
|
+
set(a, b, bit(versionBits, i));
|
|
2145
|
+
set(b, a, bit(versionBits, i));
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
let index = 0;
|
|
2150
|
+
for (let right = size - 1; right >= 1; right -= 2) {
|
|
2151
|
+
if (right === 6) right = 5;
|
|
2152
|
+
for (let vertical = 0; vertical < size; vertical++) {
|
|
2153
|
+
for (let j = 0; j < 2; j++) {
|
|
2154
|
+
const x = right - j;
|
|
2155
|
+
const upward = ((right + 1) & 2) === 0;
|
|
2156
|
+
const y = upward ? size - 1 - vertical : vertical;
|
|
2157
|
+
if (!reserved[y]![x] && index < codewords.length * 8) {
|
|
2158
|
+
modules[y]![x] = bit(codewords[index >>> 3]!, 7 - (index & 7));
|
|
2159
|
+
index++;
|
|
2160
|
+
}
|
|
2161
|
+
}
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
const masks: ((x: number, y: number) => boolean)[] = [
|
|
2166
|
+
(x, y) => (x + y) % 2 === 0,
|
|
2167
|
+
(_, y) => y % 2 === 0,
|
|
2168
|
+
(x) => x % 3 === 0,
|
|
2169
|
+
(x, y) => (x + y) % 3 === 0,
|
|
2170
|
+
(x, y) => (Math.floor(x / 3) + Math.floor(y / 2)) % 2 === 0,
|
|
2171
|
+
(x, y) => ((x * y) % 2) + ((x * y) % 3) === 0,
|
|
2172
|
+
(x, y) => (((x * y) % 2) + ((x * y) % 3)) % 2 === 0,
|
|
2173
|
+
(x, y) => (((x + y) % 2) + ((x * y) % 3)) % 2 === 0,
|
|
2174
|
+
];
|
|
2175
|
+
const applyMask = (mask: number) => {
|
|
2176
|
+
for (let y = 0; y < size; y++) {
|
|
2177
|
+
for (let x = 0; x < size; x++) {
|
|
2178
|
+
if (!reserved[y]![x] && masks[mask]!(x, y)) modules[y]![x] = !modules[y]![x];
|
|
2179
|
+
}
|
|
2180
|
+
}
|
|
2181
|
+
};
|
|
2182
|
+
|
|
2183
|
+
let best = 0;
|
|
2184
|
+
let lowest = Infinity;
|
|
2185
|
+
for (let mask = 0; mask < 8; mask++) {
|
|
2186
|
+
applyMask(mask);
|
|
2187
|
+
drawFormat(mask);
|
|
2188
|
+
const score = penalty(modules);
|
|
2189
|
+
if (score < lowest) {
|
|
2190
|
+
lowest = score;
|
|
2191
|
+
best = mask;
|
|
2192
|
+
}
|
|
2193
|
+
applyMask(mask);
|
|
2194
|
+
}
|
|
2195
|
+
applyMask(best);
|
|
2196
|
+
drawFormat(best);
|
|
2197
|
+
return modules;
|
|
2198
|
+
}
|
|
2199
|
+
|
|
2200
|
+
function penalty(modules: QrMatrix) {
|
|
2201
|
+
const size = modules.length;
|
|
2202
|
+
let score = 0;
|
|
2203
|
+
const line = (get: (i: number, j: number) => boolean) => {
|
|
2204
|
+
for (let i = 0; i < size; i++) {
|
|
2205
|
+
let run = 1;
|
|
2206
|
+
for (let j = 1; j <= size; j++) {
|
|
2207
|
+
if (j < size && get(i, j) === get(i, j - 1)) {
|
|
2208
|
+
run++;
|
|
2209
|
+
continue;
|
|
2210
|
+
}
|
|
2211
|
+
if (run >= 5) score += run - 2;
|
|
2212
|
+
run = 1;
|
|
2213
|
+
}
|
|
2214
|
+
for (let j = 0; j + 10 < size + 4; j++) {
|
|
2215
|
+
const pattern = [true, false, true, true, true, false, true];
|
|
2216
|
+
const matches = pattern.every((dark, k) => j + k < size && get(i, j + k) === dark);
|
|
2217
|
+
if (!matches) continue;
|
|
2218
|
+
const light = (from: number) =>
|
|
2219
|
+
[0, 1, 2, 3].every((k) => from + k < 0 || from + k >= size || !get(i, from + k));
|
|
2220
|
+
if (light(j - 4) || light(j + 7)) score += 40;
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
};
|
|
2224
|
+
line((i, j) => modules[i]![j]!);
|
|
2225
|
+
line((i, j) => modules[j]![i]!);
|
|
2226
|
+
let dark = 0;
|
|
2227
|
+
for (let y = 0; y < size; y++) {
|
|
2228
|
+
for (let x = 0; x < size; x++) {
|
|
2229
|
+
const here = modules[y]![x];
|
|
2230
|
+
if (here) dark++;
|
|
2231
|
+
if (
|
|
2232
|
+
x + 1 < size &&
|
|
2233
|
+
y + 1 < size &&
|
|
2234
|
+
here === modules[y]![x + 1] &&
|
|
2235
|
+
here === modules[y + 1]![x] &&
|
|
2236
|
+
here === modules[y + 1]![x + 1]
|
|
2237
|
+
) {
|
|
2238
|
+
score += 3;
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
}
|
|
2242
|
+
const total = size * size;
|
|
2243
|
+
score += (Math.ceil(Math.abs(dark * 20 - total * 10) / total) - 1) * 10;
|
|
2244
|
+
return score;
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
/** The dark modules as an SVG path in module units (draw it in a `0 0 size size` viewBox). */
|
|
2248
|
+
function qrPath(matrix: QrMatrix) {
|
|
2249
|
+
let d = "";
|
|
2250
|
+
matrix.forEach((row, y) =>
|
|
2251
|
+
row.forEach((dark, x) => {
|
|
2252
|
+
if (dark) d += `M${x} ${y}h1v1h-1z`;
|
|
2253
|
+
}),
|
|
2254
|
+
);
|
|
2255
|
+
return d;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2258
|
+
export { encodeQr, qrPath, type QrMatrix };
|
|
2259
|
+
```
|