@zsherman/kit 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/LICENSE +373 -0
- package/README.md +23 -2
- package/THIRD_PARTY_NOTICES.md +682 -0
- package/dist/cli/docs.mjs +2434 -0
- package/dist/css/accordion.css +1 -0
- package/dist/css/agent-activity.css +1 -0
- package/dist/css/agent-todos.css +1 -0
- package/dist/css/alert-dialog.css +1 -0
- package/dist/css/alert.css +1 -0
- package/dist/css/attachment.css +1 -0
- package/dist/css/autocomplete.css +1 -0
- package/dist/css/avatar.css +1 -0
- package/dist/css/badge.css +1 -0
- package/dist/css/base.css +1 -0
- package/dist/css/bot-avatar.css +1 -0
- package/dist/css/brands.css +1 -0
- package/dist/css/breadcrumb.css +1 -0
- package/dist/css/bubble.css +1 -0
- package/dist/css/button.css +1 -0
- package/dist/css/calendar.css +1 -0
- package/dist/css/card-input.css +1 -0
- package/dist/css/card.css +1 -0
- package/dist/css/carousel.css +1 -0
- package/dist/css/cascader.css +1 -0
- package/dist/css/chat-composer.css +1 -0
- package/dist/css/checkbox.css +1 -0
- package/dist/css/code-block.css +1 -0
- package/dist/css/collapsible.css +1 -0
- package/dist/css/color-picker.css +1 -0
- package/dist/css/combobox.css +1 -0
- package/dist/css/command.css +1 -0
- package/dist/css/context-meter.css +1 -0
- package/dist/css/copy-button.css +1 -0
- package/dist/css/create-table.css +1 -0
- package/dist/css/csp-provider.css +1 -0
- package/dist/css/cues.css +1 -0
- package/dist/css/data-grid.css +1 -0
- package/dist/css/date-input.css +1 -0
- package/dist/css/date-picker.css +1 -0
- package/dist/css/day-strip.css +1 -0
- package/dist/css/description-list.css +1 -0
- package/dist/css/dialog.css +1 -0
- package/dist/css/diff-review.css +1 -0
- package/dist/css/direction-provider.css +1 -0
- package/dist/css/draw-toolbar.css +1 -0
- package/dist/css/editable-text.css +1 -0
- package/dist/css/emoji-picker.css +1 -0
- package/dist/css/empty-state.css +1 -0
- package/dist/css/event-popover.css +1 -0
- package/dist/css/field.css +1 -0
- package/dist/css/file-input.css +1 -0
- package/dist/css/file-type.css +1 -0
- package/dist/css/filter-bar.css +1 -0
- package/dist/css/flag.css +1 -0
- package/dist/css/flags.css +1 -0
- package/dist/css/floating-panel.css +1 -0
- package/dist/css/form.css +1 -0
- package/dist/css/gauge.css +1 -0
- package/dist/css/gif-browser.css +1 -0
- package/dist/css/highlight.css +1 -0
- package/dist/css/hover-card.css +1 -0
- package/dist/css/icon-stack.css +1 -0
- package/dist/css/icon-tile.css +1 -0
- package/dist/css/icon.css +1 -0
- package/dist/css/icons.css +1 -0
- package/dist/css/image-cropper.css +1 -0
- package/dist/css/image-lightbox.css +1 -0
- package/dist/css/item.css +1 -0
- package/dist/css/json-view.css +1 -0
- package/dist/css/kanban.css +1 -0
- package/dist/css/kbd.css +1 -0
- package/dist/css/knob.css +1 -0
- package/dist/css/label.css +1 -0
- package/dist/css/layout.css +1 -0
- package/dist/css/link.css +1 -0
- package/dist/css/loader.css +1 -0
- package/dist/css/locale-provider.css +1 -0
- package/dist/css/log-view.css +1 -0
- package/dist/css/logo.css +1 -0
- package/dist/css/markdown-editor.css +1 -0
- package/dist/css/markdown.css +1 -0
- package/dist/css/marker.css +1 -0
- package/dist/css/media-player.css +1 -0
- package/dist/css/menu.css +1 -0
- package/dist/css/menubar.css +1 -0
- package/dist/css/message-scroller.css +1 -0
- package/dist/css/message.css +1 -0
- package/dist/css/meter.css +1 -0
- package/dist/css/model-picker.css +1 -0
- package/dist/css/natural-date-input.css +1 -0
- package/dist/css/navigation-menu.css +1 -0
- package/dist/css/notice-stack.css +1 -0
- package/dist/css/number-input.css +1 -0
- package/dist/css/orb.css +1 -0
- package/dist/css/otp-input.css +1 -0
- package/dist/css/pagination.css +1 -0
- package/dist/css/panel-stack.css +1 -0
- package/dist/css/password-input.css +1 -0
- package/dist/css/peek-panel.css +1 -0
- package/dist/css/phone-input.css +1 -0
- package/dist/css/pocket.css +1 -0
- package/dist/css/popover.css +1 -0
- package/dist/css/progress.css +1 -0
- package/dist/css/prompt-input.css +1 -0
- package/dist/css/property-list.css +1 -0
- package/dist/css/prose-editor-suggestions.css +1 -0
- package/dist/css/prose-editor.css +1 -0
- package/dist/css/prose.css +1 -0
- package/dist/css/questionnaire.css +1 -0
- package/dist/css/radio.css +1 -0
- package/dist/css/rating.css +1 -0
- package/dist/css/reactions.css +1 -0
- package/dist/css/reasoning.css +1 -0
- package/dist/css/recurrence.css +1 -0
- package/dist/css/relative-time.css +1 -0
- package/dist/css/reset.css +1 -0
- package/dist/css/resizable.css +1 -0
- package/dist/css/ring.css +1 -0
- package/dist/css/schedule-list.css +1 -0
- package/dist/css/scroll-area.css +1 -0
- package/dist/css/secret.css +1 -0
- package/dist/css/segmented-control.css +1 -0
- package/dist/css/select.css +1 -0
- package/dist/css/separator.css +1 -0
- package/dist/css/sheet.css +1 -0
- package/dist/css/shortcut-recorder.css +1 -0
- package/dist/css/shortcuts.css +1 -0
- package/dist/css/sidebar.css +1 -0
- package/dist/css/signature-pad.css +1 -0
- package/dist/css/skeleton.css +1 -0
- package/dist/css/slider.css +1 -0
- package/dist/css/sortable-list.css +1 -0
- package/dist/css/span-timeline.css +1 -0
- package/dist/css/spinner.css +1 -0
- package/dist/css/stat.css +1 -0
- package/dist/css/statusbar.css +1 -0
- package/dist/css/stepper.css +1 -0
- package/dist/css/switch.css +1 -0
- package/dist/css/table-of-contents.css +1 -0
- package/dist/css/table.css +1 -0
- package/dist/css/tabs-overflow.css +1 -0
- package/dist/css/tabs.css +1 -0
- package/dist/css/task-tray.css +1 -0
- package/dist/css/text.css +1 -0
- package/dist/css/theme-switcher.css +1 -0
- package/dist/css/theme.css +1 -0
- package/dist/css/thread-list.css +1 -0
- package/dist/css/tiling.css +1 -0
- package/dist/css/time-input.css +1 -0
- package/dist/css/time-picker.css +1 -0
- package/dist/css/time-zone-picker.css +1 -0
- package/dist/css/timeline.css +1 -0
- package/dist/css/toast.css +1 -0
- package/dist/css/toggle.css +1 -0
- package/dist/css/token-input.css +1 -0
- package/dist/css/tool-call.css +1 -0
- package/dist/css/toolbar-overflow.css +1 -0
- package/dist/css/toolbar.css +1 -0
- package/dist/css/tooltip.css +1 -0
- package/dist/css/trace.css +1 -0
- package/dist/css/tree.css +1 -0
- package/dist/css/trigger-menu.css +1 -0
- package/dist/css/typography.css +1 -0
- package/dist/css/undo.css +1 -0
- package/dist/css/volume-meter.css +1 -0
- package/dist/dom/_virtual/_rolldown/runtime.js +12 -0
- package/dist/dom/accordion/accordion.js +178 -0
- package/dist/dom/accordion/index.js +1 -0
- package/dist/dom/agent-activity/agent-activity.js +136 -0
- package/dist/dom/agent-activity/index.js +1 -0
- package/dist/dom/agent-todos/agent-todos.js +313 -0
- package/dist/dom/agent-todos/index.js +1 -0
- package/dist/dom/alert/alert.js +195 -0
- package/dist/dom/alert/index.js +1 -0
- package/dist/dom/alert-dialog/alert-dialog.js +197 -0
- package/dist/dom/alert-dialog/index.js +1 -0
- package/dist/dom/attachment/attachment.js +329 -0
- package/dist/dom/attachment/index.js +1 -0
- package/dist/dom/autocomplete/autocomplete.js +133 -0
- package/dist/dom/autocomplete/index.js +1 -0
- package/dist/dom/avatar/avatar.js +343 -0
- package/dist/dom/avatar/index.js +1 -0
- package/dist/dom/badge/badge.js +183 -0
- package/dist/dom/badge/index.js +1 -0
- package/dist/dom/bot-avatar/bot-avatar.js +262 -0
- package/dist/dom/bot-avatar/index.js +1 -0
- package/dist/dom/brands/brands.gen.js +114 -0
- package/dist/dom/brands/data/Airtable.js +8 -0
- package/dist/dom/brands/data/AmericanExpress.js +8 -0
- package/dist/dom/brands/data/AmericanExpressColor.js +8 -0
- package/dist/dom/brands/data/Android.js +8 -0
- package/dist/dom/brands/data/AndroidColor.js +8 -0
- package/dist/dom/brands/data/Anthropic.js +8 -0
- package/dist/dom/brands/data/Apple.js +8 -0
- package/dist/dom/brands/data/ApplePay.js +8 -0
- package/dist/dom/brands/data/Asana.js +8 -0
- package/dist/dom/brands/data/AsanaColor.js +8 -0
- package/dist/dom/brands/data/Atlassian.js +8 -0
- package/dist/dom/brands/data/AtlassianColor.js +8 -0
- package/dist/dom/brands/data/Bitbucket.js +8 -0
- package/dist/dom/brands/data/BitbucketColor.js +8 -0
- package/dist/dom/brands/data/Bluesky.js +8 -0
- package/dist/dom/brands/data/BlueskyColor.js +8 -0
- package/dist/dom/brands/data/Calendly.js +8 -0
- package/dist/dom/brands/data/CalendlyColor.js +8 -0
- package/dist/dom/brands/data/Claude.js +8 -0
- package/dist/dom/brands/data/ClaudeColor.js +8 -0
- package/dist/dom/brands/data/ClickUp.js +8 -0
- package/dist/dom/brands/data/Cloudflare.js +8 -0
- package/dist/dom/brands/data/CloudflareColor.js +8 -0
- package/dist/dom/brands/data/DinersClub.js +8 -0
- package/dist/dom/brands/data/DinersClubColor.js +8 -0
- package/dist/dom/brands/data/Discord.js +8 -0
- package/dist/dom/brands/data/DiscordColor.js +8 -0
- package/dist/dom/brands/data/Discover.js +8 -0
- package/dist/dom/brands/data/Docker.js +8 -0
- package/dist/dom/brands/data/DockerColor.js +8 -0
- package/dist/dom/brands/data/Dropbox.js +8 -0
- package/dist/dom/brands/data/DropboxColor.js +8 -0
- package/dist/dom/brands/data/Facebook.js +8 -0
- package/dist/dom/brands/data/FacebookColor.js +8 -0
- package/dist/dom/brands/data/Figma.js +8 -0
- package/dist/dom/brands/data/GitHub.js +8 -0
- package/dist/dom/brands/data/GitLab.js +8 -0
- package/dist/dom/brands/data/GitLabColor.js +8 -0
- package/dist/dom/brands/data/Gmail.js +8 -0
- package/dist/dom/brands/data/Google.js +8 -0
- package/dist/dom/brands/data/GoogleCalendar.js +8 -0
- package/dist/dom/brands/data/GoogleColor.js +25 -0
- package/dist/dom/brands/data/GoogleDrive.js +8 -0
- package/dist/dom/brands/data/GoogleGemini.js +8 -0
- package/dist/dom/brands/data/GoogleMeet.js +8 -0
- package/dist/dom/brands/data/GoogleMeetColor.js +40 -0
- package/dist/dom/brands/data/GooglePay.js +8 -0
- package/dist/dom/brands/data/HubSpot.js +8 -0
- package/dist/dom/brands/data/HubSpotColor.js +8 -0
- package/dist/dom/brands/data/Hyper.js +31 -0
- package/dist/dom/brands/data/HyperColor.js +31 -0
- package/dist/dom/brands/data/Instagram.js +8 -0
- package/dist/dom/brands/data/Intercom.js +8 -0
- package/dist/dom/brands/data/JCB.js +8 -0
- package/dist/dom/brands/data/Jira.js +8 -0
- package/dist/dom/brands/data/JiraColor.js +8 -0
- package/dist/dom/brands/data/Linear.js +8 -0
- package/dist/dom/brands/data/LinearColor.js +8 -0
- package/dist/dom/brands/data/Loom.js +8 -0
- package/dist/dom/brands/data/LoomColor.js +8 -0
- package/dist/dom/brands/data/Mastercard.js +8 -0
- package/dist/dom/brands/data/Medium.js +8 -0
- package/dist/dom/brands/data/Messenger.js +8 -0
- package/dist/dom/brands/data/MessengerColor.js +8 -0
- package/dist/dom/brands/data/Meta.js +8 -0
- package/dist/dom/brands/data/MetaColor.js +8 -0
- package/dist/dom/brands/data/Microsoft.js +25 -0
- package/dist/dom/brands/data/MicrosoftColor.js +25 -0
- package/dist/dom/brands/data/MicrosoftTeamsColor.js +73 -0
- package/dist/dom/brands/data/Miro.js +8 -0
- package/dist/dom/brands/data/Notion.js +8 -0
- package/dist/dom/brands/data/Npm.js +8 -0
- package/dist/dom/brands/data/NpmColor.js +8 -0
- package/dist/dom/brands/data/Okta.js +8 -0
- package/dist/dom/brands/data/OktaColor.js +8 -0
- package/dist/dom/brands/data/PayPal.js +8 -0
- package/dist/dom/brands/data/Perplexity.js +8 -0
- package/dist/dom/brands/data/PerplexityColor.js +8 -0
- package/dist/dom/brands/data/Pinterest.js +8 -0
- package/dist/dom/brands/data/PinterestColor.js +8 -0
- package/dist/dom/brands/data/Reddit.js +8 -0
- package/dist/dom/brands/data/RedditColor.js +8 -0
- package/dist/dom/brands/data/Shopify.js +8 -0
- package/dist/dom/brands/data/ShopifyColor.js +8 -0
- package/dist/dom/brands/data/Slack.js +33 -0
- package/dist/dom/brands/data/SlackColor.js +33 -0
- package/dist/dom/brands/data/Spotify.js +8 -0
- package/dist/dom/brands/data/SpotifyColor.js +8 -0
- package/dist/dom/brands/data/Stripe.js +8 -0
- package/dist/dom/brands/data/StripeColor.js +8 -0
- package/dist/dom/brands/data/Substack.js +8 -0
- package/dist/dom/brands/data/SubstackColor.js +8 -0
- package/dist/dom/brands/data/Supabase.js +8 -0
- package/dist/dom/brands/data/SupabaseColor.js +8 -0
- package/dist/dom/brands/data/Telegram.js +8 -0
- package/dist/dom/brands/data/TelegramColor.js +8 -0
- package/dist/dom/brands/data/Threads.js +8 -0
- package/dist/dom/brands/data/TikTok.js +8 -0
- package/dist/dom/brands/data/Trello.js +8 -0
- package/dist/dom/brands/data/TrelloColor.js +8 -0
- package/dist/dom/brands/data/Twitch.js +8 -0
- package/dist/dom/brands/data/TwitchColor.js +8 -0
- package/dist/dom/brands/data/Vercel.js +8 -0
- package/dist/dom/brands/data/Visa.js +8 -0
- package/dist/dom/brands/data/Webex.js +8 -0
- package/dist/dom/brands/data/WhatsApp.js +8 -0
- package/dist/dom/brands/data/WhatsAppColor.js +8 -0
- package/dist/dom/brands/data/XTwitter.js +8 -0
- package/dist/dom/brands/data/YouTube.js +8 -0
- package/dist/dom/brands/data/YouTubeColor.js +8 -0
- package/dist/dom/brands/data/Zendesk.js +8 -0
- package/dist/dom/brands/data/Zoom.js +9 -0
- package/dist/dom/brands/data/ZoomColor.js +14 -0
- package/dist/dom/brands/index.js +114 -0
- package/dist/dom/breadcrumb/breadcrumb.js +148 -0
- package/dist/dom/breadcrumb/index.js +1 -0
- package/dist/dom/bubble/bubble.js +80 -0
- package/dist/dom/bubble/index.js +1 -0
- package/dist/dom/button/button-group.js +39 -0
- package/dist/dom/button/button.js +97 -0
- package/dist/dom/button/button.styles.js +126 -0
- package/dist/dom/button/index.js +3 -0
- package/dist/dom/calendar/calendar.js +223 -0
- package/dist/dom/calendar/index.js +1 -0
- package/dist/dom/card/card.js +395 -0
- package/dist/dom/card/index.js +1 -0
- package/dist/dom/card-input/card-input.js +526 -0
- package/dist/dom/card-input/index.js +3 -0
- package/dist/dom/card-input/model.js +309 -0
- package/dist/dom/carousel/carousel.js +409 -0
- package/dist/dom/carousel/index.js +1 -0
- package/dist/dom/cascader/cascader.js +1809 -0
- package/dist/dom/cascader/data.js +78 -0
- package/dist/dom/cascader/index.js +1 -0
- package/dist/dom/chat-composer/chat-composer.js +1355 -0
- package/dist/dom/chat-composer/controller.js +72 -0
- package/dist/dom/chat-composer/index.js +3 -0
- package/dist/dom/checkbox/checkbox.js +93 -0
- package/dist/dom/checkbox/index.js +1 -0
- package/dist/dom/code-block/code-block.js +250 -0
- package/dist/dom/code-block/code.styles.js +81 -0
- package/dist/dom/code-block/highlighter.js +60 -0
- package/dist/dom/code-block/highlights-engine.js +31 -0
- package/dist/dom/code-block/index.js +3 -0
- package/dist/dom/collapsible/collapsible.js +75 -0
- package/dist/dom/collapsible/index.js +1 -0
- package/dist/dom/color-picker/color-picker.js +237 -0
- package/dist/dom/color-picker/index.js +1 -0
- package/dist/dom/combobox/combobox.js +276 -0
- package/dist/dom/combobox/index.js +1 -0
- package/dist/dom/command/command.js +691 -0
- package/dist/dom/command/index.js +1 -0
- package/dist/dom/context-meter/context-meter.js +266 -0
- package/dist/dom/context-meter/index.js +1 -0
- package/dist/dom/copy-button/copy-button.js +121 -0
- package/dist/dom/copy-button/index.js +3 -0
- package/dist/dom/copy-button/use-copy.js +95 -0
- package/dist/dom/create-table/create-table.js +94 -0
- package/dist/dom/create-table/flex-render.js +29 -0
- package/dist/dom/create-table/index.js +6 -0
- package/dist/dom/create-table/reactivity.js +110 -0
- package/dist/dom/create-table/row-models.js +323 -0
- package/dist/dom/csp-provider/csp-provider.js +58 -0
- package/dist/dom/csp-provider/index.js +1 -0
- package/dist/dom/cues/cues.js +17 -0
- package/dist/dom/cues/index.js +1 -0
- package/dist/dom/data-grid/column-menu.js +257 -0
- package/dist/dom/data-grid/columns.js +289 -0
- package/dist/dom/data-grid/data-grid.js +1582 -0
- package/dist/dom/data-grid/data-grid.styles.js +596 -0
- package/dist/dom/data-grid/features.js +27 -0
- package/dist/dom/data-grid/index.js +7 -0
- package/dist/dom/data-grid/labels.js +18 -0
- package/dist/dom/data-grid/pagination.js +64 -0
- package/dist/dom/data-grid/selection-bar.js +415 -0
- package/dist/dom/date-input/date-input.js +48 -0
- package/dist/dom/date-input/index.js +1 -0
- package/dist/dom/date-picker/date-picker.js +113 -0
- package/dist/dom/date-picker/index.js +3 -0
- package/dist/dom/day-strip/day-strip.js +908 -0
- package/dist/dom/day-strip/index.js +1 -0
- package/dist/dom/description-list/description-list.js +270 -0
- package/dist/dom/description-list/index.js +1 -0
- package/dist/dom/dialog/dialog.js +142 -0
- package/dist/dom/dialog/dialog.styles.js +152 -0
- package/dist/dom/dialog/index.js +1 -0
- package/dist/dom/diff-review/diff-review.js +412 -0
- package/dist/dom/diff-review/index.js +1 -0
- package/dist/dom/direction-provider/direction-provider.js +57 -0
- package/dist/dom/direction-provider/index.js +3 -0
- package/dist/dom/draw-toolbar/draw-tool-icon.js +416 -0
- package/dist/dom/draw-toolbar/draw-toolbar.js +598 -0
- package/dist/dom/draw-toolbar/index.js +4 -0
- package/dist/dom/draw-toolbar/tools.js +111 -0
- package/dist/dom/editable-text/editable-text.js +811 -0
- package/dist/dom/editable-text/index.js +1 -0
- package/dist/dom/emoji-picker/data.gen.js +19 -0
- package/dist/dom/emoji-picker/data.js +80 -0
- package/dist/dom/emoji-picker/emoji-picker.js +1427 -0
- package/dist/dom/emoji-picker/index.js +4 -0
- package/dist/dom/emoji-picker/support.js +56 -0
- package/dist/dom/empty-state/empty-state.js +185 -0
- package/dist/dom/empty-state/index.js +1 -0
- package/dist/dom/event-popover/event-popover.js +681 -0
- package/dist/dom/event-popover/index.js +1 -0
- package/dist/dom/field/field.js +222 -0
- package/dist/dom/field/index.js +1 -0
- package/dist/dom/file-input/file-input.js +205 -0
- package/dist/dom/file-input/index.js +3 -0
- package/dist/dom/file-input/upload-queue.js +154 -0
- package/dist/dom/file-type/file-type.js +150 -0
- package/dist/dom/file-type/file-types.js +291 -0
- package/dist/dom/file-type/index.js +3 -0
- package/dist/dom/filter-bar/editor-boolean.js +56 -0
- package/dist/dom/filter-bar/editor-date.js +30 -0
- package/dist/dom/filter-bar/editor-number.js +98 -0
- package/dist/dom/filter-bar/editor-options.js +144 -0
- package/dist/dom/filter-bar/editor-text.js +26 -0
- package/dist/dom/filter-bar/editor-types.js +0 -0
- package/dist/dom/filter-bar/field-list.js +55 -0
- package/dist/dom/filter-bar/filter-bar.js +561 -0
- package/dist/dom/filter-bar/filter-bar.styles.js +146 -0
- package/dist/dom/filter-bar/index.js +4 -0
- package/dist/dom/filter-bar/lazy.js +24 -0
- package/dist/dom/filter-bar/model.js +195 -0
- package/dist/dom/filter-bar/operator-menu.js +68 -0
- package/dist/dom/filter-bar/state.js +81 -0
- package/dist/dom/flag/flag.js +68 -0
- package/dist/dom/flag/index.js +1 -0
- package/dist/dom/flags/data/AC.js +9 -0
- package/dist/dom/flags/data/AD.js +9 -0
- package/dist/dom/flags/data/AE.js +9 -0
- package/dist/dom/flags/data/AF.js +9 -0
- package/dist/dom/flags/data/AG.js +9 -0
- package/dist/dom/flags/data/AI.js +9 -0
- package/dist/dom/flags/data/AL.js +9 -0
- package/dist/dom/flags/data/AM.js +9 -0
- package/dist/dom/flags/data/AO.js +9 -0
- package/dist/dom/flags/data/AQ.js +9 -0
- package/dist/dom/flags/data/AR.js +9 -0
- package/dist/dom/flags/data/AS.js +9 -0
- package/dist/dom/flags/data/AT.js +9 -0
- package/dist/dom/flags/data/AU.js +9 -0
- package/dist/dom/flags/data/AW.js +9 -0
- package/dist/dom/flags/data/AX.js +9 -0
- package/dist/dom/flags/data/AZ.js +9 -0
- package/dist/dom/flags/data/BA.js +9 -0
- package/dist/dom/flags/data/BB.js +9 -0
- package/dist/dom/flags/data/BD.js +9 -0
- package/dist/dom/flags/data/BE.js +9 -0
- package/dist/dom/flags/data/BF.js +9 -0
- package/dist/dom/flags/data/BG.js +9 -0
- package/dist/dom/flags/data/BH.js +9 -0
- package/dist/dom/flags/data/BI.js +9 -0
- package/dist/dom/flags/data/BJ.js +9 -0
- package/dist/dom/flags/data/BL.js +9 -0
- package/dist/dom/flags/data/BM.js +9 -0
- package/dist/dom/flags/data/BN.js +9 -0
- package/dist/dom/flags/data/BO.js +9 -0
- package/dist/dom/flags/data/BQ.js +9 -0
- package/dist/dom/flags/data/BQ_BO.js +9 -0
- package/dist/dom/flags/data/BQ_SA.js +9 -0
- package/dist/dom/flags/data/BQ_SE.js +9 -0
- package/dist/dom/flags/data/BR.js +9 -0
- package/dist/dom/flags/data/BS.js +9 -0
- package/dist/dom/flags/data/BT.js +9 -0
- package/dist/dom/flags/data/BV.js +9 -0
- package/dist/dom/flags/data/BW.js +9 -0
- package/dist/dom/flags/data/BY.js +9 -0
- package/dist/dom/flags/data/BZ.js +9 -0
- package/dist/dom/flags/data/CA.js +9 -0
- package/dist/dom/flags/data/CC.js +9 -0
- package/dist/dom/flags/data/CD.js +9 -0
- package/dist/dom/flags/data/CF.js +9 -0
- package/dist/dom/flags/data/CG.js +9 -0
- package/dist/dom/flags/data/CH.js +9 -0
- package/dist/dom/flags/data/CI.js +9 -0
- package/dist/dom/flags/data/CK.js +9 -0
- package/dist/dom/flags/data/CL.js +9 -0
- package/dist/dom/flags/data/CM.js +9 -0
- package/dist/dom/flags/data/CN.js +9 -0
- package/dist/dom/flags/data/CO.js +9 -0
- package/dist/dom/flags/data/CR.js +9 -0
- package/dist/dom/flags/data/CU.js +9 -0
- package/dist/dom/flags/data/CV.js +9 -0
- package/dist/dom/flags/data/CW.js +9 -0
- package/dist/dom/flags/data/CX.js +9 -0
- package/dist/dom/flags/data/CY.js +9 -0
- package/dist/dom/flags/data/CZ.js +9 -0
- package/dist/dom/flags/data/DE.js +9 -0
- package/dist/dom/flags/data/DJ.js +9 -0
- package/dist/dom/flags/data/DK.js +9 -0
- package/dist/dom/flags/data/DM.js +9 -0
- package/dist/dom/flags/data/DO.js +9 -0
- package/dist/dom/flags/data/DZ.js +9 -0
- package/dist/dom/flags/data/EC.js +9 -0
- package/dist/dom/flags/data/EE.js +9 -0
- package/dist/dom/flags/data/EG.js +9 -0
- package/dist/dom/flags/data/EH.js +9 -0
- package/dist/dom/flags/data/ER.js +9 -0
- package/dist/dom/flags/data/ES.js +9 -0
- package/dist/dom/flags/data/ES_CT.js +9 -0
- package/dist/dom/flags/data/ET.js +9 -0
- package/dist/dom/flags/data/EU.js +10 -0
- package/dist/dom/flags/data/FI.js +9 -0
- package/dist/dom/flags/data/FJ.js +9 -0
- package/dist/dom/flags/data/FK.js +9 -0
- package/dist/dom/flags/data/FM.js +9 -0
- package/dist/dom/flags/data/FO.js +9 -0
- package/dist/dom/flags/data/FR.js +9 -0
- package/dist/dom/flags/data/GA.js +9 -0
- package/dist/dom/flags/data/GB.js +9 -0
- package/dist/dom/flags/data/GB_ENG.js +9 -0
- package/dist/dom/flags/data/GB_NIR.js +9 -0
- package/dist/dom/flags/data/GB_SCT.js +9 -0
- package/dist/dom/flags/data/GB_WLS.js +9 -0
- package/dist/dom/flags/data/GD.js +9 -0
- package/dist/dom/flags/data/GE.js +9 -0
- package/dist/dom/flags/data/GF.js +9 -0
- package/dist/dom/flags/data/GG.js +9 -0
- package/dist/dom/flags/data/GH.js +9 -0
- package/dist/dom/flags/data/GI.js +9 -0
- package/dist/dom/flags/data/GL.js +9 -0
- package/dist/dom/flags/data/GM.js +9 -0
- package/dist/dom/flags/data/GN.js +9 -0
- package/dist/dom/flags/data/GP.js +9 -0
- package/dist/dom/flags/data/GQ.js +9 -0
- package/dist/dom/flags/data/GR.js +9 -0
- package/dist/dom/flags/data/GS.js +9 -0
- package/dist/dom/flags/data/GT.js +9 -0
- package/dist/dom/flags/data/GU.js +9 -0
- package/dist/dom/flags/data/GW.js +9 -0
- package/dist/dom/flags/data/GY.js +9 -0
- package/dist/dom/flags/data/HK.js +9 -0
- package/dist/dom/flags/data/HM.js +9 -0
- package/dist/dom/flags/data/HN.js +9 -0
- package/dist/dom/flags/data/HR.js +9 -0
- package/dist/dom/flags/data/HT.js +9 -0
- package/dist/dom/flags/data/HU.js +9 -0
- package/dist/dom/flags/data/IC.js +9 -0
- package/dist/dom/flags/data/ID.js +9 -0
- package/dist/dom/flags/data/IE.js +9 -0
- package/dist/dom/flags/data/IL.js +9 -0
- package/dist/dom/flags/data/IM.js +9 -0
- package/dist/dom/flags/data/IN.js +9 -0
- package/dist/dom/flags/data/IO.js +9 -0
- package/dist/dom/flags/data/IQ.js +9 -0
- package/dist/dom/flags/data/IR.js +9 -0
- package/dist/dom/flags/data/IS.js +9 -0
- package/dist/dom/flags/data/IT.js +9 -0
- package/dist/dom/flags/data/JE.js +9 -0
- package/dist/dom/flags/data/JM.js +9 -0
- package/dist/dom/flags/data/JO.js +9 -0
- package/dist/dom/flags/data/JP.js +9 -0
- package/dist/dom/flags/data/KE.js +9 -0
- package/dist/dom/flags/data/KG.js +9 -0
- package/dist/dom/flags/data/KH.js +9 -0
- package/dist/dom/flags/data/KI.js +9 -0
- package/dist/dom/flags/data/KM.js +9 -0
- package/dist/dom/flags/data/KN.js +9 -0
- package/dist/dom/flags/data/KP.js +9 -0
- package/dist/dom/flags/data/KR.js +10 -0
- package/dist/dom/flags/data/KW.js +9 -0
- package/dist/dom/flags/data/KY.js +9 -0
- package/dist/dom/flags/data/KZ.js +9 -0
- package/dist/dom/flags/data/LA.js +9 -0
- package/dist/dom/flags/data/LB.js +9 -0
- package/dist/dom/flags/data/LC.js +9 -0
- package/dist/dom/flags/data/LI.js +9 -0
- package/dist/dom/flags/data/LK.js +9 -0
- package/dist/dom/flags/data/LR.js +9 -0
- package/dist/dom/flags/data/LS.js +9 -0
- package/dist/dom/flags/data/LT.js +9 -0
- package/dist/dom/flags/data/LU.js +9 -0
- package/dist/dom/flags/data/LV.js +9 -0
- package/dist/dom/flags/data/LY.js +9 -0
- package/dist/dom/flags/data/MA.js +9 -0
- package/dist/dom/flags/data/MC.js +9 -0
- package/dist/dom/flags/data/MD.js +9 -0
- package/dist/dom/flags/data/ME.js +9 -0
- package/dist/dom/flags/data/MF.js +9 -0
- package/dist/dom/flags/data/MG.js +9 -0
- package/dist/dom/flags/data/MH.js +9 -0
- package/dist/dom/flags/data/MK.js +9 -0
- package/dist/dom/flags/data/ML.js +9 -0
- package/dist/dom/flags/data/MM.js +9 -0
- package/dist/dom/flags/data/MN.js +9 -0
- package/dist/dom/flags/data/MO.js +9 -0
- package/dist/dom/flags/data/MP.js +9 -0
- package/dist/dom/flags/data/MQ.js +9 -0
- package/dist/dom/flags/data/MR.js +9 -0
- package/dist/dom/flags/data/MS.js +9 -0
- package/dist/dom/flags/data/MT.js +9 -0
- package/dist/dom/flags/data/MU.js +9 -0
- package/dist/dom/flags/data/MV.js +9 -0
- package/dist/dom/flags/data/MW.js +9 -0
- package/dist/dom/flags/data/MX.js +9 -0
- package/dist/dom/flags/data/MY.js +9 -0
- package/dist/dom/flags/data/MZ.js +9 -0
- package/dist/dom/flags/data/NA.js +9 -0
- package/dist/dom/flags/data/NC.js +9 -0
- package/dist/dom/flags/data/NE.js +9 -0
- package/dist/dom/flags/data/NF.js +9 -0
- package/dist/dom/flags/data/NG.js +9 -0
- package/dist/dom/flags/data/NI.js +9 -0
- package/dist/dom/flags/data/NL.js +9 -0
- package/dist/dom/flags/data/NO.js +9 -0
- package/dist/dom/flags/data/NP.js +9 -0
- package/dist/dom/flags/data/NR.js +9 -0
- package/dist/dom/flags/data/NU.js +9 -0
- package/dist/dom/flags/data/NZ.js +9 -0
- package/dist/dom/flags/data/OM.js +9 -0
- package/dist/dom/flags/data/PA.js +9 -0
- package/dist/dom/flags/data/PE.js +9 -0
- package/dist/dom/flags/data/PF.js +9 -0
- package/dist/dom/flags/data/PG.js +9 -0
- package/dist/dom/flags/data/PH.js +9 -0
- package/dist/dom/flags/data/PK.js +9 -0
- package/dist/dom/flags/data/PL.js +9 -0
- package/dist/dom/flags/data/PM.js +9 -0
- package/dist/dom/flags/data/PN.js +9 -0
- package/dist/dom/flags/data/PR.js +9 -0
- package/dist/dom/flags/data/PS.js +9 -0
- package/dist/dom/flags/data/PT.js +9 -0
- package/dist/dom/flags/data/PW.js +9 -0
- package/dist/dom/flags/data/PY.js +9 -0
- package/dist/dom/flags/data/QA.js +9 -0
- package/dist/dom/flags/data/RE.js +9 -0
- package/dist/dom/flags/data/RO.js +9 -0
- package/dist/dom/flags/data/RS.js +9 -0
- package/dist/dom/flags/data/RU.js +9 -0
- package/dist/dom/flags/data/RW.js +9 -0
- package/dist/dom/flags/data/SA.js +9 -0
- package/dist/dom/flags/data/SB.js +9 -0
- package/dist/dom/flags/data/SC.js +9 -0
- package/dist/dom/flags/data/SD.js +9 -0
- package/dist/dom/flags/data/SE.js +9 -0
- package/dist/dom/flags/data/SG.js +9 -0
- package/dist/dom/flags/data/SH.js +9 -0
- package/dist/dom/flags/data/SI.js +9 -0
- package/dist/dom/flags/data/SJ.js +9 -0
- package/dist/dom/flags/data/SK.js +9 -0
- package/dist/dom/flags/data/SL.js +9 -0
- package/dist/dom/flags/data/SM.js +9 -0
- package/dist/dom/flags/data/SN.js +9 -0
- package/dist/dom/flags/data/SO.js +9 -0
- package/dist/dom/flags/data/SR.js +9 -0
- package/dist/dom/flags/data/SS.js +9 -0
- package/dist/dom/flags/data/ST.js +9 -0
- package/dist/dom/flags/data/SV.js +9 -0
- package/dist/dom/flags/data/SX.js +9 -0
- package/dist/dom/flags/data/SY.js +9 -0
- package/dist/dom/flags/data/SZ.js +9 -0
- package/dist/dom/flags/data/TA.js +9 -0
- package/dist/dom/flags/data/TC.js +9 -0
- package/dist/dom/flags/data/TD.js +9 -0
- package/dist/dom/flags/data/TF.js +9 -0
- package/dist/dom/flags/data/TG.js +9 -0
- package/dist/dom/flags/data/TH.js +9 -0
- package/dist/dom/flags/data/TJ.js +9 -0
- package/dist/dom/flags/data/TK.js +9 -0
- package/dist/dom/flags/data/TL.js +9 -0
- package/dist/dom/flags/data/TM.js +9 -0
- package/dist/dom/flags/data/TN.js +9 -0
- package/dist/dom/flags/data/TO.js +9 -0
- package/dist/dom/flags/data/TR.js +9 -0
- package/dist/dom/flags/data/TT.js +9 -0
- package/dist/dom/flags/data/TV.js +9 -0
- package/dist/dom/flags/data/TW.js +9 -0
- package/dist/dom/flags/data/TZ.js +9 -0
- package/dist/dom/flags/data/UA.js +9 -0
- package/dist/dom/flags/data/UG.js +9 -0
- package/dist/dom/flags/data/UM.js +9 -0
- package/dist/dom/flags/data/US.js +9 -0
- package/dist/dom/flags/data/UY.js +9 -0
- package/dist/dom/flags/data/UZ.js +9 -0
- package/dist/dom/flags/data/VA.js +9 -0
- package/dist/dom/flags/data/VC.js +9 -0
- package/dist/dom/flags/data/VE.js +9 -0
- package/dist/dom/flags/data/VG.js +9 -0
- package/dist/dom/flags/data/VI.js +9 -0
- package/dist/dom/flags/data/VN.js +9 -0
- package/dist/dom/flags/data/VU.js +9 -0
- package/dist/dom/flags/data/WF.js +9 -0
- package/dist/dom/flags/data/WS.js +9 -0
- package/dist/dom/flags/data/XK.js +9 -0
- package/dist/dom/flags/data/YE.js +9 -0
- package/dist/dom/flags/data/YT.js +9 -0
- package/dist/dom/flags/data/ZA.js +9 -0
- package/dist/dom/flags/data/ZM.js +9 -0
- package/dist/dom/flags/data/ZW.js +9 -0
- package/dist/dom/flags/flags.gen.js +532 -0
- package/dist/dom/flags/index.js +264 -0
- package/dist/dom/floating-panel/floating-panel.js +871 -0
- package/dist/dom/floating-panel/geometry.js +87 -0
- package/dist/dom/floating-panel/index.js +1 -0
- package/dist/dom/form/form.js +162 -0
- package/dist/dom/form/index.js +1 -0
- package/dist/dom/gauge/gauge.js +499 -0
- package/dist/dom/gauge/gauge.styles.js +144 -0
- package/dist/dom/gauge/index.js +1 -0
- package/dist/dom/gauge/scale.js +143 -0
- package/dist/dom/gif-browser/gif-browser.js +1031 -0
- package/dist/dom/gif-browser/index.js +3 -0
- package/dist/dom/gif-browser/klipy.js +93 -0
- package/dist/dom/gif-browser/machine.js +123 -0
- package/dist/dom/gif-browser/masonry.js +24 -0
- package/dist/dom/gif-browser/types.js +0 -0
- package/dist/dom/highlight/highlight.js +44 -0
- package/dist/dom/highlight/index.js +3 -0
- package/dist/dom/highlight/ranges.js +211 -0
- package/dist/dom/hover-card/hover-card.js +53 -0
- package/dist/dom/hover-card/index.js +1 -0
- package/dist/dom/icon/icon.js +71 -0
- package/dist/dom/icon/index.js +1 -0
- package/dist/dom/icon-stack/icon-stack.js +131 -0
- package/dist/dom/icon-stack/index.js +1 -0
- package/dist/dom/icon-tile/icon-tile.js +160 -0
- package/dist/dom/icon-tile/icon-tile.styles.js +131 -0
- package/dist/dom/icon-tile/index.js +1 -0
- package/dist/dom/icons/data/Accessibility.js +14 -0
- package/dist/dom/icons/data/Activity.js +4 -0
- package/dist/dom/icons/data/AgendaView.js +4 -0
- package/dist/dom/icons/data/AiSpeech.js +4 -0
- package/dist/dom/icons/data/AiVoice.js +4 -0
- package/dist/dom/icons/data/AiVoiceGenerator.js +4 -0
- package/dist/dom/icons/data/AlarmClock.js +15 -0
- package/dist/dom/icons/data/AlarmClockCheck.js +15 -0
- package/dist/dom/icons/data/AlignCenter.js +8 -0
- package/dist/dom/icons/data/AlignCenterHorizontal.js +10 -0
- package/dist/dom/icons/data/AlignCenterVertical.js +10 -0
- package/dist/dom/icons/data/AlignEndHorizontal.js +20 -0
- package/dist/dom/icons/data/AlignEndVertical.js +20 -0
- package/dist/dom/icons/data/AlignHorizontalDistributeCenter.js +23 -0
- package/dist/dom/icons/data/AlignJustify.js +8 -0
- package/dist/dom/icons/data/AlignLeft.js +8 -0
- package/dist/dom/icons/data/AlignRight.js +8 -0
- package/dist/dom/icons/data/AlignStartHorizontal.js +20 -0
- package/dist/dom/icons/data/AlignStartVertical.js +20 -0
- package/dist/dom/icons/data/AlignVerticalDistributeCenter.js +23 -0
- package/dist/dom/icons/data/Archive.js +14 -0
- package/dist/dom/icons/data/ArchiveDuotone.js +7 -0
- package/dist/dom/icons/data/ArrowDown.js +4 -0
- package/dist/dom/icons/data/ArrowDownLeft.js +4 -0
- package/dist/dom/icons/data/ArrowDownRight.js +4 -0
- package/dist/dom/icons/data/ArrowDownToLine.js +8 -0
- package/dist/dom/icons/data/ArrowDownUp.js +9 -0
- package/dist/dom/icons/data/ArrowLeft.js +4 -0
- package/dist/dom/icons/data/ArrowLeftRight.js +9 -0
- package/dist/dom/icons/data/ArrowRight.js +4 -0
- package/dist/dom/icons/data/ArrowUp.js +4 -0
- package/dist/dom/icons/data/ArrowUpDown.js +9 -0
- package/dist/dom/icons/data/ArrowUpFromLine.js +8 -0
- package/dist/dom/icons/data/ArrowUpLeft.js +4 -0
- package/dist/dom/icons/data/ArrowUpRight.js +4 -0
- package/dist/dom/icons/data/AssistantControl.js +12 -0
- package/dist/dom/icons/data/Asterisk.js +8 -0
- package/dist/dom/icons/data/AtSign.js +8 -0
- package/dist/dom/icons/data/AudioLines.js +11 -0
- package/dist/dom/icons/data/AudioWaveform.js +4 -0
- package/dist/dom/icons/data/Award.js +8 -0
- package/dist/dom/icons/data/BackgroundBlur.js +8 -0
- package/dist/dom/icons/data/BadgeCheck.js +4 -0
- package/dist/dom/icons/data/Ban.js +8 -0
- package/dist/dom/icons/data/Banknote.js +18 -0
- package/dist/dom/icons/data/BarChart3.js +9 -0
- package/dist/dom/icons/data/Battery.js +10 -0
- package/dist/dom/icons/data/BatteryCharging.js +9 -0
- package/dist/dom/icons/data/BatteryLow.js +14 -0
- package/dist/dom/icons/data/Bell.js +4 -0
- package/dist/dom/icons/data/BellDot.js +12 -0
- package/dist/dom/icons/data/BellOff.js +9 -0
- package/dist/dom/icons/data/BellRing.js +9 -0
- package/dist/dom/icons/data/Blocks.js +10 -0
- package/dist/dom/icons/data/Bluetooth.js +4 -0
- package/dist/dom/icons/data/Bold.js +4 -0
- package/dist/dom/icons/data/Book.js +4 -0
- package/dist/dom/icons/data/BookOpen.js +4 -0
- package/dist/dom/icons/data/Bookmark.js +4 -0
- package/dist/dom/icons/data/BookmarkCheck.js +4 -0
- package/dist/dom/icons/data/BookmarkPlus.js +8 -0
- package/dist/dom/icons/data/BookmarkSolid.js +8 -0
- package/dist/dom/icons/data/Bot.js +17 -0
- package/dist/dom/icons/data/BotMessageSquare.js +11 -0
- package/dist/dom/icons/data/Braces.js +4 -0
- package/dist/dom/icons/data/Brackets.js +4 -0
- package/dist/dom/icons/data/Brain.js +13 -0
- package/dist/dom/icons/data/BrainCircuit.js +37 -0
- package/dist/dom/icons/data/BringToFront.js +14 -0
- package/dist/dom/icons/data/Bug.js +16 -0
- package/dist/dom/icons/data/Building.js +22 -0
- package/dist/dom/icons/data/Building2.js +10 -0
- package/dist/dom/icons/data/Calculator.js +31 -0
- package/dist/dom/icons/data/Calendar.js +15 -0
- package/dist/dom/icons/data/CalendarCheck.js +16 -0
- package/dist/dom/icons/data/CalendarClock.js +15 -0
- package/dist/dom/icons/data/CalendarDays.js +21 -0
- package/dist/dom/icons/data/CalendarPlus.js +11 -0
- package/dist/dom/icons/data/CalendarRange.js +19 -0
- package/dist/dom/icons/data/CalendarX.js +17 -0
- package/dist/dom/icons/data/CalendarX2.js +11 -0
- package/dist/dom/icons/data/CallEndControl.js +9 -0
- package/dist/dom/icons/data/Camera.js +8 -0
- package/dist/dom/icons/data/Captions.js +11 -0
- package/dist/dom/icons/data/Car.js +17 -0
- package/dist/dom/icons/data/Cast.js +14 -0
- package/dist/dom/icons/data/ChartArea.js +4 -0
- package/dist/dom/icons/data/ChartBar.js +9 -0
- package/dist/dom/icons/data/ChartLine.js +4 -0
- package/dist/dom/icons/data/ChartPie.js +4 -0
- package/dist/dom/icons/data/ChatControl.js +8 -0
- package/dist/dom/icons/data/Check.js +4 -0
- package/dist/dom/icons/data/ChevronDown.js +4 -0
- package/dist/dom/icons/data/ChevronLeft.js +4 -0
- package/dist/dom/icons/data/ChevronRight.js +4 -0
- package/dist/dom/icons/data/ChevronUp.js +4 -0
- package/dist/dom/icons/data/ChevronsDown.js +4 -0
- package/dist/dom/icons/data/ChevronsLeft.js +4 -0
- package/dist/dom/icons/data/ChevronsLeftRight.js +4 -0
- package/dist/dom/icons/data/ChevronsRight.js +4 -0
- package/dist/dom/icons/data/ChevronsUp.js +4 -0
- package/dist/dom/icons/data/ChevronsUpDown.js +4 -0
- package/dist/dom/icons/data/Circle.js +8 -0
- package/dist/dom/icons/data/CircleAlert.js +22 -0
- package/dist/dom/icons/data/CircleCheck.js +8 -0
- package/dist/dom/icons/data/CircleCheckBig.js +4 -0
- package/dist/dom/icons/data/CircleDashed.js +13 -0
- package/dist/dom/icons/data/CircleDollarSign.js +12 -0
- package/dist/dom/icons/data/CircleDot.js +12 -0
- package/dist/dom/icons/data/CircleDotDashed.js +18 -0
- package/dist/dom/icons/data/CircleHelp.js +12 -0
- package/dist/dom/icons/data/CircleMinus.js +8 -0
- package/dist/dom/icons/data/CirclePause.js +22 -0
- package/dist/dom/icons/data/CirclePlay.js +8 -0
- package/dist/dom/icons/data/CirclePlus.js +12 -0
- package/dist/dom/icons/data/CircleSlash.js +13 -0
- package/dist/dom/icons/data/CircleSmall.js +8 -0
- package/dist/dom/icons/data/CircleStop.js +14 -0
- package/dist/dom/icons/data/CircleX.js +12 -0
- package/dist/dom/icons/data/Clipboard.js +11 -0
- package/dist/dom/icons/data/ClipboardCheck.js +15 -0
- package/dist/dom/icons/data/ClipboardCopy.js +17 -0
- package/dist/dom/icons/data/ClipboardList.js +18 -0
- package/dist/dom/icons/data/ClipboardPaste.js +16 -0
- package/dist/dom/icons/data/Clock.js +8 -0
- package/dist/dom/icons/data/Cloud.js +4 -0
- package/dist/dom/icons/data/CloudOff.js +8 -0
- package/dist/dom/icons/data/CloudSun.js +11 -0
- package/dist/dom/icons/data/Code.js +4 -0
- package/dist/dom/icons/data/CodeXml.js +8 -0
- package/dist/dom/icons/data/Coffee.js +9 -0
- package/dist/dom/icons/data/Coins.js +13 -0
- package/dist/dom/icons/data/Columns2.js +10 -0
- package/dist/dom/icons/data/Columns3.js +14 -0
- package/dist/dom/icons/data/Compass.js +8 -0
- package/dist/dom/icons/data/Construction.js +19 -0
- package/dist/dom/icons/data/Contact.js +20 -0
- package/dist/dom/icons/data/Copy.js +11 -0
- package/dist/dom/icons/data/CopyPlus.js +26 -0
- package/dist/dom/icons/data/CornerDownLeft.js +4 -0
- package/dist/dom/icons/data/Cpu.js +31 -0
- package/dist/dom/icons/data/CreditCard.js +19 -0
- package/dist/dom/icons/data/CreditCardPlus.js +10 -0
- package/dist/dom/icons/data/Crop.js +4 -0
- package/dist/dom/icons/data/Crown.js +4 -0
- package/dist/dom/icons/data/Database.js +13 -0
- package/dist/dom/icons/data/DollarSign.js +4 -0
- package/dist/dom/icons/data/Dot.js +8 -0
- package/dist/dom/icons/data/Download.js +8 -0
- package/dist/dom/icons/data/Droplet.js +4 -0
- package/dist/dom/icons/data/Ear.js +4 -0
- package/dist/dom/icons/data/EarOff.js +15 -0
- package/dist/dom/icons/data/Earth.js +13 -0
- package/dist/dom/icons/data/Ellipsis.js +20 -0
- package/dist/dom/icons/data/EllipsisVertical.js +20 -0
- package/dist/dom/icons/data/Eraser.js +4 -0
- package/dist/dom/icons/data/Expand.js +13 -0
- package/dist/dom/icons/data/ExternalLink.js +8 -0
- package/dist/dom/icons/data/Eye.js +8 -0
- package/dist/dom/icons/data/EyeClosed.js +10 -0
- package/dist/dom/icons/data/EyeOff.js +9 -0
- package/dist/dom/icons/data/FastForward.js +4 -0
- package/dist/dom/icons/data/File.js +4 -0
- package/dist/dom/icons/data/FileAi.js +4 -0
- package/dist/dom/icons/data/FileArchive.js +15 -0
- package/dist/dom/icons/data/FileAudio.js +8 -0
- package/dist/dom/icons/data/FileCheck.js +8 -0
- package/dist/dom/icons/data/FileCode.js +9 -0
- package/dist/dom/icons/data/FileDiff.js +9 -0
- package/dist/dom/icons/data/FileImage.js +13 -0
- package/dist/dom/icons/data/FileMinus.js +8 -0
- package/dist/dom/icons/data/FilePen.js +8 -0
- package/dist/dom/icons/data/FilePlus.js +9 -0
- package/dist/dom/icons/data/FileQuestion.js +8 -0
- package/dist/dom/icons/data/FileSpreadsheet.js +11 -0
- package/dist/dom/icons/data/FileText.js +10 -0
- package/dist/dom/icons/data/FileVideo.js +8 -0
- package/dist/dom/icons/data/Files.js +8 -0
- package/dist/dom/icons/data/Film.js +19 -0
- package/dist/dom/icons/data/FilterX.js +8 -0
- package/dist/dom/icons/data/Fingerprint.js +14 -0
- package/dist/dom/icons/data/Flag.js +4 -0
- package/dist/dom/icons/data/FlagOff.js +9 -0
- package/dist/dom/icons/data/Flame.js +4 -0
- package/dist/dom/icons/data/FlipHorizontal2.js +11 -0
- package/dist/dom/icons/data/Focus.js +14 -0
- package/dist/dom/icons/data/Folder.js +4 -0
- package/dist/dom/icons/data/FolderClosed.js +4 -0
- package/dist/dom/icons/data/FolderInput.js +8 -0
- package/dist/dom/icons/data/FolderOpen.js +4 -0
- package/dist/dom/icons/data/FolderPlus.js +8 -0
- package/dist/dom/icons/data/FolderSearch.js +12 -0
- package/dist/dom/icons/data/FolderTree.js +9 -0
- package/dist/dom/icons/data/Forward.js +4 -0
- package/dist/dom/icons/data/Fullscreen.js +16 -0
- package/dist/dom/icons/data/GalleryThumbnails.js +16 -0
- package/dist/dom/icons/data/Gauge.js +4 -0
- package/dist/dom/icons/data/Gift.js +15 -0
- package/dist/dom/icons/data/GitBranch.js +16 -0
- package/dist/dom/icons/data/GitCommitHorizontal.js +22 -0
- package/dist/dom/icons/data/GitMerge.js +16 -0
- package/dist/dom/icons/data/GitPullRequest.js +22 -0
- package/dist/dom/icons/data/Globe.js +12 -0
- package/dist/dom/icons/data/GraduationCap.js +8 -0
- package/dist/dom/icons/data/Grid3x3.js +16 -0
- package/dist/dom/icons/data/Grip.js +50 -0
- package/dist/dom/icons/data/GripHorizontal.js +35 -0
- package/dist/dom/icons/data/GripVertical.js +35 -0
- package/dist/dom/icons/data/Group.js +23 -0
- package/dist/dom/icons/data/Hand.js +9 -0
- package/dist/dom/icons/data/HardDrive.js +9 -0
- package/dist/dom/icons/data/Hash.js +29 -0
- package/dist/dom/icons/data/Hd.js +4 -0
- package/dist/dom/icons/data/Heading1.js +9 -0
- package/dist/dom/icons/data/Heading2.js +9 -0
- package/dist/dom/icons/data/Heading3.js +10 -0
- package/dist/dom/icons/data/Headphones.js +4 -0
- package/dist/dom/icons/data/Heart.js +4 -0
- package/dist/dom/icons/data/HeartOff.js +8 -0
- package/dist/dom/icons/data/HeartPulse.js +4 -0
- package/dist/dom/icons/data/HeartSolid.js +8 -0
- package/dist/dom/icons/data/Heatmap.js +4 -0
- package/dist/dom/icons/data/History.js +8 -0
- package/dist/dom/icons/data/Hourglass.js +9 -0
- package/dist/dom/icons/data/House.js +4 -0
- package/dist/dom/icons/data/IdCard.js +20 -0
- package/dist/dom/icons/data/Image.js +19 -0
- package/dist/dom/icons/data/ImageOff.js +26 -0
- package/dist/dom/icons/data/ImagePlus.js +14 -0
- package/dist/dom/icons/data/Images.js +20 -0
- package/dist/dom/icons/data/Inbox.js +4 -0
- package/dist/dom/icons/data/IndentDecrease.js +9 -0
- package/dist/dom/icons/data/IndentIncrease.js +9 -0
- package/dist/dom/icons/data/Info.js +12 -0
- package/dist/dom/icons/data/Italic.js +23 -0
- package/dist/dom/icons/data/Kanban.js +8 -0
- package/dist/dom/icons/data/Key.js +12 -0
- package/dist/dom/icons/data/KeyRound.js +9 -0
- package/dist/dom/icons/data/Keyboard.js +20 -0
- package/dist/dom/icons/data/Landmark.js +11 -0
- package/dist/dom/icons/data/Languages.js +11 -0
- package/dist/dom/icons/data/Laptop.js +4 -0
- package/dist/dom/icons/data/Layers.js +8 -0
- package/dist/dom/icons/data/LayoutDashboard.js +33 -0
- package/dist/dom/icons/data/LayoutGrid.js +33 -0
- package/dist/dom/icons/data/LayoutList.js +23 -0
- package/dist/dom/icons/data/LayoutPanelLeft.js +26 -0
- package/dist/dom/icons/data/LayoutTemplate.js +26 -0
- package/dist/dom/icons/data/Leaf.js +4 -0
- package/dist/dom/icons/data/LifeBuoy.js +19 -0
- package/dist/dom/icons/data/Lightbulb.js +8 -0
- package/dist/dom/icons/data/Link.js +4 -0
- package/dist/dom/icons/data/Link2.js +13 -0
- package/dist/dom/icons/data/Link2Off.js +19 -0
- package/dist/dom/icons/data/List.js +11 -0
- package/dist/dom/icons/data/ListChecks.js +10 -0
- package/dist/dom/icons/data/ListFilter.js +8 -0
- package/dist/dom/icons/data/ListOrdered.js +11 -0
- package/dist/dom/icons/data/ListPlus.js +10 -0
- package/dist/dom/icons/data/ListTodo.js +16 -0
- package/dist/dom/icons/data/ListTree.js +10 -0
- package/dist/dom/icons/data/ListX.js +10 -0
- package/dist/dom/icons/data/Loader.js +13 -0
- package/dist/dom/icons/data/LoaderCircle.js +4 -0
- package/dist/dom/icons/data/LoaderPinwheel.js +13 -0
- package/dist/dom/icons/data/Lock.js +11 -0
- package/dist/dom/icons/data/LockKeyhole.js +18 -0
- package/dist/dom/icons/data/LockOpen.js +11 -0
- package/dist/dom/icons/data/LogIn.js +8 -0
- package/dist/dom/icons/data/LogOut.js +8 -0
- package/dist/dom/icons/data/Mail.js +10 -0
- package/dist/dom/icons/data/MailCheck.js +8 -0
- package/dist/dom/icons/data/MailOpen.js +4 -0
- package/dist/dom/icons/data/MailPlus.js +9 -0
- package/dist/dom/icons/data/MailQuestionMark.js +9 -0
- package/dist/dom/icons/data/MailWarning.js +9 -0
- package/dist/dom/icons/data/Map.js +8 -0
- package/dist/dom/icons/data/MapPin.js +8 -0
- package/dist/dom/icons/data/MapPinned.js +12 -0
- package/dist/dom/icons/data/Mars.js +12 -0
- package/dist/dom/icons/data/Maximize.js +9 -0
- package/dist/dom/icons/data/Maximize2.js +9 -0
- package/dist/dom/icons/data/Megaphone.js +8 -0
- package/dist/dom/icons/data/Menu.js +8 -0
- package/dist/dom/icons/data/MessageCircle.js +4 -0
- package/dist/dom/icons/data/MessageCircleMore.js +9 -0
- package/dist/dom/icons/data/MessageSquare.js +4 -0
- package/dist/dom/icons/data/MessageSquarePlus.js +8 -0
- package/dist/dom/icons/data/MessageSquareText.js +9 -0
- package/dist/dom/icons/data/MessagesSquare.js +4 -0
- package/dist/dom/icons/data/Mic.js +14 -0
- package/dist/dom/icons/data/MicControl.js +13 -0
- package/dist/dom/icons/data/MicOff.js +11 -0
- package/dist/dom/icons/data/MicOffControl.js +8 -0
- package/dist/dom/icons/data/Minimize.js +9 -0
- package/dist/dom/icons/data/Minimize2.js +9 -0
- package/dist/dom/icons/data/Minus.js +4 -0
- package/dist/dom/icons/data/Monitor.js +24 -0
- package/dist/dom/icons/data/MonitorUp.js +16 -0
- package/dist/dom/icons/data/Moon.js +4 -0
- package/dist/dom/icons/data/MoreControl.js +8 -0
- package/dist/dom/icons/data/Mouse.js +10 -0
- package/dist/dom/icons/data/MousePointer2.js +4 -0
- package/dist/dom/icons/data/MousePointerClick.js +10 -0
- package/dist/dom/icons/data/Move.js +11 -0
- package/dist/dom/icons/data/MoveHorizontal.js +8 -0
- package/dist/dom/icons/data/Music.js +16 -0
- package/dist/dom/icons/data/Navigation.js +4 -0
- package/dist/dom/icons/data/Network.js +28 -0
- package/dist/dom/icons/data/OctagonAlert.js +8 -0
- package/dist/dom/icons/data/Package.js +9 -0
- package/dist/dom/icons/data/Palette.js +30 -0
- package/dist/dom/icons/data/PanelLeft.js +10 -0
- package/dist/dom/icons/data/PanelLeftClose.js +14 -0
- package/dist/dom/icons/data/PanelRight.js +10 -0
- package/dist/dom/icons/data/PanelRightOpen.js +14 -0
- package/dist/dom/icons/data/Paperclip.js +4 -0
- package/dist/dom/icons/data/PartyPopper.js +14 -0
- package/dist/dom/icons/data/Pause.js +16 -0
- package/dist/dom/icons/data/PawPrint.js +21 -0
- package/dist/dom/icons/data/Pen.js +4 -0
- package/dist/dom/icons/data/PenLine.js +4 -0
- package/dist/dom/icons/data/Pencil.js +4 -0
- package/dist/dom/icons/data/PeopleControl.js +20 -0
- package/dist/dom/icons/data/Percent.js +21 -0
- package/dist/dom/icons/data/Phone.js +4 -0
- package/dist/dom/icons/data/PhoneCall.js +8 -0
- package/dist/dom/icons/data/PhoneOff.js +8 -0
- package/dist/dom/icons/data/PictureInPicture.js +16 -0
- package/dist/dom/icons/data/Pilcrow.js +8 -0
- package/dist/dom/icons/data/Pin.js +4 -0
- package/dist/dom/icons/data/PinOff.js +9 -0
- package/dist/dom/icons/data/Pipette.js +8 -0
- package/dist/dom/icons/data/Plane.js +4 -0
- package/dist/dom/icons/data/Play.js +4 -0
- package/dist/dom/icons/data/Plug.js +9 -0
- package/dist/dom/icons/data/Plus.js +4 -0
- package/dist/dom/icons/data/Power.js +4 -0
- package/dist/dom/icons/data/Presence.js +4 -0
- package/dist/dom/icons/data/Printer.js +14 -0
- package/dist/dom/icons/data/QrCode.js +35 -0
- package/dist/dom/icons/data/Quote.js +4 -0
- package/dist/dom/icons/data/Radio.js +14 -0
- package/dist/dom/icons/data/RaiseHand.js +4 -0
- package/dist/dom/icons/data/ReactionsControl.js +12 -0
- package/dist/dom/icons/data/Receipt.js +8 -0
- package/dist/dom/icons/data/Redo.js +4 -0
- package/dist/dom/icons/data/Redo2.js +4 -0
- package/dist/dom/icons/data/RefreshCcw.js +9 -0
- package/dist/dom/icons/data/RefreshCw.js +9 -0
- package/dist/dom/icons/data/Regex.js +9 -0
- package/dist/dom/icons/data/RemoveFormatting.js +10 -0
- package/dist/dom/icons/data/Repeat.js +9 -0
- package/dist/dom/icons/data/Reply.js +4 -0
- package/dist/dom/icons/data/ReplyAll.js +8 -0
- package/dist/dom/icons/data/Rewind.js +4 -0
- package/dist/dom/icons/data/Rocket.js +9 -0
- package/dist/dom/icons/data/RotateCcw.js +4 -0
- package/dist/dom/icons/data/RotateCw.js +4 -0
- package/dist/dom/icons/data/Rows3.js +14 -0
- package/dist/dom/icons/data/Rss.js +12 -0
- package/dist/dom/icons/data/Save.js +8 -0
- package/dist/dom/icons/data/Scan.js +9 -0
- package/dist/dom/icons/data/ScanEye.js +15 -0
- package/dist/dom/icons/data/ScanFace.js +12 -0
- package/dist/dom/icons/data/ScanLine.js +10 -0
- package/dist/dom/icons/data/Scissors.js +18 -0
- package/dist/dom/icons/data/ScreenShareControl.js +9 -0
- package/dist/dom/icons/data/ScreenShareOff.js +10 -0
- package/dist/dom/icons/data/ScrollText.js +9 -0
- package/dist/dom/icons/data/Search.js +8 -0
- package/dist/dom/icons/data/SearchX.js +13 -0
- package/dist/dom/icons/data/SelectField.js +10 -0
- package/dist/dom/icons/data/Send.js +4 -0
- package/dist/dom/icons/data/SendHorizontal.js +4 -0
- package/dist/dom/icons/data/SendToBack.js +21 -0
- package/dist/dom/icons/data/Server.js +33 -0
- package/dist/dom/icons/data/Settings.js +8 -0
- package/dist/dom/icons/data/Settings2.js +17 -0
- package/dist/dom/icons/data/SettingsControl.js +8 -0
- package/dist/dom/icons/data/Share.js +8 -0
- package/dist/dom/icons/data/Share2.js +32 -0
- package/dist/dom/icons/data/Shield.js +4 -0
- package/dist/dom/icons/data/ShieldAlert.js +8 -0
- package/dist/dom/icons/data/ShieldBan.js +4 -0
- package/dist/dom/icons/data/ShieldCheck.js +4 -0
- package/dist/dom/icons/data/ShieldOff.js +8 -0
- package/dist/dom/icons/data/ShieldPlus.js +8 -0
- package/dist/dom/icons/data/ShieldQuestion.js +8 -0
- package/dist/dom/icons/data/ShoppingBag.js +8 -0
- package/dist/dom/icons/data/ShoppingCart.js +17 -0
- package/dist/dom/icons/data/Shrink.js +9 -0
- package/dist/dom/icons/data/Shuffle.js +10 -0
- package/dist/dom/icons/data/Signal.js +10 -0
- package/dist/dom/icons/data/SignalHigh.js +9 -0
- package/dist/dom/icons/data/SignalLow.js +4 -0
- package/dist/dom/icons/data/SignalMedium.js +8 -0
- package/dist/dom/icons/data/SkipBack.js +4 -0
- package/dist/dom/icons/data/SkipForward.js +4 -0
- package/dist/dom/icons/data/SlidersHorizontal.js +14 -0
- package/dist/dom/icons/data/Smartphone.js +11 -0
- package/dist/dom/icons/data/Smile.js +13 -0
- package/dist/dom/icons/data/SmilePlus.js +11 -0
- package/dist/dom/icons/data/Snowflake.js +17 -0
- package/dist/dom/icons/data/Sparkle.js +4 -0
- package/dist/dom/icons/data/Sparkles.js +13 -0
- package/dist/dom/icons/data/Speaker.js +19 -0
- package/dist/dom/icons/data/SpeakerView.js +33 -0
- package/dist/dom/icons/data/Spotlight.js +4 -0
- package/dist/dom/icons/data/Square.js +10 -0
- package/dist/dom/icons/data/SquareArrowDown.js +14 -0
- package/dist/dom/icons/data/SquareArrowUp.js +14 -0
- package/dist/dom/icons/data/SquareCheck.js +10 -0
- package/dist/dom/icons/data/SquareCode.js +14 -0
- package/dist/dom/icons/data/SquareDashed.js +17 -0
- package/dist/dom/icons/data/SquareKanban.js +15 -0
- package/dist/dom/icons/data/SquarePen.js +4 -0
- package/dist/dom/icons/data/SquarePlus.js +14 -0
- package/dist/dom/icons/data/SquareTerminal.js +15 -0
- package/dist/dom/icons/data/SquareX.js +15 -0
- package/dist/dom/icons/data/Star.js +4 -0
- package/dist/dom/icons/data/StarOff.js +8 -0
- package/dist/dom/icons/data/StickyNote.js +4 -0
- package/dist/dom/icons/data/Store.js +8 -0
- package/dist/dom/icons/data/Strikethrough.js +13 -0
- package/dist/dom/icons/data/Sun.js +18 -0
- package/dist/dom/icons/data/SunMoon.js +10 -0
- package/dist/dom/icons/data/SwitchCamera.js +14 -0
- package/dist/dom/icons/data/Table.js +15 -0
- package/dist/dom/icons/data/Table2.js +14 -0
- package/dist/dom/icons/data/Tablet.js +16 -0
- package/dist/dom/icons/data/Tag.js +9 -0
- package/dist/dom/icons/data/Tags.js +13 -0
- package/dist/dom/icons/data/Target.js +20 -0
- package/dist/dom/icons/data/Terminal.js +4 -0
- package/dist/dom/icons/data/TextCursor.js +8 -0
- package/dist/dom/icons/data/TextSmallcaps.js +4 -0
- package/dist/dom/icons/data/Thermometer.js +4 -0
- package/dist/dom/icons/data/ThumbsDown.js +4 -0
- package/dist/dom/icons/data/ThumbsUp.js +4 -0
- package/dist/dom/icons/data/TimeZone.js +4 -0
- package/dist/dom/icons/data/Timer.js +22 -0
- package/dist/dom/icons/data/TimerOff.js +10 -0
- package/dist/dom/icons/data/Trash.js +10 -0
- package/dist/dom/icons/data/TrendingDown.js +4 -0
- package/dist/dom/icons/data/TrendingUp.js +4 -0
- package/dist/dom/icons/data/TriangleAlert.js +8 -0
- package/dist/dom/icons/data/Trophy.js +11 -0
- package/dist/dom/icons/data/Truck.js +18 -0
- package/dist/dom/icons/data/Tv.js +10 -0
- package/dist/dom/icons/data/Type.js +8 -0
- package/dist/dom/icons/data/Underline.js +9 -0
- package/dist/dom/icons/data/Undo.js +4 -0
- package/dist/dom/icons/data/Undo2.js +4 -0
- package/dist/dom/icons/data/Ungroup.js +16 -0
- package/dist/dom/icons/data/Unlink.js +31 -0
- package/dist/dom/icons/data/Unlink2.js +4 -0
- package/dist/dom/icons/data/Upload.js +8 -0
- package/dist/dom/icons/data/User.js +8 -0
- package/dist/dom/icons/data/UserCheck.js +12 -0
- package/dist/dom/icons/data/UserCog.js +24 -0
- package/dist/dom/icons/data/UserMinus.js +17 -0
- package/dist/dom/icons/data/UserPen.js +12 -0
- package/dist/dom/icons/data/UserPlus.js +23 -0
- package/dist/dom/icons/data/UserRound.js +8 -0
- package/dist/dom/icons/data/UserRoundPlus.js +13 -0
- package/dist/dom/icons/data/UserX.js +23 -0
- package/dist/dom/icons/data/Users.js +13 -0
- package/dist/dom/icons/data/UsersRound.js +12 -0
- package/dist/dom/icons/data/Venus.js +12 -0
- package/dist/dom/icons/data/VenusAndMars.js +14 -0
- package/dist/dom/icons/data/Video.js +10 -0
- package/dist/dom/icons/data/VideoControl.js +15 -0
- package/dist/dom/icons/data/VideoDisabledControl.js +17 -0
- package/dist/dom/icons/data/VideoOff.js +8 -0
- package/dist/dom/icons/data/VideoOffControl.js +13 -0
- package/dist/dom/icons/data/VoiceIsolation.js +4 -0
- package/dist/dom/icons/data/Volume.js +4 -0
- package/dist/dom/icons/data/Volume1.js +4 -0
- package/dist/dom/icons/data/Volume2.js +8 -0
- package/dist/dom/icons/data/VolumeOff.js +10 -0
- package/dist/dom/icons/data/VolumeX.js +8 -0
- package/dist/dom/icons/data/Wallet.js +4 -0
- package/dist/dom/icons/data/Wand.js +14 -0
- package/dist/dom/icons/data/WandSparkles.js +13 -0
- package/dist/dom/icons/data/Webhook.js +8 -0
- package/dist/dom/icons/data/Wifi.js +9 -0
- package/dist/dom/icons/data/WifiOff.js +12 -0
- package/dist/dom/icons/data/Wind.js +8 -0
- package/dist/dom/icons/data/WrapText.js +9 -0
- package/dist/dom/icons/data/Wrench.js +4 -0
- package/dist/dom/icons/data/X.js +4 -0
- package/dist/dom/icons/data/Zap.js +4 -0
- package/dist/dom/icons/data/ZoomIn.js +28 -0
- package/dist/dom/icons/data/ZoomOut.js +22 -0
- package/dist/dom/icons/icons.gen.js +496 -0
- package/dist/dom/icons/index.js +496 -0
- package/dist/dom/image-cropper/image-cropper.js +221 -0
- package/dist/dom/image-cropper/index.js +1 -0
- package/dist/dom/image-lightbox/carousel-stage.js +137 -0
- package/dist/dom/image-lightbox/image-lightbox.js +676 -0
- package/dist/dom/image-lightbox/index.js +1 -0
- package/dist/dom/image-lightbox/stage.js +265 -0
- package/dist/dom/index.js +228 -0
- package/dist/dom/internal/arc.js +28 -0
- package/dist/dom/internal/chip.styles.js +47 -0
- package/dist/dom/internal/class.js +45 -0
- package/dist/dom/internal/composer/box.styles.js +5 -0
- package/dist/dom/internal/composer/composer-box.js +480 -0
- package/dist/dom/internal/composer/composer-engine.js +406 -0
- package/dist/dom/internal/composer/composer-format.js +352 -0
- package/dist/dom/internal/composer/composer.js +276 -0
- package/dist/dom/internal/composer/content.styles.js +12 -0
- package/dist/dom/internal/composer/format.styles.js +23 -0
- package/dist/dom/internal/composer/frame.styles.js +23 -0
- package/dist/dom/internal/cue.js +29 -0
- package/dist/dom/internal/dialog-context.js +8 -0
- package/dist/dom/internal/disclosure.styles.js +38 -0
- package/dist/dom/internal/drag-motion.js +75 -0
- package/dist/dom/internal/drag-touch.js +109 -0
- package/dist/dom/internal/drag.styles.js +34 -0
- package/dist/dom/internal/element.js +30 -0
- package/dist/dom/internal/floating.styles.js +89 -0
- package/dist/dom/internal/form-context.js +14 -0
- package/dist/dom/internal/gauge.styles.js +93 -0
- package/dist/dom/internal/handler.js +11 -0
- package/dist/dom/internal/icon-part.js +24 -0
- package/dist/dom/internal/icons.js +89 -0
- package/dist/dom/internal/layers.js +16 -0
- package/dist/dom/internal/list.styles.js +250 -0
- package/dist/dom/internal/locale.js +66 -0
- package/dist/dom/internal/mask.js +37 -0
- package/dist/dom/internal/overflow/fit.js +73 -0
- package/dist/dom/internal/overflow/items.js +90 -0
- package/dist/dom/internal/overflow/observe.js +136 -0
- package/dist/dom/internal/overflow/row.js +32 -0
- package/dist/dom/internal/part.js +37 -0
- package/dist/dom/internal/press-focus.js +29 -0
- package/dist/dom/internal/ref.js +24 -0
- package/dist/dom/internal/rrule.js +188 -0
- package/dist/dom/internal/scroll-overflow.js +88 -0
- package/dist/dom/internal/segmented-input.styles.js +45 -0
- package/dist/dom/internal/sheet.styles.js +150 -0
- package/dist/dom/internal/shimmer.styles.js +15 -0
- package/dist/dom/internal/spring.js +63 -0
- package/dist/dom/internal/status-icons.js +8 -0
- package/dist/dom/internal/styles.js +45 -0
- package/dist/dom/internal/text-field.styles.js +101 -0
- package/dist/dom/internal/threshold.js +22 -0
- package/dist/dom/internal/time.js +8 -0
- package/dist/dom/internal/zoned.js +69 -0
- package/dist/dom/item/index.js +1 -0
- package/dist/dom/item/item.js +305 -0
- package/dist/dom/json-view/index.js +3 -0
- package/dist/dom/json-view/json-view.js +799 -0
- package/dist/dom/json-view/model.js +180 -0
- package/dist/dom/kanban/index.js +3 -0
- package/dist/dom/kanban/kanban.js +542 -0
- package/dist/dom/kanban/kanban.styles.js +88 -0
- package/dist/dom/kbd/index.js +4 -0
- package/dist/dom/kbd/kbd.js +42 -0
- package/dist/dom/kbd/kbd.styles.js +34 -0
- package/dist/dom/knob/index.js +1 -0
- package/dist/dom/knob/knob.js +534 -0
- package/dist/dom/knob/math.js +154 -0
- package/dist/dom/label/index.js +1 -0
- package/dist/dom/label/label.js +27 -0
- package/dist/dom/layout/index.js +1 -0
- package/dist/dom/layout/layout.js +281 -0
- package/dist/dom/link/index.js +1 -0
- package/dist/dom/link/link.js +64 -0
- package/dist/dom/link/link.styles.js +33 -0
- package/dist/dom/loader/index.js +1 -0
- package/dist/dom/loader/loader.js +101 -0
- package/dist/dom/locale-provider/index.js +3 -0
- package/dist/dom/locale-provider/locale-provider.js +52 -0
- package/dist/dom/locale-provider/messages.js +0 -0
- package/dist/dom/log-view/ansi.js +274 -0
- package/dist/dom/log-view/index.js +5 -0
- package/dist/dom/log-view/log-view.js +604 -0
- package/dist/dom/log-view/model.js +142 -0
- package/dist/dom/log-view/toolbar.js +233 -0
- package/dist/dom/logo/index.js +3 -0
- package/dist/dom/logo/logo-loader.js +310 -0
- package/dist/dom/logo/logo.js +178 -0
- package/dist/dom/logo/paths.js +35 -0
- package/dist/dom/logo/shapes.js +93 -0
- package/dist/dom/markdown/engine.js +54 -0
- package/dist/dom/markdown/index.js +4 -0
- package/dist/dom/markdown/markdown.js +134 -0
- package/dist/dom/markdown/markdown.styles.js +22 -0
- package/dist/dom/markdown/sanitize.js +295 -0
- package/dist/dom/markdown-editor/index.js +5 -0
- package/dist/dom/markdown-editor/markdown-editor.js +233 -0
- package/dist/dom/markdown-editor/markdown-editor.styles.js +5 -0
- package/dist/dom/markdown-editor/markdown.js +527 -0
- package/dist/dom/markdown-editor/sourced.js +161 -0
- package/dist/dom/markdown-editor/strip.js +83 -0
- package/dist/dom/markdown-editor/writer.js +524 -0
- package/dist/dom/marker/index.js +1 -0
- package/dist/dom/marker/marker.js +111 -0
- package/dist/dom/media-player/engine.js +155 -0
- package/dist/dom/media-player/index.js +3 -0
- package/dist/dom/media-player/media-player.js +741 -0
- package/dist/dom/media-player/model.js +95 -0
- package/dist/dom/media-player/primitive.js +799 -0
- package/dist/dom/menu/index.js +1 -0
- package/dist/dom/menu/menu.js +223 -0
- package/dist/dom/menubar/index.js +1 -0
- package/dist/dom/menubar/menubar.js +81 -0
- package/dist/dom/message/index.js +1 -0
- package/dist/dom/message/message.js +391 -0
- package/dist/dom/message-scroller/index.js +1 -0
- package/dist/dom/message-scroller/message-scroller.js +314 -0
- package/dist/dom/meter/index.js +1 -0
- package/dist/dom/meter/meter.js +63 -0
- package/dist/dom/model-picker/index.js +1 -0
- package/dist/dom/model-picker/model-picker.js +251 -0
- package/dist/dom/model-picker/panel.js +214 -0
- package/dist/dom/natural-date-input/engine.js +162 -0
- package/dist/dom/natural-date-input/format.js +125 -0
- package/dist/dom/natural-date-input/index.js +6 -0
- package/dist/dom/natural-date-input/natural-date-input.js +1189 -0
- package/dist/dom/natural-date-input/parser.js +48 -0
- package/dist/dom/natural-date-input/picker.js +128 -0
- package/dist/dom/natural-date-input/types.js +0 -0
- package/dist/dom/navigation-menu/index.js +1 -0
- package/dist/dom/navigation-menu/navigation-menu.js +271 -0
- package/dist/dom/notice-stack/index.js +1 -0
- package/dist/dom/notice-stack/notice-stack.js +302 -0
- package/dist/dom/number-input/index.js +1 -0
- package/dist/dom/number-input/number-input.js +148 -0
- package/dist/dom/orb/index.js +1 -0
- package/dist/dom/orb/orb.js +116 -0
- package/dist/dom/otp-input/index.js +1 -0
- package/dist/dom/otp-input/otp-input.js +76 -0
- package/dist/dom/pagination/index.js +1 -0
- package/dist/dom/pagination/pagination.js +176 -0
- package/dist/dom/panel-stack/index.js +1 -0
- package/dist/dom/panel-stack/panel-stack.js +674 -0
- package/dist/dom/password-input/index.js +1 -0
- package/dist/dom/password-input/password-input.js +69 -0
- package/dist/dom/peek-panel/context.js +26 -0
- package/dist/dom/peek-panel/index.js +4 -0
- package/dist/dom/peek-panel/model.js +44 -0
- package/dist/dom/peek-panel/parts.js +480 -0
- package/dist/dom/peek-panel/peek-panel.js +379 -0
- package/dist/dom/peek-panel/peek-sheet.js +30 -0
- package/dist/dom/phone-input/countries.js +57 -0
- package/dist/dom/phone-input/engine.js +56 -0
- package/dist/dom/phone-input/index.js +4 -0
- package/dist/dom/phone-input/load.js +28 -0
- package/dist/dom/phone-input/model.js +89 -0
- package/dist/dom/phone-input/phone-input.js +675 -0
- package/dist/dom/pocket/index.js +1 -0
- package/dist/dom/pocket/pocket.js +187 -0
- package/dist/dom/popover/index.js +1 -0
- package/dist/dom/popover/popover.js +158 -0
- package/dist/dom/progress/index.js +1 -0
- package/dist/dom/progress/progress.js +72 -0
- package/dist/dom/prompt-input/index.js +1 -0
- package/dist/dom/prompt-input/prompt-input.js +843 -0
- package/dist/dom/property-list/commit.js +86 -0
- package/dist/dom/property-list/index.js +7 -0
- package/dist/dom/property-list/property-date.js +190 -0
- package/dist/dom/property-list/property-list.js +289 -0
- package/dist/dom/property-list/property-list.styles.js +303 -0
- package/dist/dom/property-list/property-popover.js +185 -0
- package/dist/dom/property-list/property-select.js +395 -0
- package/dist/dom/property-list/property-switch.js +69 -0
- package/dist/dom/property-list/property-text.js +523 -0
- package/dist/dom/prose/index.js +1 -0
- package/dist/dom/prose/prose.js +47 -0
- package/dist/dom/prose-editor/announce.js +1 -0
- package/dist/dom/prose-editor/code-view.js +208 -0
- package/dist/dom/prose-editor/controller.js +118 -0
- package/dist/dom/prose-editor/doc.js +581 -0
- package/dist/dom/prose-editor/dom-reader.js +251 -0
- package/dist/dom/prose-editor/editor.styles.js +384 -0
- package/dist/dom/prose-editor/engine.js +959 -0
- package/dist/dom/prose-editor/highlight.js +33 -0
- package/dist/dom/prose-editor/index.js +5 -0
- package/dist/dom/prose-editor/keys.js +22 -0
- package/dist/dom/prose-editor/labels.js +53 -0
- package/dist/dom/prose-editor/language-names.js +1 -0
- package/dist/dom/prose-editor/languages.js +57 -0
- package/dist/dom/prose-editor/link-row.js +116 -0
- package/dist/dom/prose-editor/mention.js +57 -0
- package/dist/dom/prose-editor/more-menu.js +152 -0
- package/dist/dom/prose-editor/prose-editor.js +533 -0
- package/dist/dom/prose-editor/schema.js +259 -0
- package/dist/dom/prose-editor/server.js +11 -0
- package/dist/dom/prose-editor/sugar.js +43 -0
- package/dist/dom/prose-editor/suggest-adapter.js +147 -0
- package/dist/dom/prose-editor/suggestions-menu.js +553 -0
- package/dist/dom/prose-editor/suggestions.js +73 -0
- package/dist/dom/prose-editor/toolbar-extras.js +3 -0
- package/dist/dom/prose-editor/toolbar.js +621 -0
- package/dist/dom/prose-editor/view-parts.js +27 -0
- package/dist/dom/prose-editor-suggestions/index.js +1 -0
- package/dist/dom/questionnaire/index.js +1 -0
- package/dist/dom/questionnaire/questionnaire.js +988 -0
- package/dist/dom/radio/index.js +1 -0
- package/dist/dom/radio/radio.js +119 -0
- package/dist/dom/rating/index.js +1 -0
- package/dist/dom/rating/rating.js +135 -0
- package/dist/dom/reactions/index.js +3 -0
- package/dist/dom/reactions/model.js +78 -0
- package/dist/dom/reactions/reactions.js +821 -0
- package/dist/dom/reasoning/index.js +1 -0
- package/dist/dom/reasoning/reasoning.js +265 -0
- package/dist/dom/recurrence/dialog.js +97 -0
- package/dist/dom/recurrence/editor.js +655 -0
- package/dist/dom/recurrence/index.js +6 -0
- package/dist/dom/recurrence/labels.js +46 -0
- package/dist/dom/recurrence/model.js +425 -0
- package/dist/dom/recurrence/recurrence-select.js +200 -0
- package/dist/dom/relative-time/clock.js +51 -0
- package/dist/dom/relative-time/index.js +1 -0
- package/dist/dom/relative-time/relative-time.js +212 -0
- package/dist/dom/resizable/index.js +1 -0
- package/dist/dom/resizable/resizable.js +76 -0
- package/dist/dom/ring/index.js +3 -0
- package/dist/dom/ring/meter-ring.js +74 -0
- package/dist/dom/ring/progress-ring.js +72 -0
- package/dist/dom/ring/ring.styles.js +90 -0
- package/dist/dom/schedule-list/index.js +3 -0
- package/dist/dom/schedule-list/menu.js +52 -0
- package/dist/dom/schedule-list/model.js +167 -0
- package/dist/dom/schedule-list/schedule-list.js +1543 -0
- package/dist/dom/scroll-area/index.js +1 -0
- package/dist/dom/scroll-area/scroll-area.js +147 -0
- package/dist/dom/secret/index.js +1 -0
- package/dist/dom/secret/secret.js +352 -0
- package/dist/dom/segmented-control/index.js +1 -0
- package/dist/dom/segmented-control/segmented-control.js +74 -0
- package/dist/dom/select/align.js +162 -0
- package/dist/dom/select/index.js +1 -0
- package/dist/dom/select/select.js +211 -0
- package/dist/dom/separator/index.js +1 -0
- package/dist/dom/separator/separator.js +24 -0
- package/dist/dom/sheet/index.js +1 -0
- package/dist/dom/sheet/sheet.js +191 -0
- package/dist/dom/shortcut-recorder/capture.js +99 -0
- package/dist/dom/shortcut-recorder/index.js +4 -0
- package/dist/dom/shortcut-recorder/labels.js +28 -0
- package/dist/dom/shortcut-recorder/model.js +22 -0
- package/dist/dom/shortcut-recorder/popover.js +436 -0
- package/dist/dom/shortcut-recorder/shortcut-recorder.js +374 -0
- package/dist/dom/shortcuts/conflicts.js +64 -0
- package/dist/dom/shortcuts/index.js +9 -0
- package/dist/dom/shortcuts/keys.js +126 -0
- package/dist/dom/shortcuts/list.js +189 -0
- package/dist/dom/shortcuts/model.js +89 -0
- package/dist/dom/shortcuts/platform.js +16 -0
- package/dist/dom/shortcuts/scope.js +118 -0
- package/dist/dom/shortcuts/shortcuts.js +48 -0
- package/dist/dom/shortcuts/use-shortcut.js +45 -0
- package/dist/dom/sidebar/context.js +24 -0
- package/dist/dom/sidebar/index.js +6 -0
- package/dist/dom/sidebar/lazy-tips.js +101 -0
- package/dist/dom/sidebar/menu.js +700 -0
- package/dist/dom/sidebar/sheet.js +48 -0
- package/dist/dom/sidebar/sidebar.js +818 -0
- package/dist/dom/sidebar/sidebar.styles.js +467 -0
- package/dist/dom/sidebar/tips.js +82 -0
- package/dist/dom/sidebar/views.js +60 -0
- package/dist/dom/signature-pad/export.js +39 -0
- package/dist/dom/signature-pad/index.js +4 -0
- package/dist/dom/signature-pad/model.js +227 -0
- package/dist/dom/signature-pad/signature-pad.js +691 -0
- package/dist/dom/skeleton/index.js +1 -0
- package/dist/dom/skeleton/skeleton.js +73 -0
- package/dist/dom/slider/index.js +1 -0
- package/dist/dom/slider/slider.js +163 -0
- package/dist/dom/sortable-list/index.js +3 -0
- package/dist/dom/sortable-list/sortable-list.js +351 -0
- package/dist/dom/sortable-list/sortable-list.styles.js +70 -0
- package/dist/dom/span-timeline/index.js +3 -0
- package/dist/dom/span-timeline/model.js +137 -0
- package/dist/dom/span-timeline/span-timeline.js +301 -0
- package/dist/dom/spinner/index.js +1 -0
- package/dist/dom/spinner/spinner.js +87 -0
- package/dist/dom/stat/context.js +5 -0
- package/dist/dom/stat/delta.js +300 -0
- package/dist/dom/stat/index.js +3 -0
- package/dist/dom/stat/stat.js +458 -0
- package/dist/dom/statusbar/index.js +1 -0
- package/dist/dom/statusbar/statusbar.js +326 -0
- package/dist/dom/stepper/index.js +1 -0
- package/dist/dom/stepper/stepper.js +426 -0
- package/dist/dom/stepper/stepper.styles.js +43 -0
- package/dist/dom/switch/index.js +1 -0
- package/dist/dom/switch/switch.js +79 -0
- package/dist/dom/table/index.js +1 -0
- package/dist/dom/table/table.js +264 -0
- package/dist/dom/table-of-contents/headings.js +54 -0
- package/dist/dom/table-of-contents/index.js +3 -0
- package/dist/dom/table-of-contents/scrollspy.js +135 -0
- package/dist/dom/table-of-contents/table-of-contents.js +239 -0
- package/dist/dom/tabs/index.js +1 -0
- package/dist/dom/tabs/tabs.js +176 -0
- package/dist/dom/tabs-overflow/index.js +1 -0
- package/dist/dom/tabs-overflow/menu.js +83 -0
- package/dist/dom/tabs-overflow/tabs-overflow.js +218 -0
- package/dist/dom/task-tray/index.js +4 -0
- package/dist/dom/task-tray/model.js +91 -0
- package/dist/dom/task-tray/store.js +352 -0
- package/dist/dom/task-tray/task-tray.js +979 -0
- package/dist/dom/text/index.js +1 -0
- package/dist/dom/text/text.js +215 -0
- package/dist/dom/theme/index.js +1 -0
- package/dist/dom/theme/theme.js +55 -0
- package/dist/dom/theme-switcher/index.js +1 -0
- package/dist/dom/theme-switcher/theme-switcher.js +106 -0
- package/dist/dom/thread-list/index.js +1 -0
- package/dist/dom/thread-list/thread-list.js +358 -0
- package/dist/dom/tiling/create-tiling.js +65 -0
- package/dist/dom/tiling/engine/controllers/drag.js +101 -0
- package/dist/dom/tiling/engine/controllers/resize.js +65 -0
- package/dist/dom/tiling/engine/defaults.js +20 -0
- package/dist/dom/tiling/engine/emitter.js +35 -0
- package/dist/dom/tiling/engine/engine.js +906 -0
- package/dist/dom/tiling/engine/geometry.js +168 -0
- package/dist/dom/tiling/engine/history.js +76 -0
- package/dist/dom/tiling/engine/ids.js +12 -0
- package/dist/dom/tiling/engine/index.js +9 -0
- package/dist/dom/tiling/engine/layout.js +170 -0
- package/dist/dom/tiling/engine/scheduler.js +75 -0
- package/dist/dom/tiling/engine/spring.js +79 -0
- package/dist/dom/tiling/engine/store.js +25 -0
- package/dist/dom/tiling/engine/tree.js +606 -0
- package/dist/dom/tiling/engine/types.js +0 -0
- package/dist/dom/tiling/index.js +8 -0
- package/dist/dom/tiling/pointer.js +186 -0
- package/dist/dom/tiling/tab-strip.js +354 -0
- package/dist/dom/tiling/tiling.js +1232 -0
- package/dist/dom/tiling/tiling.styles.js +485 -0
- package/dist/dom/time-input/index.js +1 -0
- package/dist/dom/time-input/time-input.js +48 -0
- package/dist/dom/time-picker/index.js +3 -0
- package/dist/dom/time-picker/model.js +190 -0
- package/dist/dom/time-picker/time-picker.js +702 -0
- package/dist/dom/time-zone-picker/index.js +3 -0
- package/dist/dom/time-zone-picker/time-zone-picker.js +306 -0
- package/dist/dom/time-zone-picker/zones.js +335 -0
- package/dist/dom/timeline/index.js +1 -0
- package/dist/dom/timeline/timeline.js +183 -0
- package/dist/dom/toast/index.js +1 -0
- package/dist/dom/toast/toast.js +359 -0
- package/dist/dom/toggle/index.js +1 -0
- package/dist/dom/toggle/toggle.js +131 -0
- package/dist/dom/token-input/index.js +1 -0
- package/dist/dom/token-input/token-input.js +115 -0
- package/dist/dom/tokens.stylex.js +269 -0
- package/dist/dom/tool-call/index.js +1 -0
- package/dist/dom/tool-call/instead-form.js +75 -0
- package/dist/dom/tool-call/tool-call.js +719 -0
- package/dist/dom/toolbar/index.js +1 -0
- package/dist/dom/toolbar/toolbar.js +104 -0
- package/dist/dom/toolbar-overflow/index.js +1 -0
- package/dist/dom/toolbar-overflow/menu.js +120 -0
- package/dist/dom/toolbar-overflow/toolbar-overflow.js +276 -0
- package/dist/dom/tooltip/index.js +1 -0
- package/dist/dom/tooltip/tooltip.js +141 -0
- package/dist/dom/trace/index.js +1 -0
- package/dist/dom/trace/trace.js +468 -0
- package/dist/dom/tree/index.js +1 -0
- package/dist/dom/tree/tree.js +232 -0
- package/dist/dom/trigger-menu/index.js +1 -0
- package/dist/dom/trigger-menu/trigger-menu.js +156 -0
- package/dist/dom/undo/index.js +1 -0
- package/dist/dom/undo/undo.js +225 -0
- package/dist/dom/volume-meter/index.js +1 -0
- package/dist/dom/volume-meter/volume-meter.js +125 -0
- package/dist/solid/_virtual/_rolldown/runtime.jsx +12 -0
- package/dist/solid/accordion/accordion.jsx +143 -0
- package/dist/solid/accordion/index.jsx +1 -0
- package/dist/solid/agent-activity/agent-activity.jsx +61 -0
- package/dist/solid/agent-activity/index.jsx +1 -0
- package/dist/solid/agent-todos/agent-todos.jsx +156 -0
- package/dist/solid/agent-todos/index.jsx +1 -0
- package/dist/solid/alert/alert.jsx +159 -0
- package/dist/solid/alert/index.jsx +1 -0
- package/dist/solid/alert-dialog/alert-dialog.jsx +140 -0
- package/dist/solid/alert-dialog/index.jsx +1 -0
- package/dist/solid/attachment/attachment.jsx +185 -0
- package/dist/solid/attachment/index.jsx +1 -0
- package/dist/solid/autocomplete/autocomplete.jsx +93 -0
- package/dist/solid/autocomplete/index.jsx +1 -0
- package/dist/solid/avatar/avatar.jsx +268 -0
- package/dist/solid/avatar/index.jsx +1 -0
- package/dist/solid/badge/badge.jsx +174 -0
- package/dist/solid/badge/index.jsx +1 -0
- package/dist/solid/bot-avatar/bot-avatar.jsx +173 -0
- package/dist/solid/bot-avatar/index.jsx +1 -0
- package/dist/solid/brands/brands.gen.jsx +114 -0
- package/dist/solid/brands/data/Airtable.jsx +8 -0
- package/dist/solid/brands/data/AmericanExpress.jsx +8 -0
- package/dist/solid/brands/data/AmericanExpressColor.jsx +8 -0
- package/dist/solid/brands/data/Android.jsx +8 -0
- package/dist/solid/brands/data/AndroidColor.jsx +8 -0
- package/dist/solid/brands/data/Anthropic.jsx +8 -0
- package/dist/solid/brands/data/Apple.jsx +8 -0
- package/dist/solid/brands/data/ApplePay.jsx +8 -0
- package/dist/solid/brands/data/Asana.jsx +8 -0
- package/dist/solid/brands/data/AsanaColor.jsx +8 -0
- package/dist/solid/brands/data/Atlassian.jsx +8 -0
- package/dist/solid/brands/data/AtlassianColor.jsx +8 -0
- package/dist/solid/brands/data/Bitbucket.jsx +8 -0
- package/dist/solid/brands/data/BitbucketColor.jsx +8 -0
- package/dist/solid/brands/data/Bluesky.jsx +8 -0
- package/dist/solid/brands/data/BlueskyColor.jsx +8 -0
- package/dist/solid/brands/data/Calendly.jsx +8 -0
- package/dist/solid/brands/data/CalendlyColor.jsx +8 -0
- package/dist/solid/brands/data/Claude.jsx +8 -0
- package/dist/solid/brands/data/ClaudeColor.jsx +8 -0
- package/dist/solid/brands/data/ClickUp.jsx +8 -0
- package/dist/solid/brands/data/Cloudflare.jsx +8 -0
- package/dist/solid/brands/data/CloudflareColor.jsx +8 -0
- package/dist/solid/brands/data/DinersClub.jsx +8 -0
- package/dist/solid/brands/data/DinersClubColor.jsx +8 -0
- package/dist/solid/brands/data/Discord.jsx +8 -0
- package/dist/solid/brands/data/DiscordColor.jsx +8 -0
- package/dist/solid/brands/data/Discover.jsx +8 -0
- package/dist/solid/brands/data/Docker.jsx +8 -0
- package/dist/solid/brands/data/DockerColor.jsx +8 -0
- package/dist/solid/brands/data/Dropbox.jsx +8 -0
- package/dist/solid/brands/data/DropboxColor.jsx +8 -0
- package/dist/solid/brands/data/Facebook.jsx +8 -0
- package/dist/solid/brands/data/FacebookColor.jsx +8 -0
- package/dist/solid/brands/data/Figma.jsx +8 -0
- package/dist/solid/brands/data/GitHub.jsx +8 -0
- package/dist/solid/brands/data/GitLab.jsx +8 -0
- package/dist/solid/brands/data/GitLabColor.jsx +8 -0
- package/dist/solid/brands/data/Gmail.jsx +8 -0
- package/dist/solid/brands/data/Google.jsx +8 -0
- package/dist/solid/brands/data/GoogleCalendar.jsx +8 -0
- package/dist/solid/brands/data/GoogleColor.jsx +25 -0
- package/dist/solid/brands/data/GoogleDrive.jsx +8 -0
- package/dist/solid/brands/data/GoogleGemini.jsx +8 -0
- package/dist/solid/brands/data/GoogleMeet.jsx +8 -0
- package/dist/solid/brands/data/GoogleMeetColor.jsx +40 -0
- package/dist/solid/brands/data/GooglePay.jsx +8 -0
- package/dist/solid/brands/data/HubSpot.jsx +8 -0
- package/dist/solid/brands/data/HubSpotColor.jsx +8 -0
- package/dist/solid/brands/data/Hyper.jsx +31 -0
- package/dist/solid/brands/data/HyperColor.jsx +31 -0
- package/dist/solid/brands/data/Instagram.jsx +8 -0
- package/dist/solid/brands/data/Intercom.jsx +8 -0
- package/dist/solid/brands/data/JCB.jsx +8 -0
- package/dist/solid/brands/data/Jira.jsx +8 -0
- package/dist/solid/brands/data/JiraColor.jsx +8 -0
- package/dist/solid/brands/data/Linear.jsx +8 -0
- package/dist/solid/brands/data/LinearColor.jsx +8 -0
- package/dist/solid/brands/data/Loom.jsx +8 -0
- package/dist/solid/brands/data/LoomColor.jsx +8 -0
- package/dist/solid/brands/data/Mastercard.jsx +8 -0
- package/dist/solid/brands/data/Medium.jsx +8 -0
- package/dist/solid/brands/data/Messenger.jsx +8 -0
- package/dist/solid/brands/data/MessengerColor.jsx +8 -0
- package/dist/solid/brands/data/Meta.jsx +8 -0
- package/dist/solid/brands/data/MetaColor.jsx +8 -0
- package/dist/solid/brands/data/Microsoft.jsx +25 -0
- package/dist/solid/brands/data/MicrosoftColor.jsx +25 -0
- package/dist/solid/brands/data/MicrosoftTeamsColor.jsx +73 -0
- package/dist/solid/brands/data/Miro.jsx +8 -0
- package/dist/solid/brands/data/Notion.jsx +8 -0
- package/dist/solid/brands/data/Npm.jsx +8 -0
- package/dist/solid/brands/data/NpmColor.jsx +8 -0
- package/dist/solid/brands/data/Okta.jsx +8 -0
- package/dist/solid/brands/data/OktaColor.jsx +8 -0
- package/dist/solid/brands/data/PayPal.jsx +8 -0
- package/dist/solid/brands/data/Perplexity.jsx +8 -0
- package/dist/solid/brands/data/PerplexityColor.jsx +8 -0
- package/dist/solid/brands/data/Pinterest.jsx +8 -0
- package/dist/solid/brands/data/PinterestColor.jsx +8 -0
- package/dist/solid/brands/data/Reddit.jsx +8 -0
- package/dist/solid/brands/data/RedditColor.jsx +8 -0
- package/dist/solid/brands/data/Shopify.jsx +8 -0
- package/dist/solid/brands/data/ShopifyColor.jsx +8 -0
- package/dist/solid/brands/data/Slack.jsx +33 -0
- package/dist/solid/brands/data/SlackColor.jsx +33 -0
- package/dist/solid/brands/data/Spotify.jsx +8 -0
- package/dist/solid/brands/data/SpotifyColor.jsx +8 -0
- package/dist/solid/brands/data/Stripe.jsx +8 -0
- package/dist/solid/brands/data/StripeColor.jsx +8 -0
- package/dist/solid/brands/data/Substack.jsx +8 -0
- package/dist/solid/brands/data/SubstackColor.jsx +8 -0
- package/dist/solid/brands/data/Supabase.jsx +8 -0
- package/dist/solid/brands/data/SupabaseColor.jsx +8 -0
- package/dist/solid/brands/data/Telegram.jsx +8 -0
- package/dist/solid/brands/data/TelegramColor.jsx +8 -0
- package/dist/solid/brands/data/Threads.jsx +8 -0
- package/dist/solid/brands/data/TikTok.jsx +8 -0
- package/dist/solid/brands/data/Trello.jsx +8 -0
- package/dist/solid/brands/data/TrelloColor.jsx +8 -0
- package/dist/solid/brands/data/Twitch.jsx +8 -0
- package/dist/solid/brands/data/TwitchColor.jsx +8 -0
- package/dist/solid/brands/data/Vercel.jsx +8 -0
- package/dist/solid/brands/data/Visa.jsx +8 -0
- package/dist/solid/brands/data/Webex.jsx +8 -0
- package/dist/solid/brands/data/WhatsApp.jsx +8 -0
- package/dist/solid/brands/data/WhatsAppColor.jsx +8 -0
- package/dist/solid/brands/data/XTwitter.jsx +8 -0
- package/dist/solid/brands/data/YouTube.jsx +8 -0
- package/dist/solid/brands/data/YouTubeColor.jsx +8 -0
- package/dist/solid/brands/data/Zendesk.jsx +8 -0
- package/dist/solid/brands/data/Zoom.jsx +9 -0
- package/dist/solid/brands/data/ZoomColor.jsx +14 -0
- package/dist/solid/brands/index.jsx +114 -0
- package/dist/solid/breadcrumb/breadcrumb.jsx +64 -0
- package/dist/solid/breadcrumb/index.jsx +1 -0
- package/dist/solid/bubble/bubble.jsx +54 -0
- package/dist/solid/bubble/index.jsx +1 -0
- package/dist/solid/button/button-group.jsx +22 -0
- package/dist/solid/button/button.jsx +64 -0
- package/dist/solid/button/button.styles.jsx +126 -0
- package/dist/solid/button/index.jsx +3 -0
- package/dist/solid/calendar/calendar.jsx +165 -0
- package/dist/solid/calendar/index.jsx +1 -0
- package/dist/solid/card/card.jsx +347 -0
- package/dist/solid/card/index.jsx +1 -0
- package/dist/solid/card-input/card-input.jsx +431 -0
- package/dist/solid/card-input/index.jsx +3 -0
- package/dist/solid/card-input/model.jsx +309 -0
- package/dist/solid/carousel/carousel.jsx +278 -0
- package/dist/solid/carousel/index.jsx +1 -0
- package/dist/solid/cascader/cascader.jsx +1043 -0
- package/dist/solid/cascader/data.jsx +78 -0
- package/dist/solid/cascader/index.jsx +1 -0
- package/dist/solid/chat-composer/chat-composer.jsx +994 -0
- package/dist/solid/chat-composer/controller.jsx +72 -0
- package/dist/solid/chat-composer/index.jsx +3 -0
- package/dist/solid/checkbox/checkbox.jsx +78 -0
- package/dist/solid/checkbox/index.jsx +1 -0
- package/dist/solid/code-block/code-block.jsx +162 -0
- package/dist/solid/code-block/code.styles.jsx +81 -0
- package/dist/solid/code-block/highlighter.jsx +60 -0
- package/dist/solid/code-block/highlights-engine.jsx +31 -0
- package/dist/solid/code-block/index.jsx +3 -0
- package/dist/solid/collapsible/collapsible.jsx +57 -0
- package/dist/solid/collapsible/index.jsx +1 -0
- package/dist/solid/color-picker/color-picker.jsx +203 -0
- package/dist/solid/color-picker/index.jsx +1 -0
- package/dist/solid/combobox/combobox.jsx +193 -0
- package/dist/solid/combobox/index.jsx +1 -0
- package/dist/solid/command/command.jsx +483 -0
- package/dist/solid/command/index.jsx +1 -0
- package/dist/solid/context-meter/context-meter.jsx +148 -0
- package/dist/solid/context-meter/index.jsx +1 -0
- package/dist/solid/copy-button/copy-button.jsx +77 -0
- package/dist/solid/copy-button/index.jsx +3 -0
- package/dist/solid/copy-button/use-copy.jsx +95 -0
- package/dist/solid/create-table/create-table.jsx +94 -0
- package/dist/solid/create-table/flex-render.jsx +28 -0
- package/dist/solid/create-table/index.jsx +6 -0
- package/dist/solid/create-table/reactivity.jsx +110 -0
- package/dist/solid/create-table/row-models.jsx +323 -0
- package/dist/solid/csp-provider/csp-provider.jsx +55 -0
- package/dist/solid/csp-provider/index.jsx +1 -0
- package/dist/solid/cues/cues.jsx +17 -0
- package/dist/solid/cues/index.jsx +1 -0
- package/dist/solid/data-grid/column-menu.jsx +165 -0
- package/dist/solid/data-grid/columns.jsx +153 -0
- package/dist/solid/data-grid/data-grid.jsx +963 -0
- package/dist/solid/data-grid/data-grid.styles.jsx +596 -0
- package/dist/solid/data-grid/features.jsx +27 -0
- package/dist/solid/data-grid/index.jsx +7 -0
- package/dist/solid/data-grid/labels.jsx +18 -0
- package/dist/solid/data-grid/pagination.jsx +39 -0
- package/dist/solid/data-grid/selection-bar.jsx +313 -0
- package/dist/solid/date-input/date-input.jsx +31 -0
- package/dist/solid/date-input/index.jsx +1 -0
- package/dist/solid/date-picker/date-picker.jsx +90 -0
- package/dist/solid/date-picker/index.jsx +3 -0
- package/dist/solid/day-strip/day-strip.jsx +756 -0
- package/dist/solid/day-strip/index.jsx +1 -0
- package/dist/solid/description-list/description-list.jsx +177 -0
- package/dist/solid/description-list/index.jsx +1 -0
- package/dist/solid/dialog/dialog.jsx +93 -0
- package/dist/solid/dialog/dialog.styles.jsx +152 -0
- package/dist/solid/dialog/index.jsx +1 -0
- package/dist/solid/diff-review/diff-review.jsx +213 -0
- package/dist/solid/diff-review/index.jsx +1 -0
- package/dist/solid/direction-provider/direction-provider.jsx +41 -0
- package/dist/solid/direction-provider/index.jsx +3 -0
- package/dist/solid/draw-toolbar/draw-tool-icon.jsx +173 -0
- package/dist/solid/draw-toolbar/draw-toolbar.jsx +297 -0
- package/dist/solid/draw-toolbar/index.jsx +4 -0
- package/dist/solid/draw-toolbar/tools.jsx +111 -0
- package/dist/solid/editable-text/editable-text.jsx +585 -0
- package/dist/solid/editable-text/index.jsx +1 -0
- package/dist/solid/emoji-picker/data.gen.jsx +19 -0
- package/dist/solid/emoji-picker/data.jsx +80 -0
- package/dist/solid/emoji-picker/emoji-picker.jsx +991 -0
- package/dist/solid/emoji-picker/index.jsx +4 -0
- package/dist/solid/emoji-picker/support.jsx +56 -0
- package/dist/solid/empty-state/empty-state.jsx +144 -0
- package/dist/solid/empty-state/index.jsx +1 -0
- package/dist/solid/event-popover/event-popover.jsx +291 -0
- package/dist/solid/event-popover/index.jsx +1 -0
- package/dist/solid/field/field.jsx +166 -0
- package/dist/solid/field/index.jsx +1 -0
- package/dist/solid/file-input/file-input.jsx +142 -0
- package/dist/solid/file-input/index.jsx +3 -0
- package/dist/solid/file-input/upload-queue.jsx +154 -0
- package/dist/solid/file-type/file-type.jsx +115 -0
- package/dist/solid/file-type/file-types.jsx +291 -0
- package/dist/solid/file-type/index.jsx +3 -0
- package/dist/solid/filter-bar/editor-boolean.jsx +28 -0
- package/dist/solid/filter-bar/editor-date.jsx +12 -0
- package/dist/solid/filter-bar/editor-number.jsx +28 -0
- package/dist/solid/filter-bar/editor-options.jsx +70 -0
- package/dist/solid/filter-bar/editor-text.jsx +12 -0
- package/dist/solid/filter-bar/editor-types.jsx +0 -0
- package/dist/solid/filter-bar/field-list.jsx +19 -0
- package/dist/solid/filter-bar/filter-bar.jsx +296 -0
- package/dist/solid/filter-bar/filter-bar.styles.jsx +146 -0
- package/dist/solid/filter-bar/index.jsx +4 -0
- package/dist/solid/filter-bar/lazy.jsx +24 -0
- package/dist/solid/filter-bar/model.jsx +195 -0
- package/dist/solid/filter-bar/operator-menu.jsx +31 -0
- package/dist/solid/filter-bar/state.jsx +81 -0
- package/dist/solid/flag/flag.jsx +24 -0
- package/dist/solid/flag/index.jsx +1 -0
- package/dist/solid/flags/data/AC.jsx +9 -0
- package/dist/solid/flags/data/AD.jsx +9 -0
- package/dist/solid/flags/data/AE.jsx +9 -0
- package/dist/solid/flags/data/AF.jsx +9 -0
- package/dist/solid/flags/data/AG.jsx +9 -0
- package/dist/solid/flags/data/AI.jsx +9 -0
- package/dist/solid/flags/data/AL.jsx +9 -0
- package/dist/solid/flags/data/AM.jsx +9 -0
- package/dist/solid/flags/data/AO.jsx +9 -0
- package/dist/solid/flags/data/AQ.jsx +9 -0
- package/dist/solid/flags/data/AR.jsx +9 -0
- package/dist/solid/flags/data/AS.jsx +9 -0
- package/dist/solid/flags/data/AT.jsx +9 -0
- package/dist/solid/flags/data/AU.jsx +9 -0
- package/dist/solid/flags/data/AW.jsx +9 -0
- package/dist/solid/flags/data/AX.jsx +9 -0
- package/dist/solid/flags/data/AZ.jsx +9 -0
- package/dist/solid/flags/data/BA.jsx +9 -0
- package/dist/solid/flags/data/BB.jsx +9 -0
- package/dist/solid/flags/data/BD.jsx +9 -0
- package/dist/solid/flags/data/BE.jsx +9 -0
- package/dist/solid/flags/data/BF.jsx +9 -0
- package/dist/solid/flags/data/BG.jsx +9 -0
- package/dist/solid/flags/data/BH.jsx +9 -0
- package/dist/solid/flags/data/BI.jsx +9 -0
- package/dist/solid/flags/data/BJ.jsx +9 -0
- package/dist/solid/flags/data/BL.jsx +9 -0
- package/dist/solid/flags/data/BM.jsx +9 -0
- package/dist/solid/flags/data/BN.jsx +9 -0
- package/dist/solid/flags/data/BO.jsx +9 -0
- package/dist/solid/flags/data/BQ.jsx +9 -0
- package/dist/solid/flags/data/BQ_BO.jsx +9 -0
- package/dist/solid/flags/data/BQ_SA.jsx +9 -0
- package/dist/solid/flags/data/BQ_SE.jsx +9 -0
- package/dist/solid/flags/data/BR.jsx +9 -0
- package/dist/solid/flags/data/BS.jsx +9 -0
- package/dist/solid/flags/data/BT.jsx +9 -0
- package/dist/solid/flags/data/BV.jsx +9 -0
- package/dist/solid/flags/data/BW.jsx +9 -0
- package/dist/solid/flags/data/BY.jsx +9 -0
- package/dist/solid/flags/data/BZ.jsx +9 -0
- package/dist/solid/flags/data/CA.jsx +9 -0
- package/dist/solid/flags/data/CC.jsx +9 -0
- package/dist/solid/flags/data/CD.jsx +9 -0
- package/dist/solid/flags/data/CF.jsx +9 -0
- package/dist/solid/flags/data/CG.jsx +9 -0
- package/dist/solid/flags/data/CH.jsx +9 -0
- package/dist/solid/flags/data/CI.jsx +9 -0
- package/dist/solid/flags/data/CK.jsx +9 -0
- package/dist/solid/flags/data/CL.jsx +9 -0
- package/dist/solid/flags/data/CM.jsx +9 -0
- package/dist/solid/flags/data/CN.jsx +9 -0
- package/dist/solid/flags/data/CO.jsx +9 -0
- package/dist/solid/flags/data/CR.jsx +9 -0
- package/dist/solid/flags/data/CU.jsx +9 -0
- package/dist/solid/flags/data/CV.jsx +9 -0
- package/dist/solid/flags/data/CW.jsx +9 -0
- package/dist/solid/flags/data/CX.jsx +9 -0
- package/dist/solid/flags/data/CY.jsx +9 -0
- package/dist/solid/flags/data/CZ.jsx +9 -0
- package/dist/solid/flags/data/DE.jsx +9 -0
- package/dist/solid/flags/data/DJ.jsx +9 -0
- package/dist/solid/flags/data/DK.jsx +9 -0
- package/dist/solid/flags/data/DM.jsx +9 -0
- package/dist/solid/flags/data/DO.jsx +9 -0
- package/dist/solid/flags/data/DZ.jsx +9 -0
- package/dist/solid/flags/data/EC.jsx +9 -0
- package/dist/solid/flags/data/EE.jsx +9 -0
- package/dist/solid/flags/data/EG.jsx +9 -0
- package/dist/solid/flags/data/EH.jsx +9 -0
- package/dist/solid/flags/data/ER.jsx +9 -0
- package/dist/solid/flags/data/ES.jsx +9 -0
- package/dist/solid/flags/data/ES_CT.jsx +9 -0
- package/dist/solid/flags/data/ET.jsx +9 -0
- package/dist/solid/flags/data/EU.jsx +10 -0
- package/dist/solid/flags/data/FI.jsx +9 -0
- package/dist/solid/flags/data/FJ.jsx +9 -0
- package/dist/solid/flags/data/FK.jsx +9 -0
- package/dist/solid/flags/data/FM.jsx +9 -0
- package/dist/solid/flags/data/FO.jsx +9 -0
- package/dist/solid/flags/data/FR.jsx +9 -0
- package/dist/solid/flags/data/GA.jsx +9 -0
- package/dist/solid/flags/data/GB.jsx +9 -0
- package/dist/solid/flags/data/GB_ENG.jsx +9 -0
- package/dist/solid/flags/data/GB_NIR.jsx +9 -0
- package/dist/solid/flags/data/GB_SCT.jsx +9 -0
- package/dist/solid/flags/data/GB_WLS.jsx +9 -0
- package/dist/solid/flags/data/GD.jsx +9 -0
- package/dist/solid/flags/data/GE.jsx +9 -0
- package/dist/solid/flags/data/GF.jsx +9 -0
- package/dist/solid/flags/data/GG.jsx +9 -0
- package/dist/solid/flags/data/GH.jsx +9 -0
- package/dist/solid/flags/data/GI.jsx +9 -0
- package/dist/solid/flags/data/GL.jsx +9 -0
- package/dist/solid/flags/data/GM.jsx +9 -0
- package/dist/solid/flags/data/GN.jsx +9 -0
- package/dist/solid/flags/data/GP.jsx +9 -0
- package/dist/solid/flags/data/GQ.jsx +9 -0
- package/dist/solid/flags/data/GR.jsx +9 -0
- package/dist/solid/flags/data/GS.jsx +9 -0
- package/dist/solid/flags/data/GT.jsx +9 -0
- package/dist/solid/flags/data/GU.jsx +9 -0
- package/dist/solid/flags/data/GW.jsx +9 -0
- package/dist/solid/flags/data/GY.jsx +9 -0
- package/dist/solid/flags/data/HK.jsx +9 -0
- package/dist/solid/flags/data/HM.jsx +9 -0
- package/dist/solid/flags/data/HN.jsx +9 -0
- package/dist/solid/flags/data/HR.jsx +9 -0
- package/dist/solid/flags/data/HT.jsx +9 -0
- package/dist/solid/flags/data/HU.jsx +9 -0
- package/dist/solid/flags/data/IC.jsx +9 -0
- package/dist/solid/flags/data/ID.jsx +9 -0
- package/dist/solid/flags/data/IE.jsx +9 -0
- package/dist/solid/flags/data/IL.jsx +9 -0
- package/dist/solid/flags/data/IM.jsx +9 -0
- package/dist/solid/flags/data/IN.jsx +9 -0
- package/dist/solid/flags/data/IO.jsx +9 -0
- package/dist/solid/flags/data/IQ.jsx +9 -0
- package/dist/solid/flags/data/IR.jsx +9 -0
- package/dist/solid/flags/data/IS.jsx +9 -0
- package/dist/solid/flags/data/IT.jsx +9 -0
- package/dist/solid/flags/data/JE.jsx +9 -0
- package/dist/solid/flags/data/JM.jsx +9 -0
- package/dist/solid/flags/data/JO.jsx +9 -0
- package/dist/solid/flags/data/JP.jsx +9 -0
- package/dist/solid/flags/data/KE.jsx +9 -0
- package/dist/solid/flags/data/KG.jsx +9 -0
- package/dist/solid/flags/data/KH.jsx +9 -0
- package/dist/solid/flags/data/KI.jsx +9 -0
- package/dist/solid/flags/data/KM.jsx +9 -0
- package/dist/solid/flags/data/KN.jsx +9 -0
- package/dist/solid/flags/data/KP.jsx +9 -0
- package/dist/solid/flags/data/KR.jsx +10 -0
- package/dist/solid/flags/data/KW.jsx +9 -0
- package/dist/solid/flags/data/KY.jsx +9 -0
- package/dist/solid/flags/data/KZ.jsx +9 -0
- package/dist/solid/flags/data/LA.jsx +9 -0
- package/dist/solid/flags/data/LB.jsx +9 -0
- package/dist/solid/flags/data/LC.jsx +9 -0
- package/dist/solid/flags/data/LI.jsx +9 -0
- package/dist/solid/flags/data/LK.jsx +9 -0
- package/dist/solid/flags/data/LR.jsx +9 -0
- package/dist/solid/flags/data/LS.jsx +9 -0
- package/dist/solid/flags/data/LT.jsx +9 -0
- package/dist/solid/flags/data/LU.jsx +9 -0
- package/dist/solid/flags/data/LV.jsx +9 -0
- package/dist/solid/flags/data/LY.jsx +9 -0
- package/dist/solid/flags/data/MA.jsx +9 -0
- package/dist/solid/flags/data/MC.jsx +9 -0
- package/dist/solid/flags/data/MD.jsx +9 -0
- package/dist/solid/flags/data/ME.jsx +9 -0
- package/dist/solid/flags/data/MF.jsx +9 -0
- package/dist/solid/flags/data/MG.jsx +9 -0
- package/dist/solid/flags/data/MH.jsx +9 -0
- package/dist/solid/flags/data/MK.jsx +9 -0
- package/dist/solid/flags/data/ML.jsx +9 -0
- package/dist/solid/flags/data/MM.jsx +9 -0
- package/dist/solid/flags/data/MN.jsx +9 -0
- package/dist/solid/flags/data/MO.jsx +9 -0
- package/dist/solid/flags/data/MP.jsx +9 -0
- package/dist/solid/flags/data/MQ.jsx +9 -0
- package/dist/solid/flags/data/MR.jsx +9 -0
- package/dist/solid/flags/data/MS.jsx +9 -0
- package/dist/solid/flags/data/MT.jsx +9 -0
- package/dist/solid/flags/data/MU.jsx +9 -0
- package/dist/solid/flags/data/MV.jsx +9 -0
- package/dist/solid/flags/data/MW.jsx +9 -0
- package/dist/solid/flags/data/MX.jsx +9 -0
- package/dist/solid/flags/data/MY.jsx +9 -0
- package/dist/solid/flags/data/MZ.jsx +9 -0
- package/dist/solid/flags/data/NA.jsx +9 -0
- package/dist/solid/flags/data/NC.jsx +9 -0
- package/dist/solid/flags/data/NE.jsx +9 -0
- package/dist/solid/flags/data/NF.jsx +9 -0
- package/dist/solid/flags/data/NG.jsx +9 -0
- package/dist/solid/flags/data/NI.jsx +9 -0
- package/dist/solid/flags/data/NL.jsx +9 -0
- package/dist/solid/flags/data/NO.jsx +9 -0
- package/dist/solid/flags/data/NP.jsx +9 -0
- package/dist/solid/flags/data/NR.jsx +9 -0
- package/dist/solid/flags/data/NU.jsx +9 -0
- package/dist/solid/flags/data/NZ.jsx +9 -0
- package/dist/solid/flags/data/OM.jsx +9 -0
- package/dist/solid/flags/data/PA.jsx +9 -0
- package/dist/solid/flags/data/PE.jsx +9 -0
- package/dist/solid/flags/data/PF.jsx +9 -0
- package/dist/solid/flags/data/PG.jsx +9 -0
- package/dist/solid/flags/data/PH.jsx +9 -0
- package/dist/solid/flags/data/PK.jsx +9 -0
- package/dist/solid/flags/data/PL.jsx +9 -0
- package/dist/solid/flags/data/PM.jsx +9 -0
- package/dist/solid/flags/data/PN.jsx +9 -0
- package/dist/solid/flags/data/PR.jsx +9 -0
- package/dist/solid/flags/data/PS.jsx +9 -0
- package/dist/solid/flags/data/PT.jsx +9 -0
- package/dist/solid/flags/data/PW.jsx +9 -0
- package/dist/solid/flags/data/PY.jsx +9 -0
- package/dist/solid/flags/data/QA.jsx +9 -0
- package/dist/solid/flags/data/RE.jsx +9 -0
- package/dist/solid/flags/data/RO.jsx +9 -0
- package/dist/solid/flags/data/RS.jsx +9 -0
- package/dist/solid/flags/data/RU.jsx +9 -0
- package/dist/solid/flags/data/RW.jsx +9 -0
- package/dist/solid/flags/data/SA.jsx +9 -0
- package/dist/solid/flags/data/SB.jsx +9 -0
- package/dist/solid/flags/data/SC.jsx +9 -0
- package/dist/solid/flags/data/SD.jsx +9 -0
- package/dist/solid/flags/data/SE.jsx +9 -0
- package/dist/solid/flags/data/SG.jsx +9 -0
- package/dist/solid/flags/data/SH.jsx +9 -0
- package/dist/solid/flags/data/SI.jsx +9 -0
- package/dist/solid/flags/data/SJ.jsx +9 -0
- package/dist/solid/flags/data/SK.jsx +9 -0
- package/dist/solid/flags/data/SL.jsx +9 -0
- package/dist/solid/flags/data/SM.jsx +9 -0
- package/dist/solid/flags/data/SN.jsx +9 -0
- package/dist/solid/flags/data/SO.jsx +9 -0
- package/dist/solid/flags/data/SR.jsx +9 -0
- package/dist/solid/flags/data/SS.jsx +9 -0
- package/dist/solid/flags/data/ST.jsx +9 -0
- package/dist/solid/flags/data/SV.jsx +9 -0
- package/dist/solid/flags/data/SX.jsx +9 -0
- package/dist/solid/flags/data/SY.jsx +9 -0
- package/dist/solid/flags/data/SZ.jsx +9 -0
- package/dist/solid/flags/data/TA.jsx +9 -0
- package/dist/solid/flags/data/TC.jsx +9 -0
- package/dist/solid/flags/data/TD.jsx +9 -0
- package/dist/solid/flags/data/TF.jsx +9 -0
- package/dist/solid/flags/data/TG.jsx +9 -0
- package/dist/solid/flags/data/TH.jsx +9 -0
- package/dist/solid/flags/data/TJ.jsx +9 -0
- package/dist/solid/flags/data/TK.jsx +9 -0
- package/dist/solid/flags/data/TL.jsx +9 -0
- package/dist/solid/flags/data/TM.jsx +9 -0
- package/dist/solid/flags/data/TN.jsx +9 -0
- package/dist/solid/flags/data/TO.jsx +9 -0
- package/dist/solid/flags/data/TR.jsx +9 -0
- package/dist/solid/flags/data/TT.jsx +9 -0
- package/dist/solid/flags/data/TV.jsx +9 -0
- package/dist/solid/flags/data/TW.jsx +9 -0
- package/dist/solid/flags/data/TZ.jsx +9 -0
- package/dist/solid/flags/data/UA.jsx +9 -0
- package/dist/solid/flags/data/UG.jsx +9 -0
- package/dist/solid/flags/data/UM.jsx +9 -0
- package/dist/solid/flags/data/US.jsx +9 -0
- package/dist/solid/flags/data/UY.jsx +9 -0
- package/dist/solid/flags/data/UZ.jsx +9 -0
- package/dist/solid/flags/data/VA.jsx +9 -0
- package/dist/solid/flags/data/VC.jsx +9 -0
- package/dist/solid/flags/data/VE.jsx +9 -0
- package/dist/solid/flags/data/VG.jsx +9 -0
- package/dist/solid/flags/data/VI.jsx +9 -0
- package/dist/solid/flags/data/VN.jsx +9 -0
- package/dist/solid/flags/data/VU.jsx +9 -0
- package/dist/solid/flags/data/WF.jsx +9 -0
- package/dist/solid/flags/data/WS.jsx +9 -0
- package/dist/solid/flags/data/XK.jsx +9 -0
- package/dist/solid/flags/data/YE.jsx +9 -0
- package/dist/solid/flags/data/YT.jsx +9 -0
- package/dist/solid/flags/data/ZA.jsx +9 -0
- package/dist/solid/flags/data/ZM.jsx +9 -0
- package/dist/solid/flags/data/ZW.jsx +9 -0
- package/dist/solid/flags/flags.gen.jsx +532 -0
- package/dist/solid/flags/index.jsx +264 -0
- package/dist/solid/floating-panel/floating-panel.jsx +647 -0
- package/dist/solid/floating-panel/geometry.jsx +87 -0
- package/dist/solid/floating-panel/index.jsx +1 -0
- package/dist/solid/form/form.jsx +132 -0
- package/dist/solid/form/index.jsx +1 -0
- package/dist/solid/gauge/gauge.jsx +256 -0
- package/dist/solid/gauge/gauge.styles.jsx +144 -0
- package/dist/solid/gauge/index.jsx +1 -0
- package/dist/solid/gauge/scale.jsx +143 -0
- package/dist/solid/gif-browser/gif-browser.jsx +654 -0
- package/dist/solid/gif-browser/index.jsx +3 -0
- package/dist/solid/gif-browser/klipy.jsx +93 -0
- package/dist/solid/gif-browser/machine.jsx +123 -0
- package/dist/solid/gif-browser/masonry.jsx +24 -0
- package/dist/solid/gif-browser/types.jsx +0 -0
- package/dist/solid/highlight/highlight.jsx +31 -0
- package/dist/solid/highlight/index.jsx +3 -0
- package/dist/solid/highlight/ranges.jsx +211 -0
- package/dist/solid/hover-card/hover-card.jsx +48 -0
- package/dist/solid/hover-card/index.jsx +1 -0
- package/dist/solid/icon/icon.jsx +29 -0
- package/dist/solid/icon/index.jsx +1 -0
- package/dist/solid/icon-stack/icon-stack.jsx +85 -0
- package/dist/solid/icon-stack/index.jsx +1 -0
- package/dist/solid/icon-tile/icon-tile.jsx +128 -0
- package/dist/solid/icon-tile/icon-tile.styles.jsx +131 -0
- package/dist/solid/icon-tile/index.jsx +1 -0
- package/dist/solid/icons/data/Accessibility.jsx +14 -0
- package/dist/solid/icons/data/Activity.jsx +4 -0
- package/dist/solid/icons/data/AgendaView.jsx +4 -0
- package/dist/solid/icons/data/AiSpeech.jsx +4 -0
- package/dist/solid/icons/data/AiVoice.jsx +4 -0
- package/dist/solid/icons/data/AiVoiceGenerator.jsx +4 -0
- package/dist/solid/icons/data/AlarmClock.jsx +15 -0
- package/dist/solid/icons/data/AlarmClockCheck.jsx +15 -0
- package/dist/solid/icons/data/AlignCenter.jsx +8 -0
- package/dist/solid/icons/data/AlignCenterHorizontal.jsx +10 -0
- package/dist/solid/icons/data/AlignCenterVertical.jsx +10 -0
- package/dist/solid/icons/data/AlignEndHorizontal.jsx +20 -0
- package/dist/solid/icons/data/AlignEndVertical.jsx +20 -0
- package/dist/solid/icons/data/AlignHorizontalDistributeCenter.jsx +23 -0
- package/dist/solid/icons/data/AlignJustify.jsx +8 -0
- package/dist/solid/icons/data/AlignLeft.jsx +8 -0
- package/dist/solid/icons/data/AlignRight.jsx +8 -0
- package/dist/solid/icons/data/AlignStartHorizontal.jsx +20 -0
- package/dist/solid/icons/data/AlignStartVertical.jsx +20 -0
- package/dist/solid/icons/data/AlignVerticalDistributeCenter.jsx +23 -0
- package/dist/solid/icons/data/Archive.jsx +14 -0
- package/dist/solid/icons/data/ArchiveDuotone.jsx +7 -0
- package/dist/solid/icons/data/ArrowDown.jsx +4 -0
- package/dist/solid/icons/data/ArrowDownLeft.jsx +4 -0
- package/dist/solid/icons/data/ArrowDownRight.jsx +4 -0
- package/dist/solid/icons/data/ArrowDownToLine.jsx +8 -0
- package/dist/solid/icons/data/ArrowDownUp.jsx +9 -0
- package/dist/solid/icons/data/ArrowLeft.jsx +4 -0
- package/dist/solid/icons/data/ArrowLeftRight.jsx +9 -0
- package/dist/solid/icons/data/ArrowRight.jsx +4 -0
- package/dist/solid/icons/data/ArrowUp.jsx +4 -0
- package/dist/solid/icons/data/ArrowUpDown.jsx +9 -0
- package/dist/solid/icons/data/ArrowUpFromLine.jsx +8 -0
- package/dist/solid/icons/data/ArrowUpLeft.jsx +4 -0
- package/dist/solid/icons/data/ArrowUpRight.jsx +4 -0
- package/dist/solid/icons/data/AssistantControl.jsx +12 -0
- package/dist/solid/icons/data/Asterisk.jsx +8 -0
- package/dist/solid/icons/data/AtSign.jsx +8 -0
- package/dist/solid/icons/data/AudioLines.jsx +11 -0
- package/dist/solid/icons/data/AudioWaveform.jsx +4 -0
- package/dist/solid/icons/data/Award.jsx +8 -0
- package/dist/solid/icons/data/BackgroundBlur.jsx +8 -0
- package/dist/solid/icons/data/BadgeCheck.jsx +4 -0
- package/dist/solid/icons/data/Ban.jsx +8 -0
- package/dist/solid/icons/data/Banknote.jsx +18 -0
- package/dist/solid/icons/data/BarChart3.jsx +9 -0
- package/dist/solid/icons/data/Battery.jsx +10 -0
- package/dist/solid/icons/data/BatteryCharging.jsx +9 -0
- package/dist/solid/icons/data/BatteryLow.jsx +14 -0
- package/dist/solid/icons/data/Bell.jsx +4 -0
- package/dist/solid/icons/data/BellDot.jsx +12 -0
- package/dist/solid/icons/data/BellOff.jsx +9 -0
- package/dist/solid/icons/data/BellRing.jsx +9 -0
- package/dist/solid/icons/data/Blocks.jsx +10 -0
- package/dist/solid/icons/data/Bluetooth.jsx +4 -0
- package/dist/solid/icons/data/Bold.jsx +4 -0
- package/dist/solid/icons/data/Book.jsx +4 -0
- package/dist/solid/icons/data/BookOpen.jsx +4 -0
- package/dist/solid/icons/data/Bookmark.jsx +4 -0
- package/dist/solid/icons/data/BookmarkCheck.jsx +4 -0
- package/dist/solid/icons/data/BookmarkPlus.jsx +8 -0
- package/dist/solid/icons/data/BookmarkSolid.jsx +8 -0
- package/dist/solid/icons/data/Bot.jsx +17 -0
- package/dist/solid/icons/data/BotMessageSquare.jsx +11 -0
- package/dist/solid/icons/data/Braces.jsx +4 -0
- package/dist/solid/icons/data/Brackets.jsx +4 -0
- package/dist/solid/icons/data/Brain.jsx +13 -0
- package/dist/solid/icons/data/BrainCircuit.jsx +37 -0
- package/dist/solid/icons/data/BringToFront.jsx +14 -0
- package/dist/solid/icons/data/Bug.jsx +16 -0
- package/dist/solid/icons/data/Building.jsx +22 -0
- package/dist/solid/icons/data/Building2.jsx +10 -0
- package/dist/solid/icons/data/Calculator.jsx +31 -0
- package/dist/solid/icons/data/Calendar.jsx +15 -0
- package/dist/solid/icons/data/CalendarCheck.jsx +16 -0
- package/dist/solid/icons/data/CalendarClock.jsx +15 -0
- package/dist/solid/icons/data/CalendarDays.jsx +21 -0
- package/dist/solid/icons/data/CalendarPlus.jsx +11 -0
- package/dist/solid/icons/data/CalendarRange.jsx +19 -0
- package/dist/solid/icons/data/CalendarX.jsx +17 -0
- package/dist/solid/icons/data/CalendarX2.jsx +11 -0
- package/dist/solid/icons/data/CallEndControl.jsx +9 -0
- package/dist/solid/icons/data/Camera.jsx +8 -0
- package/dist/solid/icons/data/Captions.jsx +11 -0
- package/dist/solid/icons/data/Car.jsx +17 -0
- package/dist/solid/icons/data/Cast.jsx +14 -0
- package/dist/solid/icons/data/ChartArea.jsx +4 -0
- package/dist/solid/icons/data/ChartBar.jsx +9 -0
- package/dist/solid/icons/data/ChartLine.jsx +4 -0
- package/dist/solid/icons/data/ChartPie.jsx +4 -0
- package/dist/solid/icons/data/ChatControl.jsx +8 -0
- package/dist/solid/icons/data/Check.jsx +4 -0
- package/dist/solid/icons/data/ChevronDown.jsx +4 -0
- package/dist/solid/icons/data/ChevronLeft.jsx +4 -0
- package/dist/solid/icons/data/ChevronRight.jsx +4 -0
- package/dist/solid/icons/data/ChevronUp.jsx +4 -0
- package/dist/solid/icons/data/ChevronsDown.jsx +4 -0
- package/dist/solid/icons/data/ChevronsLeft.jsx +4 -0
- package/dist/solid/icons/data/ChevronsLeftRight.jsx +4 -0
- package/dist/solid/icons/data/ChevronsRight.jsx +4 -0
- package/dist/solid/icons/data/ChevronsUp.jsx +4 -0
- package/dist/solid/icons/data/ChevronsUpDown.jsx +4 -0
- package/dist/solid/icons/data/Circle.jsx +8 -0
- package/dist/solid/icons/data/CircleAlert.jsx +22 -0
- package/dist/solid/icons/data/CircleCheck.jsx +8 -0
- package/dist/solid/icons/data/CircleCheckBig.jsx +4 -0
- package/dist/solid/icons/data/CircleDashed.jsx +13 -0
- package/dist/solid/icons/data/CircleDollarSign.jsx +12 -0
- package/dist/solid/icons/data/CircleDot.jsx +12 -0
- package/dist/solid/icons/data/CircleDotDashed.jsx +18 -0
- package/dist/solid/icons/data/CircleHelp.jsx +12 -0
- package/dist/solid/icons/data/CircleMinus.jsx +8 -0
- package/dist/solid/icons/data/CirclePause.jsx +22 -0
- package/dist/solid/icons/data/CirclePlay.jsx +8 -0
- package/dist/solid/icons/data/CirclePlus.jsx +12 -0
- package/dist/solid/icons/data/CircleSlash.jsx +13 -0
- package/dist/solid/icons/data/CircleSmall.jsx +8 -0
- package/dist/solid/icons/data/CircleStop.jsx +14 -0
- package/dist/solid/icons/data/CircleX.jsx +12 -0
- package/dist/solid/icons/data/Clipboard.jsx +11 -0
- package/dist/solid/icons/data/ClipboardCheck.jsx +15 -0
- package/dist/solid/icons/data/ClipboardCopy.jsx +17 -0
- package/dist/solid/icons/data/ClipboardList.jsx +18 -0
- package/dist/solid/icons/data/ClipboardPaste.jsx +16 -0
- package/dist/solid/icons/data/Clock.jsx +8 -0
- package/dist/solid/icons/data/Cloud.jsx +4 -0
- package/dist/solid/icons/data/CloudOff.jsx +8 -0
- package/dist/solid/icons/data/CloudSun.jsx +11 -0
- package/dist/solid/icons/data/Code.jsx +4 -0
- package/dist/solid/icons/data/CodeXml.jsx +8 -0
- package/dist/solid/icons/data/Coffee.jsx +9 -0
- package/dist/solid/icons/data/Coins.jsx +13 -0
- package/dist/solid/icons/data/Columns2.jsx +10 -0
- package/dist/solid/icons/data/Columns3.jsx +14 -0
- package/dist/solid/icons/data/Compass.jsx +8 -0
- package/dist/solid/icons/data/Construction.jsx +19 -0
- package/dist/solid/icons/data/Contact.jsx +20 -0
- package/dist/solid/icons/data/Copy.jsx +11 -0
- package/dist/solid/icons/data/CopyPlus.jsx +26 -0
- package/dist/solid/icons/data/CornerDownLeft.jsx +4 -0
- package/dist/solid/icons/data/Cpu.jsx +31 -0
- package/dist/solid/icons/data/CreditCard.jsx +19 -0
- package/dist/solid/icons/data/CreditCardPlus.jsx +10 -0
- package/dist/solid/icons/data/Crop.jsx +4 -0
- package/dist/solid/icons/data/Crown.jsx +4 -0
- package/dist/solid/icons/data/Database.jsx +13 -0
- package/dist/solid/icons/data/DollarSign.jsx +4 -0
- package/dist/solid/icons/data/Dot.jsx +8 -0
- package/dist/solid/icons/data/Download.jsx +8 -0
- package/dist/solid/icons/data/Droplet.jsx +4 -0
- package/dist/solid/icons/data/Ear.jsx +4 -0
- package/dist/solid/icons/data/EarOff.jsx +15 -0
- package/dist/solid/icons/data/Earth.jsx +13 -0
- package/dist/solid/icons/data/Ellipsis.jsx +20 -0
- package/dist/solid/icons/data/EllipsisVertical.jsx +20 -0
- package/dist/solid/icons/data/Eraser.jsx +4 -0
- package/dist/solid/icons/data/Expand.jsx +13 -0
- package/dist/solid/icons/data/ExternalLink.jsx +8 -0
- package/dist/solid/icons/data/Eye.jsx +8 -0
- package/dist/solid/icons/data/EyeClosed.jsx +10 -0
- package/dist/solid/icons/data/EyeOff.jsx +9 -0
- package/dist/solid/icons/data/FastForward.jsx +4 -0
- package/dist/solid/icons/data/File.jsx +4 -0
- package/dist/solid/icons/data/FileAi.jsx +4 -0
- package/dist/solid/icons/data/FileArchive.jsx +15 -0
- package/dist/solid/icons/data/FileAudio.jsx +8 -0
- package/dist/solid/icons/data/FileCheck.jsx +8 -0
- package/dist/solid/icons/data/FileCode.jsx +9 -0
- package/dist/solid/icons/data/FileDiff.jsx +9 -0
- package/dist/solid/icons/data/FileImage.jsx +13 -0
- package/dist/solid/icons/data/FileMinus.jsx +8 -0
- package/dist/solid/icons/data/FilePen.jsx +8 -0
- package/dist/solid/icons/data/FilePlus.jsx +9 -0
- package/dist/solid/icons/data/FileQuestion.jsx +8 -0
- package/dist/solid/icons/data/FileSpreadsheet.jsx +11 -0
- package/dist/solid/icons/data/FileText.jsx +10 -0
- package/dist/solid/icons/data/FileVideo.jsx +8 -0
- package/dist/solid/icons/data/Files.jsx +8 -0
- package/dist/solid/icons/data/Film.jsx +19 -0
- package/dist/solid/icons/data/FilterX.jsx +8 -0
- package/dist/solid/icons/data/Fingerprint.jsx +14 -0
- package/dist/solid/icons/data/Flag.jsx +4 -0
- package/dist/solid/icons/data/FlagOff.jsx +9 -0
- package/dist/solid/icons/data/Flame.jsx +4 -0
- package/dist/solid/icons/data/FlipHorizontal2.jsx +11 -0
- package/dist/solid/icons/data/Focus.jsx +14 -0
- package/dist/solid/icons/data/Folder.jsx +4 -0
- package/dist/solid/icons/data/FolderClosed.jsx +4 -0
- package/dist/solid/icons/data/FolderInput.jsx +8 -0
- package/dist/solid/icons/data/FolderOpen.jsx +4 -0
- package/dist/solid/icons/data/FolderPlus.jsx +8 -0
- package/dist/solid/icons/data/FolderSearch.jsx +12 -0
- package/dist/solid/icons/data/FolderTree.jsx +9 -0
- package/dist/solid/icons/data/Forward.jsx +4 -0
- package/dist/solid/icons/data/Fullscreen.jsx +16 -0
- package/dist/solid/icons/data/GalleryThumbnails.jsx +16 -0
- package/dist/solid/icons/data/Gauge.jsx +4 -0
- package/dist/solid/icons/data/Gift.jsx +15 -0
- package/dist/solid/icons/data/GitBranch.jsx +16 -0
- package/dist/solid/icons/data/GitCommitHorizontal.jsx +22 -0
- package/dist/solid/icons/data/GitMerge.jsx +16 -0
- package/dist/solid/icons/data/GitPullRequest.jsx +22 -0
- package/dist/solid/icons/data/Globe.jsx +12 -0
- package/dist/solid/icons/data/GraduationCap.jsx +8 -0
- package/dist/solid/icons/data/Grid3x3.jsx +16 -0
- package/dist/solid/icons/data/Grip.jsx +50 -0
- package/dist/solid/icons/data/GripHorizontal.jsx +35 -0
- package/dist/solid/icons/data/GripVertical.jsx +35 -0
- package/dist/solid/icons/data/Group.jsx +23 -0
- package/dist/solid/icons/data/Hand.jsx +9 -0
- package/dist/solid/icons/data/HardDrive.jsx +9 -0
- package/dist/solid/icons/data/Hash.jsx +29 -0
- package/dist/solid/icons/data/Hd.jsx +4 -0
- package/dist/solid/icons/data/Heading1.jsx +9 -0
- package/dist/solid/icons/data/Heading2.jsx +9 -0
- package/dist/solid/icons/data/Heading3.jsx +10 -0
- package/dist/solid/icons/data/Headphones.jsx +4 -0
- package/dist/solid/icons/data/Heart.jsx +4 -0
- package/dist/solid/icons/data/HeartOff.jsx +8 -0
- package/dist/solid/icons/data/HeartPulse.jsx +4 -0
- package/dist/solid/icons/data/HeartSolid.jsx +8 -0
- package/dist/solid/icons/data/Heatmap.jsx +4 -0
- package/dist/solid/icons/data/History.jsx +8 -0
- package/dist/solid/icons/data/Hourglass.jsx +9 -0
- package/dist/solid/icons/data/House.jsx +4 -0
- package/dist/solid/icons/data/IdCard.jsx +20 -0
- package/dist/solid/icons/data/Image.jsx +19 -0
- package/dist/solid/icons/data/ImageOff.jsx +26 -0
- package/dist/solid/icons/data/ImagePlus.jsx +14 -0
- package/dist/solid/icons/data/Images.jsx +20 -0
- package/dist/solid/icons/data/Inbox.jsx +4 -0
- package/dist/solid/icons/data/IndentDecrease.jsx +9 -0
- package/dist/solid/icons/data/IndentIncrease.jsx +9 -0
- package/dist/solid/icons/data/Info.jsx +12 -0
- package/dist/solid/icons/data/Italic.jsx +23 -0
- package/dist/solid/icons/data/Kanban.jsx +8 -0
- package/dist/solid/icons/data/Key.jsx +12 -0
- package/dist/solid/icons/data/KeyRound.jsx +9 -0
- package/dist/solid/icons/data/Keyboard.jsx +20 -0
- package/dist/solid/icons/data/Landmark.jsx +11 -0
- package/dist/solid/icons/data/Languages.jsx +11 -0
- package/dist/solid/icons/data/Laptop.jsx +4 -0
- package/dist/solid/icons/data/Layers.jsx +8 -0
- package/dist/solid/icons/data/LayoutDashboard.jsx +33 -0
- package/dist/solid/icons/data/LayoutGrid.jsx +33 -0
- package/dist/solid/icons/data/LayoutList.jsx +23 -0
- package/dist/solid/icons/data/LayoutPanelLeft.jsx +26 -0
- package/dist/solid/icons/data/LayoutTemplate.jsx +26 -0
- package/dist/solid/icons/data/Leaf.jsx +4 -0
- package/dist/solid/icons/data/LifeBuoy.jsx +19 -0
- package/dist/solid/icons/data/Lightbulb.jsx +8 -0
- package/dist/solid/icons/data/Link.jsx +4 -0
- package/dist/solid/icons/data/Link2.jsx +13 -0
- package/dist/solid/icons/data/Link2Off.jsx +19 -0
- package/dist/solid/icons/data/List.jsx +11 -0
- package/dist/solid/icons/data/ListChecks.jsx +10 -0
- package/dist/solid/icons/data/ListFilter.jsx +8 -0
- package/dist/solid/icons/data/ListOrdered.jsx +11 -0
- package/dist/solid/icons/data/ListPlus.jsx +10 -0
- package/dist/solid/icons/data/ListTodo.jsx +16 -0
- package/dist/solid/icons/data/ListTree.jsx +10 -0
- package/dist/solid/icons/data/ListX.jsx +10 -0
- package/dist/solid/icons/data/Loader.jsx +13 -0
- package/dist/solid/icons/data/LoaderCircle.jsx +4 -0
- package/dist/solid/icons/data/LoaderPinwheel.jsx +13 -0
- package/dist/solid/icons/data/Lock.jsx +11 -0
- package/dist/solid/icons/data/LockKeyhole.jsx +18 -0
- package/dist/solid/icons/data/LockOpen.jsx +11 -0
- package/dist/solid/icons/data/LogIn.jsx +8 -0
- package/dist/solid/icons/data/LogOut.jsx +8 -0
- package/dist/solid/icons/data/Mail.jsx +10 -0
- package/dist/solid/icons/data/MailCheck.jsx +8 -0
- package/dist/solid/icons/data/MailOpen.jsx +4 -0
- package/dist/solid/icons/data/MailPlus.jsx +9 -0
- package/dist/solid/icons/data/MailQuestionMark.jsx +9 -0
- package/dist/solid/icons/data/MailWarning.jsx +9 -0
- package/dist/solid/icons/data/Map.jsx +8 -0
- package/dist/solid/icons/data/MapPin.jsx +8 -0
- package/dist/solid/icons/data/MapPinned.jsx +12 -0
- package/dist/solid/icons/data/Mars.jsx +12 -0
- package/dist/solid/icons/data/Maximize.jsx +9 -0
- package/dist/solid/icons/data/Maximize2.jsx +9 -0
- package/dist/solid/icons/data/Megaphone.jsx +8 -0
- package/dist/solid/icons/data/Menu.jsx +8 -0
- package/dist/solid/icons/data/MessageCircle.jsx +4 -0
- package/dist/solid/icons/data/MessageCircleMore.jsx +9 -0
- package/dist/solid/icons/data/MessageSquare.jsx +4 -0
- package/dist/solid/icons/data/MessageSquarePlus.jsx +8 -0
- package/dist/solid/icons/data/MessageSquareText.jsx +9 -0
- package/dist/solid/icons/data/MessagesSquare.jsx +4 -0
- package/dist/solid/icons/data/Mic.jsx +14 -0
- package/dist/solid/icons/data/MicControl.jsx +13 -0
- package/dist/solid/icons/data/MicOff.jsx +11 -0
- package/dist/solid/icons/data/MicOffControl.jsx +8 -0
- package/dist/solid/icons/data/Minimize.jsx +9 -0
- package/dist/solid/icons/data/Minimize2.jsx +9 -0
- package/dist/solid/icons/data/Minus.jsx +4 -0
- package/dist/solid/icons/data/Monitor.jsx +24 -0
- package/dist/solid/icons/data/MonitorUp.jsx +16 -0
- package/dist/solid/icons/data/Moon.jsx +4 -0
- package/dist/solid/icons/data/MoreControl.jsx +8 -0
- package/dist/solid/icons/data/Mouse.jsx +10 -0
- package/dist/solid/icons/data/MousePointer2.jsx +4 -0
- package/dist/solid/icons/data/MousePointerClick.jsx +10 -0
- package/dist/solid/icons/data/Move.jsx +11 -0
- package/dist/solid/icons/data/MoveHorizontal.jsx +8 -0
- package/dist/solid/icons/data/Music.jsx +16 -0
- package/dist/solid/icons/data/Navigation.jsx +4 -0
- package/dist/solid/icons/data/Network.jsx +28 -0
- package/dist/solid/icons/data/OctagonAlert.jsx +8 -0
- package/dist/solid/icons/data/Package.jsx +9 -0
- package/dist/solid/icons/data/Palette.jsx +30 -0
- package/dist/solid/icons/data/PanelLeft.jsx +10 -0
- package/dist/solid/icons/data/PanelLeftClose.jsx +14 -0
- package/dist/solid/icons/data/PanelRight.jsx +10 -0
- package/dist/solid/icons/data/PanelRightOpen.jsx +14 -0
- package/dist/solid/icons/data/Paperclip.jsx +4 -0
- package/dist/solid/icons/data/PartyPopper.jsx +14 -0
- package/dist/solid/icons/data/Pause.jsx +16 -0
- package/dist/solid/icons/data/PawPrint.jsx +21 -0
- package/dist/solid/icons/data/Pen.jsx +4 -0
- package/dist/solid/icons/data/PenLine.jsx +4 -0
- package/dist/solid/icons/data/Pencil.jsx +4 -0
- package/dist/solid/icons/data/PeopleControl.jsx +20 -0
- package/dist/solid/icons/data/Percent.jsx +21 -0
- package/dist/solid/icons/data/Phone.jsx +4 -0
- package/dist/solid/icons/data/PhoneCall.jsx +8 -0
- package/dist/solid/icons/data/PhoneOff.jsx +8 -0
- package/dist/solid/icons/data/PictureInPicture.jsx +16 -0
- package/dist/solid/icons/data/Pilcrow.jsx +8 -0
- package/dist/solid/icons/data/Pin.jsx +4 -0
- package/dist/solid/icons/data/PinOff.jsx +9 -0
- package/dist/solid/icons/data/Pipette.jsx +8 -0
- package/dist/solid/icons/data/Plane.jsx +4 -0
- package/dist/solid/icons/data/Play.jsx +4 -0
- package/dist/solid/icons/data/Plug.jsx +9 -0
- package/dist/solid/icons/data/Plus.jsx +4 -0
- package/dist/solid/icons/data/Power.jsx +4 -0
- package/dist/solid/icons/data/Presence.jsx +4 -0
- package/dist/solid/icons/data/Printer.jsx +14 -0
- package/dist/solid/icons/data/QrCode.jsx +35 -0
- package/dist/solid/icons/data/Quote.jsx +4 -0
- package/dist/solid/icons/data/Radio.jsx +14 -0
- package/dist/solid/icons/data/RaiseHand.jsx +4 -0
- package/dist/solid/icons/data/ReactionsControl.jsx +12 -0
- package/dist/solid/icons/data/Receipt.jsx +8 -0
- package/dist/solid/icons/data/Redo.jsx +4 -0
- package/dist/solid/icons/data/Redo2.jsx +4 -0
- package/dist/solid/icons/data/RefreshCcw.jsx +9 -0
- package/dist/solid/icons/data/RefreshCw.jsx +9 -0
- package/dist/solid/icons/data/Regex.jsx +9 -0
- package/dist/solid/icons/data/RemoveFormatting.jsx +10 -0
- package/dist/solid/icons/data/Repeat.jsx +9 -0
- package/dist/solid/icons/data/Reply.jsx +4 -0
- package/dist/solid/icons/data/ReplyAll.jsx +8 -0
- package/dist/solid/icons/data/Rewind.jsx +4 -0
- package/dist/solid/icons/data/Rocket.jsx +9 -0
- package/dist/solid/icons/data/RotateCcw.jsx +4 -0
- package/dist/solid/icons/data/RotateCw.jsx +4 -0
- package/dist/solid/icons/data/Rows3.jsx +14 -0
- package/dist/solid/icons/data/Rss.jsx +12 -0
- package/dist/solid/icons/data/Save.jsx +8 -0
- package/dist/solid/icons/data/Scan.jsx +9 -0
- package/dist/solid/icons/data/ScanEye.jsx +15 -0
- package/dist/solid/icons/data/ScanFace.jsx +12 -0
- package/dist/solid/icons/data/ScanLine.jsx +10 -0
- package/dist/solid/icons/data/Scissors.jsx +18 -0
- package/dist/solid/icons/data/ScreenShareControl.jsx +9 -0
- package/dist/solid/icons/data/ScreenShareOff.jsx +10 -0
- package/dist/solid/icons/data/ScrollText.jsx +9 -0
- package/dist/solid/icons/data/Search.jsx +8 -0
- package/dist/solid/icons/data/SearchX.jsx +13 -0
- package/dist/solid/icons/data/SelectField.jsx +10 -0
- package/dist/solid/icons/data/Send.jsx +4 -0
- package/dist/solid/icons/data/SendHorizontal.jsx +4 -0
- package/dist/solid/icons/data/SendToBack.jsx +21 -0
- package/dist/solid/icons/data/Server.jsx +33 -0
- package/dist/solid/icons/data/Settings.jsx +8 -0
- package/dist/solid/icons/data/Settings2.jsx +17 -0
- package/dist/solid/icons/data/SettingsControl.jsx +8 -0
- package/dist/solid/icons/data/Share.jsx +8 -0
- package/dist/solid/icons/data/Share2.jsx +32 -0
- package/dist/solid/icons/data/Shield.jsx +4 -0
- package/dist/solid/icons/data/ShieldAlert.jsx +8 -0
- package/dist/solid/icons/data/ShieldBan.jsx +4 -0
- package/dist/solid/icons/data/ShieldCheck.jsx +4 -0
- package/dist/solid/icons/data/ShieldOff.jsx +8 -0
- package/dist/solid/icons/data/ShieldPlus.jsx +8 -0
- package/dist/solid/icons/data/ShieldQuestion.jsx +8 -0
- package/dist/solid/icons/data/ShoppingBag.jsx +8 -0
- package/dist/solid/icons/data/ShoppingCart.jsx +17 -0
- package/dist/solid/icons/data/Shrink.jsx +9 -0
- package/dist/solid/icons/data/Shuffle.jsx +10 -0
- package/dist/solid/icons/data/Signal.jsx +10 -0
- package/dist/solid/icons/data/SignalHigh.jsx +9 -0
- package/dist/solid/icons/data/SignalLow.jsx +4 -0
- package/dist/solid/icons/data/SignalMedium.jsx +8 -0
- package/dist/solid/icons/data/SkipBack.jsx +4 -0
- package/dist/solid/icons/data/SkipForward.jsx +4 -0
- package/dist/solid/icons/data/SlidersHorizontal.jsx +14 -0
- package/dist/solid/icons/data/Smartphone.jsx +11 -0
- package/dist/solid/icons/data/Smile.jsx +13 -0
- package/dist/solid/icons/data/SmilePlus.jsx +11 -0
- package/dist/solid/icons/data/Snowflake.jsx +17 -0
- package/dist/solid/icons/data/Sparkle.jsx +4 -0
- package/dist/solid/icons/data/Sparkles.jsx +13 -0
- package/dist/solid/icons/data/Speaker.jsx +19 -0
- package/dist/solid/icons/data/SpeakerView.jsx +33 -0
- package/dist/solid/icons/data/Spotlight.jsx +4 -0
- package/dist/solid/icons/data/Square.jsx +10 -0
- package/dist/solid/icons/data/SquareArrowDown.jsx +14 -0
- package/dist/solid/icons/data/SquareArrowUp.jsx +14 -0
- package/dist/solid/icons/data/SquareCheck.jsx +10 -0
- package/dist/solid/icons/data/SquareCode.jsx +14 -0
- package/dist/solid/icons/data/SquareDashed.jsx +17 -0
- package/dist/solid/icons/data/SquareKanban.jsx +15 -0
- package/dist/solid/icons/data/SquarePen.jsx +4 -0
- package/dist/solid/icons/data/SquarePlus.jsx +14 -0
- package/dist/solid/icons/data/SquareTerminal.jsx +15 -0
- package/dist/solid/icons/data/SquareX.jsx +15 -0
- package/dist/solid/icons/data/Star.jsx +4 -0
- package/dist/solid/icons/data/StarOff.jsx +8 -0
- package/dist/solid/icons/data/StickyNote.jsx +4 -0
- package/dist/solid/icons/data/Store.jsx +8 -0
- package/dist/solid/icons/data/Strikethrough.jsx +13 -0
- package/dist/solid/icons/data/Sun.jsx +18 -0
- package/dist/solid/icons/data/SunMoon.jsx +10 -0
- package/dist/solid/icons/data/SwitchCamera.jsx +14 -0
- package/dist/solid/icons/data/Table.jsx +15 -0
- package/dist/solid/icons/data/Table2.jsx +14 -0
- package/dist/solid/icons/data/Tablet.jsx +16 -0
- package/dist/solid/icons/data/Tag.jsx +9 -0
- package/dist/solid/icons/data/Tags.jsx +13 -0
- package/dist/solid/icons/data/Target.jsx +20 -0
- package/dist/solid/icons/data/Terminal.jsx +4 -0
- package/dist/solid/icons/data/TextCursor.jsx +8 -0
- package/dist/solid/icons/data/TextSmallcaps.jsx +4 -0
- package/dist/solid/icons/data/Thermometer.jsx +4 -0
- package/dist/solid/icons/data/ThumbsDown.jsx +4 -0
- package/dist/solid/icons/data/ThumbsUp.jsx +4 -0
- package/dist/solid/icons/data/TimeZone.jsx +4 -0
- package/dist/solid/icons/data/Timer.jsx +22 -0
- package/dist/solid/icons/data/TimerOff.jsx +10 -0
- package/dist/solid/icons/data/Trash.jsx +10 -0
- package/dist/solid/icons/data/TrendingDown.jsx +4 -0
- package/dist/solid/icons/data/TrendingUp.jsx +4 -0
- package/dist/solid/icons/data/TriangleAlert.jsx +8 -0
- package/dist/solid/icons/data/Trophy.jsx +11 -0
- package/dist/solid/icons/data/Truck.jsx +18 -0
- package/dist/solid/icons/data/Tv.jsx +10 -0
- package/dist/solid/icons/data/Type.jsx +8 -0
- package/dist/solid/icons/data/Underline.jsx +9 -0
- package/dist/solid/icons/data/Undo.jsx +4 -0
- package/dist/solid/icons/data/Undo2.jsx +4 -0
- package/dist/solid/icons/data/Ungroup.jsx +16 -0
- package/dist/solid/icons/data/Unlink.jsx +31 -0
- package/dist/solid/icons/data/Unlink2.jsx +4 -0
- package/dist/solid/icons/data/Upload.jsx +8 -0
- package/dist/solid/icons/data/User.jsx +8 -0
- package/dist/solid/icons/data/UserCheck.jsx +12 -0
- package/dist/solid/icons/data/UserCog.jsx +24 -0
- package/dist/solid/icons/data/UserMinus.jsx +17 -0
- package/dist/solid/icons/data/UserPen.jsx +12 -0
- package/dist/solid/icons/data/UserPlus.jsx +23 -0
- package/dist/solid/icons/data/UserRound.jsx +8 -0
- package/dist/solid/icons/data/UserRoundPlus.jsx +13 -0
- package/dist/solid/icons/data/UserX.jsx +23 -0
- package/dist/solid/icons/data/Users.jsx +13 -0
- package/dist/solid/icons/data/UsersRound.jsx +12 -0
- package/dist/solid/icons/data/Venus.jsx +12 -0
- package/dist/solid/icons/data/VenusAndMars.jsx +14 -0
- package/dist/solid/icons/data/Video.jsx +10 -0
- package/dist/solid/icons/data/VideoControl.jsx +15 -0
- package/dist/solid/icons/data/VideoDisabledControl.jsx +17 -0
- package/dist/solid/icons/data/VideoOff.jsx +8 -0
- package/dist/solid/icons/data/VideoOffControl.jsx +13 -0
- package/dist/solid/icons/data/VoiceIsolation.jsx +4 -0
- package/dist/solid/icons/data/Volume.jsx +4 -0
- package/dist/solid/icons/data/Volume1.jsx +4 -0
- package/dist/solid/icons/data/Volume2.jsx +8 -0
- package/dist/solid/icons/data/VolumeOff.jsx +10 -0
- package/dist/solid/icons/data/VolumeX.jsx +8 -0
- package/dist/solid/icons/data/Wallet.jsx +4 -0
- package/dist/solid/icons/data/Wand.jsx +14 -0
- package/dist/solid/icons/data/WandSparkles.jsx +13 -0
- package/dist/solid/icons/data/Webhook.jsx +8 -0
- package/dist/solid/icons/data/Wifi.jsx +9 -0
- package/dist/solid/icons/data/WifiOff.jsx +12 -0
- package/dist/solid/icons/data/Wind.jsx +8 -0
- package/dist/solid/icons/data/WrapText.jsx +9 -0
- package/dist/solid/icons/data/Wrench.jsx +4 -0
- package/dist/solid/icons/data/X.jsx +4 -0
- package/dist/solid/icons/data/Zap.jsx +4 -0
- package/dist/solid/icons/data/ZoomIn.jsx +28 -0
- package/dist/solid/icons/data/ZoomOut.jsx +22 -0
- package/dist/solid/icons/icons.gen.jsx +496 -0
- package/dist/solid/icons/index.jsx +496 -0
- package/dist/solid/image-cropper/image-cropper.jsx +205 -0
- package/dist/solid/image-cropper/index.jsx +1 -0
- package/dist/solid/image-lightbox/carousel-stage.jsx +72 -0
- package/dist/solid/image-lightbox/image-lightbox.jsx +400 -0
- package/dist/solid/image-lightbox/index.jsx +1 -0
- package/dist/solid/image-lightbox/stage.jsx +149 -0
- package/dist/solid/index.jsx +228 -0
- package/dist/solid/internal/arc.jsx +28 -0
- package/dist/solid/internal/chip.styles.jsx +47 -0
- package/dist/solid/internal/class.jsx +45 -0
- package/dist/solid/internal/composer/box.styles.jsx +5 -0
- package/dist/solid/internal/composer/composer-box.jsx +480 -0
- package/dist/solid/internal/composer/composer-engine.jsx +406 -0
- package/dist/solid/internal/composer/composer-format.jsx +352 -0
- package/dist/solid/internal/composer/composer.jsx +243 -0
- package/dist/solid/internal/composer/content.styles.jsx +12 -0
- package/dist/solid/internal/composer/format.styles.jsx +23 -0
- package/dist/solid/internal/composer/frame.styles.jsx +23 -0
- package/dist/solid/internal/cue.jsx +29 -0
- package/dist/solid/internal/dialog-context.jsx +8 -0
- package/dist/solid/internal/disclosure.styles.jsx +38 -0
- package/dist/solid/internal/drag-motion.jsx +75 -0
- package/dist/solid/internal/drag-touch.jsx +109 -0
- package/dist/solid/internal/drag.styles.jsx +34 -0
- package/dist/solid/internal/element.jsx +22 -0
- package/dist/solid/internal/floating.styles.jsx +89 -0
- package/dist/solid/internal/form-context.jsx +14 -0
- package/dist/solid/internal/gauge.styles.jsx +93 -0
- package/dist/solid/internal/handler.jsx +11 -0
- package/dist/solid/internal/icon-part.jsx +17 -0
- package/dist/solid/internal/icons.jsx +32 -0
- package/dist/solid/internal/layers.jsx +16 -0
- package/dist/solid/internal/list.styles.jsx +250 -0
- package/dist/solid/internal/locale.jsx +66 -0
- package/dist/solid/internal/mask.jsx +37 -0
- package/dist/solid/internal/overflow/fit.jsx +73 -0
- package/dist/solid/internal/overflow/items.jsx +90 -0
- package/dist/solid/internal/overflow/observe.jsx +136 -0
- package/dist/solid/internal/overflow/row.jsx +24 -0
- package/dist/solid/internal/part.jsx +32 -0
- package/dist/solid/internal/press-focus.jsx +29 -0
- package/dist/solid/internal/ref.jsx +24 -0
- package/dist/solid/internal/rrule.jsx +188 -0
- package/dist/solid/internal/scroll-overflow.jsx +88 -0
- package/dist/solid/internal/segmented-input.styles.jsx +45 -0
- package/dist/solid/internal/sheet.styles.jsx +150 -0
- package/dist/solid/internal/shimmer.styles.jsx +15 -0
- package/dist/solid/internal/spring.jsx +63 -0
- package/dist/solid/internal/status-icons.jsx +8 -0
- package/dist/solid/internal/styles.jsx +45 -0
- package/dist/solid/internal/text-field.styles.jsx +101 -0
- package/dist/solid/internal/threshold.jsx +22 -0
- package/dist/solid/internal/time.jsx +8 -0
- package/dist/solid/internal/zoned.jsx +69 -0
- package/dist/solid/item/index.jsx +1 -0
- package/dist/solid/item/item.jsx +211 -0
- package/dist/solid/json-view/index.jsx +3 -0
- package/dist/solid/json-view/json-view.jsx +494 -0
- package/dist/solid/json-view/model.jsx +180 -0
- package/dist/solid/kanban/index.jsx +3 -0
- package/dist/solid/kanban/kanban.jsx +493 -0
- package/dist/solid/kanban/kanban.styles.jsx +88 -0
- package/dist/solid/kbd/index.jsx +4 -0
- package/dist/solid/kbd/kbd.jsx +26 -0
- package/dist/solid/kbd/kbd.styles.jsx +34 -0
- package/dist/solid/knob/index.jsx +1 -0
- package/dist/solid/knob/knob.jsx +498 -0
- package/dist/solid/knob/math.jsx +154 -0
- package/dist/solid/label/index.jsx +1 -0
- package/dist/solid/label/label.jsx +26 -0
- package/dist/solid/layout/index.jsx +1 -0
- package/dist/solid/layout/layout.jsx +259 -0
- package/dist/solid/link/index.jsx +1 -0
- package/dist/solid/link/link.jsx +46 -0
- package/dist/solid/link/link.styles.jsx +33 -0
- package/dist/solid/loader/index.jsx +1 -0
- package/dist/solid/loader/loader.jsx +70 -0
- package/dist/solid/locale-provider/index.jsx +3 -0
- package/dist/solid/locale-provider/locale-provider.jsx +37 -0
- package/dist/solid/locale-provider/messages.jsx +0 -0
- package/dist/solid/log-view/ansi.jsx +274 -0
- package/dist/solid/log-view/index.jsx +5 -0
- package/dist/solid/log-view/log-view.jsx +440 -0
- package/dist/solid/log-view/model.jsx +142 -0
- package/dist/solid/log-view/toolbar.jsx +104 -0
- package/dist/solid/logo/index.jsx +3 -0
- package/dist/solid/logo/logo-loader.jsx +115 -0
- package/dist/solid/logo/logo.jsx +93 -0
- package/dist/solid/logo/paths.jsx +35 -0
- package/dist/solid/logo/shapes.jsx +30 -0
- package/dist/solid/markdown/engine.jsx +54 -0
- package/dist/solid/markdown/index.jsx +4 -0
- package/dist/solid/markdown/markdown.jsx +91 -0
- package/dist/solid/markdown/markdown.styles.jsx +21 -0
- package/dist/solid/markdown/sanitize.jsx +295 -0
- package/dist/solid/markdown-editor/index.jsx +5 -0
- package/dist/solid/markdown-editor/markdown-editor.jsx +233 -0
- package/dist/solid/markdown-editor/markdown-editor.styles.jsx +5 -0
- package/dist/solid/markdown-editor/markdown.jsx +527 -0
- package/dist/solid/markdown-editor/sourced.jsx +161 -0
- package/dist/solid/markdown-editor/strip.jsx +83 -0
- package/dist/solid/markdown-editor/writer.jsx +524 -0
- package/dist/solid/marker/index.jsx +1 -0
- package/dist/solid/marker/marker.jsx +73 -0
- package/dist/solid/media-player/engine.jsx +155 -0
- package/dist/solid/media-player/index.jsx +3 -0
- package/dist/solid/media-player/media-player.jsx +582 -0
- package/dist/solid/media-player/model.jsx +95 -0
- package/dist/solid/media-player/primitive.jsx +799 -0
- package/dist/solid/menu/index.jsx +1 -0
- package/dist/solid/menu/menu.jsx +165 -0
- package/dist/solid/menubar/index.jsx +1 -0
- package/dist/solid/menubar/menubar.jsx +78 -0
- package/dist/solid/message/index.jsx +1 -0
- package/dist/solid/message/message.jsx +241 -0
- package/dist/solid/message-scroller/index.jsx +1 -0
- package/dist/solid/message-scroller/message-scroller.jsx +251 -0
- package/dist/solid/meter/index.jsx +1 -0
- package/dist/solid/meter/meter.jsx +42 -0
- package/dist/solid/model-picker/index.jsx +1 -0
- package/dist/solid/model-picker/model-picker.jsx +142 -0
- package/dist/solid/model-picker/panel.jsx +68 -0
- package/dist/solid/natural-date-input/engine.jsx +162 -0
- package/dist/solid/natural-date-input/format.jsx +125 -0
- package/dist/solid/natural-date-input/index.jsx +6 -0
- package/dist/solid/natural-date-input/natural-date-input.jsx +793 -0
- package/dist/solid/natural-date-input/parser.jsx +48 -0
- package/dist/solid/natural-date-input/picker.jsx +91 -0
- package/dist/solid/natural-date-input/types.jsx +0 -0
- package/dist/solid/navigation-menu/index.jsx +1 -0
- package/dist/solid/navigation-menu/navigation-menu.jsx +242 -0
- package/dist/solid/notice-stack/index.jsx +1 -0
- package/dist/solid/notice-stack/notice-stack.jsx +200 -0
- package/dist/solid/number-input/index.jsx +1 -0
- package/dist/solid/number-input/number-input.jsx +119 -0
- package/dist/solid/orb/index.jsx +1 -0
- package/dist/solid/orb/orb.jsx +100 -0
- package/dist/solid/otp-input/index.jsx +1 -0
- package/dist/solid/otp-input/otp-input.jsx +55 -0
- package/dist/solid/pagination/index.jsx +1 -0
- package/dist/solid/pagination/pagination.jsx +132 -0
- package/dist/solid/panel-stack/index.jsx +1 -0
- package/dist/solid/panel-stack/panel-stack.jsx +552 -0
- package/dist/solid/password-input/index.jsx +1 -0
- package/dist/solid/password-input/password-input.jsx +56 -0
- package/dist/solid/peek-panel/context.jsx +26 -0
- package/dist/solid/peek-panel/index.jsx +4 -0
- package/dist/solid/peek-panel/model.jsx +44 -0
- package/dist/solid/peek-panel/parts.jsx +243 -0
- package/dist/solid/peek-panel/peek-panel.jsx +345 -0
- package/dist/solid/peek-panel/peek-sheet.jsx +12 -0
- package/dist/solid/phone-input/countries.jsx +57 -0
- package/dist/solid/phone-input/engine.jsx +56 -0
- package/dist/solid/phone-input/index.jsx +4 -0
- package/dist/solid/phone-input/load.jsx +28 -0
- package/dist/solid/phone-input/model.jsx +89 -0
- package/dist/solid/phone-input/phone-input.jsx +465 -0
- package/dist/solid/pocket/index.jsx +1 -0
- package/dist/solid/pocket/pocket.jsx +124 -0
- package/dist/solid/popover/index.jsx +1 -0
- package/dist/solid/popover/popover.jsx +124 -0
- package/dist/solid/progress/index.jsx +1 -0
- package/dist/solid/progress/progress.jsx +51 -0
- package/dist/solid/prompt-input/index.jsx +1 -0
- package/dist/solid/prompt-input/prompt-input.jsx +454 -0
- package/dist/solid/property-list/commit.jsx +86 -0
- package/dist/solid/property-list/index.jsx +7 -0
- package/dist/solid/property-list/property-date.jsx +88 -0
- package/dist/solid/property-list/property-list.jsx +195 -0
- package/dist/solid/property-list/property-list.styles.jsx +303 -0
- package/dist/solid/property-list/property-popover.jsx +75 -0
- package/dist/solid/property-list/property-select.jsx +220 -0
- package/dist/solid/property-list/property-switch.jsx +31 -0
- package/dist/solid/property-list/property-text.jsx +180 -0
- package/dist/solid/prose/index.jsx +1 -0
- package/dist/solid/prose/prose.jsx +42 -0
- package/dist/solid/prose-editor/announce.jsx +1 -0
- package/dist/solid/prose-editor/code-view.jsx +174 -0
- package/dist/solid/prose-editor/controller.jsx +118 -0
- package/dist/solid/prose-editor/doc.jsx +581 -0
- package/dist/solid/prose-editor/dom-reader.jsx +251 -0
- package/dist/solid/prose-editor/editor.styles.jsx +384 -0
- package/dist/solid/prose-editor/engine.jsx +959 -0
- package/dist/solid/prose-editor/highlight.jsx +33 -0
- package/dist/solid/prose-editor/index.jsx +5 -0
- package/dist/solid/prose-editor/keys.jsx +22 -0
- package/dist/solid/prose-editor/labels.jsx +53 -0
- package/dist/solid/prose-editor/language-names.jsx +1 -0
- package/dist/solid/prose-editor/languages.jsx +57 -0
- package/dist/solid/prose-editor/link-row.jsx +60 -0
- package/dist/solid/prose-editor/mention.jsx +57 -0
- package/dist/solid/prose-editor/more-menu.jsx +49 -0
- package/dist/solid/prose-editor/prose-editor.jsx +458 -0
- package/dist/solid/prose-editor/schema.jsx +259 -0
- package/dist/solid/prose-editor/server.jsx +11 -0
- package/dist/solid/prose-editor/sugar.jsx +43 -0
- package/dist/solid/prose-editor/suggest-adapter.jsx +147 -0
- package/dist/solid/prose-editor/suggestions-menu.jsx +451 -0
- package/dist/solid/prose-editor/suggestions.jsx +49 -0
- package/dist/solid/prose-editor/toolbar-extras.jsx +3 -0
- package/dist/solid/prose-editor/toolbar.jsx +347 -0
- package/dist/solid/prose-editor/view-parts.jsx +27 -0
- package/dist/solid/prose-editor-suggestions/index.jsx +1 -0
- package/dist/solid/questionnaire/index.jsx +1 -0
- package/dist/solid/questionnaire/questionnaire.jsx +459 -0
- package/dist/solid/radio/index.jsx +1 -0
- package/dist/solid/radio/radio.jsx +84 -0
- package/dist/solid/rating/index.jsx +1 -0
- package/dist/solid/rating/rating.jsx +94 -0
- package/dist/solid/reactions/index.jsx +3 -0
- package/dist/solid/reactions/model.jsx +78 -0
- package/dist/solid/reactions/reactions.jsx +452 -0
- package/dist/solid/reasoning/index.jsx +1 -0
- package/dist/solid/reasoning/reasoning.jsx +147 -0
- package/dist/solid/recurrence/dialog.jsx +51 -0
- package/dist/solid/recurrence/editor.jsx +343 -0
- package/dist/solid/recurrence/index.jsx +6 -0
- package/dist/solid/recurrence/labels.jsx +46 -0
- package/dist/solid/recurrence/model.jsx +425 -0
- package/dist/solid/recurrence/recurrence-select.jsx +114 -0
- package/dist/solid/relative-time/clock.jsx +51 -0
- package/dist/solid/relative-time/index.jsx +1 -0
- package/dist/solid/relative-time/relative-time.jsx +205 -0
- package/dist/solid/resizable/index.jsx +1 -0
- package/dist/solid/resizable/resizable.jsx +59 -0
- package/dist/solid/ring/index.jsx +3 -0
- package/dist/solid/ring/meter-ring.jsx +31 -0
- package/dist/solid/ring/progress-ring.jsx +29 -0
- package/dist/solid/ring/ring.styles.jsx +57 -0
- package/dist/solid/schedule-list/index.jsx +3 -0
- package/dist/solid/schedule-list/menu.jsx +42 -0
- package/dist/solid/schedule-list/model.jsx +167 -0
- package/dist/solid/schedule-list/schedule-list.jsx +1077 -0
- package/dist/solid/scroll-area/index.jsx +1 -0
- package/dist/solid/scroll-area/scroll-area.jsx +118 -0
- package/dist/solid/secret/index.jsx +1 -0
- package/dist/solid/secret/secret.jsx +278 -0
- package/dist/solid/segmented-control/index.jsx +1 -0
- package/dist/solid/segmented-control/segmented-control.jsx +64 -0
- package/dist/solid/select/align.jsx +162 -0
- package/dist/solid/select/index.jsx +1 -0
- package/dist/solid/select/select.jsx +159 -0
- package/dist/solid/separator/index.jsx +1 -0
- package/dist/solid/separator/separator.jsx +23 -0
- package/dist/solid/sheet/index.jsx +1 -0
- package/dist/solid/sheet/sheet.jsx +139 -0
- package/dist/solid/shortcut-recorder/capture.jsx +99 -0
- package/dist/solid/shortcut-recorder/index.jsx +4 -0
- package/dist/solid/shortcut-recorder/labels.jsx +28 -0
- package/dist/solid/shortcut-recorder/model.jsx +22 -0
- package/dist/solid/shortcut-recorder/popover.jsx +228 -0
- package/dist/solid/shortcut-recorder/shortcut-recorder.jsx +235 -0
- package/dist/solid/shortcuts/conflicts.jsx +64 -0
- package/dist/solid/shortcuts/index.jsx +9 -0
- package/dist/solid/shortcuts/keys.jsx +126 -0
- package/dist/solid/shortcuts/list.jsx +121 -0
- package/dist/solid/shortcuts/model.jsx +89 -0
- package/dist/solid/shortcuts/platform.jsx +16 -0
- package/dist/solid/shortcuts/scope.jsx +111 -0
- package/dist/solid/shortcuts/shortcuts.jsx +35 -0
- package/dist/solid/shortcuts/use-shortcut.jsx +45 -0
- package/dist/solid/sidebar/context.jsx +24 -0
- package/dist/solid/sidebar/index.jsx +6 -0
- package/dist/solid/sidebar/lazy-tips.jsx +101 -0
- package/dist/solid/sidebar/menu.jsx +384 -0
- package/dist/solid/sidebar/sheet.jsx +17 -0
- package/dist/solid/sidebar/sidebar.jsx +555 -0
- package/dist/solid/sidebar/sidebar.styles.jsx +467 -0
- package/dist/solid/sidebar/tips.jsx +48 -0
- package/dist/solid/sidebar/views.jsx +49 -0
- package/dist/solid/signature-pad/export.jsx +39 -0
- package/dist/solid/signature-pad/index.jsx +4 -0
- package/dist/solid/signature-pad/model.jsx +227 -0
- package/dist/solid/signature-pad/signature-pad.jsx +518 -0
- package/dist/solid/skeleton/index.jsx +1 -0
- package/dist/solid/skeleton/skeleton.jsx +31 -0
- package/dist/solid/slider/index.jsx +1 -0
- package/dist/solid/slider/slider.jsx +133 -0
- package/dist/solid/sortable-list/index.jsx +3 -0
- package/dist/solid/sortable-list/sortable-list.jsx +333 -0
- package/dist/solid/sortable-list/sortable-list.styles.jsx +70 -0
- package/dist/solid/span-timeline/index.jsx +3 -0
- package/dist/solid/span-timeline/model.jsx +137 -0
- package/dist/solid/span-timeline/span-timeline.jsx +134 -0
- package/dist/solid/spinner/index.jsx +1 -0
- package/dist/solid/spinner/spinner.jsx +61 -0
- package/dist/solid/stat/context.jsx +5 -0
- package/dist/solid/stat/delta.jsx +237 -0
- package/dist/solid/stat/index.jsx +3 -0
- package/dist/solid/stat/stat.jsx +266 -0
- package/dist/solid/statusbar/index.jsx +1 -0
- package/dist/solid/statusbar/statusbar.jsx +221 -0
- package/dist/solid/stepper/index.jsx +1 -0
- package/dist/solid/stepper/stepper.jsx +310 -0
- package/dist/solid/stepper/stepper.styles.jsx +43 -0
- package/dist/solid/switch/index.jsx +1 -0
- package/dist/solid/switch/switch.jsx +72 -0
- package/dist/solid/table/index.jsx +1 -0
- package/dist/solid/table/table.jsx +185 -0
- package/dist/solid/table-of-contents/headings.jsx +54 -0
- package/dist/solid/table-of-contents/index.jsx +3 -0
- package/dist/solid/table-of-contents/scrollspy.jsx +135 -0
- package/dist/solid/table-of-contents/table-of-contents.jsx +169 -0
- package/dist/solid/tabs/index.jsx +1 -0
- package/dist/solid/tabs/tabs.jsx +164 -0
- package/dist/solid/tabs-overflow/index.jsx +1 -0
- package/dist/solid/tabs-overflow/menu.jsx +49 -0
- package/dist/solid/tabs-overflow/tabs-overflow.jsx +140 -0
- package/dist/solid/task-tray/index.jsx +4 -0
- package/dist/solid/task-tray/model.jsx +91 -0
- package/dist/solid/task-tray/store.jsx +352 -0
- package/dist/solid/task-tray/task-tray.jsx +458 -0
- package/dist/solid/text/index.jsx +1 -0
- package/dist/solid/text/text.jsx +151 -0
- package/dist/solid/theme/index.jsx +1 -0
- package/dist/solid/theme/theme.jsx +36 -0
- package/dist/solid/theme-switcher/index.jsx +1 -0
- package/dist/solid/theme-switcher/theme-switcher.jsx +84 -0
- package/dist/solid/thread-list/index.jsx +1 -0
- package/dist/solid/thread-list/thread-list.jsx +174 -0
- package/dist/solid/tiling/create-tiling.jsx +65 -0
- package/dist/solid/tiling/engine/controllers/drag.jsx +101 -0
- package/dist/solid/tiling/engine/controllers/resize.jsx +65 -0
- package/dist/solid/tiling/engine/defaults.jsx +20 -0
- package/dist/solid/tiling/engine/emitter.jsx +35 -0
- package/dist/solid/tiling/engine/engine.jsx +906 -0
- package/dist/solid/tiling/engine/geometry.jsx +168 -0
- package/dist/solid/tiling/engine/history.jsx +76 -0
- package/dist/solid/tiling/engine/ids.jsx +12 -0
- package/dist/solid/tiling/engine/index.jsx +9 -0
- package/dist/solid/tiling/engine/layout.jsx +170 -0
- package/dist/solid/tiling/engine/scheduler.jsx +75 -0
- package/dist/solid/tiling/engine/spring.jsx +79 -0
- package/dist/solid/tiling/engine/store.jsx +25 -0
- package/dist/solid/tiling/engine/tree.jsx +606 -0
- package/dist/solid/tiling/engine/types.jsx +0 -0
- package/dist/solid/tiling/index.jsx +8 -0
- package/dist/solid/tiling/pointer.jsx +186 -0
- package/dist/solid/tiling/tab-strip.jsx +239 -0
- package/dist/solid/tiling/tiling.jsx +750 -0
- package/dist/solid/tiling/tiling.styles.jsx +485 -0
- package/dist/solid/time-input/index.jsx +1 -0
- package/dist/solid/time-input/time-input.jsx +31 -0
- package/dist/solid/time-picker/index.jsx +3 -0
- package/dist/solid/time-picker/model.jsx +190 -0
- package/dist/solid/time-picker/time-picker.jsx +449 -0
- package/dist/solid/time-zone-picker/index.jsx +3 -0
- package/dist/solid/time-zone-picker/time-zone-picker.jsx +191 -0
- package/dist/solid/time-zone-picker/zones.jsx +335 -0
- package/dist/solid/timeline/index.jsx +1 -0
- package/dist/solid/timeline/timeline.jsx +162 -0
- package/dist/solid/toast/index.jsx +1 -0
- package/dist/solid/toast/toast.jsx +261 -0
- package/dist/solid/toggle/index.jsx +1 -0
- package/dist/solid/toggle/toggle.jsx +126 -0
- package/dist/solid/token-input/index.jsx +1 -0
- package/dist/solid/token-input/token-input.jsx +101 -0
- package/dist/solid/tokens.stylex.jsx +269 -0
- package/dist/solid/tool-call/index.jsx +1 -0
- package/dist/solid/tool-call/instead-form.jsx +35 -0
- package/dist/solid/tool-call/tool-call.jsx +427 -0
- package/dist/solid/toolbar/index.jsx +1 -0
- package/dist/solid/toolbar/toolbar.jsx +92 -0
- package/dist/solid/toolbar-overflow/index.jsx +1 -0
- package/dist/solid/toolbar-overflow/menu.jsx +49 -0
- package/dist/solid/toolbar-overflow/toolbar-overflow.jsx +203 -0
- package/dist/solid/tooltip/index.jsx +1 -0
- package/dist/solid/tooltip/tooltip.jsx +119 -0
- package/dist/solid/trace/index.jsx +1 -0
- package/dist/solid/trace/trace.jsx +286 -0
- package/dist/solid/tree/index.jsx +1 -0
- package/dist/solid/tree/tree.jsx +120 -0
- package/dist/solid/trigger-menu/index.jsx +1 -0
- package/dist/solid/trigger-menu/trigger-menu.jsx +111 -0
- package/dist/solid/undo/index.jsx +1 -0
- package/dist/solid/undo/undo.jsx +176 -0
- package/dist/solid/volume-meter/index.jsx +1 -0
- package/dist/solid/volume-meter/volume-meter.jsx +104 -0
- package/dist/styles.css +1 -0
- package/dist/types/accordion/accordion.d.ts +56 -0
- package/dist/types/accordion/index.d.ts +1 -0
- package/dist/types/agent-activity/agent-activity.d.ts +44 -0
- package/dist/types/agent-activity/index.d.ts +2 -0
- package/dist/types/agent-todos/agent-todos.d.ts +56 -0
- package/dist/types/agent-todos/index.d.ts +2 -0
- package/dist/types/alert/alert.d.ts +54 -0
- package/dist/types/alert/index.d.ts +2 -0
- package/dist/types/alert-dialog/alert-dialog.d.ts +82 -0
- package/dist/types/alert-dialog/index.d.ts +1 -0
- package/dist/types/attachment/attachment.d.ts +90 -0
- package/dist/types/attachment/index.d.ts +2 -0
- package/dist/types/autocomplete/autocomplete.d.ts +56 -0
- package/dist/types/autocomplete/index.d.ts +2 -0
- package/dist/types/avatar/avatar.d.ts +132 -0
- package/dist/types/avatar/index.d.ts +3 -0
- package/dist/types/badge/badge.d.ts +48 -0
- package/dist/types/badge/index.d.ts +2 -0
- package/dist/types/bot-avatar/bot-avatar.d.ts +40 -0
- package/dist/types/bot-avatar/index.d.ts +2 -0
- package/dist/types/brands/brands.gen.d.ts +113 -0
- package/dist/types/brands/data/Airtable.d.ts +3 -0
- package/dist/types/brands/data/AmericanExpress.d.ts +3 -0
- package/dist/types/brands/data/AmericanExpressColor.d.ts +3 -0
- package/dist/types/brands/data/Android.d.ts +3 -0
- package/dist/types/brands/data/AndroidColor.d.ts +3 -0
- package/dist/types/brands/data/Anthropic.d.ts +3 -0
- package/dist/types/brands/data/Apple.d.ts +3 -0
- package/dist/types/brands/data/ApplePay.d.ts +3 -0
- package/dist/types/brands/data/Asana.d.ts +3 -0
- package/dist/types/brands/data/AsanaColor.d.ts +3 -0
- package/dist/types/brands/data/Atlassian.d.ts +3 -0
- package/dist/types/brands/data/AtlassianColor.d.ts +3 -0
- package/dist/types/brands/data/Bitbucket.d.ts +3 -0
- package/dist/types/brands/data/BitbucketColor.d.ts +3 -0
- package/dist/types/brands/data/Bluesky.d.ts +3 -0
- package/dist/types/brands/data/BlueskyColor.d.ts +3 -0
- package/dist/types/brands/data/Calendly.d.ts +3 -0
- package/dist/types/brands/data/CalendlyColor.d.ts +3 -0
- package/dist/types/brands/data/Claude.d.ts +3 -0
- package/dist/types/brands/data/ClaudeColor.d.ts +3 -0
- package/dist/types/brands/data/ClickUp.d.ts +3 -0
- package/dist/types/brands/data/Cloudflare.d.ts +3 -0
- package/dist/types/brands/data/CloudflareColor.d.ts +3 -0
- package/dist/types/brands/data/DinersClub.d.ts +3 -0
- package/dist/types/brands/data/DinersClubColor.d.ts +3 -0
- package/dist/types/brands/data/Discord.d.ts +3 -0
- package/dist/types/brands/data/DiscordColor.d.ts +3 -0
- package/dist/types/brands/data/Discover.d.ts +3 -0
- package/dist/types/brands/data/Docker.d.ts +3 -0
- package/dist/types/brands/data/DockerColor.d.ts +3 -0
- package/dist/types/brands/data/Dropbox.d.ts +3 -0
- package/dist/types/brands/data/DropboxColor.d.ts +3 -0
- package/dist/types/brands/data/Facebook.d.ts +3 -0
- package/dist/types/brands/data/FacebookColor.d.ts +3 -0
- package/dist/types/brands/data/Figma.d.ts +3 -0
- package/dist/types/brands/data/GitHub.d.ts +3 -0
- package/dist/types/brands/data/GitLab.d.ts +3 -0
- package/dist/types/brands/data/GitLabColor.d.ts +3 -0
- package/dist/types/brands/data/Gmail.d.ts +3 -0
- package/dist/types/brands/data/Google.d.ts +3 -0
- package/dist/types/brands/data/GoogleCalendar.d.ts +3 -0
- package/dist/types/brands/data/GoogleColor.d.ts +3 -0
- package/dist/types/brands/data/GoogleDrive.d.ts +3 -0
- package/dist/types/brands/data/GoogleGemini.d.ts +3 -0
- package/dist/types/brands/data/GoogleMeet.d.ts +3 -0
- package/dist/types/brands/data/GoogleMeetColor.d.ts +3 -0
- package/dist/types/brands/data/GooglePay.d.ts +3 -0
- package/dist/types/brands/data/HubSpot.d.ts +3 -0
- package/dist/types/brands/data/HubSpotColor.d.ts +3 -0
- package/dist/types/brands/data/Hyper.d.ts +3 -0
- package/dist/types/brands/data/HyperColor.d.ts +3 -0
- package/dist/types/brands/data/Instagram.d.ts +3 -0
- package/dist/types/brands/data/Intercom.d.ts +3 -0
- package/dist/types/brands/data/JCB.d.ts +3 -0
- package/dist/types/brands/data/Jira.d.ts +3 -0
- package/dist/types/brands/data/JiraColor.d.ts +3 -0
- package/dist/types/brands/data/Linear.d.ts +3 -0
- package/dist/types/brands/data/LinearColor.d.ts +3 -0
- package/dist/types/brands/data/Loom.d.ts +3 -0
- package/dist/types/brands/data/LoomColor.d.ts +3 -0
- package/dist/types/brands/data/Mastercard.d.ts +3 -0
- package/dist/types/brands/data/Medium.d.ts +3 -0
- package/dist/types/brands/data/Messenger.d.ts +3 -0
- package/dist/types/brands/data/MessengerColor.d.ts +3 -0
- package/dist/types/brands/data/Meta.d.ts +3 -0
- package/dist/types/brands/data/MetaColor.d.ts +3 -0
- package/dist/types/brands/data/Microsoft.d.ts +3 -0
- package/dist/types/brands/data/MicrosoftColor.d.ts +3 -0
- package/dist/types/brands/data/MicrosoftTeamsColor.d.ts +3 -0
- package/dist/types/brands/data/Miro.d.ts +3 -0
- package/dist/types/brands/data/Notion.d.ts +3 -0
- package/dist/types/brands/data/Npm.d.ts +3 -0
- package/dist/types/brands/data/NpmColor.d.ts +3 -0
- package/dist/types/brands/data/Okta.d.ts +3 -0
- package/dist/types/brands/data/OktaColor.d.ts +3 -0
- package/dist/types/brands/data/PayPal.d.ts +3 -0
- package/dist/types/brands/data/Perplexity.d.ts +3 -0
- package/dist/types/brands/data/PerplexityColor.d.ts +3 -0
- package/dist/types/brands/data/Pinterest.d.ts +3 -0
- package/dist/types/brands/data/PinterestColor.d.ts +3 -0
- package/dist/types/brands/data/Reddit.d.ts +3 -0
- package/dist/types/brands/data/RedditColor.d.ts +3 -0
- package/dist/types/brands/data/Shopify.d.ts +3 -0
- package/dist/types/brands/data/ShopifyColor.d.ts +3 -0
- package/dist/types/brands/data/Slack.d.ts +3 -0
- package/dist/types/brands/data/SlackColor.d.ts +3 -0
- package/dist/types/brands/data/Spotify.d.ts +3 -0
- package/dist/types/brands/data/SpotifyColor.d.ts +3 -0
- package/dist/types/brands/data/Stripe.d.ts +3 -0
- package/dist/types/brands/data/StripeColor.d.ts +3 -0
- package/dist/types/brands/data/Substack.d.ts +3 -0
- package/dist/types/brands/data/SubstackColor.d.ts +3 -0
- package/dist/types/brands/data/Supabase.d.ts +3 -0
- package/dist/types/brands/data/SupabaseColor.d.ts +3 -0
- package/dist/types/brands/data/Telegram.d.ts +3 -0
- package/dist/types/brands/data/TelegramColor.d.ts +3 -0
- package/dist/types/brands/data/Threads.d.ts +3 -0
- package/dist/types/brands/data/TikTok.d.ts +3 -0
- package/dist/types/brands/data/Trello.d.ts +3 -0
- package/dist/types/brands/data/TrelloColor.d.ts +3 -0
- package/dist/types/brands/data/Twitch.d.ts +3 -0
- package/dist/types/brands/data/TwitchColor.d.ts +3 -0
- package/dist/types/brands/data/Vercel.d.ts +3 -0
- package/dist/types/brands/data/Visa.d.ts +3 -0
- package/dist/types/brands/data/Webex.d.ts +3 -0
- package/dist/types/brands/data/WhatsApp.d.ts +3 -0
- package/dist/types/brands/data/WhatsAppColor.d.ts +3 -0
- package/dist/types/brands/data/XTwitter.d.ts +3 -0
- package/dist/types/brands/data/YouTube.d.ts +3 -0
- package/dist/types/brands/data/YouTubeColor.d.ts +3 -0
- package/dist/types/brands/data/Zendesk.d.ts +3 -0
- package/dist/types/brands/data/Zoom.d.ts +3 -0
- package/dist/types/brands/data/ZoomColor.d.ts +3 -0
- package/dist/types/brands/index.d.ts +1 -0
- package/dist/types/breadcrumb/breadcrumb.d.ts +51 -0
- package/dist/types/breadcrumb/index.d.ts +2 -0
- package/dist/types/bubble/bubble.d.ts +41 -0
- package/dist/types/bubble/index.d.ts +2 -0
- package/dist/types/button/button-group.d.ts +22 -0
- package/dist/types/button/button.d.ts +51 -0
- package/dist/types/button/button.styles.d.ts +15 -0
- package/dist/types/button/index.d.ts +4 -0
- package/dist/types/calendar/calendar.d.ts +70 -0
- package/dist/types/calendar/index.d.ts +2 -0
- package/dist/types/card/card.d.ts +78 -0
- package/dist/types/card/index.d.ts +2 -0
- package/dist/types/card-input/card-input.d.ts +191 -0
- package/dist/types/card-input/index.d.ts +2 -0
- package/dist/types/card-input/model.d.ts +89 -0
- package/dist/types/carousel/carousel.d.ts +160 -0
- package/dist/types/carousel/index.d.ts +1 -0
- package/dist/types/cascader/cascader.d.ts +207 -0
- package/dist/types/cascader/data.d.ts +70 -0
- package/dist/types/cascader/index.d.ts +2 -0
- package/dist/types/chat-composer/chat-composer.d.ts +206 -0
- package/dist/types/chat-composer/controller.d.ts +85 -0
- package/dist/types/chat-composer/index.d.ts +4 -0
- package/dist/types/checkbox/checkbox.d.ts +35 -0
- package/dist/types/checkbox/index.d.ts +1 -0
- package/dist/types/code-block/code-block.d.ts +73 -0
- package/dist/types/code-block/code.styles.d.ts +75 -0
- package/dist/types/code-block/highlighter.d.ts +73 -0
- package/dist/types/code-block/highlights-engine.d.ts +2 -0
- package/dist/types/code-block/index.d.ts +2 -0
- package/dist/types/collapsible/collapsible.d.ts +46 -0
- package/dist/types/collapsible/index.d.ts +1 -0
- package/dist/types/color-picker/color-picker.d.ts +37 -0
- package/dist/types/color-picker/index.d.ts +1 -0
- package/dist/types/combobox/combobox.d.ts +108 -0
- package/dist/types/combobox/index.d.ts +1 -0
- package/dist/types/command/command.d.ts +148 -0
- package/dist/types/command/index.d.ts +1 -0
- package/dist/types/context-meter/context-meter.d.ts +65 -0
- package/dist/types/context-meter/index.d.ts +2 -0
- package/dist/types/copy-button/copy-button.d.ts +47 -0
- package/dist/types/copy-button/index.d.ts +4 -0
- package/dist/types/copy-button/use-copy.d.ts +53 -0
- package/dist/types/create-table/create-table.d.ts +38 -0
- package/dist/types/create-table/flex-render.d.ts +36 -0
- package/dist/types/create-table/index.d.ts +5 -0
- package/dist/types/create-table/reactivity.d.ts +18 -0
- package/dist/types/create-table/row-models.d.ts +37 -0
- package/dist/types/csp-provider/csp-provider.d.ts +32 -0
- package/dist/types/csp-provider/index.d.ts +2 -0
- package/dist/types/cues/cues.d.ts +30 -0
- package/dist/types/cues/index.d.ts +2 -0
- package/dist/types/data-grid/column-menu.d.ts +44 -0
- package/dist/types/data-grid/columns.d.ts +48 -0
- package/dist/types/data-grid/data-grid.d.ts +120 -0
- package/dist/types/data-grid/data-grid.styles.d.ts +546 -0
- package/dist/types/data-grid/features.d.ts +92 -0
- package/dist/types/data-grid/index.d.ts +6 -0
- package/dist/types/data-grid/labels.d.ts +32 -0
- package/dist/types/data-grid/pagination.d.ts +16 -0
- package/dist/types/data-grid/selection-bar.d.ts +100 -0
- package/dist/types/date-input/date-input.d.ts +21 -0
- package/dist/types/date-input/index.d.ts +1 -0
- package/dist/types/date-picker/date-picker.d.ts +38 -0
- package/dist/types/date-picker/index.d.ts +1 -0
- package/dist/types/day-strip/day-strip.d.ts +196 -0
- package/dist/types/day-strip/index.d.ts +1 -0
- package/dist/types/description-list/description-list.d.ts +93 -0
- package/dist/types/description-list/index.d.ts +2 -0
- package/dist/types/dialog/dialog.d.ts +99 -0
- package/dist/types/dialog/dialog.styles.d.ts +137 -0
- package/dist/types/dialog/index.d.ts +1 -0
- package/dist/types/diff-review/diff-review.d.ts +72 -0
- package/dist/types/diff-review/index.d.ts +2 -0
- package/dist/types/direction-provider/direction-provider.d.ts +37 -0
- package/dist/types/direction-provider/index.d.ts +4 -0
- package/dist/types/draw-toolbar/draw-tool-icon.d.ts +22 -0
- package/dist/types/draw-toolbar/draw-toolbar.d.ts +111 -0
- package/dist/types/draw-toolbar/index.d.ts +6 -0
- package/dist/types/draw-toolbar/tools.d.ts +68 -0
- package/dist/types/editable-text/editable-text.d.ts +184 -0
- package/dist/types/editable-text/index.d.ts +2 -0
- package/dist/types/emoji-picker/data.d.ts +86 -0
- package/dist/types/emoji-picker/data.gen.d.ts +7 -0
- package/dist/types/emoji-picker/emoji-picker.d.ts +185 -0
- package/dist/types/emoji-picker/index.d.ts +6 -0
- package/dist/types/emoji-picker/support.d.ts +17 -0
- package/dist/types/empty-state/empty-state.d.ts +47 -0
- package/dist/types/empty-state/index.d.ts +2 -0
- package/dist/types/event-popover/event-popover.d.ts +168 -0
- package/dist/types/event-popover/index.d.ts +2 -0
- package/dist/types/field/field.d.ts +85 -0
- package/dist/types/field/index.d.ts +1 -0
- package/dist/types/file-input/file-input.d.ts +75 -0
- package/dist/types/file-input/index.d.ts +1 -0
- package/dist/types/file-input/upload-queue.d.ts +62 -0
- package/dist/types/file-type/file-type.d.ts +44 -0
- package/dist/types/file-type/file-types.d.ts +53 -0
- package/dist/types/file-type/index.d.ts +4 -0
- package/dist/types/filter-bar/editor-boolean.d.ts +4 -0
- package/dist/types/filter-bar/editor-date.d.ts +4 -0
- package/dist/types/filter-bar/editor-number.d.ts +4 -0
- package/dist/types/filter-bar/editor-options.d.ts +4 -0
- package/dist/types/filter-bar/editor-text.d.ts +4 -0
- package/dist/types/filter-bar/editor-types.d.ts +37 -0
- package/dist/types/filter-bar/field-list.d.ts +4 -0
- package/dist/types/filter-bar/filter-bar.d.ts +68 -0
- package/dist/types/filter-bar/filter-bar.styles.d.ts +127 -0
- package/dist/types/filter-bar/index.d.ts +3 -0
- package/dist/types/filter-bar/lazy.d.ts +12 -0
- package/dist/types/filter-bar/model.d.ts +89 -0
- package/dist/types/filter-bar/operator-menu.d.ts +7 -0
- package/dist/types/filter-bar/state.d.ts +47 -0
- package/dist/types/flag/flag.d.ts +45 -0
- package/dist/types/flag/index.d.ts +2 -0
- package/dist/types/flags/data/AC.d.ts +3 -0
- package/dist/types/flags/data/AD.d.ts +3 -0
- package/dist/types/flags/data/AE.d.ts +3 -0
- package/dist/types/flags/data/AF.d.ts +3 -0
- package/dist/types/flags/data/AG.d.ts +3 -0
- package/dist/types/flags/data/AI.d.ts +3 -0
- package/dist/types/flags/data/AL.d.ts +3 -0
- package/dist/types/flags/data/AM.d.ts +3 -0
- package/dist/types/flags/data/AO.d.ts +3 -0
- package/dist/types/flags/data/AQ.d.ts +3 -0
- package/dist/types/flags/data/AR.d.ts +3 -0
- package/dist/types/flags/data/AS.d.ts +3 -0
- package/dist/types/flags/data/AT.d.ts +3 -0
- package/dist/types/flags/data/AU.d.ts +3 -0
- package/dist/types/flags/data/AW.d.ts +3 -0
- package/dist/types/flags/data/AX.d.ts +3 -0
- package/dist/types/flags/data/AZ.d.ts +3 -0
- package/dist/types/flags/data/BA.d.ts +3 -0
- package/dist/types/flags/data/BB.d.ts +3 -0
- package/dist/types/flags/data/BD.d.ts +3 -0
- package/dist/types/flags/data/BE.d.ts +3 -0
- package/dist/types/flags/data/BF.d.ts +3 -0
- package/dist/types/flags/data/BG.d.ts +3 -0
- package/dist/types/flags/data/BH.d.ts +3 -0
- package/dist/types/flags/data/BI.d.ts +3 -0
- package/dist/types/flags/data/BJ.d.ts +3 -0
- package/dist/types/flags/data/BL.d.ts +3 -0
- package/dist/types/flags/data/BM.d.ts +3 -0
- package/dist/types/flags/data/BN.d.ts +3 -0
- package/dist/types/flags/data/BO.d.ts +3 -0
- package/dist/types/flags/data/BQ.d.ts +3 -0
- package/dist/types/flags/data/BQ_BO.d.ts +3 -0
- package/dist/types/flags/data/BQ_SA.d.ts +3 -0
- package/dist/types/flags/data/BQ_SE.d.ts +3 -0
- package/dist/types/flags/data/BR.d.ts +3 -0
- package/dist/types/flags/data/BS.d.ts +3 -0
- package/dist/types/flags/data/BT.d.ts +3 -0
- package/dist/types/flags/data/BV.d.ts +3 -0
- package/dist/types/flags/data/BW.d.ts +3 -0
- package/dist/types/flags/data/BY.d.ts +3 -0
- package/dist/types/flags/data/BZ.d.ts +3 -0
- package/dist/types/flags/data/CA.d.ts +3 -0
- package/dist/types/flags/data/CC.d.ts +3 -0
- package/dist/types/flags/data/CD.d.ts +3 -0
- package/dist/types/flags/data/CF.d.ts +3 -0
- package/dist/types/flags/data/CG.d.ts +3 -0
- package/dist/types/flags/data/CH.d.ts +3 -0
- package/dist/types/flags/data/CI.d.ts +3 -0
- package/dist/types/flags/data/CK.d.ts +3 -0
- package/dist/types/flags/data/CL.d.ts +3 -0
- package/dist/types/flags/data/CM.d.ts +3 -0
- package/dist/types/flags/data/CN.d.ts +3 -0
- package/dist/types/flags/data/CO.d.ts +3 -0
- package/dist/types/flags/data/CR.d.ts +3 -0
- package/dist/types/flags/data/CU.d.ts +3 -0
- package/dist/types/flags/data/CV.d.ts +3 -0
- package/dist/types/flags/data/CW.d.ts +3 -0
- package/dist/types/flags/data/CX.d.ts +3 -0
- package/dist/types/flags/data/CY.d.ts +3 -0
- package/dist/types/flags/data/CZ.d.ts +3 -0
- package/dist/types/flags/data/DE.d.ts +3 -0
- package/dist/types/flags/data/DJ.d.ts +3 -0
- package/dist/types/flags/data/DK.d.ts +3 -0
- package/dist/types/flags/data/DM.d.ts +3 -0
- package/dist/types/flags/data/DO.d.ts +3 -0
- package/dist/types/flags/data/DZ.d.ts +3 -0
- package/dist/types/flags/data/EC.d.ts +3 -0
- package/dist/types/flags/data/EE.d.ts +3 -0
- package/dist/types/flags/data/EG.d.ts +3 -0
- package/dist/types/flags/data/EH.d.ts +3 -0
- package/dist/types/flags/data/ER.d.ts +3 -0
- package/dist/types/flags/data/ES.d.ts +3 -0
- package/dist/types/flags/data/ES_CT.d.ts +3 -0
- package/dist/types/flags/data/ET.d.ts +3 -0
- package/dist/types/flags/data/EU.d.ts +3 -0
- package/dist/types/flags/data/FI.d.ts +3 -0
- package/dist/types/flags/data/FJ.d.ts +3 -0
- package/dist/types/flags/data/FK.d.ts +3 -0
- package/dist/types/flags/data/FM.d.ts +3 -0
- package/dist/types/flags/data/FO.d.ts +3 -0
- package/dist/types/flags/data/FR.d.ts +3 -0
- package/dist/types/flags/data/GA.d.ts +3 -0
- package/dist/types/flags/data/GB.d.ts +3 -0
- package/dist/types/flags/data/GB_ENG.d.ts +3 -0
- package/dist/types/flags/data/GB_NIR.d.ts +3 -0
- package/dist/types/flags/data/GB_SCT.d.ts +3 -0
- package/dist/types/flags/data/GB_WLS.d.ts +3 -0
- package/dist/types/flags/data/GD.d.ts +3 -0
- package/dist/types/flags/data/GE.d.ts +3 -0
- package/dist/types/flags/data/GF.d.ts +3 -0
- package/dist/types/flags/data/GG.d.ts +3 -0
- package/dist/types/flags/data/GH.d.ts +3 -0
- package/dist/types/flags/data/GI.d.ts +3 -0
- package/dist/types/flags/data/GL.d.ts +3 -0
- package/dist/types/flags/data/GM.d.ts +3 -0
- package/dist/types/flags/data/GN.d.ts +3 -0
- package/dist/types/flags/data/GP.d.ts +3 -0
- package/dist/types/flags/data/GQ.d.ts +3 -0
- package/dist/types/flags/data/GR.d.ts +3 -0
- package/dist/types/flags/data/GS.d.ts +3 -0
- package/dist/types/flags/data/GT.d.ts +3 -0
- package/dist/types/flags/data/GU.d.ts +3 -0
- package/dist/types/flags/data/GW.d.ts +3 -0
- package/dist/types/flags/data/GY.d.ts +3 -0
- package/dist/types/flags/data/HK.d.ts +3 -0
- package/dist/types/flags/data/HM.d.ts +3 -0
- package/dist/types/flags/data/HN.d.ts +3 -0
- package/dist/types/flags/data/HR.d.ts +3 -0
- package/dist/types/flags/data/HT.d.ts +3 -0
- package/dist/types/flags/data/HU.d.ts +3 -0
- package/dist/types/flags/data/IC.d.ts +3 -0
- package/dist/types/flags/data/ID.d.ts +3 -0
- package/dist/types/flags/data/IE.d.ts +3 -0
- package/dist/types/flags/data/IL.d.ts +3 -0
- package/dist/types/flags/data/IM.d.ts +3 -0
- package/dist/types/flags/data/IN.d.ts +3 -0
- package/dist/types/flags/data/IO.d.ts +3 -0
- package/dist/types/flags/data/IQ.d.ts +3 -0
- package/dist/types/flags/data/IR.d.ts +3 -0
- package/dist/types/flags/data/IS.d.ts +3 -0
- package/dist/types/flags/data/IT.d.ts +3 -0
- package/dist/types/flags/data/JE.d.ts +3 -0
- package/dist/types/flags/data/JM.d.ts +3 -0
- package/dist/types/flags/data/JO.d.ts +3 -0
- package/dist/types/flags/data/JP.d.ts +3 -0
- package/dist/types/flags/data/KE.d.ts +3 -0
- package/dist/types/flags/data/KG.d.ts +3 -0
- package/dist/types/flags/data/KH.d.ts +3 -0
- package/dist/types/flags/data/KI.d.ts +3 -0
- package/dist/types/flags/data/KM.d.ts +3 -0
- package/dist/types/flags/data/KN.d.ts +3 -0
- package/dist/types/flags/data/KP.d.ts +3 -0
- package/dist/types/flags/data/KR.d.ts +3 -0
- package/dist/types/flags/data/KW.d.ts +3 -0
- package/dist/types/flags/data/KY.d.ts +3 -0
- package/dist/types/flags/data/KZ.d.ts +3 -0
- package/dist/types/flags/data/LA.d.ts +3 -0
- package/dist/types/flags/data/LB.d.ts +3 -0
- package/dist/types/flags/data/LC.d.ts +3 -0
- package/dist/types/flags/data/LI.d.ts +3 -0
- package/dist/types/flags/data/LK.d.ts +3 -0
- package/dist/types/flags/data/LR.d.ts +3 -0
- package/dist/types/flags/data/LS.d.ts +3 -0
- package/dist/types/flags/data/LT.d.ts +3 -0
- package/dist/types/flags/data/LU.d.ts +3 -0
- package/dist/types/flags/data/LV.d.ts +3 -0
- package/dist/types/flags/data/LY.d.ts +3 -0
- package/dist/types/flags/data/MA.d.ts +3 -0
- package/dist/types/flags/data/MC.d.ts +3 -0
- package/dist/types/flags/data/MD.d.ts +3 -0
- package/dist/types/flags/data/ME.d.ts +3 -0
- package/dist/types/flags/data/MF.d.ts +3 -0
- package/dist/types/flags/data/MG.d.ts +3 -0
- package/dist/types/flags/data/MH.d.ts +3 -0
- package/dist/types/flags/data/MK.d.ts +3 -0
- package/dist/types/flags/data/ML.d.ts +3 -0
- package/dist/types/flags/data/MM.d.ts +3 -0
- package/dist/types/flags/data/MN.d.ts +3 -0
- package/dist/types/flags/data/MO.d.ts +3 -0
- package/dist/types/flags/data/MP.d.ts +3 -0
- package/dist/types/flags/data/MQ.d.ts +3 -0
- package/dist/types/flags/data/MR.d.ts +3 -0
- package/dist/types/flags/data/MS.d.ts +3 -0
- package/dist/types/flags/data/MT.d.ts +3 -0
- package/dist/types/flags/data/MU.d.ts +3 -0
- package/dist/types/flags/data/MV.d.ts +3 -0
- package/dist/types/flags/data/MW.d.ts +3 -0
- package/dist/types/flags/data/MX.d.ts +3 -0
- package/dist/types/flags/data/MY.d.ts +3 -0
- package/dist/types/flags/data/MZ.d.ts +3 -0
- package/dist/types/flags/data/NA.d.ts +3 -0
- package/dist/types/flags/data/NC.d.ts +3 -0
- package/dist/types/flags/data/NE.d.ts +3 -0
- package/dist/types/flags/data/NF.d.ts +3 -0
- package/dist/types/flags/data/NG.d.ts +3 -0
- package/dist/types/flags/data/NI.d.ts +3 -0
- package/dist/types/flags/data/NL.d.ts +3 -0
- package/dist/types/flags/data/NO.d.ts +3 -0
- package/dist/types/flags/data/NP.d.ts +3 -0
- package/dist/types/flags/data/NR.d.ts +3 -0
- package/dist/types/flags/data/NU.d.ts +3 -0
- package/dist/types/flags/data/NZ.d.ts +3 -0
- package/dist/types/flags/data/OM.d.ts +3 -0
- package/dist/types/flags/data/PA.d.ts +3 -0
- package/dist/types/flags/data/PE.d.ts +3 -0
- package/dist/types/flags/data/PF.d.ts +3 -0
- package/dist/types/flags/data/PG.d.ts +3 -0
- package/dist/types/flags/data/PH.d.ts +3 -0
- package/dist/types/flags/data/PK.d.ts +3 -0
- package/dist/types/flags/data/PL.d.ts +3 -0
- package/dist/types/flags/data/PM.d.ts +3 -0
- package/dist/types/flags/data/PN.d.ts +3 -0
- package/dist/types/flags/data/PR.d.ts +3 -0
- package/dist/types/flags/data/PS.d.ts +3 -0
- package/dist/types/flags/data/PT.d.ts +3 -0
- package/dist/types/flags/data/PW.d.ts +3 -0
- package/dist/types/flags/data/PY.d.ts +3 -0
- package/dist/types/flags/data/QA.d.ts +3 -0
- package/dist/types/flags/data/RE.d.ts +3 -0
- package/dist/types/flags/data/RO.d.ts +3 -0
- package/dist/types/flags/data/RS.d.ts +3 -0
- package/dist/types/flags/data/RU.d.ts +3 -0
- package/dist/types/flags/data/RW.d.ts +3 -0
- package/dist/types/flags/data/SA.d.ts +3 -0
- package/dist/types/flags/data/SB.d.ts +3 -0
- package/dist/types/flags/data/SC.d.ts +3 -0
- package/dist/types/flags/data/SD.d.ts +3 -0
- package/dist/types/flags/data/SE.d.ts +3 -0
- package/dist/types/flags/data/SG.d.ts +3 -0
- package/dist/types/flags/data/SH.d.ts +3 -0
- package/dist/types/flags/data/SI.d.ts +3 -0
- package/dist/types/flags/data/SJ.d.ts +3 -0
- package/dist/types/flags/data/SK.d.ts +3 -0
- package/dist/types/flags/data/SL.d.ts +3 -0
- package/dist/types/flags/data/SM.d.ts +3 -0
- package/dist/types/flags/data/SN.d.ts +3 -0
- package/dist/types/flags/data/SO.d.ts +3 -0
- package/dist/types/flags/data/SR.d.ts +3 -0
- package/dist/types/flags/data/SS.d.ts +3 -0
- package/dist/types/flags/data/ST.d.ts +3 -0
- package/dist/types/flags/data/SV.d.ts +3 -0
- package/dist/types/flags/data/SX.d.ts +3 -0
- package/dist/types/flags/data/SY.d.ts +3 -0
- package/dist/types/flags/data/SZ.d.ts +3 -0
- package/dist/types/flags/data/TA.d.ts +3 -0
- package/dist/types/flags/data/TC.d.ts +3 -0
- package/dist/types/flags/data/TD.d.ts +3 -0
- package/dist/types/flags/data/TF.d.ts +3 -0
- package/dist/types/flags/data/TG.d.ts +3 -0
- package/dist/types/flags/data/TH.d.ts +3 -0
- package/dist/types/flags/data/TJ.d.ts +3 -0
- package/dist/types/flags/data/TK.d.ts +3 -0
- package/dist/types/flags/data/TL.d.ts +3 -0
- package/dist/types/flags/data/TM.d.ts +3 -0
- package/dist/types/flags/data/TN.d.ts +3 -0
- package/dist/types/flags/data/TO.d.ts +3 -0
- package/dist/types/flags/data/TR.d.ts +3 -0
- package/dist/types/flags/data/TT.d.ts +3 -0
- package/dist/types/flags/data/TV.d.ts +3 -0
- package/dist/types/flags/data/TW.d.ts +3 -0
- package/dist/types/flags/data/TZ.d.ts +3 -0
- package/dist/types/flags/data/UA.d.ts +3 -0
- package/dist/types/flags/data/UG.d.ts +3 -0
- package/dist/types/flags/data/UM.d.ts +3 -0
- package/dist/types/flags/data/US.d.ts +3 -0
- package/dist/types/flags/data/UY.d.ts +3 -0
- package/dist/types/flags/data/UZ.d.ts +3 -0
- package/dist/types/flags/data/VA.d.ts +3 -0
- package/dist/types/flags/data/VC.d.ts +3 -0
- package/dist/types/flags/data/VE.d.ts +3 -0
- package/dist/types/flags/data/VG.d.ts +3 -0
- package/dist/types/flags/data/VI.d.ts +3 -0
- package/dist/types/flags/data/VN.d.ts +3 -0
- package/dist/types/flags/data/VU.d.ts +3 -0
- package/dist/types/flags/data/WF.d.ts +3 -0
- package/dist/types/flags/data/WS.d.ts +3 -0
- package/dist/types/flags/data/XK.d.ts +3 -0
- package/dist/types/flags/data/YE.d.ts +3 -0
- package/dist/types/flags/data/YT.d.ts +3 -0
- package/dist/types/flags/data/ZA.d.ts +3 -0
- package/dist/types/flags/data/ZM.d.ts +3 -0
- package/dist/types/flags/data/ZW.d.ts +3 -0
- package/dist/types/flags/flags.gen.d.ts +271 -0
- package/dist/types/flags/index.d.ts +1 -0
- package/dist/types/floating-panel/floating-panel.d.ts +179 -0
- package/dist/types/floating-panel/geometry.d.ts +42 -0
- package/dist/types/floating-panel/index.d.ts +2 -0
- package/dist/types/form/form.d.ts +87 -0
- package/dist/types/form/index.d.ts +2 -0
- package/dist/types/gauge/gauge.d.ts +107 -0
- package/dist/types/gauge/gauge.styles.d.ts +124 -0
- package/dist/types/gauge/index.d.ts +5 -0
- package/dist/types/gauge/scale.d.ts +43 -0
- package/dist/types/gif-browser/gif-browser.d.ts +96 -0
- package/dist/types/gif-browser/index.d.ts +5 -0
- package/dist/types/gif-browser/klipy.d.ts +37 -0
- package/dist/types/gif-browser/machine.d.ts +100 -0
- package/dist/types/gif-browser/masonry.d.ts +11 -0
- package/dist/types/gif-browser/types.d.ts +46 -0
- package/dist/types/highlight/highlight.d.ts +22 -0
- package/dist/types/highlight/index.d.ts +4 -0
- package/dist/types/highlight/ranges.d.ts +83 -0
- package/dist/types/hover-card/hover-card.d.ts +42 -0
- package/dist/types/hover-card/index.d.ts +1 -0
- package/dist/types/icon/icon.d.ts +38 -0
- package/dist/types/icon/index.d.ts +1 -0
- package/dist/types/icon-stack/icon-stack.d.ts +42 -0
- package/dist/types/icon-stack/index.d.ts +2 -0
- package/dist/types/icon-tile/icon-tile.d.ts +79 -0
- package/dist/types/icon-tile/icon-tile.styles.d.ts +132 -0
- package/dist/types/icon-tile/index.d.ts +2 -0
- package/dist/types/icons/data/Accessibility.d.ts +3 -0
- package/dist/types/icons/data/Activity.d.ts +3 -0
- package/dist/types/icons/data/AgendaView.d.ts +3 -0
- package/dist/types/icons/data/AiSpeech.d.ts +3 -0
- package/dist/types/icons/data/AiVoice.d.ts +3 -0
- package/dist/types/icons/data/AiVoiceGenerator.d.ts +3 -0
- package/dist/types/icons/data/AlarmClock.d.ts +3 -0
- package/dist/types/icons/data/AlarmClockCheck.d.ts +3 -0
- package/dist/types/icons/data/AlignCenter.d.ts +3 -0
- package/dist/types/icons/data/AlignCenterHorizontal.d.ts +3 -0
- package/dist/types/icons/data/AlignCenterVertical.d.ts +3 -0
- package/dist/types/icons/data/AlignEndHorizontal.d.ts +3 -0
- package/dist/types/icons/data/AlignEndVertical.d.ts +3 -0
- package/dist/types/icons/data/AlignHorizontalDistributeCenter.d.ts +3 -0
- package/dist/types/icons/data/AlignJustify.d.ts +3 -0
- package/dist/types/icons/data/AlignLeft.d.ts +3 -0
- package/dist/types/icons/data/AlignRight.d.ts +3 -0
- package/dist/types/icons/data/AlignStartHorizontal.d.ts +3 -0
- package/dist/types/icons/data/AlignStartVertical.d.ts +3 -0
- package/dist/types/icons/data/AlignVerticalDistributeCenter.d.ts +3 -0
- package/dist/types/icons/data/Archive.d.ts +3 -0
- package/dist/types/icons/data/ArchiveDuotone.d.ts +3 -0
- package/dist/types/icons/data/ArrowDown.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownLeft.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownRight.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownToLine.d.ts +3 -0
- package/dist/types/icons/data/ArrowDownUp.d.ts +3 -0
- package/dist/types/icons/data/ArrowLeft.d.ts +3 -0
- package/dist/types/icons/data/ArrowLeftRight.d.ts +3 -0
- package/dist/types/icons/data/ArrowRight.d.ts +3 -0
- package/dist/types/icons/data/ArrowUp.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpDown.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpFromLine.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpLeft.d.ts +3 -0
- package/dist/types/icons/data/ArrowUpRight.d.ts +3 -0
- package/dist/types/icons/data/AssistantControl.d.ts +3 -0
- package/dist/types/icons/data/Asterisk.d.ts +3 -0
- package/dist/types/icons/data/AtSign.d.ts +3 -0
- package/dist/types/icons/data/AudioLines.d.ts +3 -0
- package/dist/types/icons/data/AudioWaveform.d.ts +3 -0
- package/dist/types/icons/data/Award.d.ts +3 -0
- package/dist/types/icons/data/BackgroundBlur.d.ts +3 -0
- package/dist/types/icons/data/BadgeCheck.d.ts +3 -0
- package/dist/types/icons/data/Ban.d.ts +3 -0
- package/dist/types/icons/data/Banknote.d.ts +3 -0
- package/dist/types/icons/data/BarChart3.d.ts +3 -0
- package/dist/types/icons/data/Battery.d.ts +3 -0
- package/dist/types/icons/data/BatteryCharging.d.ts +3 -0
- package/dist/types/icons/data/BatteryLow.d.ts +3 -0
- package/dist/types/icons/data/Bell.d.ts +3 -0
- package/dist/types/icons/data/BellDot.d.ts +3 -0
- package/dist/types/icons/data/BellOff.d.ts +3 -0
- package/dist/types/icons/data/BellRing.d.ts +3 -0
- package/dist/types/icons/data/Blocks.d.ts +3 -0
- package/dist/types/icons/data/Bluetooth.d.ts +3 -0
- package/dist/types/icons/data/Bold.d.ts +3 -0
- package/dist/types/icons/data/Book.d.ts +3 -0
- package/dist/types/icons/data/BookOpen.d.ts +3 -0
- package/dist/types/icons/data/Bookmark.d.ts +3 -0
- package/dist/types/icons/data/BookmarkCheck.d.ts +3 -0
- package/dist/types/icons/data/BookmarkPlus.d.ts +3 -0
- package/dist/types/icons/data/BookmarkSolid.d.ts +3 -0
- package/dist/types/icons/data/Bot.d.ts +3 -0
- package/dist/types/icons/data/BotMessageSquare.d.ts +3 -0
- package/dist/types/icons/data/Braces.d.ts +3 -0
- package/dist/types/icons/data/Brackets.d.ts +3 -0
- package/dist/types/icons/data/Brain.d.ts +3 -0
- package/dist/types/icons/data/BrainCircuit.d.ts +3 -0
- package/dist/types/icons/data/BringToFront.d.ts +3 -0
- package/dist/types/icons/data/Bug.d.ts +3 -0
- package/dist/types/icons/data/Building.d.ts +3 -0
- package/dist/types/icons/data/Building2.d.ts +3 -0
- package/dist/types/icons/data/Calculator.d.ts +3 -0
- package/dist/types/icons/data/Calendar.d.ts +3 -0
- package/dist/types/icons/data/CalendarCheck.d.ts +3 -0
- package/dist/types/icons/data/CalendarClock.d.ts +3 -0
- package/dist/types/icons/data/CalendarDays.d.ts +3 -0
- package/dist/types/icons/data/CalendarPlus.d.ts +3 -0
- package/dist/types/icons/data/CalendarRange.d.ts +3 -0
- package/dist/types/icons/data/CalendarX.d.ts +3 -0
- package/dist/types/icons/data/CalendarX2.d.ts +3 -0
- package/dist/types/icons/data/CallEndControl.d.ts +3 -0
- package/dist/types/icons/data/Camera.d.ts +3 -0
- package/dist/types/icons/data/Captions.d.ts +3 -0
- package/dist/types/icons/data/Car.d.ts +3 -0
- package/dist/types/icons/data/Cast.d.ts +3 -0
- package/dist/types/icons/data/ChartArea.d.ts +3 -0
- package/dist/types/icons/data/ChartBar.d.ts +3 -0
- package/dist/types/icons/data/ChartLine.d.ts +3 -0
- package/dist/types/icons/data/ChartPie.d.ts +3 -0
- package/dist/types/icons/data/ChatControl.d.ts +3 -0
- package/dist/types/icons/data/Check.d.ts +3 -0
- package/dist/types/icons/data/ChevronDown.d.ts +3 -0
- package/dist/types/icons/data/ChevronLeft.d.ts +3 -0
- package/dist/types/icons/data/ChevronRight.d.ts +3 -0
- package/dist/types/icons/data/ChevronUp.d.ts +3 -0
- package/dist/types/icons/data/ChevronsDown.d.ts +3 -0
- package/dist/types/icons/data/ChevronsLeft.d.ts +3 -0
- package/dist/types/icons/data/ChevronsLeftRight.d.ts +3 -0
- package/dist/types/icons/data/ChevronsRight.d.ts +3 -0
- package/dist/types/icons/data/ChevronsUp.d.ts +3 -0
- package/dist/types/icons/data/ChevronsUpDown.d.ts +3 -0
- package/dist/types/icons/data/Circle.d.ts +3 -0
- package/dist/types/icons/data/CircleAlert.d.ts +3 -0
- package/dist/types/icons/data/CircleCheck.d.ts +3 -0
- package/dist/types/icons/data/CircleCheckBig.d.ts +3 -0
- package/dist/types/icons/data/CircleDashed.d.ts +3 -0
- package/dist/types/icons/data/CircleDollarSign.d.ts +3 -0
- package/dist/types/icons/data/CircleDot.d.ts +3 -0
- package/dist/types/icons/data/CircleDotDashed.d.ts +3 -0
- package/dist/types/icons/data/CircleHelp.d.ts +3 -0
- package/dist/types/icons/data/CircleMinus.d.ts +3 -0
- package/dist/types/icons/data/CirclePause.d.ts +3 -0
- package/dist/types/icons/data/CirclePlay.d.ts +3 -0
- package/dist/types/icons/data/CirclePlus.d.ts +3 -0
- package/dist/types/icons/data/CircleSlash.d.ts +3 -0
- package/dist/types/icons/data/CircleSmall.d.ts +3 -0
- package/dist/types/icons/data/CircleStop.d.ts +3 -0
- package/dist/types/icons/data/CircleX.d.ts +3 -0
- package/dist/types/icons/data/Clipboard.d.ts +3 -0
- package/dist/types/icons/data/ClipboardCheck.d.ts +3 -0
- package/dist/types/icons/data/ClipboardCopy.d.ts +3 -0
- package/dist/types/icons/data/ClipboardList.d.ts +3 -0
- package/dist/types/icons/data/ClipboardPaste.d.ts +3 -0
- package/dist/types/icons/data/Clock.d.ts +3 -0
- package/dist/types/icons/data/Cloud.d.ts +3 -0
- package/dist/types/icons/data/CloudOff.d.ts +3 -0
- package/dist/types/icons/data/CloudSun.d.ts +3 -0
- package/dist/types/icons/data/Code.d.ts +3 -0
- package/dist/types/icons/data/CodeXml.d.ts +3 -0
- package/dist/types/icons/data/Coffee.d.ts +3 -0
- package/dist/types/icons/data/Coins.d.ts +3 -0
- package/dist/types/icons/data/Columns2.d.ts +3 -0
- package/dist/types/icons/data/Columns3.d.ts +3 -0
- package/dist/types/icons/data/Compass.d.ts +3 -0
- package/dist/types/icons/data/Construction.d.ts +3 -0
- package/dist/types/icons/data/Contact.d.ts +3 -0
- package/dist/types/icons/data/Copy.d.ts +3 -0
- package/dist/types/icons/data/CopyPlus.d.ts +3 -0
- package/dist/types/icons/data/CornerDownLeft.d.ts +3 -0
- package/dist/types/icons/data/Cpu.d.ts +3 -0
- package/dist/types/icons/data/CreditCard.d.ts +3 -0
- package/dist/types/icons/data/CreditCardPlus.d.ts +3 -0
- package/dist/types/icons/data/Crop.d.ts +3 -0
- package/dist/types/icons/data/Crown.d.ts +3 -0
- package/dist/types/icons/data/Database.d.ts +3 -0
- package/dist/types/icons/data/DollarSign.d.ts +3 -0
- package/dist/types/icons/data/Dot.d.ts +3 -0
- package/dist/types/icons/data/Download.d.ts +3 -0
- package/dist/types/icons/data/Droplet.d.ts +3 -0
- package/dist/types/icons/data/Ear.d.ts +3 -0
- package/dist/types/icons/data/EarOff.d.ts +3 -0
- package/dist/types/icons/data/Earth.d.ts +3 -0
- package/dist/types/icons/data/Ellipsis.d.ts +3 -0
- package/dist/types/icons/data/EllipsisVertical.d.ts +3 -0
- package/dist/types/icons/data/Eraser.d.ts +3 -0
- package/dist/types/icons/data/Expand.d.ts +3 -0
- package/dist/types/icons/data/ExternalLink.d.ts +3 -0
- package/dist/types/icons/data/Eye.d.ts +3 -0
- package/dist/types/icons/data/EyeClosed.d.ts +3 -0
- package/dist/types/icons/data/EyeOff.d.ts +3 -0
- package/dist/types/icons/data/FastForward.d.ts +3 -0
- package/dist/types/icons/data/File.d.ts +3 -0
- package/dist/types/icons/data/FileAi.d.ts +3 -0
- package/dist/types/icons/data/FileArchive.d.ts +3 -0
- package/dist/types/icons/data/FileAudio.d.ts +3 -0
- package/dist/types/icons/data/FileCheck.d.ts +3 -0
- package/dist/types/icons/data/FileCode.d.ts +3 -0
- package/dist/types/icons/data/FileDiff.d.ts +3 -0
- package/dist/types/icons/data/FileImage.d.ts +3 -0
- package/dist/types/icons/data/FileMinus.d.ts +3 -0
- package/dist/types/icons/data/FilePen.d.ts +3 -0
- package/dist/types/icons/data/FilePlus.d.ts +3 -0
- package/dist/types/icons/data/FileQuestion.d.ts +3 -0
- package/dist/types/icons/data/FileSpreadsheet.d.ts +3 -0
- package/dist/types/icons/data/FileText.d.ts +3 -0
- package/dist/types/icons/data/FileVideo.d.ts +3 -0
- package/dist/types/icons/data/Files.d.ts +3 -0
- package/dist/types/icons/data/Film.d.ts +3 -0
- package/dist/types/icons/data/FilterX.d.ts +3 -0
- package/dist/types/icons/data/Fingerprint.d.ts +3 -0
- package/dist/types/icons/data/Flag.d.ts +3 -0
- package/dist/types/icons/data/FlagOff.d.ts +3 -0
- package/dist/types/icons/data/Flame.d.ts +3 -0
- package/dist/types/icons/data/FlipHorizontal2.d.ts +3 -0
- package/dist/types/icons/data/Focus.d.ts +3 -0
- package/dist/types/icons/data/Folder.d.ts +3 -0
- package/dist/types/icons/data/FolderClosed.d.ts +3 -0
- package/dist/types/icons/data/FolderInput.d.ts +3 -0
- package/dist/types/icons/data/FolderOpen.d.ts +3 -0
- package/dist/types/icons/data/FolderPlus.d.ts +3 -0
- package/dist/types/icons/data/FolderSearch.d.ts +3 -0
- package/dist/types/icons/data/FolderTree.d.ts +3 -0
- package/dist/types/icons/data/Forward.d.ts +3 -0
- package/dist/types/icons/data/Fullscreen.d.ts +3 -0
- package/dist/types/icons/data/GalleryThumbnails.d.ts +3 -0
- package/dist/types/icons/data/Gauge.d.ts +3 -0
- package/dist/types/icons/data/Gift.d.ts +3 -0
- package/dist/types/icons/data/GitBranch.d.ts +3 -0
- package/dist/types/icons/data/GitCommitHorizontal.d.ts +3 -0
- package/dist/types/icons/data/GitMerge.d.ts +3 -0
- package/dist/types/icons/data/GitPullRequest.d.ts +3 -0
- package/dist/types/icons/data/Globe.d.ts +3 -0
- package/dist/types/icons/data/GraduationCap.d.ts +3 -0
- package/dist/types/icons/data/Grid3x3.d.ts +3 -0
- package/dist/types/icons/data/Grip.d.ts +3 -0
- package/dist/types/icons/data/GripHorizontal.d.ts +3 -0
- package/dist/types/icons/data/GripVertical.d.ts +3 -0
- package/dist/types/icons/data/Group.d.ts +3 -0
- package/dist/types/icons/data/Hand.d.ts +3 -0
- package/dist/types/icons/data/HardDrive.d.ts +3 -0
- package/dist/types/icons/data/Hash.d.ts +3 -0
- package/dist/types/icons/data/Hd.d.ts +3 -0
- package/dist/types/icons/data/Heading1.d.ts +3 -0
- package/dist/types/icons/data/Heading2.d.ts +3 -0
- package/dist/types/icons/data/Heading3.d.ts +3 -0
- package/dist/types/icons/data/Headphones.d.ts +3 -0
- package/dist/types/icons/data/Heart.d.ts +3 -0
- package/dist/types/icons/data/HeartOff.d.ts +3 -0
- package/dist/types/icons/data/HeartPulse.d.ts +3 -0
- package/dist/types/icons/data/HeartSolid.d.ts +3 -0
- package/dist/types/icons/data/Heatmap.d.ts +3 -0
- package/dist/types/icons/data/History.d.ts +3 -0
- package/dist/types/icons/data/Hourglass.d.ts +3 -0
- package/dist/types/icons/data/House.d.ts +3 -0
- package/dist/types/icons/data/IdCard.d.ts +3 -0
- package/dist/types/icons/data/Image.d.ts +3 -0
- package/dist/types/icons/data/ImageOff.d.ts +3 -0
- package/dist/types/icons/data/ImagePlus.d.ts +3 -0
- package/dist/types/icons/data/Images.d.ts +3 -0
- package/dist/types/icons/data/Inbox.d.ts +3 -0
- package/dist/types/icons/data/IndentDecrease.d.ts +3 -0
- package/dist/types/icons/data/IndentIncrease.d.ts +3 -0
- package/dist/types/icons/data/Info.d.ts +3 -0
- package/dist/types/icons/data/Italic.d.ts +3 -0
- package/dist/types/icons/data/Kanban.d.ts +3 -0
- package/dist/types/icons/data/Key.d.ts +3 -0
- package/dist/types/icons/data/KeyRound.d.ts +3 -0
- package/dist/types/icons/data/Keyboard.d.ts +3 -0
- package/dist/types/icons/data/Landmark.d.ts +3 -0
- package/dist/types/icons/data/Languages.d.ts +3 -0
- package/dist/types/icons/data/Laptop.d.ts +3 -0
- package/dist/types/icons/data/Layers.d.ts +3 -0
- package/dist/types/icons/data/LayoutDashboard.d.ts +3 -0
- package/dist/types/icons/data/LayoutGrid.d.ts +3 -0
- package/dist/types/icons/data/LayoutList.d.ts +3 -0
- package/dist/types/icons/data/LayoutPanelLeft.d.ts +3 -0
- package/dist/types/icons/data/LayoutTemplate.d.ts +3 -0
- package/dist/types/icons/data/Leaf.d.ts +3 -0
- package/dist/types/icons/data/LifeBuoy.d.ts +3 -0
- package/dist/types/icons/data/Lightbulb.d.ts +3 -0
- package/dist/types/icons/data/Link.d.ts +3 -0
- package/dist/types/icons/data/Link2.d.ts +3 -0
- package/dist/types/icons/data/Link2Off.d.ts +3 -0
- package/dist/types/icons/data/List.d.ts +3 -0
- package/dist/types/icons/data/ListChecks.d.ts +3 -0
- package/dist/types/icons/data/ListFilter.d.ts +3 -0
- package/dist/types/icons/data/ListOrdered.d.ts +3 -0
- package/dist/types/icons/data/ListPlus.d.ts +3 -0
- package/dist/types/icons/data/ListTodo.d.ts +3 -0
- package/dist/types/icons/data/ListTree.d.ts +3 -0
- package/dist/types/icons/data/ListX.d.ts +3 -0
- package/dist/types/icons/data/Loader.d.ts +3 -0
- package/dist/types/icons/data/LoaderCircle.d.ts +3 -0
- package/dist/types/icons/data/LoaderPinwheel.d.ts +3 -0
- package/dist/types/icons/data/Lock.d.ts +3 -0
- package/dist/types/icons/data/LockKeyhole.d.ts +3 -0
- package/dist/types/icons/data/LockOpen.d.ts +3 -0
- package/dist/types/icons/data/LogIn.d.ts +3 -0
- package/dist/types/icons/data/LogOut.d.ts +3 -0
- package/dist/types/icons/data/Mail.d.ts +3 -0
- package/dist/types/icons/data/MailCheck.d.ts +3 -0
- package/dist/types/icons/data/MailOpen.d.ts +3 -0
- package/dist/types/icons/data/MailPlus.d.ts +3 -0
- package/dist/types/icons/data/MailQuestionMark.d.ts +3 -0
- package/dist/types/icons/data/MailWarning.d.ts +3 -0
- package/dist/types/icons/data/Map.d.ts +3 -0
- package/dist/types/icons/data/MapPin.d.ts +3 -0
- package/dist/types/icons/data/MapPinned.d.ts +3 -0
- package/dist/types/icons/data/Mars.d.ts +3 -0
- package/dist/types/icons/data/Maximize.d.ts +3 -0
- package/dist/types/icons/data/Maximize2.d.ts +3 -0
- package/dist/types/icons/data/Megaphone.d.ts +3 -0
- package/dist/types/icons/data/Menu.d.ts +3 -0
- package/dist/types/icons/data/MessageCircle.d.ts +3 -0
- package/dist/types/icons/data/MessageCircleMore.d.ts +3 -0
- package/dist/types/icons/data/MessageSquare.d.ts +3 -0
- package/dist/types/icons/data/MessageSquarePlus.d.ts +3 -0
- package/dist/types/icons/data/MessageSquareText.d.ts +3 -0
- package/dist/types/icons/data/MessagesSquare.d.ts +3 -0
- package/dist/types/icons/data/Mic.d.ts +3 -0
- package/dist/types/icons/data/MicControl.d.ts +3 -0
- package/dist/types/icons/data/MicOff.d.ts +3 -0
- package/dist/types/icons/data/MicOffControl.d.ts +3 -0
- package/dist/types/icons/data/Minimize.d.ts +3 -0
- package/dist/types/icons/data/Minimize2.d.ts +3 -0
- package/dist/types/icons/data/Minus.d.ts +3 -0
- package/dist/types/icons/data/Monitor.d.ts +3 -0
- package/dist/types/icons/data/MonitorUp.d.ts +3 -0
- package/dist/types/icons/data/Moon.d.ts +3 -0
- package/dist/types/icons/data/MoreControl.d.ts +3 -0
- package/dist/types/icons/data/Mouse.d.ts +3 -0
- package/dist/types/icons/data/MousePointer2.d.ts +3 -0
- package/dist/types/icons/data/MousePointerClick.d.ts +3 -0
- package/dist/types/icons/data/Move.d.ts +3 -0
- package/dist/types/icons/data/MoveHorizontal.d.ts +3 -0
- package/dist/types/icons/data/Music.d.ts +3 -0
- package/dist/types/icons/data/Navigation.d.ts +3 -0
- package/dist/types/icons/data/Network.d.ts +3 -0
- package/dist/types/icons/data/OctagonAlert.d.ts +3 -0
- package/dist/types/icons/data/Package.d.ts +3 -0
- package/dist/types/icons/data/Palette.d.ts +3 -0
- package/dist/types/icons/data/PanelLeft.d.ts +3 -0
- package/dist/types/icons/data/PanelLeftClose.d.ts +3 -0
- package/dist/types/icons/data/PanelRight.d.ts +3 -0
- package/dist/types/icons/data/PanelRightOpen.d.ts +3 -0
- package/dist/types/icons/data/Paperclip.d.ts +3 -0
- package/dist/types/icons/data/PartyPopper.d.ts +3 -0
- package/dist/types/icons/data/Pause.d.ts +3 -0
- package/dist/types/icons/data/PawPrint.d.ts +3 -0
- package/dist/types/icons/data/Pen.d.ts +3 -0
- package/dist/types/icons/data/PenLine.d.ts +3 -0
- package/dist/types/icons/data/Pencil.d.ts +3 -0
- package/dist/types/icons/data/PeopleControl.d.ts +3 -0
- package/dist/types/icons/data/Percent.d.ts +3 -0
- package/dist/types/icons/data/Phone.d.ts +3 -0
- package/dist/types/icons/data/PhoneCall.d.ts +3 -0
- package/dist/types/icons/data/PhoneOff.d.ts +3 -0
- package/dist/types/icons/data/PictureInPicture.d.ts +3 -0
- package/dist/types/icons/data/Pilcrow.d.ts +3 -0
- package/dist/types/icons/data/Pin.d.ts +3 -0
- package/dist/types/icons/data/PinOff.d.ts +3 -0
- package/dist/types/icons/data/Pipette.d.ts +3 -0
- package/dist/types/icons/data/Plane.d.ts +3 -0
- package/dist/types/icons/data/Play.d.ts +3 -0
- package/dist/types/icons/data/Plug.d.ts +3 -0
- package/dist/types/icons/data/Plus.d.ts +3 -0
- package/dist/types/icons/data/Power.d.ts +3 -0
- package/dist/types/icons/data/Presence.d.ts +3 -0
- package/dist/types/icons/data/Printer.d.ts +3 -0
- package/dist/types/icons/data/QrCode.d.ts +3 -0
- package/dist/types/icons/data/Quote.d.ts +3 -0
- package/dist/types/icons/data/Radio.d.ts +3 -0
- package/dist/types/icons/data/RaiseHand.d.ts +3 -0
- package/dist/types/icons/data/ReactionsControl.d.ts +3 -0
- package/dist/types/icons/data/Receipt.d.ts +3 -0
- package/dist/types/icons/data/Redo.d.ts +3 -0
- package/dist/types/icons/data/Redo2.d.ts +3 -0
- package/dist/types/icons/data/RefreshCcw.d.ts +3 -0
- package/dist/types/icons/data/RefreshCw.d.ts +3 -0
- package/dist/types/icons/data/Regex.d.ts +3 -0
- package/dist/types/icons/data/RemoveFormatting.d.ts +3 -0
- package/dist/types/icons/data/Repeat.d.ts +3 -0
- package/dist/types/icons/data/Reply.d.ts +3 -0
- package/dist/types/icons/data/ReplyAll.d.ts +3 -0
- package/dist/types/icons/data/Rewind.d.ts +3 -0
- package/dist/types/icons/data/Rocket.d.ts +3 -0
- package/dist/types/icons/data/RotateCcw.d.ts +3 -0
- package/dist/types/icons/data/RotateCw.d.ts +3 -0
- package/dist/types/icons/data/Rows3.d.ts +3 -0
- package/dist/types/icons/data/Rss.d.ts +3 -0
- package/dist/types/icons/data/Save.d.ts +3 -0
- package/dist/types/icons/data/Scan.d.ts +3 -0
- package/dist/types/icons/data/ScanEye.d.ts +3 -0
- package/dist/types/icons/data/ScanFace.d.ts +3 -0
- package/dist/types/icons/data/ScanLine.d.ts +3 -0
- package/dist/types/icons/data/Scissors.d.ts +3 -0
- package/dist/types/icons/data/ScreenShareControl.d.ts +3 -0
- package/dist/types/icons/data/ScreenShareOff.d.ts +3 -0
- package/dist/types/icons/data/ScrollText.d.ts +3 -0
- package/dist/types/icons/data/Search.d.ts +3 -0
- package/dist/types/icons/data/SearchX.d.ts +3 -0
- package/dist/types/icons/data/SelectField.d.ts +3 -0
- package/dist/types/icons/data/Send.d.ts +3 -0
- package/dist/types/icons/data/SendHorizontal.d.ts +3 -0
- package/dist/types/icons/data/SendToBack.d.ts +3 -0
- package/dist/types/icons/data/Server.d.ts +3 -0
- package/dist/types/icons/data/Settings.d.ts +3 -0
- package/dist/types/icons/data/Settings2.d.ts +3 -0
- package/dist/types/icons/data/SettingsControl.d.ts +3 -0
- package/dist/types/icons/data/Share.d.ts +3 -0
- package/dist/types/icons/data/Share2.d.ts +3 -0
- package/dist/types/icons/data/Shield.d.ts +3 -0
- package/dist/types/icons/data/ShieldAlert.d.ts +3 -0
- package/dist/types/icons/data/ShieldBan.d.ts +3 -0
- package/dist/types/icons/data/ShieldCheck.d.ts +3 -0
- package/dist/types/icons/data/ShieldOff.d.ts +3 -0
- package/dist/types/icons/data/ShieldPlus.d.ts +3 -0
- package/dist/types/icons/data/ShieldQuestion.d.ts +3 -0
- package/dist/types/icons/data/ShoppingBag.d.ts +3 -0
- package/dist/types/icons/data/ShoppingCart.d.ts +3 -0
- package/dist/types/icons/data/Shrink.d.ts +3 -0
- package/dist/types/icons/data/Shuffle.d.ts +3 -0
- package/dist/types/icons/data/Signal.d.ts +3 -0
- package/dist/types/icons/data/SignalHigh.d.ts +3 -0
- package/dist/types/icons/data/SignalLow.d.ts +3 -0
- package/dist/types/icons/data/SignalMedium.d.ts +3 -0
- package/dist/types/icons/data/SkipBack.d.ts +3 -0
- package/dist/types/icons/data/SkipForward.d.ts +3 -0
- package/dist/types/icons/data/SlidersHorizontal.d.ts +3 -0
- package/dist/types/icons/data/Smartphone.d.ts +3 -0
- package/dist/types/icons/data/Smile.d.ts +3 -0
- package/dist/types/icons/data/SmilePlus.d.ts +3 -0
- package/dist/types/icons/data/Snowflake.d.ts +3 -0
- package/dist/types/icons/data/Sparkle.d.ts +3 -0
- package/dist/types/icons/data/Sparkles.d.ts +3 -0
- package/dist/types/icons/data/Speaker.d.ts +3 -0
- package/dist/types/icons/data/SpeakerView.d.ts +3 -0
- package/dist/types/icons/data/Spotlight.d.ts +3 -0
- package/dist/types/icons/data/Square.d.ts +3 -0
- package/dist/types/icons/data/SquareArrowDown.d.ts +3 -0
- package/dist/types/icons/data/SquareArrowUp.d.ts +3 -0
- package/dist/types/icons/data/SquareCheck.d.ts +3 -0
- package/dist/types/icons/data/SquareCode.d.ts +3 -0
- package/dist/types/icons/data/SquareDashed.d.ts +3 -0
- package/dist/types/icons/data/SquareKanban.d.ts +3 -0
- package/dist/types/icons/data/SquarePen.d.ts +3 -0
- package/dist/types/icons/data/SquarePlus.d.ts +3 -0
- package/dist/types/icons/data/SquareTerminal.d.ts +3 -0
- package/dist/types/icons/data/SquareX.d.ts +3 -0
- package/dist/types/icons/data/Star.d.ts +3 -0
- package/dist/types/icons/data/StarOff.d.ts +3 -0
- package/dist/types/icons/data/StickyNote.d.ts +3 -0
- package/dist/types/icons/data/Store.d.ts +3 -0
- package/dist/types/icons/data/Strikethrough.d.ts +3 -0
- package/dist/types/icons/data/Sun.d.ts +3 -0
- package/dist/types/icons/data/SunMoon.d.ts +3 -0
- package/dist/types/icons/data/SwitchCamera.d.ts +3 -0
- package/dist/types/icons/data/Table.d.ts +3 -0
- package/dist/types/icons/data/Table2.d.ts +3 -0
- package/dist/types/icons/data/Tablet.d.ts +3 -0
- package/dist/types/icons/data/Tag.d.ts +3 -0
- package/dist/types/icons/data/Tags.d.ts +3 -0
- package/dist/types/icons/data/Target.d.ts +3 -0
- package/dist/types/icons/data/Terminal.d.ts +3 -0
- package/dist/types/icons/data/TextCursor.d.ts +3 -0
- package/dist/types/icons/data/TextSmallcaps.d.ts +3 -0
- package/dist/types/icons/data/Thermometer.d.ts +3 -0
- package/dist/types/icons/data/ThumbsDown.d.ts +3 -0
- package/dist/types/icons/data/ThumbsUp.d.ts +3 -0
- package/dist/types/icons/data/TimeZone.d.ts +3 -0
- package/dist/types/icons/data/Timer.d.ts +3 -0
- package/dist/types/icons/data/TimerOff.d.ts +3 -0
- package/dist/types/icons/data/Trash.d.ts +3 -0
- package/dist/types/icons/data/TrendingDown.d.ts +3 -0
- package/dist/types/icons/data/TrendingUp.d.ts +3 -0
- package/dist/types/icons/data/TriangleAlert.d.ts +3 -0
- package/dist/types/icons/data/Trophy.d.ts +3 -0
- package/dist/types/icons/data/Truck.d.ts +3 -0
- package/dist/types/icons/data/Tv.d.ts +3 -0
- package/dist/types/icons/data/Type.d.ts +3 -0
- package/dist/types/icons/data/Underline.d.ts +3 -0
- package/dist/types/icons/data/Undo.d.ts +3 -0
- package/dist/types/icons/data/Undo2.d.ts +3 -0
- package/dist/types/icons/data/Ungroup.d.ts +3 -0
- package/dist/types/icons/data/Unlink.d.ts +3 -0
- package/dist/types/icons/data/Unlink2.d.ts +3 -0
- package/dist/types/icons/data/Upload.d.ts +3 -0
- package/dist/types/icons/data/User.d.ts +3 -0
- package/dist/types/icons/data/UserCheck.d.ts +3 -0
- package/dist/types/icons/data/UserCog.d.ts +3 -0
- package/dist/types/icons/data/UserMinus.d.ts +3 -0
- package/dist/types/icons/data/UserPen.d.ts +3 -0
- package/dist/types/icons/data/UserPlus.d.ts +3 -0
- package/dist/types/icons/data/UserRound.d.ts +3 -0
- package/dist/types/icons/data/UserRoundPlus.d.ts +3 -0
- package/dist/types/icons/data/UserX.d.ts +3 -0
- package/dist/types/icons/data/Users.d.ts +3 -0
- package/dist/types/icons/data/UsersRound.d.ts +3 -0
- package/dist/types/icons/data/Venus.d.ts +3 -0
- package/dist/types/icons/data/VenusAndMars.d.ts +3 -0
- package/dist/types/icons/data/Video.d.ts +3 -0
- package/dist/types/icons/data/VideoControl.d.ts +3 -0
- package/dist/types/icons/data/VideoDisabledControl.d.ts +3 -0
- package/dist/types/icons/data/VideoOff.d.ts +3 -0
- package/dist/types/icons/data/VideoOffControl.d.ts +3 -0
- package/dist/types/icons/data/VoiceIsolation.d.ts +3 -0
- package/dist/types/icons/data/Volume.d.ts +3 -0
- package/dist/types/icons/data/Volume1.d.ts +3 -0
- package/dist/types/icons/data/Volume2.d.ts +3 -0
- package/dist/types/icons/data/VolumeOff.d.ts +3 -0
- package/dist/types/icons/data/VolumeX.d.ts +3 -0
- package/dist/types/icons/data/Wallet.d.ts +3 -0
- package/dist/types/icons/data/Wand.d.ts +3 -0
- package/dist/types/icons/data/WandSparkles.d.ts +3 -0
- package/dist/types/icons/data/Webhook.d.ts +3 -0
- package/dist/types/icons/data/Wifi.d.ts +3 -0
- package/dist/types/icons/data/WifiOff.d.ts +3 -0
- package/dist/types/icons/data/Wind.d.ts +3 -0
- package/dist/types/icons/data/WrapText.d.ts +3 -0
- package/dist/types/icons/data/Wrench.d.ts +3 -0
- package/dist/types/icons/data/X.d.ts +3 -0
- package/dist/types/icons/data/Zap.d.ts +3 -0
- package/dist/types/icons/data/ZoomIn.d.ts +3 -0
- package/dist/types/icons/data/ZoomOut.d.ts +3 -0
- package/dist/types/icons/icons.gen.d.ts +495 -0
- package/dist/types/icons/index.d.ts +2 -0
- package/dist/types/image-cropper/image-cropper.d.ts +77 -0
- package/dist/types/image-cropper/index.d.ts +4 -0
- package/dist/types/image-lightbox/carousel-stage.d.ts +2 -0
- package/dist/types/image-lightbox/image-lightbox.d.ts +224 -0
- package/dist/types/image-lightbox/index.d.ts +2 -0
- package/dist/types/image-lightbox/stage.d.ts +45 -0
- package/dist/types/index.d.ts +150 -0
- package/dist/types/internal/arc.d.ts +14 -0
- package/dist/types/internal/chip.styles.d.ts +43 -0
- package/dist/types/internal/class.d.ts +33 -0
- package/dist/types/internal/composer/box.styles.d.ts +2 -0
- package/dist/types/internal/composer/composer-box.d.ts +147 -0
- package/dist/types/internal/composer/composer-engine.d.ts +79 -0
- package/dist/types/internal/composer/composer-format.d.ts +56 -0
- package/dist/types/internal/composer/composer.d.ts +105 -0
- package/dist/types/internal/composer/content.styles.d.ts +2 -0
- package/dist/types/internal/composer/format.styles.d.ts +20 -0
- package/dist/types/internal/composer/frame.styles.d.ts +22 -0
- package/dist/types/internal/cue.d.ts +10 -0
- package/dist/types/internal/dialog-context.d.ts +1 -0
- package/dist/types/internal/disclosure.styles.d.ts +32 -0
- package/dist/types/internal/drag-motion.d.ts +21 -0
- package/dist/types/internal/drag-touch.d.ts +28 -0
- package/dist/types/internal/drag.styles.d.ts +34 -0
- package/dist/types/internal/element.d.ts +32 -0
- package/dist/types/internal/floating.styles.d.ts +85 -0
- package/dist/types/internal/form-context.d.ts +38 -0
- package/dist/types/internal/gauge.styles.d.ts +82 -0
- package/dist/types/internal/handler.d.ts +6 -0
- package/dist/types/internal/icon-part.d.ts +17 -0
- package/dist/types/internal/icons.d.ts +18 -0
- package/dist/types/internal/layers.d.ts +18 -0
- package/dist/types/internal/list.styles.d.ts +237 -0
- package/dist/types/internal/locale.d.ts +23 -0
- package/dist/types/internal/mask.d.ts +18 -0
- package/dist/types/internal/overflow/fit.d.ts +25 -0
- package/dist/types/internal/overflow/items.d.ts +40 -0
- package/dist/types/internal/overflow/observe.d.ts +40 -0
- package/dist/types/internal/overflow/row.d.ts +15 -0
- package/dist/types/internal/part.d.ts +15 -0
- package/dist/types/internal/press-focus.d.ts +16 -0
- package/dist/types/internal/ref.d.ts +16 -0
- package/dist/types/internal/rrule.d.ts +83 -0
- package/dist/types/internal/scroll-overflow.d.ts +2 -0
- package/dist/types/internal/segmented-input.styles.d.ts +45 -0
- package/dist/types/internal/sheet.styles.d.ts +216 -0
- package/dist/types/internal/shimmer.styles.d.ts +14 -0
- package/dist/types/internal/spring.d.ts +33 -0
- package/dist/types/internal/status-icons.d.ts +7 -0
- package/dist/types/internal/styles.d.ts +39 -0
- package/dist/types/internal/text-field.styles.d.ts +92 -0
- package/dist/types/internal/threshold.d.ts +20 -0
- package/dist/types/internal/time.d.ts +2 -0
- package/dist/types/internal/zoned.d.ts +27 -0
- package/dist/types/item/index.d.ts +2 -0
- package/dist/types/item/item.d.ts +120 -0
- package/dist/types/json-view/index.d.ts +4 -0
- package/dist/types/json-view/json-view.d.ts +150 -0
- package/dist/types/json-view/model.d.ts +88 -0
- package/dist/types/kanban/index.d.ts +2 -0
- package/dist/types/kanban/kanban.d.ts +158 -0
- package/dist/types/kanban/kanban.styles.d.ts +29 -0
- package/dist/types/kbd/index.d.ts +4 -0
- package/dist/types/kbd/kbd.d.ts +18 -0
- package/dist/types/kbd/kbd.styles.d.ts +30 -0
- package/dist/types/knob/index.d.ts +2 -0
- package/dist/types/knob/knob.d.ts +117 -0
- package/dist/types/knob/math.d.ts +91 -0
- package/dist/types/label/index.d.ts +1 -0
- package/dist/types/label/label.d.ts +11 -0
- package/dist/types/layout/index.d.ts +2 -0
- package/dist/types/layout/layout.d.ts +126 -0
- package/dist/types/link/index.d.ts +3 -0
- package/dist/types/link/link.d.ts +32 -0
- package/dist/types/link/link.styles.d.ts +29 -0
- package/dist/types/loader/index.d.ts +2 -0
- package/dist/types/loader/loader.d.ts +37 -0
- package/dist/types/locale-provider/index.d.ts +5 -0
- package/dist/types/locale-provider/locale-provider.d.ts +30 -0
- package/dist/types/locale-provider/messages.d.ts +496 -0
- package/dist/types/log-view/ansi.d.ts +60 -0
- package/dist/types/log-view/index.d.ts +7 -0
- package/dist/types/log-view/log-view.d.ts +130 -0
- package/dist/types/log-view/model.d.ts +67 -0
- package/dist/types/log-view/toolbar.d.ts +27 -0
- package/dist/types/logo/index.d.ts +4 -0
- package/dist/types/logo/logo-loader.d.ts +83 -0
- package/dist/types/logo/logo.d.ts +65 -0
- package/dist/types/logo/paths.d.ts +16 -0
- package/dist/types/logo/shapes.d.ts +15 -0
- package/dist/types/markdown/engine.d.ts +27 -0
- package/dist/types/markdown/index.d.ts +5 -0
- package/dist/types/markdown/markdown.d.ts +88 -0
- package/dist/types/markdown/markdown.styles.d.ts +2 -0
- package/dist/types/markdown/sanitize.d.ts +55 -0
- package/dist/types/markdown-editor/index.d.ts +4 -0
- package/dist/types/markdown-editor/markdown-editor.d.ts +96 -0
- package/dist/types/markdown-editor/markdown-editor.styles.d.ts +2 -0
- package/dist/types/markdown-editor/markdown.d.ts +36 -0
- package/dist/types/markdown-editor/sourced.d.ts +33 -0
- package/dist/types/markdown-editor/strip.d.ts +12 -0
- package/dist/types/markdown-editor/writer.d.ts +33 -0
- package/dist/types/marker/index.d.ts +2 -0
- package/dist/types/marker/marker.d.ts +57 -0
- package/dist/types/media-player/engine.d.ts +76 -0
- package/dist/types/media-player/index.d.ts +4 -0
- package/dist/types/media-player/media-player.d.ts +234 -0
- package/dist/types/media-player/model.d.ts +47 -0
- package/dist/types/media-player/primitive.d.ts +3347 -0
- package/dist/types/menu/index.d.ts +1 -0
- package/dist/types/menu/menu.d.ts +99 -0
- package/dist/types/menubar/index.d.ts +1 -0
- package/dist/types/menubar/menubar.d.ts +27 -0
- package/dist/types/message/index.d.ts +2 -0
- package/dist/types/message/message.d.ts +120 -0
- package/dist/types/message-scroller/index.d.ts +2 -0
- package/dist/types/message-scroller/message-scroller.d.ts +89 -0
- package/dist/types/meter/index.d.ts +4 -0
- package/dist/types/meter/meter.d.ts +41 -0
- package/dist/types/model-picker/index.d.ts +2 -0
- package/dist/types/model-picker/model-picker.d.ts +99 -0
- package/dist/types/model-picker/panel.d.ts +14 -0
- package/dist/types/natural-date-input/engine.d.ts +45 -0
- package/dist/types/natural-date-input/format.d.ts +62 -0
- package/dist/types/natural-date-input/index.d.ts +9 -0
- package/dist/types/natural-date-input/natural-date-input.d.ts +284 -0
- package/dist/types/natural-date-input/parser.d.ts +22 -0
- package/dist/types/natural-date-input/picker.d.ts +16 -0
- package/dist/types/natural-date-input/types.d.ts +62 -0
- package/dist/types/navigation-menu/index.d.ts +2 -0
- package/dist/types/navigation-menu/navigation-menu.d.ts +60 -0
- package/dist/types/notice-stack/index.d.ts +2 -0
- package/dist/types/notice-stack/notice-stack.d.ts +94 -0
- package/dist/types/number-input/index.d.ts +2 -0
- package/dist/types/number-input/number-input.d.ts +34 -0
- package/dist/types/orb/index.d.ts +2 -0
- package/dist/types/orb/orb.d.ts +33 -0
- package/dist/types/otp-input/index.d.ts +2 -0
- package/dist/types/otp-input/otp-input.d.ts +23 -0
- package/dist/types/pagination/index.d.ts +1 -0
- package/dist/types/pagination/pagination.d.ts +67 -0
- package/dist/types/panel-stack/index.d.ts +1 -0
- package/dist/types/panel-stack/panel-stack.d.ts +177 -0
- package/dist/types/password-input/index.d.ts +2 -0
- package/dist/types/password-input/password-input.d.ts +33 -0
- package/dist/types/peek-panel/context.d.ts +110 -0
- package/dist/types/peek-panel/index.d.ts +2 -0
- package/dist/types/peek-panel/model.d.ts +39 -0
- package/dist/types/peek-panel/parts.d.ts +72 -0
- package/dist/types/peek-panel/peek-panel.d.ts +107 -0
- package/dist/types/peek-panel/peek-sheet.d.ts +18 -0
- package/dist/types/phone-input/countries.d.ts +25 -0
- package/dist/types/phone-input/engine.d.ts +10 -0
- package/dist/types/phone-input/index.d.ts +2 -0
- package/dist/types/phone-input/load.d.ts +10 -0
- package/dist/types/phone-input/model.d.ts +49 -0
- package/dist/types/phone-input/phone-input.d.ts +158 -0
- package/dist/types/pocket/index.d.ts +2 -0
- package/dist/types/pocket/pocket.d.ts +54 -0
- package/dist/types/popover/index.d.ts +1 -0
- package/dist/types/popover/popover.d.ts +77 -0
- package/dist/types/progress/index.d.ts +4 -0
- package/dist/types/progress/progress.d.ts +41 -0
- package/dist/types/prompt-input/index.d.ts +2 -0
- package/dist/types/prompt-input/prompt-input.d.ts +227 -0
- package/dist/types/property-list/commit.d.ts +32 -0
- package/dist/types/property-list/index.d.ts +13 -0
- package/dist/types/property-list/property-date.d.ts +29 -0
- package/dist/types/property-list/property-list.d.ts +141 -0
- package/dist/types/property-list/property-list.styles.d.ts +268 -0
- package/dist/types/property-list/property-popover.d.ts +84 -0
- package/dist/types/property-list/property-select.d.ts +72 -0
- package/dist/types/property-list/property-switch.d.ts +12 -0
- package/dist/types/property-list/property-text.d.ts +90 -0
- package/dist/types/prose/index.d.ts +2 -0
- package/dist/types/prose/prose.d.ts +26 -0
- package/dist/types/prose-editor/announce.d.ts +1 -0
- package/dist/types/prose-editor/code-view.d.ts +54 -0
- package/dist/types/prose-editor/controller.d.ts +100 -0
- package/dist/types/prose-editor/doc.d.ts +185 -0
- package/dist/types/prose-editor/dom-reader.d.ts +20 -0
- package/dist/types/prose-editor/editor.styles.d.ts +332 -0
- package/dist/types/prose-editor/engine.d.ts +56 -0
- package/dist/types/prose-editor/highlight.d.ts +7 -0
- package/dist/types/prose-editor/index.d.ts +5 -0
- package/dist/types/prose-editor/keys.d.ts +3 -0
- package/dist/types/prose-editor/labels.d.ts +122 -0
- package/dist/types/prose-editor/language-names.d.ts +1 -0
- package/dist/types/prose-editor/languages.d.ts +9 -0
- package/dist/types/prose-editor/link-row.d.ts +15 -0
- package/dist/types/prose-editor/mention.d.ts +13 -0
- package/dist/types/prose-editor/more-menu.d.ts +18 -0
- package/dist/types/prose-editor/prose-editor.d.ts +148 -0
- package/dist/types/prose-editor/schema.d.ts +8 -0
- package/dist/types/prose-editor/server.d.ts +2 -0
- package/dist/types/prose-editor/sugar.d.ts +11 -0
- package/dist/types/prose-editor/suggest-adapter.d.ts +23 -0
- package/dist/types/prose-editor/suggestions-menu.d.ts +16 -0
- package/dist/types/prose-editor/suggestions.d.ts +100 -0
- package/dist/types/prose-editor/toolbar-extras.d.ts +2 -0
- package/dist/types/prose-editor/toolbar.d.ts +106 -0
- package/dist/types/prose-editor/view-parts.d.ts +12 -0
- package/dist/types/prose-editor-suggestions/index.d.ts +1 -0
- package/dist/types/questionnaire/index.d.ts +2 -0
- package/dist/types/questionnaire/questionnaire.d.ts +151 -0
- package/dist/types/radio/index.d.ts +2 -0
- package/dist/types/radio/radio.d.ts +43 -0
- package/dist/types/rating/index.d.ts +1 -0
- package/dist/types/rating/rating.d.ts +65 -0
- package/dist/types/reactions/index.d.ts +3 -0
- package/dist/types/reactions/model.d.ts +92 -0
- package/dist/types/reactions/reactions.d.ts +113 -0
- package/dist/types/reasoning/index.d.ts +2 -0
- package/dist/types/reasoning/reasoning.d.ts +56 -0
- package/dist/types/recurrence/dialog.d.ts +30 -0
- package/dist/types/recurrence/editor.d.ts +37 -0
- package/dist/types/recurrence/index.d.ts +10 -0
- package/dist/types/recurrence/labels.d.ts +52 -0
- package/dist/types/recurrence/model.d.ts +133 -0
- package/dist/types/recurrence/recurrence-select.d.ts +41 -0
- package/dist/types/relative-time/clock.d.ts +6 -0
- package/dist/types/relative-time/index.d.ts +2 -0
- package/dist/types/relative-time/relative-time.d.ts +68 -0
- package/dist/types/resizable/index.d.ts +3 -0
- package/dist/types/resizable/resizable.d.ts +44 -0
- package/dist/types/ring/index.d.ts +5 -0
- package/dist/types/ring/meter-ring.d.ts +42 -0
- package/dist/types/ring/progress-ring.d.ts +34 -0
- package/dist/types/ring/ring.styles.d.ts +26 -0
- package/dist/types/schedule-list/index.d.ts +2 -0
- package/dist/types/schedule-list/menu.d.ts +29 -0
- package/dist/types/schedule-list/model.d.ts +132 -0
- package/dist/types/schedule-list/schedule-list.d.ts +173 -0
- package/dist/types/scroll-area/index.d.ts +1 -0
- package/dist/types/scroll-area/scroll-area.d.ts +56 -0
- package/dist/types/secret/index.d.ts +2 -0
- package/dist/types/secret/secret.d.ts +162 -0
- package/dist/types/segmented-control/index.d.ts +2 -0
- package/dist/types/segmented-control/segmented-control.d.ts +25 -0
- package/dist/types/select/align.d.ts +41 -0
- package/dist/types/select/index.d.ts +1 -0
- package/dist/types/select/select.d.ts +76 -0
- package/dist/types/separator/index.d.ts +2 -0
- package/dist/types/separator/separator.d.ts +11 -0
- package/dist/types/sheet/index.d.ts +1 -0
- package/dist/types/sheet/sheet.d.ts +80 -0
- package/dist/types/shortcut-recorder/capture.d.ts +37 -0
- package/dist/types/shortcut-recorder/index.d.ts +6 -0
- package/dist/types/shortcut-recorder/labels.d.ts +52 -0
- package/dist/types/shortcut-recorder/model.d.ts +30 -0
- package/dist/types/shortcut-recorder/popover.d.ts +68 -0
- package/dist/types/shortcut-recorder/shortcut-recorder.d.ts +76 -0
- package/dist/types/shortcuts/conflicts.d.ts +16 -0
- package/dist/types/shortcuts/index.d.ts +15 -0
- package/dist/types/shortcuts/keys.d.ts +44 -0
- package/dist/types/shortcuts/list.d.ts +46 -0
- package/dist/types/shortcuts/model.d.ts +41 -0
- package/dist/types/shortcuts/platform.d.ts +6 -0
- package/dist/types/shortcuts/scope.d.ts +52 -0
- package/dist/types/shortcuts/shortcuts.d.ts +16 -0
- package/dist/types/shortcuts/use-shortcut.d.ts +30 -0
- package/dist/types/sidebar/context.d.ts +158 -0
- package/dist/types/sidebar/index.d.ts +10 -0
- package/dist/types/sidebar/lazy-tips.d.ts +31 -0
- package/dist/types/sidebar/menu.d.ts +170 -0
- package/dist/types/sidebar/sheet.d.ts +16 -0
- package/dist/types/sidebar/sidebar.d.ts +152 -0
- package/dist/types/sidebar/sidebar.styles.d.ts +424 -0
- package/dist/types/sidebar/tips.d.ts +33 -0
- package/dist/types/sidebar/views.d.ts +63 -0
- package/dist/types/signature-pad/export.d.ts +30 -0
- package/dist/types/signature-pad/index.d.ts +6 -0
- package/dist/types/signature-pad/model.d.ts +118 -0
- package/dist/types/signature-pad/signature-pad.d.ts +208 -0
- package/dist/types/skeleton/index.d.ts +2 -0
- package/dist/types/skeleton/skeleton.d.ts +27 -0
- package/dist/types/slider/index.d.ts +2 -0
- package/dist/types/slider/slider.d.ts +28 -0
- package/dist/types/sortable-list/index.d.ts +2 -0
- package/dist/types/sortable-list/sortable-list.d.ts +101 -0
- package/dist/types/sortable-list/sortable-list.styles.d.ts +30 -0
- package/dist/types/span-timeline/index.d.ts +4 -0
- package/dist/types/span-timeline/model.d.ts +81 -0
- package/dist/types/span-timeline/span-timeline.d.ts +77 -0
- package/dist/types/spinner/index.d.ts +2 -0
- package/dist/types/spinner/spinner.d.ts +37 -0
- package/dist/types/stat/context.d.ts +24 -0
- package/dist/types/stat/delta.d.ts +150 -0
- package/dist/types/stat/index.d.ts +4 -0
- package/dist/types/stat/stat.d.ts +163 -0
- package/dist/types/statusbar/index.d.ts +2 -0
- package/dist/types/statusbar/statusbar.d.ts +127 -0
- package/dist/types/stepper/index.d.ts +1 -0
- package/dist/types/stepper/stepper.d.ts +125 -0
- package/dist/types/stepper/stepper.styles.d.ts +40 -0
- package/dist/types/switch/index.d.ts +2 -0
- package/dist/types/switch/switch.d.ts +25 -0
- package/dist/types/table/index.d.ts +2 -0
- package/dist/types/table/table.d.ts +95 -0
- package/dist/types/table-of-contents/headings.d.ts +39 -0
- package/dist/types/table-of-contents/index.d.ts +4 -0
- package/dist/types/table-of-contents/scrollspy.d.ts +46 -0
- package/dist/types/table-of-contents/table-of-contents.d.ts +76 -0
- package/dist/types/tabs/index.d.ts +2 -0
- package/dist/types/tabs/tabs.d.ts +50 -0
- package/dist/types/tabs-overflow/index.d.ts +1 -0
- package/dist/types/tabs-overflow/menu.d.ts +19 -0
- package/dist/types/tabs-overflow/tabs-overflow.d.ts +41 -0
- package/dist/types/task-tray/index.d.ts +3 -0
- package/dist/types/task-tray/model.d.ts +128 -0
- package/dist/types/task-tray/store.d.ts +133 -0
- package/dist/types/task-tray/task-tray.d.ts +145 -0
- package/dist/types/text/index.d.ts +2 -0
- package/dist/types/text/text.d.ts +76 -0
- package/dist/types/theme/index.d.ts +2 -0
- package/dist/types/theme/theme.d.ts +62 -0
- package/dist/types/theme-switcher/index.d.ts +3 -0
- package/dist/types/theme-switcher/theme-switcher.d.ts +47 -0
- package/dist/types/thread-list/index.d.ts +2 -0
- package/dist/types/thread-list/thread-list.d.ts +71 -0
- package/dist/types/tiling/create-tiling.d.ts +44 -0
- package/dist/types/tiling/engine/controllers/drag.d.ts +38 -0
- package/dist/types/tiling/engine/controllers/resize.d.ts +22 -0
- package/dist/types/tiling/engine/defaults.d.ts +10 -0
- package/dist/types/tiling/engine/emitter.d.ts +8 -0
- package/dist/types/tiling/engine/engine.d.ts +127 -0
- package/dist/types/tiling/engine/geometry.d.ts +19 -0
- package/dist/types/tiling/engine/history.d.ts +25 -0
- package/dist/types/tiling/engine/ids.d.ts +7 -0
- package/dist/types/tiling/engine/index.d.ts +18 -0
- package/dist/types/tiling/engine/layout.d.ts +41 -0
- package/dist/types/tiling/engine/scheduler.d.ts +13 -0
- package/dist/types/tiling/engine/spring.d.ts +22 -0
- package/dist/types/tiling/engine/store.d.ts +14 -0
- package/dist/types/tiling/engine/tree.d.ts +126 -0
- package/dist/types/tiling/engine/types.d.ts +355 -0
- package/dist/types/tiling/index.d.ts +3 -0
- package/dist/types/tiling/pointer.d.ts +53 -0
- package/dist/types/tiling/tab-strip.d.ts +59 -0
- package/dist/types/tiling/tiling.d.ts +122 -0
- package/dist/types/tiling/tiling.styles.d.ts +468 -0
- package/dist/types/time-input/index.d.ts +1 -0
- package/dist/types/time-input/time-input.d.ts +21 -0
- package/dist/types/time-picker/index.d.ts +2 -0
- package/dist/types/time-picker/model.d.ts +86 -0
- package/dist/types/time-picker/time-picker.d.ts +177 -0
- package/dist/types/time-zone-picker/index.d.ts +4 -0
- package/dist/types/time-zone-picker/time-zone-picker.d.ts +57 -0
- package/dist/types/time-zone-picker/zones.d.ts +71 -0
- package/dist/types/timeline/index.d.ts +1 -0
- package/dist/types/timeline/timeline.d.ts +51 -0
- package/dist/types/toast/index.d.ts +1 -0
- package/dist/types/toast/toast.d.ts +66 -0
- package/dist/types/toggle/index.d.ts +2 -0
- package/dist/types/toggle/toggle.d.ts +53 -0
- package/dist/types/token-input/index.d.ts +1 -0
- package/dist/types/token-input/token-input.d.ts +34 -0
- package/dist/types/tokens.stylex.d.ts +273 -0
- package/dist/types/tool-call/index.d.ts +2 -0
- package/dist/types/tool-call/instead-form.d.ts +8 -0
- package/dist/types/tool-call/tool-call.d.ts +178 -0
- package/dist/types/toolbar/index.d.ts +1 -0
- package/dist/types/toolbar/toolbar.d.ts +62 -0
- package/dist/types/toolbar-overflow/index.d.ts +1 -0
- package/dist/types/toolbar-overflow/menu.d.ts +19 -0
- package/dist/types/toolbar-overflow/toolbar-overflow.d.ts +43 -0
- package/dist/types/tooltip/index.d.ts +1 -0
- package/dist/types/tooltip/tooltip.d.ts +96 -0
- package/dist/types/trace/index.d.ts +2 -0
- package/dist/types/trace/trace.d.ts +155 -0
- package/dist/types/tree/index.d.ts +1 -0
- package/dist/types/tree/tree.d.ts +56 -0
- package/dist/types/trigger-menu/index.d.ts +1 -0
- package/dist/types/trigger-menu/trigger-menu.d.ts +57 -0
- package/dist/types/undo/index.d.ts +2 -0
- package/dist/types/undo/undo.d.ts +114 -0
- package/dist/types/volume-meter/index.d.ts +2 -0
- package/dist/types/volume-meter/volume-meter.d.ts +49 -0
- package/docs/accordion.md +203 -0
- package/docs/agent-activity.md +97 -0
- package/docs/agent-todos.md +118 -0
- package/docs/alert-dialog.md +267 -0
- package/docs/alert.md +106 -0
- package/docs/api.json +37339 -0
- package/docs/attachment.md +122 -0
- package/docs/autocomplete.md +324 -0
- package/docs/avatar.md +168 -0
- package/docs/badge.md +97 -0
- package/docs/blocks/agenda.md +1601 -0
- package/docs/blocks/ai-agent.md +122 -0
- package/docs/blocks/ai-chat.md +2102 -0
- package/docs/blocks/ai-settings.md +892 -0
- package/docs/blocks/ai-workspace.md +290 -0
- package/docs/blocks/ai.md +642 -0
- package/docs/blocks/app-shell.md +4009 -0
- package/docs/blocks/auth-screens.md +2781 -0
- package/docs/blocks/auth.md +441 -0
- package/docs/blocks/availability.md +1901 -0
- package/docs/blocks/billing.md +1168 -0
- package/docs/blocks/blocks.json +1360 -0
- package/docs/blocks/breakdown.md +1296 -0
- package/docs/blocks/calendar-app.md +722 -0
- package/docs/blocks/calendar-import.md +1444 -0
- package/docs/blocks/chat.md +695 -0
- package/docs/blocks/command-palette.md +1713 -0
- package/docs/blocks/country-select.md +298 -0
- package/docs/blocks/dashboard.md +1067 -0
- package/docs/blocks/data-grid.md +540 -0
- package/docs/blocks/data-views-issues.md +2193 -0
- package/docs/blocks/data-views-table.md +2871 -0
- package/docs/blocks/data-views.md +598 -0
- package/docs/blocks/deploys.md +2008 -0
- package/docs/blocks/device-settings.md +1585 -0
- package/docs/blocks/docs-article.md +2632 -0
- package/docs/blocks/feedback-states.md +621 -0
- package/docs/blocks/files.md +3649 -0
- package/docs/blocks/guided-onboarding.md +2449 -0
- package/docs/blocks/lobby.md +2260 -0
- package/docs/blocks/meeting-home.md +4602 -0
- package/docs/blocks/meeting-summary.md +2164 -0
- package/docs/blocks/meeting.md +1121 -0
- package/docs/blocks/messenger.md +478 -0
- package/docs/blocks/metrics.md +1646 -0
- package/docs/blocks/not-found.md +1355 -0
- package/docs/blocks/notifications.md +2011 -0
- package/docs/blocks/onboarding.md +1252 -0
- package/docs/blocks/page-layouts.md +2049 -0
- package/docs/blocks/payment-form.md +907 -0
- package/docs/blocks/payment-methods.md +809 -0
- package/docs/blocks/permission-request/artwork/camera.webp +0 -0
- package/docs/blocks/permission-request/artwork/location.webp +0 -0
- package/docs/blocks/permission-request/artwork/microphone.webp +0 -0
- package/docs/blocks/permission-request/artwork/notifications.webp +0 -0
- package/docs/blocks/permission-request/artwork/screen.webp +0 -0
- package/docs/blocks/permission-request.md +1496 -0
- package/docs/blocks/pricing.md +1128 -0
- package/docs/blocks/record-detail.md +1117 -0
- package/docs/blocks/schedule-dashboard.md +3125 -0
- package/docs/blocks/secrets.md +1555 -0
- package/docs/blocks/settings-account.md +2259 -0
- package/docs/blocks/settings-core.md +3094 -0
- package/docs/blocks/settings-developers.md +1304 -0
- package/docs/blocks/settings-dialog.md +514 -0
- package/docs/blocks/settings-form.md +300 -0
- package/docs/blocks/settings-workspace.md +1553 -0
- package/docs/blocks/settings.md +552 -0
- package/docs/blocks/simple-table.md +703 -0
- package/docs/blocks/speed-test.md +533 -0
- package/docs/blocks/status.md +1446 -0
- package/docs/blocks/upload-flow.md +528 -0
- package/docs/blocks/waves-hero.md +908 -0
- package/docs/bot-avatar.md +202 -0
- package/docs/brands.md +142 -0
- package/docs/breadcrumb.md +113 -0
- package/docs/bubble.md +58 -0
- package/docs/button.md +186 -0
- package/docs/calendar.md +316 -0
- package/docs/card-input.md +326 -0
- package/docs/card.md +312 -0
- package/docs/carousel.md +498 -0
- package/docs/cascader.md +414 -0
- package/docs/chat-composer.md +414 -0
- package/docs/checkbox.md +142 -0
- package/docs/code-block.md +137 -0
- package/docs/collapsible.md +137 -0
- package/docs/color-picker.md +302 -0
- package/docs/combobox.md +568 -0
- package/docs/command.md +482 -0
- package/docs/context-menu.md +84 -0
- package/docs/context-meter.md +112 -0
- package/docs/copy-button.md +149 -0
- package/docs/create-table.md +121 -0
- package/docs/csp-provider.md +75 -0
- package/docs/cues.md +82 -0
- package/docs/data-grid.md +435 -0
- package/docs/date-input.md +144 -0
- package/docs/date-picker.md +357 -0
- package/docs/day-strip.md +545 -0
- package/docs/description-list.md +182 -0
- package/docs/dialog.md +314 -0
- package/docs/diff-review.md +120 -0
- package/docs/direction-provider.md +60 -0
- package/docs/draw-toolbar.md +364 -0
- package/docs/editable-text.md +322 -0
- package/docs/emoji-picker.md +315 -0
- package/docs/empty-state.md +126 -0
- package/docs/event-popover.md +340 -0
- package/docs/field.md +303 -0
- package/docs/file-input.md +295 -0
- package/docs/file-type.md +134 -0
- package/docs/filter-bar.md +220 -0
- package/docs/flag.md +381 -0
- package/docs/floating-panel.md +321 -0
- package/docs/form.md +240 -0
- package/docs/gauge.md +213 -0
- package/docs/gif-browser.md +370 -0
- package/docs/highlight.md +153 -0
- package/docs/hover-card.md +172 -0
- package/docs/i18n.md +1254 -0
- package/docs/icon-stack.md +90 -0
- package/docs/icon-tile.md +157 -0
- package/docs/icon.md +121 -0
- package/docs/icons.md +551 -0
- package/docs/image-cropper.md +350 -0
- package/docs/image-lightbox.md +357 -0
- package/docs/item.md +336 -0
- package/docs/json-view.md +300 -0
- package/docs/kanban.md +213 -0
- package/docs/kbd.md +40 -0
- package/docs/knob.md +159 -0
- package/docs/label.md +51 -0
- package/docs/layout.md +119 -0
- package/docs/link.md +64 -0
- package/docs/llms.txt +331 -0
- package/docs/loader.md +115 -0
- package/docs/locale-provider.md +70 -0
- package/docs/log-view.md +288 -0
- package/docs/logo-loader.md +71 -0
- package/docs/logo.md +118 -0
- package/docs/markdown-editor.md +397 -0
- package/docs/markdown.md +150 -0
- package/docs/marker.md +176 -0
- package/docs/media-player.md +472 -0
- package/docs/menu.md +461 -0
- package/docs/menubar.md +123 -0
- package/docs/message-scroller.md +123 -0
- package/docs/message.md +262 -0
- package/docs/meter.md +139 -0
- package/docs/model-picker.md +126 -0
- package/docs/natural-date-input.md +478 -0
- package/docs/navigation-menu.md +363 -0
- package/docs/notice-stack.md +246 -0
- package/docs/number-input.md +205 -0
- package/docs/orb.md +175 -0
- package/docs/otp-input.md +121 -0
- package/docs/pagination.md +195 -0
- package/docs/panel-stack.md +360 -0
- package/docs/password-input.md +129 -0
- package/docs/peek-panel.md +470 -0
- package/docs/phone-input.md +224 -0
- package/docs/pocket.md +203 -0
- package/docs/popover.md +273 -0
- package/docs/progress.md +152 -0
- package/docs/prompt-input.md +183 -0
- package/docs/property-list.md +584 -0
- package/docs/prose-editor.md +637 -0
- package/docs/questionnaire.md +322 -0
- package/docs/radio.md +164 -0
- package/docs/rating.md +305 -0
- package/docs/reactions.md +187 -0
- package/docs/reasoning.md +102 -0
- package/docs/recurrence.md +256 -0
- package/docs/relative-time.md +160 -0
- package/docs/resizable.md +199 -0
- package/docs/ring.md +98 -0
- package/docs/schedule-list.md +523 -0
- package/docs/scroll-area.md +230 -0
- package/docs/search-index.json +7031 -0
- package/docs/secret.md +239 -0
- package/docs/segmented-control.md +114 -0
- package/docs/select.md +618 -0
- package/docs/separator.md +64 -0
- package/docs/sheet.md +284 -0
- package/docs/shortcut-recorder.md +268 -0
- package/docs/shortcuts.md +312 -0
- package/docs/sidebar.md +725 -0
- package/docs/signature-pad.md +443 -0
- package/docs/skeleton.md +60 -0
- package/docs/slider.md +170 -0
- package/docs/solid-start.md +228 -0
- package/docs/sortable-list.md +149 -0
- package/docs/span-timeline.md +257 -0
- package/docs/spinner.md +63 -0
- package/docs/stat.md +325 -0
- package/docs/statusbar.md +297 -0
- package/docs/stepper.md +233 -0
- package/docs/switch.md +105 -0
- package/docs/table-of-contents.md +215 -0
- package/docs/table.md +289 -0
- package/docs/tabs.md +260 -0
- package/docs/tanstack-start.md +432 -0
- package/docs/task-tray.md +455 -0
- package/docs/text.md +185 -0
- package/docs/theme-switcher.md +136 -0
- package/docs/theming.md +188 -0
- package/docs/thread-list.md +126 -0
- package/docs/tiling.md +521 -0
- package/docs/time-input.md +130 -0
- package/docs/time-picker.md +371 -0
- package/docs/time-zone-picker.md +152 -0
- package/docs/timeline.md +248 -0
- package/docs/toast.md +259 -0
- package/docs/toggle.md +140 -0
- package/docs/token-input.md +183 -0
- package/docs/tokens.md +280 -0
- package/docs/tool-call.md +169 -0
- package/docs/toolbar.md +283 -0
- package/docs/tooltip.md +215 -0
- package/docs/trace.md +293 -0
- package/docs/tree.md +270 -0
- package/docs/trigger-menu.md +250 -0
- package/docs/undo.md +186 -0
- package/docs/volume-meter.md +166 -0
- package/package.json +860 -4
- package/skills/solid-ui-kit/SKILL.md +58 -0
|
@@ -0,0 +1,2781 @@
|
|
|
1
|
+
# Auth: the screens (source)
|
|
2
|
+
|
|
3
|
+
Part of the [auth and onboarding blocks](./auth.md): read that page first for the recipes and `types.ts` (printed there). These are the auth folder's files:
|
|
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
|
+
| `auth-parts.tsx` | 445 |
|
|
10
|
+
| `sign-in.tsx` | 560 |
|
|
11
|
+
| `sign-up.tsx` | 203 |
|
|
12
|
+
| `verify-code.tsx` | 110 |
|
|
13
|
+
| `accept-invite.tsx` | 205 |
|
|
14
|
+
| `password-reset.tsx` | 269 |
|
|
15
|
+
| `passkey.ts` | 37 |
|
|
16
|
+
| `passkey-prompt.tsx` | 102 |
|
|
17
|
+
| `auth-flow.tsx` | 146 |
|
|
18
|
+
| `labels.tsx` | 200 |
|
|
19
|
+
| `auth.module.css` | 431 |
|
|
20
|
+
|
|
21
|
+
To write them into your app (the whole Auth and onboarding block, this page's files included), from its root:
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
npx solid-ui-kit add auth
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
It writes `src/components/auth/` (`--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.
|
|
28
|
+
|
|
29
|
+
- **`auth-parts.tsx`**: `AuthCard`, `AuthBrand`, `AuthConsent`, `ProviderButtons`, `ProviderMark`, `providerMark`, `providerMarks`, `Monogram`, `Divider`, `FormAlert`, `PasswordStrength`, `passwordCheck`, `ResendButton`, `createCountdown`, `refusal`, `text`.
|
|
30
|
+
- **`sign-in.tsx`**: `SignIn` (password, providers, passkey, magic link and code, single sign-on).
|
|
31
|
+
- **`sign-up.tsx`**: `SignUp` (then `VerifyCode`).
|
|
32
|
+
- **`verify-code.tsx`**: `VerifyCode`.
|
|
33
|
+
- **`accept-invite.tsx`**: `AcceptInvite`.
|
|
34
|
+
- **`password-reset.tsx`**: `ForgotPassword`, `ResetPassword`.
|
|
35
|
+
- **`passkey.ts`**: `browserPasskeyPrompt`, `passkeysSupported`.
|
|
36
|
+
- **`passkey-prompt.tsx`**: `createFakePasskeyPrompt` (demos and tests).
|
|
37
|
+
- **`auth-flow.tsx`**: `AuthFlow` (imports `CenteredLayout` from [page-layouts.md](./page-layouts.md)).
|
|
38
|
+
- **`auth.module.css`**: the styles of every auth file.
|
|
39
|
+
|
|
40
|
+
## Source
|
|
41
|
+
|
|
42
|
+
```tsx title="auth-parts.tsx"
|
|
43
|
+
/**
|
|
44
|
+
* Auth parts — part of the auth blocks for @zsherman/kit: the card every screen sits in, provider buttons
|
|
45
|
+
* (each with its brand's mark from `@zsherman/kit/brands`, or its initial), the "or" divider, a form-level alert, a password strength
|
|
46
|
+
* meter with its rules, a resend button that counts down, and helpers that turn an `AuthError` into a
|
|
47
|
+
* field's message.
|
|
48
|
+
*/
|
|
49
|
+
import { Alert, AlertDescription, AlertIcon, AlertTitle } from "@zsherman/kit/alert";
|
|
50
|
+
import { Button } from "@zsherman/kit/button";
|
|
51
|
+
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "@zsherman/kit/card";
|
|
52
|
+
import type { FormSubmitResult, FormValues } from "@zsherman/kit/form";
|
|
53
|
+
import {
|
|
54
|
+
Apple,
|
|
55
|
+
AtlassianColor,
|
|
56
|
+
BitbucketColor,
|
|
57
|
+
DiscordColor,
|
|
58
|
+
FacebookColor,
|
|
59
|
+
GitHub,
|
|
60
|
+
GitLabColor,
|
|
61
|
+
GoogleColor,
|
|
62
|
+
LinearColor,
|
|
63
|
+
MicrosoftColor,
|
|
64
|
+
Notion,
|
|
65
|
+
OktaColor,
|
|
66
|
+
SlackColor,
|
|
67
|
+
XTwitter,
|
|
68
|
+
} from "@zsherman/kit/brands";
|
|
69
|
+
import { Icon, type IconNode } from "@zsherman/kit/icon";
|
|
70
|
+
import { Link } from "@zsherman/kit/link";
|
|
71
|
+
import { Meter, MeterLabel, MeterTrack, MeterValue } from "@zsherman/kit/meter";
|
|
72
|
+
import { Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
73
|
+
import { isServer, type JSX } from "@solidjs/web";
|
|
74
|
+
import { Check, ChevronDown, ChevronUp, CircleAlert, Minus } from "@zsherman/kit/icons";
|
|
75
|
+
import {
|
|
76
|
+
createContext,
|
|
77
|
+
createMemo,
|
|
78
|
+
createSignal,
|
|
79
|
+
createUniqueId,
|
|
80
|
+
For,
|
|
81
|
+
onSettled,
|
|
82
|
+
Show,
|
|
83
|
+
untrack,
|
|
84
|
+
useContext,
|
|
85
|
+
} from "solid-js";
|
|
86
|
+
import { useCenteredVariant } from "../page-layouts/page-layouts";
|
|
87
|
+
import styles from "./auth.module.css";
|
|
88
|
+
import { AuthError, type Provider, type Sent } from "./types";
|
|
89
|
+
import { type AuthLabels, useAuthLabels } from "./labels";
|
|
90
|
+
|
|
91
|
+
/** A form value as a string (FormData gives strings and Files). */
|
|
92
|
+
export const text = (value: FormValues[string] | undefined) =>
|
|
93
|
+
typeof value === "string" ? value.trim() : "";
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Turns a refusal into what a kit `Form` shows: an `AuthError` with a `field` becomes that field's message;
|
|
97
|
+
* anything else goes to `onAlert` (the form's alert) and the form shows nothing on fields.
|
|
98
|
+
*/
|
|
99
|
+
export function refusal(
|
|
100
|
+
caught: unknown,
|
|
101
|
+
onAlert: (message: string, error?: AuthError) => void,
|
|
102
|
+
t: AuthLabels,
|
|
103
|
+
): FormSubmitResult {
|
|
104
|
+
if (caught instanceof AuthError && caught.details.field) {
|
|
105
|
+
const left = caught.details.attemptsLeft;
|
|
106
|
+
return {
|
|
107
|
+
errors: {
|
|
108
|
+
[caught.details.field]: left !== undefined ? t.triesLeft(caught.message, left) : caught.message,
|
|
109
|
+
},
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
onAlert(caught instanceof Error ? caught.message : t.somethingWentWrongTryAgain, caught as AuthError);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export interface AuthCardProps {
|
|
116
|
+
/** The screen's heading (an `h1`). */
|
|
117
|
+
title: JSX.Element;
|
|
118
|
+
/** Keep the heading for screen readers only: the brand above says it. The description goes with it. */
|
|
119
|
+
hideTitle?: boolean;
|
|
120
|
+
description?: JSX.Element;
|
|
121
|
+
children: JSX.Element;
|
|
122
|
+
/** Under the content: "Don't have an account? Create one". */
|
|
123
|
+
footer?: JSX.Element;
|
|
124
|
+
/**
|
|
125
|
+
* In a frame layout, the caption bar's text in place of `title` (it's still the page's `h1`): a short
|
|
126
|
+
* name for the screen, "Sign in". @defaultValue the title
|
|
127
|
+
*/
|
|
128
|
+
caption?: JSX.Element;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
const BrandContext = createContext<(() => JSX.Element) | null>(null);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Puts your brand at the top of every auth card inside: `<AuthBrand logo={() => <Logo />}>`. A function, so
|
|
135
|
+
* each card makes its own copy as the screens change.
|
|
136
|
+
*/
|
|
137
|
+
export function AuthBrand(props: { logo: (() => JSX.Element) | undefined; children: JSX.Element }) {
|
|
138
|
+
// Without a logo, the one from further out stays.
|
|
139
|
+
// Read once: a card takes its brand when it's created.
|
|
140
|
+
const logo = untrack(() => props.logo) ?? useContext(BrandContext) ?? null;
|
|
141
|
+
return <BrandContext value={logo}>{props.children}</BrandContext>;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* The card a screen sits in, inside `CenteredLayout`: the brand (from `AuthBrand`), the heading, the content.
|
|
146
|
+
* In a frame layout it's a frame Card: the heading in the caption bar (always shown there, small), the
|
|
147
|
+
* brand, description and content in the well, the footer as the status row under it.
|
|
148
|
+
*/
|
|
149
|
+
export function AuthCard(props: AuthCardProps) {
|
|
150
|
+
const layout = useCenteredVariant();
|
|
151
|
+
return (
|
|
152
|
+
<Show when={layout() === "frame"} fallback={<SolidAuthCard {...props} />}>
|
|
153
|
+
<FrameAuthCard {...props} />
|
|
154
|
+
</Show>
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
function FrameAuthCard(props: AuthCardProps) {
|
|
159
|
+
const brand = useContext(BrandContext);
|
|
160
|
+
return (
|
|
161
|
+
<Card variant="frame" class={styles.frame}>
|
|
162
|
+
<CardHeader>
|
|
163
|
+
<CardTitle render={(p) => <h1 {...p} />}>{props.caption ?? props.title}</CardTitle>
|
|
164
|
+
</CardHeader>
|
|
165
|
+
<CardContent class={[styles.cardContent, styles.frameWell]}>
|
|
166
|
+
<Show when={brand}>{(logo) => <div class={styles.frameBrand}>{logo()()}</div>}</Show>
|
|
167
|
+
<Show when={props.description}>
|
|
168
|
+
{(description) => <p class={styles.frameDescription}>{description()}</p>}
|
|
169
|
+
</Show>
|
|
170
|
+
{props.children}
|
|
171
|
+
</CardContent>
|
|
172
|
+
<Show when={props.footer}>
|
|
173
|
+
{(footer) => <CardFooter class={styles.frameFooter}>{footer()}</CardFooter>}
|
|
174
|
+
</Show>
|
|
175
|
+
</Card>
|
|
176
|
+
);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
function SolidAuthCard(props: AuthCardProps) {
|
|
180
|
+
const brand = useContext(BrandContext);
|
|
181
|
+
return (
|
|
182
|
+
<Card class={styles.card}>
|
|
183
|
+
<Show when={brand}>{(logo) => <div class={styles.brand}>{logo()()}</div>}</Show>
|
|
184
|
+
<Show
|
|
185
|
+
when={!props.hideTitle}
|
|
186
|
+
fallback={<VisuallyHidden render={(p) => <h1 {...p} />}>{props.title}</VisuallyHidden>}
|
|
187
|
+
>
|
|
188
|
+
<CardHeader class={styles.cardHeader}>
|
|
189
|
+
<CardTitle render={(p) => <h1 {...p} class={[p.class as string, styles.title]} />}>
|
|
190
|
+
{props.title}
|
|
191
|
+
</CardTitle>
|
|
192
|
+
<Show when={props.description}>
|
|
193
|
+
{(description) => <CardDescription class={styles.description}>{description()}</CardDescription>}
|
|
194
|
+
</Show>
|
|
195
|
+
</CardHeader>
|
|
196
|
+
</Show>
|
|
197
|
+
<CardContent class={styles.cardContent}>{props.children}</CardContent>
|
|
198
|
+
<Show when={props.footer}>
|
|
199
|
+
{(footer) => (
|
|
200
|
+
<CardFooter class={styles.cardFooter}>
|
|
201
|
+
<Text size="sm" tone="muted">
|
|
202
|
+
{footer()}
|
|
203
|
+
</Text>
|
|
204
|
+
</CardFooter>
|
|
205
|
+
)}
|
|
206
|
+
</Show>
|
|
207
|
+
</Card>
|
|
208
|
+
);
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* The terms line for under the card (`CenteredLayout`'s `footer`): "By continuing, you agree to the Terms of
|
|
213
|
+
* Service and Privacy Policy."
|
|
214
|
+
*/
|
|
215
|
+
export function AuthConsent(props: { termsHref: string; privacyHref: string }) {
|
|
216
|
+
const t = useAuthLabels();
|
|
217
|
+
return (
|
|
218
|
+
<Text size="sm" tone="muted" class={styles.consent}>
|
|
219
|
+
{t.byContinuingYouAgree}{" "}
|
|
220
|
+
<Link href={props.termsHref} variant="inherit">
|
|
221
|
+
{t.termsOfServiceLink}
|
|
222
|
+
</Link>{" "}
|
|
223
|
+
{t.and}{" "}
|
|
224
|
+
<Link href={props.privacyHref} variant="inherit">
|
|
225
|
+
{t.privacyPolicyLink}
|
|
226
|
+
</Link>
|
|
227
|
+
.
|
|
228
|
+
</Text>
|
|
229
|
+
);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/** A company's mark: its initial on a token-colored tile. */
|
|
233
|
+
export function Monogram(props: { name: string }) {
|
|
234
|
+
return (
|
|
235
|
+
<span class={styles.monogram} data-provider={props.name.toLowerCase()} aria-hidden="true">
|
|
236
|
+
{props.name.charAt(0)}
|
|
237
|
+
</span>
|
|
238
|
+
);
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Brand marks by provider id or name, in the brand's own colors where the brand has them (GitHub, Apple and
|
|
243
|
+
* X are one color, so they stay visible on dark surfaces). An identity provider named after its company
|
|
244
|
+
* ("Microsoft Entra ID", "Google Workspace") takes the company's mark. Add yours, or pass `icon`.
|
|
245
|
+
*/
|
|
246
|
+
export const providerMarks: Record<string, IconNode> = {
|
|
247
|
+
apple: Apple,
|
|
248
|
+
atlassian: AtlassianColor,
|
|
249
|
+
bitbucket: BitbucketColor,
|
|
250
|
+
discord: DiscordColor,
|
|
251
|
+
facebook: FacebookColor,
|
|
252
|
+
github: GitHub,
|
|
253
|
+
gitlab: GitLabColor,
|
|
254
|
+
google: GoogleColor,
|
|
255
|
+
linear: LinearColor,
|
|
256
|
+
microsoft: MicrosoftColor,
|
|
257
|
+
entra: MicrosoftColor,
|
|
258
|
+
notion: Notion,
|
|
259
|
+
okta: OktaColor,
|
|
260
|
+
slack: SlackColor,
|
|
261
|
+
x: XTwitter,
|
|
262
|
+
twitter: XTwitter,
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
/** The mark for a provider: its own `icon`, then `providerMarks` by id, by name, by the name's first word. */
|
|
266
|
+
export function providerMark(provider: { id: string; name: string; icon?: IconNode }): IconNode | undefined {
|
|
267
|
+
const name = provider.name.toLowerCase();
|
|
268
|
+
return (
|
|
269
|
+
provider.icon ??
|
|
270
|
+
providerMarks[provider.id.toLowerCase()] ??
|
|
271
|
+
providerMarks[name] ??
|
|
272
|
+
providerMarks[name.split(/\s+/)[0]!]
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/** A provider's brand mark (decorative: the button names it), or its monogram when there's no mark. */
|
|
277
|
+
export function ProviderMark(props: { provider: { id: string; name: string; icon?: IconNode } }) {
|
|
278
|
+
return (
|
|
279
|
+
<Show when={providerMark(props.provider)} fallback={<Monogram name={props.provider.name} />}>
|
|
280
|
+
{(mark) => <Icon icon={mark()} size={18} class={styles.mark} />}
|
|
281
|
+
</Show>
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/** "Continue with Google", one button per provider. Each press is pending until `onContinue` settles. */
|
|
286
|
+
export function ProviderButtons(props: {
|
|
287
|
+
providers: readonly Provider[];
|
|
288
|
+
onContinue: (provider: Provider) => Promise<unknown>;
|
|
289
|
+
/** The verb: "Continue with", "Sign up with". @defaultValue "Continue with" */
|
|
290
|
+
verb?: string;
|
|
291
|
+
}) {
|
|
292
|
+
const t = useAuthLabels();
|
|
293
|
+
|
|
294
|
+
return (
|
|
295
|
+
<div class={styles.providers}>
|
|
296
|
+
<For each={props.providers}>
|
|
297
|
+
{(provider) => (
|
|
298
|
+
<Button class={styles.provider} onClick={() => props.onContinue(provider)}>
|
|
299
|
+
<ProviderMark provider={provider} />
|
|
300
|
+
{props.verb ?? t.continueWith} {provider.name}
|
|
301
|
+
</Button>
|
|
302
|
+
)}
|
|
303
|
+
</For>
|
|
304
|
+
</div>
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/** Which ways in show up front: the keys listed, or every one. */
|
|
309
|
+
export type Featured = readonly string[] | "all";
|
|
310
|
+
|
|
311
|
+
/** Whether a way in (`key`: "passkey", "magic-link", "sso" or a provider's id) shows before "More options". */
|
|
312
|
+
export const isFeatured = (featured: Featured, key: string) => featured === "all" || featured.includes(key);
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* The first few ways in, then the rest behind "More options": a button that shows them under the first
|
|
316
|
+
* few and then reads "Fewer options" (`aria-expanded`, `aria-controls`). Without a rest, no button.
|
|
317
|
+
*/
|
|
318
|
+
export function MoreOptions(props: { featured: JSX.Element; rest?: JSX.Element; hasRest: boolean }) {
|
|
319
|
+
const t = useAuthLabels();
|
|
320
|
+
const [open, setOpen] = createSignal(false);
|
|
321
|
+
const restId = createUniqueId();
|
|
322
|
+
return (
|
|
323
|
+
<div class={styles.otherWays}>
|
|
324
|
+
{props.featured}
|
|
325
|
+
<Show when={props.hasRest}>
|
|
326
|
+
<Show when={open()}>
|
|
327
|
+
<div id={restId} class={styles.otherWays}>
|
|
328
|
+
{props.rest}
|
|
329
|
+
</div>
|
|
330
|
+
</Show>
|
|
331
|
+
<Button
|
|
332
|
+
variant="ghost"
|
|
333
|
+
class={styles.moreOptions}
|
|
334
|
+
aria-expanded={open() ? "true" : "false"}
|
|
335
|
+
aria-controls={open() ? restId : undefined}
|
|
336
|
+
onClick={() => {
|
|
337
|
+
setOpen((v) => !v);
|
|
338
|
+
}}
|
|
339
|
+
>
|
|
340
|
+
{open() ? t.fewerOptions : t.moreOptions}
|
|
341
|
+
<Icon icon={open() ? ChevronUp : ChevronDown} />
|
|
342
|
+
</Button>
|
|
343
|
+
</Show>
|
|
344
|
+
</div>
|
|
345
|
+
);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/** A rule with a word in it ("or"), between two ways in. */
|
|
349
|
+
export function Divider(props: { children?: JSX.Element }) {
|
|
350
|
+
return (
|
|
351
|
+
<div class={styles.divider} role="separator" aria-orientation="horizontal">
|
|
352
|
+
<span>{props.children ?? "or"}</span>
|
|
353
|
+
</div>
|
|
354
|
+
);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/** A form-level problem (a locked account, the network), announced when it appears. */
|
|
358
|
+
export function FormAlert(props: { title: string; children?: JSX.Element; actions?: JSX.Element }) {
|
|
359
|
+
return (
|
|
360
|
+
<Alert tone="danger" role="alert" class={styles.alert}>
|
|
361
|
+
<AlertIcon icon={CircleAlert} />
|
|
362
|
+
<AlertTitle>{props.title}</AlertTitle>
|
|
363
|
+
<Show when={props.children || props.actions}>
|
|
364
|
+
<AlertDescription>
|
|
365
|
+
{props.children}
|
|
366
|
+
<Show when={props.actions}>{(actions) => <div class={styles.alertActions}>{actions()}</div>}</Show>
|
|
367
|
+
</AlertDescription>
|
|
368
|
+
</Show>
|
|
369
|
+
</Alert>
|
|
370
|
+
);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
/** The rules a new password must meet, and how strong it is (0 to 4). */
|
|
374
|
+
export function passwordCheck(password: string, email = "") {
|
|
375
|
+
const local = email.split("@")[0]?.toLowerCase() ?? "";
|
|
376
|
+
const rules = [
|
|
377
|
+
{ label: useAuthLabels().n10CharactersOrMore, ok: password.length >= 10 },
|
|
378
|
+
{ label: useAuthLabels().aNumberOrASymbol, ok: /[\d\W_]/.test(password) },
|
|
379
|
+
{
|
|
380
|
+
label: useAuthLabels().notYourEmail,
|
|
381
|
+
ok: !password || !local || !password.toLowerCase().includes(local),
|
|
382
|
+
},
|
|
383
|
+
];
|
|
384
|
+
let score = 0;
|
|
385
|
+
if (password.length >= 10) score++;
|
|
386
|
+
if (password.length >= 14) score++;
|
|
387
|
+
if (/[a-z]/.test(password) && /[A-Z]/.test(password)) score++;
|
|
388
|
+
if (/\d/.test(password) && /[\W_]/.test(password)) score++;
|
|
389
|
+
if (!rules.every((r) => r.ok)) score = Math.min(score, 1);
|
|
390
|
+
return { rules, score, valid: rules.every((r) => r.ok) };
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/** A meter of how strong a new password is, and its rules ticked off as they're met. */
|
|
394
|
+
export function PasswordStrength(props: { password: string; email?: string; id?: string }) {
|
|
395
|
+
const t = useAuthLabels();
|
|
396
|
+
|
|
397
|
+
const check = createMemo(() => passwordCheck(props.password, props.email));
|
|
398
|
+
// Red only while a rule is unmet; a valid but short password is amber.
|
|
399
|
+
const tone = () => (!check().valid ? "danger" : check().score <= 2 ? "warning" : "success");
|
|
400
|
+
return (
|
|
401
|
+
<div class={styles.strength} id={props.id}>
|
|
402
|
+
<Meter
|
|
403
|
+
value={check().score}
|
|
404
|
+
min={0}
|
|
405
|
+
max={4}
|
|
406
|
+
tone={tone()}
|
|
407
|
+
size="sm"
|
|
408
|
+
getValueLabel={() => t.strengthWords[check().score]!}
|
|
409
|
+
>
|
|
410
|
+
<MeterLabel class={styles.strengthLabel}>{t.strength}</MeterLabel>
|
|
411
|
+
<MeterValue>{t.strengthWords[check().score]}</MeterValue>
|
|
412
|
+
<MeterTrack />
|
|
413
|
+
</Meter>
|
|
414
|
+
<ul class={styles.rules}>
|
|
415
|
+
<For each={check().rules} keyed={(rule) => rule.label}>
|
|
416
|
+
{(rule) => (
|
|
417
|
+
<li class={styles.rule} data-ok={rule().ok ? "" : undefined}>
|
|
418
|
+
<Icon icon={rule().ok ? Check : Minus} class={styles.ruleIcon} />
|
|
419
|
+
{rule().label}
|
|
420
|
+
<VisuallyHidden>{rule().ok ? t.ruleMet : t.notYet}</VisuallyHidden>
|
|
421
|
+
</li>
|
|
422
|
+
)}
|
|
423
|
+
</For>
|
|
424
|
+
</ul>
|
|
425
|
+
</div>
|
|
426
|
+
);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/** Seconds left before `until` (a timestamp), counting down once a second in the browser. */
|
|
430
|
+
export function createCountdown(initial: number) {
|
|
431
|
+
const [until, setUntil] = createSignal(0);
|
|
432
|
+
const [now, setNow] = createSignal(0);
|
|
433
|
+
onSettled(() => {
|
|
434
|
+
if (isServer) return;
|
|
435
|
+
setUntil(Date.now() + initial * 1000);
|
|
436
|
+
setNow(Date.now());
|
|
437
|
+
const timer = setInterval(() => setNow(Date.now()), 1000);
|
|
438
|
+
return () => clearInterval(timer);
|
|
439
|
+
});
|
|
440
|
+
return {
|
|
441
|
+
left: () => Math.max(0, Math.ceil((until() - now()) / 1000)),
|
|
442
|
+
restart: (seconds: number) => {
|
|
443
|
+
setUntil(Date.now() + seconds * 1000);
|
|
444
|
+
setNow(Date.now());
|
|
445
|
+
},
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
const clock = (seconds: number) => `${Math.floor(seconds / 60)}:${String(seconds % 60).padStart(2, "0")}`;
|
|
450
|
+
|
|
451
|
+
/**
|
|
452
|
+
* "Resend code", disabled with "Resend in 0:28" until the server's timer runs out. `resendIn` is what the
|
|
453
|
+
* first send returned; each press sends again and restarts it.
|
|
454
|
+
*/
|
|
455
|
+
export function ResendButton(props: { resendIn: number; onResend: () => Promise<Sent>; label?: string }) {
|
|
456
|
+
const t = useAuthLabels();
|
|
457
|
+
|
|
458
|
+
// The first send's timer, read once: later sends restart the countdown from their own answer.
|
|
459
|
+
const countdown = createCountdown(untrack(() => props.resendIn));
|
|
460
|
+
const [error, setError] = createSignal<string>();
|
|
461
|
+
const resend = async () => {
|
|
462
|
+
setError(undefined);
|
|
463
|
+
try {
|
|
464
|
+
const sent = await props.onResend();
|
|
465
|
+
countdown.restart(sent.resendIn);
|
|
466
|
+
} catch (caught) {
|
|
467
|
+
setError(caught instanceof Error ? caught.message : t.couldntSendTryAgain);
|
|
468
|
+
}
|
|
469
|
+
};
|
|
470
|
+
return (
|
|
471
|
+
<span class={styles.resend}>
|
|
472
|
+
<Button variant="ghost" size="sm" disabled={countdown.left() > 0} onClick={resend}>
|
|
473
|
+
{/* One run of text: a flex button would put a gap before the time. */}
|
|
474
|
+
<span class={styles.resendTimer}>
|
|
475
|
+
{countdown.left() > 0
|
|
476
|
+
? t.resendIn(props.label ?? t.resendCode, clock(countdown.left()))
|
|
477
|
+
: (props.label ?? t.resendCode)}
|
|
478
|
+
</span>
|
|
479
|
+
</Button>
|
|
480
|
+
<Show when={error()}>
|
|
481
|
+
<Text size="sm" class={styles.inlineError} role="alert">
|
|
482
|
+
{error()}
|
|
483
|
+
</Text>
|
|
484
|
+
</Show>
|
|
485
|
+
</span>
|
|
486
|
+
);
|
|
487
|
+
}
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
```tsx title="sign-in.tsx"
|
|
491
|
+
/**
|
|
492
|
+
* Sign in — part of the auth blocks for @zsherman/kit: one screen with every way in. A password (errors
|
|
493
|
+
* on the field, tries left, a locked account and a rate limit above the form), providers, a passkey (the
|
|
494
|
+
* browser's prompt; cancelled and unknown passkeys say so), a magic link (sent, resend after the server's
|
|
495
|
+
* timer, a code instead), and single sign-on (found from the work email's domain, or picked from a list).
|
|
496
|
+
* An email on a company's domain is sent to its single sign-on.
|
|
497
|
+
*/
|
|
498
|
+
import { Button } from "@zsherman/kit/button";
|
|
499
|
+
import { Checkbox } from "@zsherman/kit/checkbox";
|
|
500
|
+
import { Field, FieldError, FieldLabel, Input } from "@zsherman/kit/field";
|
|
501
|
+
import { Form, type FormSubmitResult, type FormValues } from "@zsherman/kit/form";
|
|
502
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
503
|
+
import { Label } from "@zsherman/kit/label";
|
|
504
|
+
import { Link } from "@zsherman/kit/link";
|
|
505
|
+
import { PasswordInput, PasswordInputControl, PasswordInputToggle } from "@zsherman/kit/password-input";
|
|
506
|
+
import { Text } from "@zsherman/kit/text";
|
|
507
|
+
import { ArrowLeft, Building2, Fingerprint, Mail, MailCheck } from "@zsherman/kit/icons";
|
|
508
|
+
import { createSignal, For, Match, Show, Switch, untrack } from "solid-js";
|
|
509
|
+
import {
|
|
510
|
+
AuthCard,
|
|
511
|
+
createCountdown,
|
|
512
|
+
Divider,
|
|
513
|
+
type Featured,
|
|
514
|
+
FormAlert,
|
|
515
|
+
isFeatured,
|
|
516
|
+
Monogram,
|
|
517
|
+
MoreOptions,
|
|
518
|
+
ProviderMark,
|
|
519
|
+
ProviderButtons,
|
|
520
|
+
ResendButton,
|
|
521
|
+
refusal,
|
|
522
|
+
text,
|
|
523
|
+
} from "./auth-parts";
|
|
524
|
+
import { useCenteredVariant } from "../page-layouts/page-layouts";
|
|
525
|
+
import styles from "./auth.module.css";
|
|
526
|
+
import { browserPasskeyPrompt } from "./passkey";
|
|
527
|
+
import {
|
|
528
|
+
AuthError,
|
|
529
|
+
type AuthApi,
|
|
530
|
+
type PasskeyPrompt,
|
|
531
|
+
type Provider,
|
|
532
|
+
type Sent,
|
|
533
|
+
type Session,
|
|
534
|
+
type SsoConnection,
|
|
535
|
+
} from "./types";
|
|
536
|
+
import { VerifyCode } from "./verify-code";
|
|
537
|
+
import { type AuthLabels, AuthLabelsProvider, useAuthLabels } from "./labels";
|
|
538
|
+
|
|
539
|
+
export type SignInView = "password" | "passkey" | "magic-link" | "code" | "sso";
|
|
540
|
+
|
|
541
|
+
export interface SignInProps {
|
|
542
|
+
/** The block's words (any subset of `authLabels` in `labels.tsx`), for a translation. */
|
|
543
|
+
labels?: Partial<AuthLabels>;
|
|
544
|
+
api: AuthApi;
|
|
545
|
+
/** Called once someone is in. */
|
|
546
|
+
onSignedIn: (session: Session) => void;
|
|
547
|
+
/** The product's name in the heading. @defaultValue "your account" */
|
|
548
|
+
product?: string;
|
|
549
|
+
/** Where it starts: a password, a passkey first, a magic link, or single sign-on. @defaultValue "password" */
|
|
550
|
+
defaultView?: SignInView;
|
|
551
|
+
/** The browser's passkey prompt. @defaultValue browserPasskeyPrompt */
|
|
552
|
+
prompt?: PasskeyPrompt;
|
|
553
|
+
/**
|
|
554
|
+
* The password view's heading. `null` keeps it for screen readers only, for a cleaner card under a brand
|
|
555
|
+
* (`AuthBrand`). @defaultValue "Sign in to {product}"
|
|
556
|
+
*/
|
|
557
|
+
title?: string | null;
|
|
558
|
+
/** Offer "Keep me signed in on this device"; without it, sign-in sends `remember: true`. @defaultValue false */
|
|
559
|
+
remember?: boolean;
|
|
560
|
+
/** "Don't have an account? Create one". Without it, the footer doesn't offer one. */
|
|
561
|
+
onSignUp?: () => void;
|
|
562
|
+
/** "Forgot password?", with the email typed so far. */
|
|
563
|
+
onForgot?: (email: string) => void;
|
|
564
|
+
/** Identity providers for the single sign-on list (the company's own is found from the email). */
|
|
565
|
+
ssoProviders?: readonly Provider[];
|
|
566
|
+
/**
|
|
567
|
+
* The other ways in shown up front, under the form: `"passkey"`, `"magic-link"`, `"sso"` and providers'
|
|
568
|
+
* ids. The rest wait behind "More options". `"all"` shows every one. @defaultValue ["passkey", "google"]
|
|
569
|
+
*/
|
|
570
|
+
featured?: Featured;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/** Problems above the form: a title, words and what to do. */
|
|
574
|
+
type Problem = {
|
|
575
|
+
title: string;
|
|
576
|
+
body?: string;
|
|
577
|
+
retry?: boolean;
|
|
578
|
+
reset?: boolean;
|
|
579
|
+
wait?: number;
|
|
580
|
+
/** A passkey sign-in failed: Try again asks for the passkey again (on any view). */
|
|
581
|
+
passkey?: boolean;
|
|
582
|
+
};
|
|
583
|
+
|
|
584
|
+
/** SignIn, with its words from `labels` over the English in `labels.tsx`. */
|
|
585
|
+
export function SignIn(props: SignInProps) {
|
|
586
|
+
return (
|
|
587
|
+
<AuthLabelsProvider labels={props.labels}>
|
|
588
|
+
<SignInBody {...props} />
|
|
589
|
+
</AuthLabelsProvider>
|
|
590
|
+
);
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
function SignInBody(props: SignInProps) {
|
|
594
|
+
const t = useAuthLabels();
|
|
595
|
+
const layout = useCenteredVariant();
|
|
596
|
+
|
|
597
|
+
const [view, setView] = createSignal<SignInView>(untrack(() => props.defaultView ?? "password"));
|
|
598
|
+
const [email, setEmail] = createSignal("");
|
|
599
|
+
const [problem, setProblem] = createSignal<Problem>();
|
|
600
|
+
const [sso, setSso] = createSignal<SsoConnection | null>(null);
|
|
601
|
+
const [sent, setSent] = createSignal<Sent>();
|
|
602
|
+
const [codeSent, setCodeSent] = createSignal<Sent>();
|
|
603
|
+
const [passkeyWaiting, setPasskeyWaiting] = createSignal(false);
|
|
604
|
+
const product = () => props.product ?? t.yourAccount;
|
|
605
|
+
const go = (next: SignInView) => {
|
|
606
|
+
setProblem(undefined);
|
|
607
|
+
setView(next);
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
// ---- password ------------------------------------------------------------------------------
|
|
611
|
+
const signIn = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
612
|
+
setProblem(undefined);
|
|
613
|
+
setEmail(text(values.email));
|
|
614
|
+
try {
|
|
615
|
+
props.onSignedIn(
|
|
616
|
+
await props.api.signIn({
|
|
617
|
+
email: text(values.email),
|
|
618
|
+
password: typeof values.password === "string" ? values.password : "",
|
|
619
|
+
remember: props.remember ? values.remember === "on" : true,
|
|
620
|
+
}),
|
|
621
|
+
);
|
|
622
|
+
} catch (caught) {
|
|
623
|
+
if (caught instanceof AuthError && caught.code === "sso_required" && caught.details.sso) {
|
|
624
|
+
setSso(caught.details.sso);
|
|
625
|
+
go("sso");
|
|
626
|
+
return;
|
|
627
|
+
}
|
|
628
|
+
if (caught instanceof AuthError && (caught.code === "locked" || caught.code === "rate_limited")) {
|
|
629
|
+
setProblem({
|
|
630
|
+
title: caught.code === "locked" ? t.signInIsLocked : t.tooManyTries,
|
|
631
|
+
body: caught.message,
|
|
632
|
+
reset: true,
|
|
633
|
+
wait: caught.details.retryAfter,
|
|
634
|
+
});
|
|
635
|
+
return;
|
|
636
|
+
}
|
|
637
|
+
return refusal(
|
|
638
|
+
caught,
|
|
639
|
+
(message) => setProblem({ title: t.couldntSignYouIn, body: message, retry: true }),
|
|
640
|
+
t,
|
|
641
|
+
);
|
|
642
|
+
}
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
// ---- providers and single sign-on ----------------------------------------------------------
|
|
646
|
+
const continueWith = async (id: string) => {
|
|
647
|
+
setProblem(undefined);
|
|
648
|
+
try {
|
|
649
|
+
props.onSignedIn(await props.api.continueWith(id));
|
|
650
|
+
} catch (caught) {
|
|
651
|
+
setProblem({ title: t.couldntSignYouIn, body: (caught as Error).message, retry: true });
|
|
652
|
+
}
|
|
653
|
+
};
|
|
654
|
+
const findSso = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
655
|
+
setProblem(undefined);
|
|
656
|
+
setEmail(text(values.email));
|
|
657
|
+
const found = await props.api.findSso(text(values.email));
|
|
658
|
+
setSso(found);
|
|
659
|
+
if (!found)
|
|
660
|
+
return {
|
|
661
|
+
errors: { email: t.noSso },
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
// ---- passkey ---------------------------------------------------------------------------------
|
|
666
|
+
const passkey = async () => {
|
|
667
|
+
setProblem(undefined);
|
|
668
|
+
setPasskeyWaiting(true);
|
|
669
|
+
try {
|
|
670
|
+
const request = await props.api.passkeyRequest();
|
|
671
|
+
const assertion = await (props.prompt ?? browserPasskeyPrompt)(request);
|
|
672
|
+
props.onSignedIn(await props.api.signInWithPasskey(assertion));
|
|
673
|
+
} catch (caught) {
|
|
674
|
+
const code = caught instanceof AuthError ? caught.code : undefined;
|
|
675
|
+
setProblem({
|
|
676
|
+
title: code === "passkey_cancelled" ? t.passkeySignInWasCancelled2 : t.couldntSignInWithA,
|
|
677
|
+
passkey: true,
|
|
678
|
+
body: code === "passkey_cancelled" ? t.tryAgainOrSignIn : (caught as Error).message,
|
|
679
|
+
retry: true,
|
|
680
|
+
});
|
|
681
|
+
} finally {
|
|
682
|
+
setPasskeyWaiting(false);
|
|
683
|
+
}
|
|
684
|
+
};
|
|
685
|
+
|
|
686
|
+
// ---- magic link and code -------------------------------------------------------------------
|
|
687
|
+
const sendLink = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
688
|
+
setProblem(undefined);
|
|
689
|
+
setEmail(text(values.email));
|
|
690
|
+
try {
|
|
691
|
+
setSent(await props.api.sendMagicLink(text(values.email)));
|
|
692
|
+
} catch (caught) {
|
|
693
|
+
return refusal(caught, (message) => setProblem({ title: t.couldntSendTheLink, body: message }), t);
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
const useCode = async () => {
|
|
697
|
+
const t = useAuthLabels();
|
|
698
|
+
|
|
699
|
+
try {
|
|
700
|
+
setCodeSent(await props.api.sendCode(email(), "sign-in"));
|
|
701
|
+
go("code");
|
|
702
|
+
} catch (caught) {
|
|
703
|
+
setProblem({ title: t.couldntSendACode, body: (caught as Error).message });
|
|
704
|
+
}
|
|
705
|
+
};
|
|
706
|
+
|
|
707
|
+
// The other ways in, in order, the first few up front and the rest behind "More options". A way that is
|
|
708
|
+
// the open view isn't offered again.
|
|
709
|
+
const featured = () => props.featured ?? ["passkey", "google"];
|
|
710
|
+
const ways = (up: boolean) => {
|
|
711
|
+
const shown = (key: string) => isFeatured(featured(), key) === up;
|
|
712
|
+
return (
|
|
713
|
+
<>
|
|
714
|
+
<Show when={view() !== "magic-link" && shown("magic-link")}>
|
|
715
|
+
<Button onClick={() => go("magic-link")} class={styles.wide}>
|
|
716
|
+
<Icon icon={Mail} />
|
|
717
|
+
{t.emailMeASignIn}
|
|
718
|
+
</Button>
|
|
719
|
+
</Show>
|
|
720
|
+
<Show when={view() !== "passkey" && shown("passkey")}>
|
|
721
|
+
<Button onClick={passkey} class={styles.wide}>
|
|
722
|
+
<Icon icon={Fingerprint} />
|
|
723
|
+
{t.signInWithAPasskey}
|
|
724
|
+
</Button>
|
|
725
|
+
</Show>
|
|
726
|
+
<ProviderButtons
|
|
727
|
+
providers={props.api.providers.filter((p) => shown(p.id))}
|
|
728
|
+
onContinue={(p) => continueWith(p.id)}
|
|
729
|
+
/>
|
|
730
|
+
<Show when={view() !== "sso" && shown("sso")}>
|
|
731
|
+
<Button onClick={() => go("sso")} class={styles.wide}>
|
|
732
|
+
<Icon icon={Building2} />
|
|
733
|
+
{t.useSingleSignOn}
|
|
734
|
+
</Button>
|
|
735
|
+
</Show>
|
|
736
|
+
</>
|
|
737
|
+
);
|
|
738
|
+
};
|
|
739
|
+
const hasRest = () => {
|
|
740
|
+
const keys = ["magic-link", "passkey", "sso", ...props.api.providers.map((p) => p.id)];
|
|
741
|
+
return keys.some((key) => key !== view() && !isFeatured(featured(), key));
|
|
742
|
+
};
|
|
743
|
+
const other = () => <MoreOptions featured={ways(true)} rest={ways(false)} hasRest={hasRest()} />;
|
|
744
|
+
const footer = () =>
|
|
745
|
+
props.onSignUp ? (
|
|
746
|
+
<>
|
|
747
|
+
{t.dontHaveAnAccount}{" "}
|
|
748
|
+
<Link
|
|
749
|
+
href="?screen=sign-up"
|
|
750
|
+
class={styles.textAction}
|
|
751
|
+
onClick={(event: MouseEvent) => {
|
|
752
|
+
event.preventDefault();
|
|
753
|
+
props.onSignUp?.();
|
|
754
|
+
}}
|
|
755
|
+
>
|
|
756
|
+
{t.createOne}
|
|
757
|
+
</Link>
|
|
758
|
+
</>
|
|
759
|
+
) : undefined;
|
|
760
|
+
const problemAlert = () => (
|
|
761
|
+
<Show when={problem()}>
|
|
762
|
+
{(p) => (
|
|
763
|
+
<ProblemAlert
|
|
764
|
+
problem={p()}
|
|
765
|
+
onRetry={view() === "passkey" || p().passkey ? passkey : undefined}
|
|
766
|
+
onReset={() => props.onForgot?.(email())}
|
|
767
|
+
/>
|
|
768
|
+
)}
|
|
769
|
+
</Show>
|
|
770
|
+
);
|
|
771
|
+
const back = (label = t.backToSignIn) => (
|
|
772
|
+
<Button
|
|
773
|
+
variant="ghost"
|
|
774
|
+
size="sm"
|
|
775
|
+
class={styles.back}
|
|
776
|
+
onClick={() => go(untrack(() => props.defaultView) === "passkey" ? "passkey" : "password")}
|
|
777
|
+
>
|
|
778
|
+
<Icon icon={ArrowLeft} flipInRtl />
|
|
779
|
+
{label}
|
|
780
|
+
</Button>
|
|
781
|
+
);
|
|
782
|
+
|
|
783
|
+
return (
|
|
784
|
+
<Switch>
|
|
785
|
+
<Match when={view() === "password"}>
|
|
786
|
+
<AuthCard
|
|
787
|
+
title={props.title ?? t.signInToProduct(product())}
|
|
788
|
+
hideTitle={props.title === null}
|
|
789
|
+
caption={t.signIn}
|
|
790
|
+
// A frame's caption and logo say it all: no greeting under them.
|
|
791
|
+
description={layout() === "frame" ? undefined : t.welcomeBack}
|
|
792
|
+
footer={footer()}
|
|
793
|
+
>
|
|
794
|
+
{problemAlert()}
|
|
795
|
+
<Form aria-label={t.signIn} onFormSubmit={signIn} class={styles.form}>
|
|
796
|
+
<Field name="email">
|
|
797
|
+
<FieldLabel>{t.email}</FieldLabel>
|
|
798
|
+
<Input
|
|
799
|
+
type="email"
|
|
800
|
+
autocomplete="email"
|
|
801
|
+
required
|
|
802
|
+
placeholder={t.emailPlaceholder}
|
|
803
|
+
defaultValue={email()}
|
|
804
|
+
/>
|
|
805
|
+
<FieldError match="valueMissing">{t.enterYourEmail}</FieldError>
|
|
806
|
+
<FieldError match="typeMismatch">{t.enterAnEmailLikeName}</FieldError>
|
|
807
|
+
<FieldError match="customError" />
|
|
808
|
+
</Field>
|
|
809
|
+
<Field name="password">
|
|
810
|
+
{/* "Forgot password?" follows the input in the source, so Tab goes from the email straight to the
|
|
811
|
+
password (then the link); the grid shows it beside the label. */}
|
|
812
|
+
<div class={styles.passwordGrid}>
|
|
813
|
+
<FieldLabel>{t.password}</FieldLabel>
|
|
814
|
+
<PasswordInput autoComplete="current-password" required>
|
|
815
|
+
<PasswordInputControl placeholder={t.yourPassword} />
|
|
816
|
+
<PasswordInputToggle />
|
|
817
|
+
</PasswordInput>
|
|
818
|
+
<Show when={props.onForgot}>
|
|
819
|
+
{(onForgot) => (
|
|
820
|
+
<Link
|
|
821
|
+
href="?screen=forgot"
|
|
822
|
+
class={styles.forgot}
|
|
823
|
+
onClick={(event: MouseEvent) => {
|
|
824
|
+
event.preventDefault();
|
|
825
|
+
const input = (event.currentTarget as HTMLElement)
|
|
826
|
+
.closest("form")
|
|
827
|
+
?.querySelector<HTMLInputElement>("input[type=email]");
|
|
828
|
+
onForgot()?.(input?.value ?? email());
|
|
829
|
+
}}
|
|
830
|
+
>
|
|
831
|
+
{t.forgotPassword}
|
|
832
|
+
</Link>
|
|
833
|
+
)}
|
|
834
|
+
</Show>
|
|
835
|
+
</div>
|
|
836
|
+
<FieldError match="valueMissing">{t.enterYourPassword}</FieldError>
|
|
837
|
+
<FieldError match="customError" />
|
|
838
|
+
</Field>
|
|
839
|
+
<Show when={props.remember}>
|
|
840
|
+
<Label class={styles.check}>
|
|
841
|
+
<Checkbox name="remember" defaultChecked />
|
|
842
|
+
{t.keepMeSignedInOn}
|
|
843
|
+
</Label>
|
|
844
|
+
</Show>
|
|
845
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
846
|
+
{t.signIn}
|
|
847
|
+
</Button>
|
|
848
|
+
</Form>
|
|
849
|
+
<Divider />
|
|
850
|
+
{other()}
|
|
851
|
+
</AuthCard>
|
|
852
|
+
</Match>
|
|
853
|
+
|
|
854
|
+
<Match when={view() === "passkey"}>
|
|
855
|
+
<AuthCard
|
|
856
|
+
title={t.signInToProduct(product())}
|
|
857
|
+
caption={t.signIn}
|
|
858
|
+
description={t.useThePasskeyOnThis}
|
|
859
|
+
footer={footer()}
|
|
860
|
+
>
|
|
861
|
+
{problemAlert()}
|
|
862
|
+
<Button variant="primary" size="lg" class={styles.wide} onClick={passkey}>
|
|
863
|
+
<Icon icon={Fingerprint} />
|
|
864
|
+
{passkeyWaiting() ? t.waitingForYourPasskey : t.signInWithAPasskey}
|
|
865
|
+
</Button>
|
|
866
|
+
<Divider />
|
|
867
|
+
<ProviderButtons providers={props.api.providers} onContinue={(p) => continueWith(p.id)} />
|
|
868
|
+
<Button class={styles.wide} onClick={() => go("password")}>
|
|
869
|
+
{t.signInWithEmailAnd}
|
|
870
|
+
</Button>
|
|
871
|
+
<Button class={styles.wide} onClick={() => go("magic-link")}>
|
|
872
|
+
{t.emailMeASignIn}
|
|
873
|
+
</Button>
|
|
874
|
+
</AuthCard>
|
|
875
|
+
</Match>
|
|
876
|
+
|
|
877
|
+
<Match when={view() === "magic-link"}>
|
|
878
|
+
<Show
|
|
879
|
+
when={sent()}
|
|
880
|
+
fallback={
|
|
881
|
+
<AuthCard title={t.signInWithALink} description={t.wellEmailYouALink} footer={footer()}>
|
|
882
|
+
{problemAlert()}
|
|
883
|
+
<Form aria-label={t.emailMeASignIn} onFormSubmit={sendLink} class={styles.form}>
|
|
884
|
+
<Field name="email">
|
|
885
|
+
<FieldLabel>{t.workEmail}</FieldLabel>
|
|
886
|
+
<Input type="email" autocomplete="email" required defaultValue={email()} />
|
|
887
|
+
<FieldError match="valueMissing">{t.enterYourEmail}</FieldError>
|
|
888
|
+
<FieldError match="typeMismatch">{t.enterAnEmailLikeName}</FieldError>
|
|
889
|
+
<FieldError match="customError" />
|
|
890
|
+
</Field>
|
|
891
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
892
|
+
{t.emailMeALink}
|
|
893
|
+
</Button>
|
|
894
|
+
</Form>
|
|
895
|
+
<Divider />
|
|
896
|
+
{other()}
|
|
897
|
+
{back()}
|
|
898
|
+
</AuthCard>
|
|
899
|
+
}
|
|
900
|
+
>
|
|
901
|
+
{(s) => (
|
|
902
|
+
<AuthCard
|
|
903
|
+
title={t.checkYourEmail}
|
|
904
|
+
description={
|
|
905
|
+
<>
|
|
906
|
+
{t.weSentASignIn} <strong>{email()}</strong>.
|
|
907
|
+
</>
|
|
908
|
+
}
|
|
909
|
+
>
|
|
910
|
+
<div class={styles.sent} role="status">
|
|
911
|
+
<span class={styles.sentIcon} aria-hidden="true">
|
|
912
|
+
<Icon icon={MailCheck} />
|
|
913
|
+
</span>
|
|
914
|
+
<Text size="sm" tone="muted">
|
|
915
|
+
{t.theLinkSignsYouIn}
|
|
916
|
+
</Text>
|
|
917
|
+
</div>
|
|
918
|
+
<ResendButton
|
|
919
|
+
resendIn={s().resendIn}
|
|
920
|
+
label={t.resendTheLink}
|
|
921
|
+
onResend={() => props.api.sendMagicLink(email())}
|
|
922
|
+
/>
|
|
923
|
+
<Divider />
|
|
924
|
+
<Button class={styles.wide} onClick={useCode}>
|
|
925
|
+
{t.enterACodeInstead}
|
|
926
|
+
</Button>
|
|
927
|
+
<Button variant="ghost" class={styles.wide} onClick={() => setSent(undefined)}>
|
|
928
|
+
{t.useADifferentEmail}
|
|
929
|
+
</Button>
|
|
930
|
+
</AuthCard>
|
|
931
|
+
)}
|
|
932
|
+
</Show>
|
|
933
|
+
</Match>
|
|
934
|
+
|
|
935
|
+
<Match when={view() === "code"}>
|
|
936
|
+
<VerifyCode
|
|
937
|
+
api={props.api}
|
|
938
|
+
email={email()}
|
|
939
|
+
purpose="sign-in"
|
|
940
|
+
resendIn={codeSent()?.resendIn ?? 30}
|
|
941
|
+
onVerified={props.onSignedIn}
|
|
942
|
+
onChangeEmail={() => {
|
|
943
|
+
setSent(undefined);
|
|
944
|
+
go("magic-link");
|
|
945
|
+
}}
|
|
946
|
+
/>
|
|
947
|
+
</Match>
|
|
948
|
+
|
|
949
|
+
<Match when={view() === "sso"}>
|
|
950
|
+
<AuthCard title={t.singleSignOn} description={t.signInWithYourCompanys} footer={footer()}>
|
|
951
|
+
{problemAlert()}
|
|
952
|
+
<Show
|
|
953
|
+
when={sso()}
|
|
954
|
+
fallback={
|
|
955
|
+
<>
|
|
956
|
+
<Form aria-label={t.findYourCompanysSingleSign} onFormSubmit={findSso} class={styles.form}>
|
|
957
|
+
<Field name="email">
|
|
958
|
+
<FieldLabel>{t.workEmail}</FieldLabel>
|
|
959
|
+
<Input type="email" autocomplete="email" required defaultValue={email()} />
|
|
960
|
+
<FieldError match="valueMissing">{t.enterYourWorkEmail}</FieldError>
|
|
961
|
+
<FieldError match="typeMismatch">{t.enterAnEmailLikeName}</FieldError>
|
|
962
|
+
<FieldError match="customError" />
|
|
963
|
+
</Field>
|
|
964
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
965
|
+
{t.continue}
|
|
966
|
+
</Button>
|
|
967
|
+
</Form>
|
|
968
|
+
<Show when={props.ssoProviders?.length}>
|
|
969
|
+
<Divider>{t.orChooseYourProvider}</Divider>
|
|
970
|
+
<ul class={styles.idpList} aria-label={t.identityProviders}>
|
|
971
|
+
<For each={props.ssoProviders}>
|
|
972
|
+
{(idp) => (
|
|
973
|
+
<li>
|
|
974
|
+
<Button class={styles.idp} onClick={() => continueWith(idp.id)}>
|
|
975
|
+
<ProviderMark provider={idp} />
|
|
976
|
+
{idp.name}
|
|
977
|
+
</Button>
|
|
978
|
+
</li>
|
|
979
|
+
)}
|
|
980
|
+
</For>
|
|
981
|
+
</ul>
|
|
982
|
+
</Show>
|
|
983
|
+
</>
|
|
984
|
+
}
|
|
985
|
+
>
|
|
986
|
+
{(connection) => (
|
|
987
|
+
<div class={styles.ssoFound}>
|
|
988
|
+
<div class={styles.ssoOrg}>
|
|
989
|
+
<Monogram name={connection().organization} />
|
|
990
|
+
<span>
|
|
991
|
+
<Text
|
|
992
|
+
size="sm"
|
|
993
|
+
render={(p) => <span {...p} class={[p.class as string, styles.strong]} />}
|
|
994
|
+
>
|
|
995
|
+
{connection().organization}
|
|
996
|
+
</Text>
|
|
997
|
+
<Text size="xs" tone="muted" render={(p) => <span {...p} style={{ display: "block" }} />}>
|
|
998
|
+
{t.ssoDomain(connection().domain, connection().provider)}
|
|
999
|
+
</Text>
|
|
1000
|
+
</span>
|
|
1001
|
+
</div>
|
|
1002
|
+
<Button variant="primary" class={styles.wide} onClick={() => continueWith(connection().id)}>
|
|
1003
|
+
{t.continueWithProvider(connection().provider)}
|
|
1004
|
+
</Button>
|
|
1005
|
+
<Button variant="ghost" size="sm" class={styles.back} onClick={() => setSso(null)}>
|
|
1006
|
+
{t.useADifferentEmail}
|
|
1007
|
+
</Button>
|
|
1008
|
+
</div>
|
|
1009
|
+
)}
|
|
1010
|
+
</Show>
|
|
1011
|
+
{back()}
|
|
1012
|
+
</AuthCard>
|
|
1013
|
+
</Match>
|
|
1014
|
+
</Switch>
|
|
1015
|
+
);
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
function ProblemAlert(props: { problem: Problem; onRetry?: () => void; onReset?: () => void }) {
|
|
1019
|
+
const t = useAuthLabels();
|
|
1020
|
+
|
|
1021
|
+
const countdown = createCountdown(untrack(() => props.problem.wait ?? 0));
|
|
1022
|
+
const clock = (s: number) => `${Math.floor(s / 60)}:${String(s % 60).padStart(2, "0")}`;
|
|
1023
|
+
return (
|
|
1024
|
+
<FormAlert
|
|
1025
|
+
title={props.problem.title}
|
|
1026
|
+
actions={
|
|
1027
|
+
<>
|
|
1028
|
+
<Show when={props.problem.retry && props.onRetry}>
|
|
1029
|
+
<Button size="sm" onClick={() => props.onRetry?.()}>
|
|
1030
|
+
{t.tryAgain}
|
|
1031
|
+
</Button>
|
|
1032
|
+
</Show>
|
|
1033
|
+
<Show when={props.problem.reset}>
|
|
1034
|
+
<Button size="sm" onClick={() => props.onReset?.()}>
|
|
1035
|
+
{t.resetPassword}
|
|
1036
|
+
</Button>
|
|
1037
|
+
</Show>
|
|
1038
|
+
</>
|
|
1039
|
+
}
|
|
1040
|
+
>
|
|
1041
|
+
{props.problem.body}
|
|
1042
|
+
<Show when={props.problem.wait && countdown.left() > 0}>
|
|
1043
|
+
{" "}
|
|
1044
|
+
<span class={styles.nowrap}>
|
|
1045
|
+
{t.tryAgainIn} {clock(countdown.left())}.
|
|
1046
|
+
</span>
|
|
1047
|
+
</Show>
|
|
1048
|
+
</FormAlert>
|
|
1049
|
+
);
|
|
1050
|
+
}
|
|
1051
|
+
```
|
|
1052
|
+
|
|
1053
|
+
```tsx title="sign-up.tsx"
|
|
1054
|
+
/**
|
|
1055
|
+
* Sign up — part of the auth blocks for @zsherman/kit: providers, then a name, a work email and a new
|
|
1056
|
+
* password with its strength and rules shown as people type; terms to accept. A taken email offers to sign
|
|
1057
|
+
* in instead; then the email is verified with a code (`VerifyCode`).
|
|
1058
|
+
*/
|
|
1059
|
+
import { Button } from "@zsherman/kit/button";
|
|
1060
|
+
import { Checkbox } from "@zsherman/kit/checkbox";
|
|
1061
|
+
import { Field, FieldError, FieldLabel, Input } from "@zsherman/kit/field";
|
|
1062
|
+
import { Form, type FormSubmitResult, type FormValues } from "@zsherman/kit/form";
|
|
1063
|
+
import { Label } from "@zsherman/kit/label";
|
|
1064
|
+
import { Link } from "@zsherman/kit/link";
|
|
1065
|
+
import { PasswordInput } from "@zsherman/kit/password-input";
|
|
1066
|
+
import { createSignal, createUniqueId, Show } from "solid-js";
|
|
1067
|
+
import {
|
|
1068
|
+
AuthCard,
|
|
1069
|
+
Divider,
|
|
1070
|
+
type Featured,
|
|
1071
|
+
FormAlert,
|
|
1072
|
+
isFeatured,
|
|
1073
|
+
MoreOptions,
|
|
1074
|
+
passwordCheck,
|
|
1075
|
+
PasswordStrength,
|
|
1076
|
+
ProviderButtons,
|
|
1077
|
+
refusal,
|
|
1078
|
+
text,
|
|
1079
|
+
} from "./auth-parts";
|
|
1080
|
+
import styles from "./auth.module.css";
|
|
1081
|
+
import { AuthError, type AuthApi, type Sent, type Session } from "./types";
|
|
1082
|
+
import { VerifyCode } from "./verify-code";
|
|
1083
|
+
import { type AuthLabels, AuthLabelsProvider, useAuthLabels } from "./labels";
|
|
1084
|
+
|
|
1085
|
+
export interface SignUpProps {
|
|
1086
|
+
/** The block's words (any subset of `authLabels` in `labels.tsx`), for a translation. */
|
|
1087
|
+
labels?: Partial<AuthLabels>;
|
|
1088
|
+
api: AuthApi;
|
|
1089
|
+
onSignedIn: (session: Session) => void;
|
|
1090
|
+
/** "Sign in" (also offered when the email is taken). */
|
|
1091
|
+
onSignIn?: () => void;
|
|
1092
|
+
/** The product's name in the heading. */
|
|
1093
|
+
product?: string;
|
|
1094
|
+
/** Links in the terms line. */
|
|
1095
|
+
termsHref?: string;
|
|
1096
|
+
privacyHref?: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* The providers shown up front, by id; the rest wait behind "More options". `"all"` shows every one.
|
|
1099
|
+
* @defaultValue ["google"]
|
|
1100
|
+
*/
|
|
1101
|
+
featured?: Featured;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/** SignUp, with its words from `labels` over the English in `labels.tsx`. */
|
|
1105
|
+
export function SignUp(props: SignUpProps) {
|
|
1106
|
+
return (
|
|
1107
|
+
<AuthLabelsProvider labels={props.labels}>
|
|
1108
|
+
<SignUpBody {...props} />
|
|
1109
|
+
</AuthLabelsProvider>
|
|
1110
|
+
);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
function SignUpBody(props: SignUpProps) {
|
|
1114
|
+
const t = useAuthLabels();
|
|
1115
|
+
const featured = () => props.featured ?? ["google"];
|
|
1116
|
+
|
|
1117
|
+
const [password, setPassword] = createSignal("");
|
|
1118
|
+
const [email, setEmail] = createSignal("");
|
|
1119
|
+
const [taken, setTaken] = createSignal(false);
|
|
1120
|
+
const [problem, setProblem] = createSignal<string>();
|
|
1121
|
+
const [sent, setSent] = createSignal<Sent>();
|
|
1122
|
+
const strengthId = createUniqueId();
|
|
1123
|
+
|
|
1124
|
+
const submit = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
1125
|
+
setProblem(undefined);
|
|
1126
|
+
setTaken(false);
|
|
1127
|
+
const input = { name: text(values.name), email: text(values.email), password: password() };
|
|
1128
|
+
setEmail(input.email);
|
|
1129
|
+
if (!passwordCheck(input.password, input.email).valid) return { errors: { password: t.passwordRules } };
|
|
1130
|
+
try {
|
|
1131
|
+
setSent(await props.api.signUp(input));
|
|
1132
|
+
} catch (caught) {
|
|
1133
|
+
if (caught instanceof AuthError && caught.code === "email_taken") setTaken(true);
|
|
1134
|
+
return refusal(caught, (message) => setProblem(message), t);
|
|
1135
|
+
}
|
|
1136
|
+
};
|
|
1137
|
+
const continueWith = async (id: string) => {
|
|
1138
|
+
try {
|
|
1139
|
+
props.onSignedIn(await props.api.continueWith(id));
|
|
1140
|
+
} catch (caught) {
|
|
1141
|
+
setProblem((caught as Error).message);
|
|
1142
|
+
}
|
|
1143
|
+
};
|
|
1144
|
+
const signIn = (event: MouseEvent) => {
|
|
1145
|
+
event.preventDefault();
|
|
1146
|
+
props.onSignIn?.();
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
return (
|
|
1150
|
+
<Show
|
|
1151
|
+
when={sent()}
|
|
1152
|
+
fallback={
|
|
1153
|
+
<AuthCard
|
|
1154
|
+
title={props.product ? t.createYourProductAccount(props.product) : t.createAnAccount}
|
|
1155
|
+
caption={t.createAnAccount}
|
|
1156
|
+
description={t.freeFor14DaysNo}
|
|
1157
|
+
footer={
|
|
1158
|
+
props.onSignIn ? (
|
|
1159
|
+
<>
|
|
1160
|
+
{t.haveAnAccount}{" "}
|
|
1161
|
+
<Link href="?screen=sign-in" onClick={signIn}>
|
|
1162
|
+
{t.signIn}
|
|
1163
|
+
</Link>
|
|
1164
|
+
</>
|
|
1165
|
+
) : undefined
|
|
1166
|
+
}
|
|
1167
|
+
>
|
|
1168
|
+
<MoreOptions
|
|
1169
|
+
featured={
|
|
1170
|
+
<ProviderButtons
|
|
1171
|
+
providers={props.api.providers.filter((p) => isFeatured(featured(), p.id))}
|
|
1172
|
+
verb={t.signUpWith}
|
|
1173
|
+
onContinue={(p) => continueWith(p.id)}
|
|
1174
|
+
/>
|
|
1175
|
+
}
|
|
1176
|
+
rest={
|
|
1177
|
+
<ProviderButtons
|
|
1178
|
+
providers={props.api.providers.filter((p) => !isFeatured(featured(), p.id))}
|
|
1179
|
+
verb={t.signUpWith}
|
|
1180
|
+
onContinue={(p) => continueWith(p.id)}
|
|
1181
|
+
/>
|
|
1182
|
+
}
|
|
1183
|
+
hasRest={props.api.providers.some((p) => !isFeatured(featured(), p.id))}
|
|
1184
|
+
/>
|
|
1185
|
+
<Divider>{t.orWithYourEmail}</Divider>
|
|
1186
|
+
<Show when={problem()}>
|
|
1187
|
+
<FormAlert title={t.couldntCreateTheAccount}>{problem()}</FormAlert>
|
|
1188
|
+
</Show>
|
|
1189
|
+
<Form aria-label={t.createAnAccount} onFormSubmit={submit} class={styles.form}>
|
|
1190
|
+
<Field name="name">
|
|
1191
|
+
<FieldLabel>{t.fullName}</FieldLabel>
|
|
1192
|
+
<Input autocomplete="name" required maxlength={80} />
|
|
1193
|
+
<FieldError match="valueMissing">{t.enterYourName}</FieldError>
|
|
1194
|
+
</Field>
|
|
1195
|
+
<Field name="email">
|
|
1196
|
+
<FieldLabel>{t.workEmail}</FieldLabel>
|
|
1197
|
+
<Input
|
|
1198
|
+
type="email"
|
|
1199
|
+
autocomplete="email"
|
|
1200
|
+
required
|
|
1201
|
+
onValueChange={(value) => {
|
|
1202
|
+
setEmail(value);
|
|
1203
|
+
setTaken(false);
|
|
1204
|
+
}}
|
|
1205
|
+
/>
|
|
1206
|
+
<FieldError match="valueMissing">{t.enterYourEmail}</FieldError>
|
|
1207
|
+
<FieldError match="typeMismatch">{t.enterAnEmailLikeName}</FieldError>
|
|
1208
|
+
<FieldError match="customError" />
|
|
1209
|
+
<Show when={taken() && props.onSignIn}>
|
|
1210
|
+
<Link href="?screen=sign-in" class={styles.small} onClick={signIn}>
|
|
1211
|
+
{t.signInToThatAccount}
|
|
1212
|
+
</Link>
|
|
1213
|
+
</Show>
|
|
1214
|
+
</Field>
|
|
1215
|
+
<Field name="password">
|
|
1216
|
+
<FieldLabel>{t.password}</FieldLabel>
|
|
1217
|
+
<PasswordInput
|
|
1218
|
+
autoComplete="new-password"
|
|
1219
|
+
required
|
|
1220
|
+
value={password()}
|
|
1221
|
+
onValueChange={setPassword}
|
|
1222
|
+
aria-describedby={strengthId}
|
|
1223
|
+
/>
|
|
1224
|
+
<FieldError match="valueMissing">{t.chooseAPassword}</FieldError>
|
|
1225
|
+
<FieldError match="customError" />
|
|
1226
|
+
<PasswordStrength id={strengthId} password={password()} email={email()} />
|
|
1227
|
+
</Field>
|
|
1228
|
+
<Label class={styles.check}>
|
|
1229
|
+
<Checkbox name="terms" required />
|
|
1230
|
+
<span>
|
|
1231
|
+
{t.agreeTo(
|
|
1232
|
+
<Link href={props.termsHref ?? "/terms"}>{t.terms}</Link>,
|
|
1233
|
+
<Link href={props.privacyHref ?? "/privacy"}>{t.privacyPolicy}</Link>,
|
|
1234
|
+
)}
|
|
1235
|
+
</span>
|
|
1236
|
+
</Label>
|
|
1237
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
1238
|
+
{t.createAccount}
|
|
1239
|
+
</Button>
|
|
1240
|
+
</Form>
|
|
1241
|
+
</AuthCard>
|
|
1242
|
+
}
|
|
1243
|
+
>
|
|
1244
|
+
{(s) => (
|
|
1245
|
+
<VerifyCode
|
|
1246
|
+
api={props.api}
|
|
1247
|
+
email={email()}
|
|
1248
|
+
purpose="verify"
|
|
1249
|
+
resendIn={s().resendIn}
|
|
1250
|
+
onVerified={props.onSignedIn}
|
|
1251
|
+
onChangeEmail={() => setSent(undefined)}
|
|
1252
|
+
/>
|
|
1253
|
+
)}
|
|
1254
|
+
</Show>
|
|
1255
|
+
);
|
|
1256
|
+
}
|
|
1257
|
+
```
|
|
1258
|
+
|
|
1259
|
+
```tsx title="verify-code.tsx"
|
|
1260
|
+
/**
|
|
1261
|
+
* Verify code — part of the auth blocks for @zsherman/kit: a six-digit code from an email, on the kit OTP
|
|
1262
|
+
* field (paste, autofill and phone suggestions work). It checks as soon as the last digit is in; a wrong
|
|
1263
|
+
* code says how many tries are left and clears, an expired one asks for a new one; Resend counts down from
|
|
1264
|
+
* the server's timer.
|
|
1265
|
+
*/
|
|
1266
|
+
import { Button } from "@zsherman/kit/button";
|
|
1267
|
+
import { Field, FieldDescription, FieldError, FieldLabel } from "@zsherman/kit/field";
|
|
1268
|
+
import { Form, type FormSubmitResult, type FormValues } from "@zsherman/kit/form";
|
|
1269
|
+
import { OTPInput } from "@zsherman/kit/otp-input";
|
|
1270
|
+
import { createSignal, Show } from "solid-js";
|
|
1271
|
+
import { AuthCard, FormAlert, ResendButton, refusal, text } from "./auth-parts";
|
|
1272
|
+
import styles from "./auth.module.css";
|
|
1273
|
+
import type { AuthApi, Session } from "./types";
|
|
1274
|
+
import { type AuthLabels, AuthLabelsProvider, useAuthLabels } from "./labels";
|
|
1275
|
+
|
|
1276
|
+
export interface VerifyCodeProps {
|
|
1277
|
+
/** The block's words (any subset of `authLabels` in `labels.tsx`), for a translation. */
|
|
1278
|
+
labels?: Partial<AuthLabels>;
|
|
1279
|
+
api: AuthApi;
|
|
1280
|
+
/** Where the code went. */
|
|
1281
|
+
email: string;
|
|
1282
|
+
/** Signing in with a code, or verifying a new account. */
|
|
1283
|
+
purpose: "sign-in" | "verify";
|
|
1284
|
+
/** Seconds before another code can be sent (from the send). @defaultValue 30 */
|
|
1285
|
+
resendIn?: number;
|
|
1286
|
+
onVerified: (session: Session) => void;
|
|
1287
|
+
/** "Use a different email". */
|
|
1288
|
+
onChangeEmail?: () => void;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/** VerifyCode, with its words from `labels` over the English in `labels.tsx`. */
|
|
1292
|
+
export function VerifyCode(props: VerifyCodeProps) {
|
|
1293
|
+
return (
|
|
1294
|
+
<AuthLabelsProvider labels={props.labels}>
|
|
1295
|
+
<VerifyCodeBody {...props} />
|
|
1296
|
+
</AuthLabelsProvider>
|
|
1297
|
+
);
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
function VerifyCodeBody(props: VerifyCodeProps) {
|
|
1301
|
+
const t = useAuthLabels();
|
|
1302
|
+
|
|
1303
|
+
const [code, setCode] = createSignal("");
|
|
1304
|
+
const [problem, setProblem] = createSignal<string>();
|
|
1305
|
+
let form: HTMLFormElement | undefined;
|
|
1306
|
+
const verify = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
1307
|
+
setProblem(undefined);
|
|
1308
|
+
if (text(values.code).length < 6) return { errors: { code: t.enterAllDigits } };
|
|
1309
|
+
try {
|
|
1310
|
+
props.onVerified(await props.api.verifyCode(props.email, text(values.code), props.purpose));
|
|
1311
|
+
} catch (caught) {
|
|
1312
|
+
// A wrong code clears, so the next one can be typed (or pasted) at once.
|
|
1313
|
+
setCode("");
|
|
1314
|
+
return refusal(caught, (message) => setProblem(message), t);
|
|
1315
|
+
}
|
|
1316
|
+
};
|
|
1317
|
+
return (
|
|
1318
|
+
<AuthCard
|
|
1319
|
+
title={props.purpose === "verify" ? t.verifyYourEmail : t.enterTheCode}
|
|
1320
|
+
description={
|
|
1321
|
+
<>
|
|
1322
|
+
{t.weSentA6Digit} <strong>{props.email}</strong>.
|
|
1323
|
+
</>
|
|
1324
|
+
}
|
|
1325
|
+
>
|
|
1326
|
+
<Show when={problem()}>
|
|
1327
|
+
<FormAlert title={t.couldntCheckTheCode}>{problem()}</FormAlert>
|
|
1328
|
+
</Show>
|
|
1329
|
+
<Form
|
|
1330
|
+
ref={(el: HTMLFormElement) => (form = el)}
|
|
1331
|
+
aria-label={t.verificationCode}
|
|
1332
|
+
onFormSubmit={verify}
|
|
1333
|
+
class={styles.form}
|
|
1334
|
+
>
|
|
1335
|
+
<Field name="code">
|
|
1336
|
+
<FieldLabel>{t.code}</FieldLabel>
|
|
1337
|
+
<OTPInput
|
|
1338
|
+
maxLength={6}
|
|
1339
|
+
pattern="digits"
|
|
1340
|
+
required
|
|
1341
|
+
value={code()}
|
|
1342
|
+
onValueChange={setCode}
|
|
1343
|
+
onValueCommit={() => form?.requestSubmit()}
|
|
1344
|
+
class={styles.otp}
|
|
1345
|
+
/>
|
|
1346
|
+
<FieldDescription>{t.itWorksFor10Minutes}</FieldDescription>
|
|
1347
|
+
<FieldError match="valueMissing">{t.enterThe6DigitsFrom}</FieldError>
|
|
1348
|
+
<FieldError match="customError" />
|
|
1349
|
+
</Field>
|
|
1350
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
1351
|
+
{props.purpose === "verify" ? t.verifyEmail : t.signIn}
|
|
1352
|
+
</Button>
|
|
1353
|
+
</Form>
|
|
1354
|
+
<div class={styles.row}>
|
|
1355
|
+
<ResendButton
|
|
1356
|
+
resendIn={props.resendIn ?? 30}
|
|
1357
|
+
onResend={() => props.api.sendCode(props.email, props.purpose)}
|
|
1358
|
+
/>
|
|
1359
|
+
<Show when={props.onChangeEmail}>
|
|
1360
|
+
{(onChangeEmail) => (
|
|
1361
|
+
<Button variant="ghost" size="sm" onClick={() => onChangeEmail()?.()}>
|
|
1362
|
+
{t.useADifferentEmail}
|
|
1363
|
+
</Button>
|
|
1364
|
+
)}
|
|
1365
|
+
</Show>
|
|
1366
|
+
</div>
|
|
1367
|
+
</AuthCard>
|
|
1368
|
+
);
|
|
1369
|
+
}
|
|
1370
|
+
```
|
|
1371
|
+
|
|
1372
|
+
```tsx title="accept-invite.tsx"
|
|
1373
|
+
/**
|
|
1374
|
+
* Accept invite — part of the auth blocks for @zsherman/kit: the invite link's landing (invite-only sign
|
|
1375
|
+
* up). It loads the invite (who invited, to which workspace, as what role, for which address), then asks
|
|
1376
|
+
* for a name and a password, or a provider. An expired or used invite says so and who to ask.
|
|
1377
|
+
*/
|
|
1378
|
+
import { Avatar, AvatarFallback, avatarTone, initials } from "@zsherman/kit/avatar";
|
|
1379
|
+
import { Badge } from "@zsherman/kit/badge";
|
|
1380
|
+
import { Button } from "@zsherman/kit/button";
|
|
1381
|
+
import {
|
|
1382
|
+
EmptyState,
|
|
1383
|
+
EmptyStateActions,
|
|
1384
|
+
EmptyStateDescription,
|
|
1385
|
+
EmptyStateIcon,
|
|
1386
|
+
EmptyStateTitle,
|
|
1387
|
+
} from "@zsherman/kit/empty-state";
|
|
1388
|
+
import { Field, FieldDescription, FieldError, FieldLabel, Input } from "@zsherman/kit/field";
|
|
1389
|
+
import { Form, type FormSubmitResult, type FormValues } from "@zsherman/kit/form";
|
|
1390
|
+
import { PasswordInput } from "@zsherman/kit/password-input";
|
|
1391
|
+
import { Skeleton } from "@zsherman/kit/skeleton";
|
|
1392
|
+
import { Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
1393
|
+
import { CalendarX2, MailWarning } from "@zsherman/kit/icons";
|
|
1394
|
+
import { createEffect, createSignal, createUniqueId, Match, Show, Switch } from "solid-js";
|
|
1395
|
+
import {
|
|
1396
|
+
AuthCard,
|
|
1397
|
+
Divider,
|
|
1398
|
+
FormAlert,
|
|
1399
|
+
passwordCheck,
|
|
1400
|
+
PasswordStrength,
|
|
1401
|
+
ProviderButtons,
|
|
1402
|
+
refusal,
|
|
1403
|
+
text,
|
|
1404
|
+
} from "./auth-parts";
|
|
1405
|
+
import styles from "./auth.module.css";
|
|
1406
|
+
import { AuthError, type AuthApi, type Invite, type Session } from "./types";
|
|
1407
|
+
import { type AuthLabels, AuthLabelsProvider, useAuthLabels } from "./labels";
|
|
1408
|
+
|
|
1409
|
+
export interface AcceptInviteProps {
|
|
1410
|
+
/** The block's words (any subset of `authLabels` in `labels.tsx`), for a translation. */
|
|
1411
|
+
labels?: Partial<AuthLabels>;
|
|
1412
|
+
api: AuthApi;
|
|
1413
|
+
/** The token from the invite link (`/invite/inv-…`). */
|
|
1414
|
+
token: string;
|
|
1415
|
+
onSignedIn: (session: Session) => void;
|
|
1416
|
+
/** "Sign in instead" (people who already have an account). */
|
|
1417
|
+
onSignIn?: () => void;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/** AcceptInvite, with its words from `labels` over the English in `labels.tsx`. */
|
|
1421
|
+
export function AcceptInvite(props: AcceptInviteProps) {
|
|
1422
|
+
return (
|
|
1423
|
+
<AuthLabelsProvider labels={props.labels}>
|
|
1424
|
+
<AcceptInviteBody {...props} />
|
|
1425
|
+
</AuthLabelsProvider>
|
|
1426
|
+
);
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
function AcceptInviteBody(props: AcceptInviteProps) {
|
|
1430
|
+
const t = useAuthLabels();
|
|
1431
|
+
|
|
1432
|
+
const [invite, setInvite] = createSignal<Invite>();
|
|
1433
|
+
const [failure, setFailure] = createSignal<AuthError | Error>();
|
|
1434
|
+
const [attempt, setAttempt] = createSignal(0);
|
|
1435
|
+
const [password, setPassword] = createSignal("");
|
|
1436
|
+
const [problem, setProblem] = createSignal<string>();
|
|
1437
|
+
const strengthId = createUniqueId();
|
|
1438
|
+
|
|
1439
|
+
createEffect(
|
|
1440
|
+
() => ({ token: props.token, attempt: attempt() }),
|
|
1441
|
+
({ token }) => {
|
|
1442
|
+
const controller = new AbortController();
|
|
1443
|
+
setFailure(undefined);
|
|
1444
|
+
setInvite(undefined);
|
|
1445
|
+
props.api.invite(token, controller.signal).then(setInvite, (caught: Error) => {
|
|
1446
|
+
if (caught.name !== "AbortError") setFailure(caught);
|
|
1447
|
+
});
|
|
1448
|
+
return () => controller.abort();
|
|
1449
|
+
},
|
|
1450
|
+
);
|
|
1451
|
+
|
|
1452
|
+
const accept = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
1453
|
+
setProblem(undefined);
|
|
1454
|
+
if (!passwordCheck(password(), invite()?.email).valid) return { errors: { password: t.passwordRules } };
|
|
1455
|
+
try {
|
|
1456
|
+
props.onSignedIn(
|
|
1457
|
+
await props.api.acceptInvite(props.token, { name: text(values.name), password: password() }),
|
|
1458
|
+
);
|
|
1459
|
+
} catch (caught) {
|
|
1460
|
+
return refusal(caught, (message) => setProblem(message), t);
|
|
1461
|
+
}
|
|
1462
|
+
};
|
|
1463
|
+
const continueWith = async (id: string) => {
|
|
1464
|
+
try {
|
|
1465
|
+
props.onSignedIn(await props.api.continueWith(id));
|
|
1466
|
+
} catch (caught) {
|
|
1467
|
+
setProblem((caught as Error).message);
|
|
1468
|
+
}
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
return (
|
|
1472
|
+
<Switch>
|
|
1473
|
+
<Match when={failure()}>
|
|
1474
|
+
{(error) => (
|
|
1475
|
+
<AuthCard title={error() instanceof AuthError ? t.thisInviteCantBeUsed : t.couldntLoadTheInvite}>
|
|
1476
|
+
<EmptyState size="sm" class={styles.empty}>
|
|
1477
|
+
<EmptyStateIcon icon={error() instanceof AuthError ? CalendarX2 : MailWarning} />
|
|
1478
|
+
<EmptyStateTitle render={(p) => <p {...p} />}>
|
|
1479
|
+
{(error() as AuthError).code === "invite_expired"
|
|
1480
|
+
? t.theInviteExpired
|
|
1481
|
+
: error() instanceof AuthError
|
|
1482
|
+
? t.theInviteWasUsed
|
|
1483
|
+
: t.theServerDidntAnswer}
|
|
1484
|
+
</EmptyStateTitle>
|
|
1485
|
+
<EmptyStateDescription>{error().message}</EmptyStateDescription>
|
|
1486
|
+
<EmptyStateActions>
|
|
1487
|
+
<Show
|
|
1488
|
+
when={error() instanceof AuthError}
|
|
1489
|
+
fallback={<Button onClick={() => setAttempt((n) => n + 1)}>{t.tryAgain}</Button>}
|
|
1490
|
+
>
|
|
1491
|
+
<Show when={props.onSignIn}>
|
|
1492
|
+
{(onSignIn) => <Button onClick={() => onSignIn()?.()}>{t.signInInstead}</Button>}
|
|
1493
|
+
</Show>
|
|
1494
|
+
</Show>
|
|
1495
|
+
</EmptyStateActions>
|
|
1496
|
+
</EmptyState>
|
|
1497
|
+
</AuthCard>
|
|
1498
|
+
)}
|
|
1499
|
+
</Match>
|
|
1500
|
+
<Match when={invite()}>
|
|
1501
|
+
{(inv) => (
|
|
1502
|
+
<AuthCard
|
|
1503
|
+
title={t.joinWorkspace(inv().workspace)}
|
|
1504
|
+
footer={<>{t.notYourAddress(inv().email, inv().inviter.name)}</>}
|
|
1505
|
+
>
|
|
1506
|
+
<div class={styles.invite}>
|
|
1507
|
+
<Avatar size="md" aria-hidden="true">
|
|
1508
|
+
<AvatarFallback tone={avatarTone(inv().inviter.name)}>
|
|
1509
|
+
{initials(inv().inviter.name)}
|
|
1510
|
+
</AvatarFallback>
|
|
1511
|
+
</Avatar>
|
|
1512
|
+
<Text size="sm">
|
|
1513
|
+
{t.invitedYou(
|
|
1514
|
+
<strong>{inv().inviter.name}</strong>,
|
|
1515
|
+
<strong>{inv().workspace}</strong>,
|
|
1516
|
+
<Badge size="sm" variant="outline">
|
|
1517
|
+
{inv().role}
|
|
1518
|
+
</Badge>,
|
|
1519
|
+
)}
|
|
1520
|
+
<VisuallyHidden>.</VisuallyHidden>
|
|
1521
|
+
</Text>
|
|
1522
|
+
</div>
|
|
1523
|
+
<ProviderButtons
|
|
1524
|
+
providers={props.api.providers.slice(0, 1)}
|
|
1525
|
+
onContinue={(p) => continueWith(p.id)}
|
|
1526
|
+
/>
|
|
1527
|
+
<Divider>{t.orSetAPassword}</Divider>
|
|
1528
|
+
<Show when={problem()}>
|
|
1529
|
+
<FormAlert title={t.couldntJoin}>{problem()}</FormAlert>
|
|
1530
|
+
</Show>
|
|
1531
|
+
<Form aria-label={t.acceptTheInvite} onFormSubmit={accept} class={styles.form}>
|
|
1532
|
+
<Field name="email">
|
|
1533
|
+
<FieldLabel>{t.email}</FieldLabel>
|
|
1534
|
+
<Input type="email" value={inv().email} readonly autocomplete="email" />
|
|
1535
|
+
<FieldDescription>{t.theInviteIsForThis}</FieldDescription>
|
|
1536
|
+
</Field>
|
|
1537
|
+
<Field name="name">
|
|
1538
|
+
<FieldLabel>{t.fullName}</FieldLabel>
|
|
1539
|
+
<Input autocomplete="name" required />
|
|
1540
|
+
<FieldError match="valueMissing">{t.enterYourName}</FieldError>
|
|
1541
|
+
</Field>
|
|
1542
|
+
<Field name="password">
|
|
1543
|
+
<FieldLabel>{t.password}</FieldLabel>
|
|
1544
|
+
<PasswordInput
|
|
1545
|
+
autoComplete="new-password"
|
|
1546
|
+
required
|
|
1547
|
+
value={password()}
|
|
1548
|
+
onValueChange={setPassword}
|
|
1549
|
+
aria-describedby={strengthId}
|
|
1550
|
+
/>
|
|
1551
|
+
<FieldError match="valueMissing">{t.chooseAPassword}</FieldError>
|
|
1552
|
+
<FieldError match="customError" />
|
|
1553
|
+
<PasswordStrength id={strengthId} password={password()} email={inv().email} />
|
|
1554
|
+
</Field>
|
|
1555
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
1556
|
+
{t.joinWorkspaceButton(inv().workspace)}
|
|
1557
|
+
</Button>
|
|
1558
|
+
</Form>
|
|
1559
|
+
</AuthCard>
|
|
1560
|
+
)}
|
|
1561
|
+
</Match>
|
|
1562
|
+
<Match when={true}>
|
|
1563
|
+
<AuthCard title={t.openingYourInvite}>
|
|
1564
|
+
<div class={styles.loading} aria-busy="true">
|
|
1565
|
+
<VisuallyHidden>{t.loadingTheInvite}</VisuallyHidden>
|
|
1566
|
+
<div class={styles.invite} aria-hidden="true">
|
|
1567
|
+
<Skeleton shape="circle" class={styles.skeletonAvatar} />
|
|
1568
|
+
<Skeleton shape="text" lines={2} class={styles.grow} />
|
|
1569
|
+
</div>
|
|
1570
|
+
<Skeleton class={styles.skeletonButton} />
|
|
1571
|
+
<Skeleton class={styles.skeletonButton} />
|
|
1572
|
+
</div>
|
|
1573
|
+
</AuthCard>
|
|
1574
|
+
</Match>
|
|
1575
|
+
</Switch>
|
|
1576
|
+
);
|
|
1577
|
+
}
|
|
1578
|
+
```
|
|
1579
|
+
|
|
1580
|
+
```tsx title="password-reset.tsx"
|
|
1581
|
+
/**
|
|
1582
|
+
* Password reset — part of the auth blocks for @zsherman/kit: "Forgot password" (an email; the answer is
|
|
1583
|
+
* the same whether or not an account exists, so the screen doesn't tell strangers who has one) and the
|
|
1584
|
+
* reset link's landing (the link is checked first; an expired one offers a new link; a new password with
|
|
1585
|
+
* its strength, typed twice; then a way to sign in).
|
|
1586
|
+
*/
|
|
1587
|
+
import { Button } from "@zsherman/kit/button";
|
|
1588
|
+
import {
|
|
1589
|
+
EmptyState,
|
|
1590
|
+
EmptyStateActions,
|
|
1591
|
+
EmptyStateDescription,
|
|
1592
|
+
EmptyStateIcon,
|
|
1593
|
+
EmptyStateTitle,
|
|
1594
|
+
} from "@zsherman/kit/empty-state";
|
|
1595
|
+
import { Field, FieldError, FieldLabel, Input } from "@zsherman/kit/field";
|
|
1596
|
+
import { Form, type FormSubmitResult, type FormValues } from "@zsherman/kit/form";
|
|
1597
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
1598
|
+
import { Link } from "@zsherman/kit/link";
|
|
1599
|
+
import { PasswordInput } from "@zsherman/kit/password-input";
|
|
1600
|
+
import { Skeleton } from "@zsherman/kit/skeleton";
|
|
1601
|
+
import { Text, VisuallyHidden } from "@zsherman/kit/text";
|
|
1602
|
+
import { CircleCheck, Link2Off, MailCheck } from "@zsherman/kit/icons";
|
|
1603
|
+
import { createEffect, createSignal, createUniqueId, Match, Show, Switch } from "solid-js";
|
|
1604
|
+
import {
|
|
1605
|
+
AuthCard,
|
|
1606
|
+
FormAlert,
|
|
1607
|
+
passwordCheck,
|
|
1608
|
+
PasswordStrength,
|
|
1609
|
+
ResendButton,
|
|
1610
|
+
refusal,
|
|
1611
|
+
text,
|
|
1612
|
+
} from "./auth-parts";
|
|
1613
|
+
import styles from "./auth.module.css";
|
|
1614
|
+
import type { AuthApi, Sent } from "./types";
|
|
1615
|
+
import { type AuthLabels, AuthLabelsProvider, useAuthLabels } from "./labels";
|
|
1616
|
+
|
|
1617
|
+
export interface ForgotPasswordProps {
|
|
1618
|
+
/** The block's words (any subset of `authLabels` in `labels.tsx`), for a translation. */
|
|
1619
|
+
labels?: Partial<AuthLabels>;
|
|
1620
|
+
api: AuthApi;
|
|
1621
|
+
/** The email typed on the sign-in screen, if any. */
|
|
1622
|
+
email?: string;
|
|
1623
|
+
onBack?: () => void;
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
/** ForgotPassword, with its words from `labels` over the English in `labels.tsx`. */
|
|
1627
|
+
export function ForgotPassword(props: ForgotPasswordProps) {
|
|
1628
|
+
return (
|
|
1629
|
+
<AuthLabelsProvider labels={props.labels}>
|
|
1630
|
+
<ForgotPasswordBody {...props} />
|
|
1631
|
+
</AuthLabelsProvider>
|
|
1632
|
+
);
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
function ForgotPasswordBody(props: ForgotPasswordProps) {
|
|
1636
|
+
const t = useAuthLabels();
|
|
1637
|
+
|
|
1638
|
+
const [sent, setSent] = createSignal<Sent>();
|
|
1639
|
+
const [email, setEmail] = createSignal("");
|
|
1640
|
+
const [problem, setProblem] = createSignal<string>();
|
|
1641
|
+
const send = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
1642
|
+
setProblem(undefined);
|
|
1643
|
+
setEmail(text(values.email));
|
|
1644
|
+
try {
|
|
1645
|
+
setSent(await props.api.requestReset(text(values.email)));
|
|
1646
|
+
} catch (caught) {
|
|
1647
|
+
return refusal(caught, (message) => setProblem(message), t);
|
|
1648
|
+
}
|
|
1649
|
+
};
|
|
1650
|
+
const back = () => (
|
|
1651
|
+
<Show when={props.onBack}>
|
|
1652
|
+
{(onBack) => (
|
|
1653
|
+
<Link
|
|
1654
|
+
href="?screen=sign-in"
|
|
1655
|
+
onClick={(event: MouseEvent) => {
|
|
1656
|
+
event.preventDefault();
|
|
1657
|
+
onBack()?.();
|
|
1658
|
+
}}
|
|
1659
|
+
>
|
|
1660
|
+
{t.backToSignIn}
|
|
1661
|
+
</Link>
|
|
1662
|
+
)}
|
|
1663
|
+
</Show>
|
|
1664
|
+
);
|
|
1665
|
+
return (
|
|
1666
|
+
<Show
|
|
1667
|
+
when={sent()}
|
|
1668
|
+
fallback={
|
|
1669
|
+
<AuthCard title={t.resetYourPassword} description={t.enterYourAccountsEmailAnd} footer={back()}>
|
|
1670
|
+
<Show when={problem()}>
|
|
1671
|
+
<FormAlert title={t.couldntSendTheLink}>{problem()}</FormAlert>
|
|
1672
|
+
</Show>
|
|
1673
|
+
<Form aria-label={t.resetYourPassword} onFormSubmit={send} class={styles.form}>
|
|
1674
|
+
<Field name="email">
|
|
1675
|
+
<FieldLabel>{t.email}</FieldLabel>
|
|
1676
|
+
<Input type="email" autocomplete="email" required defaultValue={props.email ?? ""} />
|
|
1677
|
+
<FieldError match="valueMissing">{t.enterYourEmail}</FieldError>
|
|
1678
|
+
<FieldError match="typeMismatch">{t.enterAnEmailLikeName}</FieldError>
|
|
1679
|
+
<FieldError match="customError" />
|
|
1680
|
+
</Field>
|
|
1681
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
1682
|
+
{t.sendResetLink}
|
|
1683
|
+
</Button>
|
|
1684
|
+
</Form>
|
|
1685
|
+
</AuthCard>
|
|
1686
|
+
}
|
|
1687
|
+
>
|
|
1688
|
+
{(s) => (
|
|
1689
|
+
<AuthCard title={t.checkYourEmail} footer={back()}>
|
|
1690
|
+
<div class={styles.sent} role="status">
|
|
1691
|
+
<span class={styles.sentIcon} aria-hidden="true">
|
|
1692
|
+
<Icon icon={MailCheck} />
|
|
1693
|
+
</span>
|
|
1694
|
+
<Text size="sm" tone="muted">
|
|
1695
|
+
{t.resetSent(<strong>{email()}</strong>)}
|
|
1696
|
+
</Text>
|
|
1697
|
+
</div>
|
|
1698
|
+
<ResendButton
|
|
1699
|
+
resendIn={s().resendIn}
|
|
1700
|
+
label={t.sendAgain}
|
|
1701
|
+
onResend={() => props.api.requestReset(email())}
|
|
1702
|
+
/>
|
|
1703
|
+
</AuthCard>
|
|
1704
|
+
)}
|
|
1705
|
+
</Show>
|
|
1706
|
+
);
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
export interface ResetPasswordProps {
|
|
1710
|
+
/** The block's words (any subset of `authLabels` in `labels.tsx`), for a translation. */
|
|
1711
|
+
labels?: Partial<AuthLabels>;
|
|
1712
|
+
api: AuthApi;
|
|
1713
|
+
/** The token from the reset link. */
|
|
1714
|
+
token: string;
|
|
1715
|
+
/** "Sign in" after the new password is set (or from an expired link). */
|
|
1716
|
+
onSignIn: () => void;
|
|
1717
|
+
/** "Send a new link" from an expired link. */
|
|
1718
|
+
onRequestNew: () => void;
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
/** ResetPassword, with its words from `labels` over the English in `labels.tsx`. */
|
|
1722
|
+
export function ResetPassword(props: ResetPasswordProps) {
|
|
1723
|
+
return (
|
|
1724
|
+
<AuthLabelsProvider labels={props.labels}>
|
|
1725
|
+
<ResetPasswordBody {...props} />
|
|
1726
|
+
</AuthLabelsProvider>
|
|
1727
|
+
);
|
|
1728
|
+
}
|
|
1729
|
+
|
|
1730
|
+
function ResetPasswordBody(props: ResetPasswordProps) {
|
|
1731
|
+
const t = useAuthLabels();
|
|
1732
|
+
|
|
1733
|
+
const [state, setState] = createSignal<"checking" | "ready" | "expired" | "done">("checking");
|
|
1734
|
+
const [email, setEmail] = createSignal("");
|
|
1735
|
+
const [password, setPassword] = createSignal("");
|
|
1736
|
+
const [problem, setProblem] = createSignal<string>();
|
|
1737
|
+
const strengthId = createUniqueId();
|
|
1738
|
+
createEffect(
|
|
1739
|
+
() => props.token,
|
|
1740
|
+
(token) => {
|
|
1741
|
+
const controller = new AbortController();
|
|
1742
|
+
setState("checking");
|
|
1743
|
+
props.api.checkReset(token, controller.signal).then(
|
|
1744
|
+
(found) => {
|
|
1745
|
+
setEmail(found.email);
|
|
1746
|
+
setState("ready");
|
|
1747
|
+
},
|
|
1748
|
+
(caught: Error) => {
|
|
1749
|
+
if (caught.name !== "AbortError") setState("expired");
|
|
1750
|
+
},
|
|
1751
|
+
);
|
|
1752
|
+
return () => controller.abort();
|
|
1753
|
+
},
|
|
1754
|
+
);
|
|
1755
|
+
const submit = async (values: FormValues): Promise<FormSubmitResult> => {
|
|
1756
|
+
setProblem(undefined);
|
|
1757
|
+
if (!passwordCheck(password(), email()).valid) return { errors: { password: t.passwordRules } };
|
|
1758
|
+
if (text(values.confirm) !== password()) return { errors: { confirm: t.passwordsDontMatch } };
|
|
1759
|
+
try {
|
|
1760
|
+
await props.api.resetPassword(props.token, password());
|
|
1761
|
+
setState("done");
|
|
1762
|
+
} catch (caught) {
|
|
1763
|
+
return refusal(caught, (message) => setProblem(message), t);
|
|
1764
|
+
}
|
|
1765
|
+
};
|
|
1766
|
+
return (
|
|
1767
|
+
<Switch>
|
|
1768
|
+
<Match when={state() === "checking"}>
|
|
1769
|
+
<AuthCard title={t.chooseANewPassword}>
|
|
1770
|
+
<div class={styles.loading} aria-busy="true">
|
|
1771
|
+
<VisuallyHidden>{t.checkingTheLink}</VisuallyHidden>
|
|
1772
|
+
<Skeleton class={styles.skeletonField} />
|
|
1773
|
+
<Skeleton class={styles.skeletonField} />
|
|
1774
|
+
<Skeleton class={styles.skeletonButton} />
|
|
1775
|
+
</div>
|
|
1776
|
+
</AuthCard>
|
|
1777
|
+
</Match>
|
|
1778
|
+
<Match when={state() === "expired"}>
|
|
1779
|
+
<AuthCard title={t.thisLinkHasExpired}>
|
|
1780
|
+
<EmptyState size="sm" class={styles.empty}>
|
|
1781
|
+
<EmptyStateIcon icon={Link2Off} />
|
|
1782
|
+
<EmptyStateTitle render={(p) => <p {...p} />}>{t.resetLinksWorkForOne}</EmptyStateTitle>
|
|
1783
|
+
<EmptyStateDescription>{t.sendYourselfANewOne}</EmptyStateDescription>
|
|
1784
|
+
<EmptyStateActions>
|
|
1785
|
+
<Button variant="primary" onClick={() => props.onRequestNew()}>
|
|
1786
|
+
{t.sendANewLink}
|
|
1787
|
+
</Button>
|
|
1788
|
+
<Button onClick={() => props.onSignIn()}>{t.signIn}</Button>
|
|
1789
|
+
</EmptyStateActions>
|
|
1790
|
+
</EmptyState>
|
|
1791
|
+
</AuthCard>
|
|
1792
|
+
</Match>
|
|
1793
|
+
<Match when={state() === "done"}>
|
|
1794
|
+
<AuthCard title={t.passwordChanged}>
|
|
1795
|
+
<div class={styles.sent} role="status">
|
|
1796
|
+
<span class={styles.sentIcon} data-tone="success" aria-hidden="true">
|
|
1797
|
+
<Icon icon={CircleCheck} />
|
|
1798
|
+
</span>
|
|
1799
|
+
<Text size="sm" tone="muted">
|
|
1800
|
+
{t.signInWithYourNew}
|
|
1801
|
+
</Text>
|
|
1802
|
+
</div>
|
|
1803
|
+
<Button variant="primary" class={styles.wide} onClick={() => props.onSignIn()}>
|
|
1804
|
+
{t.signIn}
|
|
1805
|
+
</Button>
|
|
1806
|
+
</AuthCard>
|
|
1807
|
+
</Match>
|
|
1808
|
+
<Match when={state() === "ready"}>
|
|
1809
|
+
<AuthCard
|
|
1810
|
+
title={t.chooseANewPassword}
|
|
1811
|
+
description={
|
|
1812
|
+
<>
|
|
1813
|
+
{t.for} <strong>{email()}</strong>.
|
|
1814
|
+
</>
|
|
1815
|
+
}
|
|
1816
|
+
>
|
|
1817
|
+
<Show when={problem()}>
|
|
1818
|
+
<FormAlert title={t.couldntChangeThePassword}>{problem()}</FormAlert>
|
|
1819
|
+
</Show>
|
|
1820
|
+
<Form aria-label={t.chooseANewPassword} onFormSubmit={submit} class={styles.form}>
|
|
1821
|
+
<input type="email" name="username" autocomplete="username" value={email()} hidden readonly />
|
|
1822
|
+
<Field name="password">
|
|
1823
|
+
<FieldLabel>{t.newPassword}</FieldLabel>
|
|
1824
|
+
<PasswordInput
|
|
1825
|
+
autoComplete="new-password"
|
|
1826
|
+
required
|
|
1827
|
+
value={password()}
|
|
1828
|
+
onValueChange={setPassword}
|
|
1829
|
+
aria-describedby={strengthId}
|
|
1830
|
+
/>
|
|
1831
|
+
<FieldError match="valueMissing">{t.chooseAPassword}</FieldError>
|
|
1832
|
+
<FieldError match="customError" />
|
|
1833
|
+
<PasswordStrength id={strengthId} password={password()} email={email()} />
|
|
1834
|
+
</Field>
|
|
1835
|
+
<Field name="confirm">
|
|
1836
|
+
<FieldLabel>{t.typeItAgain}</FieldLabel>
|
|
1837
|
+
<PasswordInput autoComplete="new-password" required />
|
|
1838
|
+
<FieldError match="valueMissing">{t.typeThePasswordAgain}</FieldError>
|
|
1839
|
+
<FieldError match="customError" />
|
|
1840
|
+
</Field>
|
|
1841
|
+
<Button type="submit" variant="primary" class={styles.wide}>
|
|
1842
|
+
{t.changePassword}
|
|
1843
|
+
</Button>
|
|
1844
|
+
</Form>
|
|
1845
|
+
</AuthCard>
|
|
1846
|
+
</Match>
|
|
1847
|
+
</Switch>
|
|
1848
|
+
);
|
|
1849
|
+
}
|
|
1850
|
+
```
|
|
1851
|
+
|
|
1852
|
+
```ts title="passkey.ts"
|
|
1853
|
+
/**
|
|
1854
|
+
* Passkey — part of the auth blocks for @zsherman/kit: the browser's passkey prompt (WebAuthn
|
|
1855
|
+
* `navigator.credentials.get`) as a `PasskeyPrompt`, and whether this browser has one. The sign-in screen
|
|
1856
|
+
* takes any `PasskeyPrompt`; the gallery passes a pretend one (`passkey-prompt.tsx`). Its errors' messages
|
|
1857
|
+
* aren't shown: the sign-in screen says what happened from the code, in its own words (`labels`).
|
|
1858
|
+
*/
|
|
1859
|
+
import { AuthError, type PasskeyPrompt } from "./types";
|
|
1860
|
+
|
|
1861
|
+
/** Whether this browser can show a passkey prompt (false on the server). */
|
|
1862
|
+
export const passkeysSupported = () =>
|
|
1863
|
+
typeof window !== "undefined" && typeof window.PublicKeyCredential === "function";
|
|
1864
|
+
|
|
1865
|
+
const bytes = (text: string) => new TextEncoder().encode(text);
|
|
1866
|
+
const base64 = (buffer: ArrayBuffer) => btoa(String.fromCharCode(...new Uint8Array(buffer)));
|
|
1867
|
+
|
|
1868
|
+
/** The browser's own prompt. Your server checks the signature in `signInWithPasskey`. */
|
|
1869
|
+
export const browserPasskeyPrompt: PasskeyPrompt = async (request) => {
|
|
1870
|
+
if (!passkeysSupported())
|
|
1871
|
+
throw new AuthError("This browser can't use passkeys. Sign in another way.", "passkey_cancelled");
|
|
1872
|
+
try {
|
|
1873
|
+
const credential = (await navigator.credentials.get({
|
|
1874
|
+
publicKey: {
|
|
1875
|
+
challenge: bytes(request.challenge),
|
|
1876
|
+
rpId: request.rpId,
|
|
1877
|
+
timeout: request.timeout,
|
|
1878
|
+
userVerification: "preferred",
|
|
1879
|
+
},
|
|
1880
|
+
})) as PublicKeyCredential | null;
|
|
1881
|
+
if (!credential) throw new AuthError("No passkey was chosen.", "passkey_cancelled");
|
|
1882
|
+
const response = credential.response as AuthenticatorAssertionResponse;
|
|
1883
|
+
return { id: credential.id, signature: base64(response.signature) };
|
|
1884
|
+
} catch (caught) {
|
|
1885
|
+
if (caught instanceof AuthError) throw caught;
|
|
1886
|
+
// NotAllowedError: dismissed, timed out, or no passkey for this site on this device.
|
|
1887
|
+
throw new AuthError("Passkey sign-in was cancelled.", "passkey_cancelled");
|
|
1888
|
+
}
|
|
1889
|
+
};
|
|
1890
|
+
```
|
|
1891
|
+
|
|
1892
|
+
```tsx title="passkey-prompt.tsx"
|
|
1893
|
+
/**
|
|
1894
|
+
* Passkey prompt (pretend) — part of the auth blocks for @zsherman/kit, for demos and tests: a dialog that
|
|
1895
|
+
* stands in for the browser's passkey sheet, so the sign-in flow can be tried without a real credential.
|
|
1896
|
+
* Continue signs in as the demo account, "Use a passkey from another device" answers with a passkey the
|
|
1897
|
+
* server doesn't know, Cancel or Escape cancels. In an app, pass `browserPasskeyPrompt` instead.
|
|
1898
|
+
*/
|
|
1899
|
+
import { Button } from "@zsherman/kit/button";
|
|
1900
|
+
import {
|
|
1901
|
+
createDialogController,
|
|
1902
|
+
Dialog,
|
|
1903
|
+
DialogContent,
|
|
1904
|
+
DialogDescription,
|
|
1905
|
+
DialogFooter,
|
|
1906
|
+
DialogTitle,
|
|
1907
|
+
} from "@zsherman/kit/dialog";
|
|
1908
|
+
import { Icon } from "@zsherman/kit/icon";
|
|
1909
|
+
import { Text } from "@zsherman/kit/text";
|
|
1910
|
+
import { Fingerprint, KeyRound, Smartphone } from "@zsherman/kit/icons";
|
|
1911
|
+
import styles from "./auth.module.css";
|
|
1912
|
+
import { AuthError, type PasskeyAssertion, type PasskeyPrompt, type PasskeyRequest } from "./types";
|
|
1913
|
+
import { useAuthLabels } from "./labels";
|
|
1914
|
+
|
|
1915
|
+
/** A pretend prompt and the dialog that shows it: render `<Prompt />` once, pass `prompt` to `SignIn`. */
|
|
1916
|
+
export function createFakePasskeyPrompt(account = "ada@northwind.example") {
|
|
1917
|
+
const t = useAuthLabels();
|
|
1918
|
+
|
|
1919
|
+
const dialog = createDialogController<PasskeyRequest>();
|
|
1920
|
+
let pending: { resolve: (a: PasskeyAssertion) => void; reject: (e: Error) => void } | undefined;
|
|
1921
|
+
const settle = (assertion: PasskeyAssertion | null) => {
|
|
1922
|
+
const current = pending;
|
|
1923
|
+
pending = undefined;
|
|
1924
|
+
if (!current) return;
|
|
1925
|
+
if (assertion) current.resolve(assertion);
|
|
1926
|
+
else current.reject(new AuthError(t.passkeySignInWasCancelled, "passkey_cancelled"));
|
|
1927
|
+
};
|
|
1928
|
+
const prompt: PasskeyPrompt = (request) =>
|
|
1929
|
+
new Promise((resolve, reject) => {
|
|
1930
|
+
pending = { resolve, reject };
|
|
1931
|
+
void dialog.open({ payload: request });
|
|
1932
|
+
});
|
|
1933
|
+
const choose = (assertion: PasskeyAssertion | null) => {
|
|
1934
|
+
settle(assertion);
|
|
1935
|
+
void dialog.close();
|
|
1936
|
+
};
|
|
1937
|
+
function Prompt() {
|
|
1938
|
+
const t = useAuthLabels();
|
|
1939
|
+
|
|
1940
|
+
return (
|
|
1941
|
+
<Dialog
|
|
1942
|
+
controller={dialog}
|
|
1943
|
+
onOpenChange={(open) => {
|
|
1944
|
+
if (!open) settle(null);
|
|
1945
|
+
}}
|
|
1946
|
+
>
|
|
1947
|
+
<DialogContent<PasskeyRequest> class={styles.passkeyDialog}>
|
|
1948
|
+
{(state) => (
|
|
1949
|
+
<>
|
|
1950
|
+
<div class={styles.passkeyMark} aria-hidden="true">
|
|
1951
|
+
<Icon icon={Fingerprint} />
|
|
1952
|
+
</div>
|
|
1953
|
+
<DialogTitle class={styles.passkeyTitle}>{t.signInWithYourPasskey}</DialogTitle>
|
|
1954
|
+
<DialogDescription class={styles.passkeyText}>
|
|
1955
|
+
{state.payload?.rpId ?? t.thisSite} {t.wantsToConfirmItsYou}
|
|
1956
|
+
</DialogDescription>
|
|
1957
|
+
<div class={styles.passkeyAccount}>
|
|
1958
|
+
<Icon icon={KeyRound} />
|
|
1959
|
+
<span>
|
|
1960
|
+
<Text size="sm" render={(p) => <span {...p} class={[p.class as string, styles.strong]} />}>
|
|
1961
|
+
{account}
|
|
1962
|
+
</Text>
|
|
1963
|
+
<Text size="xs" tone="muted" render={(p) => <span {...p} style={{ display: "block" }} />}>
|
|
1964
|
+
{t.passkeyOnThisDevice}
|
|
1965
|
+
</Text>
|
|
1966
|
+
</span>
|
|
1967
|
+
</div>
|
|
1968
|
+
<Button
|
|
1969
|
+
variant="ghost"
|
|
1970
|
+
size="sm"
|
|
1971
|
+
class={styles.passkeyOther}
|
|
1972
|
+
onClick={() => choose({ id: "passkey-phone", signature: "demo" })}
|
|
1973
|
+
>
|
|
1974
|
+
<Icon icon={Smartphone} />
|
|
1975
|
+
{t.useAPasskeyFromAnother}
|
|
1976
|
+
</Button>
|
|
1977
|
+
<DialogFooter>
|
|
1978
|
+
<Button onClick={() => choose(null)}>{t.cancel}</Button>
|
|
1979
|
+
<Button
|
|
1980
|
+
variant="primary"
|
|
1981
|
+
autofocus
|
|
1982
|
+
onClick={() => choose({ id: "passkey-ada", signature: "demo" })}
|
|
1983
|
+
>
|
|
1984
|
+
{t.continue}
|
|
1985
|
+
</Button>
|
|
1986
|
+
</DialogFooter>
|
|
1987
|
+
</>
|
|
1988
|
+
)}
|
|
1989
|
+
</DialogContent>
|
|
1990
|
+
</Dialog>
|
|
1991
|
+
);
|
|
1992
|
+
}
|
|
1993
|
+
return { prompt, Prompt };
|
|
1994
|
+
}
|
|
1995
|
+
```
|
|
1996
|
+
|
|
1997
|
+
```tsx title="auth-flow.tsx"
|
|
1998
|
+
/**
|
|
1999
|
+
* Auth flow — the auth blocks' composite for @zsherman/kit: sign in, sign up, forgot and reset password,
|
|
2000
|
+
* and invites, as screens on the centered layout, with the open screen in the URL (`?screen=forgot`,
|
|
2001
|
+
* `?screen=reset&token=…`, `?screen=invite&token=…`), so links in emails open the right one and the server
|
|
2002
|
+
* renders it. With a router, render the screens on your own routes instead.
|
|
2003
|
+
*/
|
|
2004
|
+
import { type AuthLabels, AuthLabelsProvider } from "./labels";
|
|
2005
|
+
import { getRequestEvent, isServer, type JSX } from "@solidjs/web";
|
|
2006
|
+
import { createSignal, Match, Switch, untrack } from "solid-js";
|
|
2007
|
+
import { CenteredLayout, type CenteredVariant } from "../page-layouts/page-layouts";
|
|
2008
|
+
import { AcceptInvite } from "./accept-invite";
|
|
2009
|
+
import { AuthBrand } from "./auth-parts";
|
|
2010
|
+
import { ForgotPassword, ResetPassword } from "./password-reset";
|
|
2011
|
+
import { SignIn, type SignInView } from "./sign-in";
|
|
2012
|
+
import { SignUp } from "./sign-up";
|
|
2013
|
+
import type { AuthApi, PasskeyPrompt, Provider, Session } from "./types";
|
|
2014
|
+
|
|
2015
|
+
export type AuthScreen = "sign-in" | "sign-up" | "forgot" | "reset" | "invite";
|
|
2016
|
+
const SCREENS: AuthScreen[] = ["sign-in", "sign-up", "forgot", "reset", "invite"];
|
|
2017
|
+
|
|
2018
|
+
export interface AuthFlowProps {
|
|
2019
|
+
/** The block's words (any subset of `authLabels` in `labels.tsx`), for a translation. */
|
|
2020
|
+
labels?: Partial<AuthLabels>;
|
|
2021
|
+
api: AuthApi;
|
|
2022
|
+
onSignedIn: (session: Session) => void;
|
|
2023
|
+
/** The product's name in headings. */
|
|
2024
|
+
product?: string;
|
|
2025
|
+
/** Above the card (your logo). */
|
|
2026
|
+
logo?: JSX.Element;
|
|
2027
|
+
/**
|
|
2028
|
+
* Your logo at the top of every card (`AuthBrand`), as in a glass layout; the sign-in heading is then
|
|
2029
|
+
* kept for screen readers only.
|
|
2030
|
+
*/
|
|
2031
|
+
brand?: () => JSX.Element;
|
|
2032
|
+
/** Under the card (terms, privacy, help). */
|
|
2033
|
+
footer?: JSX.Element;
|
|
2034
|
+
/**
|
|
2035
|
+
* `glass`: the screens over soft glows that follow the time of day, each card in a frosted bezel.
|
|
2036
|
+
* `frame`: the same page, each card a frame Card (the heading in its caption bar, the form in its
|
|
2037
|
+
* well). `CenteredLayout`'s variant. @defaultValue "plain"
|
|
2038
|
+
*/
|
|
2039
|
+
variant?: CenteredVariant;
|
|
2040
|
+
/** Behind the screens in glass and frame, in place of the time-of-day glows (`CenteredLayout`'s). */
|
|
2041
|
+
background?: JSX.Element;
|
|
2042
|
+
/** The screen when the URL doesn't name one. @defaultValue "sign-in" */
|
|
2043
|
+
defaultScreen?: AuthScreen;
|
|
2044
|
+
/** How sign-in starts. @defaultValue "password" */
|
|
2045
|
+
signInView?: SignInView;
|
|
2046
|
+
/** An invite or reset token when the URL has none. */
|
|
2047
|
+
token?: string;
|
|
2048
|
+
prompt?: PasskeyPrompt;
|
|
2049
|
+
ssoProviders?: readonly Provider[];
|
|
2050
|
+
/** Keep the screen in the URL. @defaultValue true */
|
|
2051
|
+
url?: boolean;
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
const currentUrl = () =>
|
|
2055
|
+
new URL(isServer ? (getRequestEvent()?.request.url ?? "http://localhost/") : location.href);
|
|
2056
|
+
|
|
2057
|
+
/** AuthFlow, with its words from `labels` over the English in `labels.tsx`. */
|
|
2058
|
+
export function AuthFlow(props: AuthFlowProps) {
|
|
2059
|
+
return (
|
|
2060
|
+
<AuthLabelsProvider labels={props.labels}>
|
|
2061
|
+
<AuthFlowBody {...props} />
|
|
2062
|
+
</AuthLabelsProvider>
|
|
2063
|
+
);
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
function AuthFlowBody(props: AuthFlowProps) {
|
|
2067
|
+
const useUrl = untrack(() => props.url !== false);
|
|
2068
|
+
const fromUrl = useUrl ? currentUrl().searchParams : new URLSearchParams();
|
|
2069
|
+
const named = fromUrl.get("screen") as AuthScreen | null;
|
|
2070
|
+
const [screen, setScreen] = createSignal<AuthScreen>(
|
|
2071
|
+
named && SCREENS.includes(named) ? named : untrack(() => props.defaultScreen ?? "sign-in"),
|
|
2072
|
+
);
|
|
2073
|
+
const [token, setToken] = createSignal(fromUrl.get("token") ?? untrack(() => props.token) ?? "");
|
|
2074
|
+
const [email, setEmail] = createSignal("");
|
|
2075
|
+
|
|
2076
|
+
const go = (next: AuthScreen, nextToken?: string) => {
|
|
2077
|
+
setScreen(next);
|
|
2078
|
+
if (nextToken !== undefined) setToken(nextToken);
|
|
2079
|
+
if (!useUrl || isServer) return;
|
|
2080
|
+
const url = new URL(location.href);
|
|
2081
|
+
url.searchParams.set("screen", next);
|
|
2082
|
+
if (nextToken) url.searchParams.set("token", nextToken);
|
|
2083
|
+
else if (next !== "reset" && next !== "invite") url.searchParams.delete("token");
|
|
2084
|
+
history.pushState(null, "", `${url.pathname}?${url.searchParams}`);
|
|
2085
|
+
};
|
|
2086
|
+
|
|
2087
|
+
return (
|
|
2088
|
+
<CenteredLayout
|
|
2089
|
+
logo={props.logo}
|
|
2090
|
+
footer={props.footer}
|
|
2091
|
+
variant={props.variant}
|
|
2092
|
+
background={props.background}
|
|
2093
|
+
>
|
|
2094
|
+
<AuthBrand logo={props.brand}>
|
|
2095
|
+
<Switch>
|
|
2096
|
+
<Match when={screen() === "sign-in"}>
|
|
2097
|
+
<SignIn
|
|
2098
|
+
api={props.api}
|
|
2099
|
+
product={props.product}
|
|
2100
|
+
title={props.brand ? null : undefined}
|
|
2101
|
+
defaultView={props.signInView}
|
|
2102
|
+
prompt={props.prompt}
|
|
2103
|
+
ssoProviders={props.ssoProviders}
|
|
2104
|
+
onSignedIn={props.onSignedIn}
|
|
2105
|
+
onSignUp={() => go("sign-up")}
|
|
2106
|
+
onForgot={(typed) => {
|
|
2107
|
+
setEmail(typed);
|
|
2108
|
+
go("forgot");
|
|
2109
|
+
}}
|
|
2110
|
+
/>
|
|
2111
|
+
</Match>
|
|
2112
|
+
<Match when={screen() === "sign-up"}>
|
|
2113
|
+
<SignUp
|
|
2114
|
+
api={props.api}
|
|
2115
|
+
product={props.product}
|
|
2116
|
+
onSignedIn={props.onSignedIn}
|
|
2117
|
+
onSignIn={() => go("sign-in")}
|
|
2118
|
+
/>
|
|
2119
|
+
</Match>
|
|
2120
|
+
<Match when={screen() === "forgot"}>
|
|
2121
|
+
<ForgotPassword api={props.api} email={email()} onBack={() => go("sign-in")} />
|
|
2122
|
+
</Match>
|
|
2123
|
+
<Match when={screen() === "reset"}>
|
|
2124
|
+
<ResetPassword
|
|
2125
|
+
api={props.api}
|
|
2126
|
+
token={token()}
|
|
2127
|
+
onSignIn={() => go("sign-in")}
|
|
2128
|
+
onRequestNew={() => go("forgot")}
|
|
2129
|
+
/>
|
|
2130
|
+
</Match>
|
|
2131
|
+
<Match when={screen() === "invite"}>
|
|
2132
|
+
<AcceptInvite
|
|
2133
|
+
api={props.api}
|
|
2134
|
+
token={token()}
|
|
2135
|
+
onSignedIn={props.onSignedIn}
|
|
2136
|
+
onSignIn={() => go("sign-in")}
|
|
2137
|
+
/>
|
|
2138
|
+
</Match>
|
|
2139
|
+
</Switch>
|
|
2140
|
+
</AuthBrand>
|
|
2141
|
+
</CenteredLayout>
|
|
2142
|
+
);
|
|
2143
|
+
}
|
|
2144
|
+
```
|
|
2145
|
+
|
|
2146
|
+
```tsx title="labels.tsx"
|
|
2147
|
+
/**
|
|
2148
|
+
* The auth block's words, in English. Pass `labels` (any subset of these) to the block's root, or wrap
|
|
2149
|
+
* part of the page in `<AuthLabelsProvider labels={…}>`, to translate or reword them; dates and numbers follow
|
|
2150
|
+
* `LocaleProvider`'s locale. The keys are grouped by the file that uses them.
|
|
2151
|
+
*/
|
|
2152
|
+
import type { JSX } from "@solidjs/web";
|
|
2153
|
+
import { createContext, getOwner, useContext } from "solid-js";
|
|
2154
|
+
|
|
2155
|
+
export const authLabels = {
|
|
2156
|
+
// auth-parts.tsx
|
|
2157
|
+
byContinuingYouAgree: "By continuing, you agree to the",
|
|
2158
|
+
termsOfServiceLink: "Terms of Service",
|
|
2159
|
+
and: "and",
|
|
2160
|
+
privacyPolicyLink: "Privacy Policy",
|
|
2161
|
+
// accept-invite.tsx
|
|
2162
|
+
thisInviteCantBeUsed: "This invite can't be used",
|
|
2163
|
+
couldntLoadTheInvite: "Couldn't load the invite",
|
|
2164
|
+
theInviteExpired: "The invite expired",
|
|
2165
|
+
theInviteWasUsed: "The invite was used",
|
|
2166
|
+
theServerDidntAnswer: "The server didn't answer",
|
|
2167
|
+
tryAgain: "Try again",
|
|
2168
|
+
signInInstead: "Sign in instead",
|
|
2169
|
+
joinWorkspace: (workspace: string | number) => `Join ${workspace}`,
|
|
2170
|
+
orSetAPassword: "or set a password",
|
|
2171
|
+
couldntJoin: "Couldn't join",
|
|
2172
|
+
acceptTheInvite: "Accept the invite",
|
|
2173
|
+
email: "Email",
|
|
2174
|
+
theInviteIsForThis: "The invite is for this address.",
|
|
2175
|
+
fullName: "Full name",
|
|
2176
|
+
enterYourName: "Enter your name.",
|
|
2177
|
+
password: "Password",
|
|
2178
|
+
chooseAPassword: "Choose a password.",
|
|
2179
|
+
openingYourInvite: "Opening your invite…",
|
|
2180
|
+
loadingTheInvite: "Loading the invite…",
|
|
2181
|
+
// auth-parts.tsx
|
|
2182
|
+
somethingWentWrongTryAgain: "Something went wrong. Try again.",
|
|
2183
|
+
/** A refused field's message with the tries left ("Wrong password. 2 tries left."). */
|
|
2184
|
+
triesLeft: (message: string, left: number) => `${message} ${left} ${left === 1 ? "try" : "tries"} left.`,
|
|
2185
|
+
strengthWords: ["Too weak", "Weak", "Fair", "Good", "Strong"],
|
|
2186
|
+
ruleMet: "(met)",
|
|
2187
|
+
passwordRules: "Meet the rules below: 10 characters or more, a number or a symbol.",
|
|
2188
|
+
passwordsDontMatch: "The passwords don't match.",
|
|
2189
|
+
noSso: "No single sign-on is set up for this domain. Sign in with a password or a link.",
|
|
2190
|
+
enterAllDigits: "Enter all 6 digits.",
|
|
2191
|
+
resendCode: "Resend code",
|
|
2192
|
+
resendIn: (label: string, time: string) => `${label} in ${time}`,
|
|
2193
|
+
ssoDomain: (domain: string, provider: string) => `${domain} signs in with ${provider}`,
|
|
2194
|
+
continueWithProvider: (provider: string) => `Continue with ${provider}`,
|
|
2195
|
+
/** `terms` and `privacy` are the two links. */
|
|
2196
|
+
agreeTo: (terms: JSX.Element, privacy: JSX.Element) => (
|
|
2197
|
+
<>
|
|
2198
|
+
I agree to the {terms} and the {privacy}
|
|
2199
|
+
</>
|
|
2200
|
+
),
|
|
2201
|
+
notYourAddress: (email: string, inviter: string) =>
|
|
2202
|
+
`Not ${email}? Ask ${inviter} to invite another address.`,
|
|
2203
|
+
/** Each part is bold; `role` a badge. */
|
|
2204
|
+
invitedYou: (inviter: JSX.Element, workspace: JSX.Element, role: JSX.Element) => (
|
|
2205
|
+
<>
|
|
2206
|
+
{inviter} invited you to {workspace} as {role}
|
|
2207
|
+
</>
|
|
2208
|
+
),
|
|
2209
|
+
joinWorkspaceButton: (workspace: string) => `Join ${workspace}`,
|
|
2210
|
+
/** `email` is in bold. */
|
|
2211
|
+
resetSent: (email: JSX.Element) => (
|
|
2212
|
+
<>If {email} has an account, a reset link is on its way. It works for one hour.</>
|
|
2213
|
+
),
|
|
2214
|
+
continueWith: "Continue with",
|
|
2215
|
+
n10CharactersOrMore: "10 characters or more",
|
|
2216
|
+
aNumberOrASymbol: "A number or a symbol",
|
|
2217
|
+
notYourEmail: "Not your email",
|
|
2218
|
+
strength: "Strength",
|
|
2219
|
+
notYet: "(not yet)",
|
|
2220
|
+
couldntSendTryAgain: "Couldn't send. Try again.",
|
|
2221
|
+
// passkey-prompt.tsx
|
|
2222
|
+
passkeySignInWasCancelled: "Passkey sign-in was cancelled.",
|
|
2223
|
+
signInWithYourPasskey: "Sign in with your passkey",
|
|
2224
|
+
thisSite: "This site",
|
|
2225
|
+
wantsToConfirmItsYou:
|
|
2226
|
+
"wants to confirm it's you. The browser shows this, not the site (a stand-in for the demo).",
|
|
2227
|
+
passkeyOnThisDevice: "Passkey on this device",
|
|
2228
|
+
useAPasskeyFromAnother: "Use a passkey from another device",
|
|
2229
|
+
cancel: "Cancel",
|
|
2230
|
+
continue: "Continue",
|
|
2231
|
+
// passkey.ts
|
|
2232
|
+
// password-reset.tsx
|
|
2233
|
+
backToSignIn: "Back to sign in",
|
|
2234
|
+
resetYourPassword: "Reset your password",
|
|
2235
|
+
enterYourAccountsEmailAnd: "Enter your account's email and we'll send you a link to choose a new password.",
|
|
2236
|
+
couldntSendTheLink: "Couldn't send the link",
|
|
2237
|
+
enterYourEmail: "Enter your email.",
|
|
2238
|
+
enterAnEmailLikeName: "Enter an email like name@company.com.",
|
|
2239
|
+
sendResetLink: "Send reset link",
|
|
2240
|
+
checkYourEmail: "Check your email",
|
|
2241
|
+
sendAgain: "Send again",
|
|
2242
|
+
chooseANewPassword: "Choose a new password",
|
|
2243
|
+
checkingTheLink: "Checking the link…",
|
|
2244
|
+
thisLinkHasExpired: "This link has expired",
|
|
2245
|
+
resetLinksWorkForOne: "Reset links work for one hour",
|
|
2246
|
+
sendYourselfANewOne: "Send yourself a new one; your password hasn't changed.",
|
|
2247
|
+
sendANewLink: "Send a new link",
|
|
2248
|
+
signIn: "Sign in",
|
|
2249
|
+
passwordChanged: "Password changed",
|
|
2250
|
+
signInWithYourNew: "Sign in with your new password. Other devices were signed out.",
|
|
2251
|
+
for: "For",
|
|
2252
|
+
couldntChangeThePassword: "Couldn't change the password",
|
|
2253
|
+
newPassword: "New password",
|
|
2254
|
+
typeItAgain: "Type it again",
|
|
2255
|
+
typeThePasswordAgain: "Type the password again.",
|
|
2256
|
+
changePassword: "Change password",
|
|
2257
|
+
// sign-in.tsx
|
|
2258
|
+
yourAccount: "your account",
|
|
2259
|
+
signInIsLocked: "Sign-in is locked",
|
|
2260
|
+
tooManyTries: "Too many tries",
|
|
2261
|
+
couldntSignYouIn: "Couldn't sign you in",
|
|
2262
|
+
passkeySignInWasCancelled2: "Passkey sign-in was cancelled",
|
|
2263
|
+
couldntSignInWithA: "Couldn't sign in with a passkey",
|
|
2264
|
+
tryAgainOrSignIn: "Try again, or sign in another way.",
|
|
2265
|
+
couldntSendACode: "Couldn't send a code",
|
|
2266
|
+
signInWithAPasskey: "Sign in with a passkey",
|
|
2267
|
+
emailMeASignIn: "Email me a sign-in link",
|
|
2268
|
+
useSingleSignOn: "Use single sign-on",
|
|
2269
|
+
newHere: "New here?",
|
|
2270
|
+
dontHaveAnAccount: "Don't have an account?",
|
|
2271
|
+
createOne: "Create one",
|
|
2272
|
+
emailPlaceholder: "name@company.com",
|
|
2273
|
+
yourPassword: "Your password",
|
|
2274
|
+
createAnAccount: "Create an account",
|
|
2275
|
+
signInToProduct: (product: string | number) => `Sign in to ${product}`,
|
|
2276
|
+
welcomeBack: "Welcome back.",
|
|
2277
|
+
orWithYourEmail: "or with your email",
|
|
2278
|
+
forgotPassword: "Forgot password?",
|
|
2279
|
+
enterYourPassword: "Enter your password.",
|
|
2280
|
+
keepMeSignedInOn: "Keep me signed in on this device",
|
|
2281
|
+
useThePasskeyOnThis:
|
|
2282
|
+
"Use the passkey on this device: your fingerprint, face or screen lock. No password to type.",
|
|
2283
|
+
waitingForYourPasskey: "Waiting for your passkey…",
|
|
2284
|
+
signInWithEmailAnd: "Sign in with email and password",
|
|
2285
|
+
signInWithALink: "Sign in with a link",
|
|
2286
|
+
wellEmailYouALink: "We'll email you a link that signs you in. No password needed.",
|
|
2287
|
+
workEmail: "Work email",
|
|
2288
|
+
emailMeALink: "Email me a link",
|
|
2289
|
+
weSentASignIn: "We sent a sign-in link to",
|
|
2290
|
+
theLinkSignsYouIn:
|
|
2291
|
+
"The link signs you in on this device and works for 15 minutes. Check your spam folder if it doesn't arrive.",
|
|
2292
|
+
resendTheLink: "Resend the link",
|
|
2293
|
+
enterACodeInstead: "Enter a code instead",
|
|
2294
|
+
useADifferentEmail: "Use a different email",
|
|
2295
|
+
singleSignOn: "Single sign-on",
|
|
2296
|
+
signInWithYourCompanys: "Sign in with your company's identity provider.",
|
|
2297
|
+
findYourCompanysSingleSign: "Find your company's single sign-on",
|
|
2298
|
+
enterYourWorkEmail: "Enter your work email.",
|
|
2299
|
+
orChooseYourProvider: "or choose your provider",
|
|
2300
|
+
identityProviders: "Identity providers",
|
|
2301
|
+
resetPassword: "Reset password",
|
|
2302
|
+
tryAgainIn: "Try again in",
|
|
2303
|
+
// auth-parts.tsx: the ways in past the first few
|
|
2304
|
+
moreOptions: "More options",
|
|
2305
|
+
fewerOptions: "Fewer options",
|
|
2306
|
+
// sign-up.tsx
|
|
2307
|
+
createYourProductAccount: (product: string | number) => `Create your ${product} account`,
|
|
2308
|
+
freeFor14DaysNo: "Free for 14 days. No card needed.",
|
|
2309
|
+
haveAnAccount: "Have an account?",
|
|
2310
|
+
signUpWith: "Sign up with",
|
|
2311
|
+
couldntCreateTheAccount: "Couldn't create the account",
|
|
2312
|
+
signInToThatAccount: "Sign in to that account instead",
|
|
2313
|
+
terms: "terms",
|
|
2314
|
+
privacyPolicy: "privacy policy",
|
|
2315
|
+
createAccount: "Create account",
|
|
2316
|
+
// types.ts
|
|
2317
|
+
// verify-code.tsx
|
|
2318
|
+
verifyYourEmail: "Verify your email",
|
|
2319
|
+
enterTheCode: "Enter the code",
|
|
2320
|
+
weSentA6Digit: "We sent a 6-digit code to",
|
|
2321
|
+
couldntCheckTheCode: "Couldn't check the code",
|
|
2322
|
+
verificationCode: "Verification code",
|
|
2323
|
+
code: "Code",
|
|
2324
|
+
itWorksFor10Minutes: "It works for 10 minutes.",
|
|
2325
|
+
enterThe6DigitsFrom: "Enter the 6 digits from the email.",
|
|
2326
|
+
verifyEmail: "Verify email",
|
|
2327
|
+
};
|
|
2328
|
+
|
|
2329
|
+
export type AuthLabels = typeof authLabels;
|
|
2330
|
+
|
|
2331
|
+
const LabelsContext = createContext<AuthLabels | null>(null);
|
|
2332
|
+
|
|
2333
|
+
/** The words in effect: the nearest `labels` override, else the English above (also outside a component). */
|
|
2334
|
+
export function useAuthLabels(): AuthLabels {
|
|
2335
|
+
return (getOwner() ? useContext(LabelsContext) : null) ?? authLabels;
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
/** Overrides some of the block's words for everything inside; nested overrides merge. */
|
|
2339
|
+
export function AuthLabelsProvider(props: { labels?: Partial<AuthLabels>; children: JSX.Element }) {
|
|
2340
|
+
const parent = useAuthLabels();
|
|
2341
|
+
const value = new Proxy(parent, {
|
|
2342
|
+
get: (target, key) =>
|
|
2343
|
+
(props.labels as Record<PropertyKey, unknown> | undefined)?.[key] ?? Reflect.get(target, key),
|
|
2344
|
+
});
|
|
2345
|
+
return <LabelsContext value={value}>{props.children}</LabelsContext>;
|
|
2346
|
+
}
|
|
2347
|
+
```
|
|
2348
|
+
|
|
2349
|
+
```css title="auth.module.css"
|
|
2350
|
+
/*
|
|
2351
|
+
* Auth blocks styles. Plain CSS on --sui-* tokens: copy alongside the auth folder. Screens sit in the
|
|
2352
|
+
* centered layout's column (24rem).
|
|
2353
|
+
*/
|
|
2354
|
+
|
|
2355
|
+
.card {
|
|
2356
|
+
box-shadow: var(--sui-shadow-sm);
|
|
2357
|
+
}
|
|
2358
|
+
.cardHeader {
|
|
2359
|
+
text-align: center;
|
|
2360
|
+
justify-items: center;
|
|
2361
|
+
}
|
|
2362
|
+
.title {
|
|
2363
|
+
margin: 0;
|
|
2364
|
+
font-family: var(--sui-font-heading);
|
|
2365
|
+
font-size: var(--sui-text-2xl);
|
|
2366
|
+
letter-spacing: var(--sui-tracking-tight);
|
|
2367
|
+
line-height: var(--sui-leading-tight);
|
|
2368
|
+
text-wrap: balance;
|
|
2369
|
+
}
|
|
2370
|
+
.description {
|
|
2371
|
+
text-wrap: pretty;
|
|
2372
|
+
}
|
|
2373
|
+
.brand {
|
|
2374
|
+
display: flex;
|
|
2375
|
+
justify-content: center;
|
|
2376
|
+
padding-inline: var(--card-padding);
|
|
2377
|
+
}
|
|
2378
|
+
.cardContent {
|
|
2379
|
+
display: grid;
|
|
2380
|
+
gap: var(--sui-space-6);
|
|
2381
|
+
}
|
|
2382
|
+
.cardFooter {
|
|
2383
|
+
justify-content: center;
|
|
2384
|
+
text-align: center;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
/* In a frame layout: a frame Card, the heading as its caption, everything else in the well. */
|
|
2388
|
+
.frame {
|
|
2389
|
+
/* The well is roomier than a panel's: a form's breathing room. */
|
|
2390
|
+
--card-padding: var(--sui-space-6);
|
|
2391
|
+
}
|
|
2392
|
+
.frameWell {
|
|
2393
|
+
gap: var(--sui-space-5);
|
|
2394
|
+
/* The form's controls are the large size here (40px): the roomier card wants taller targets. */
|
|
2395
|
+
--sui-control-md: var(--sui-control-lg);
|
|
2396
|
+
--sui-control-padding-md: var(--sui-control-padding-lg);
|
|
2397
|
+
/* The well lets the backdrop through; opaque control fills cut holes in it. In the dark scheme the
|
|
2398
|
+
fields and secondary buttons take a light wash instead, so the color behind still shows. (Scoped to
|
|
2399
|
+
the controls, not `--sui-surface`, so a popup opened from the well keeps its solid surface.) */
|
|
2400
|
+
--auth-frame-control: light-dark(var(--sui-surface), color-mix(in oklab, var(--sui-text) 5%, transparent));
|
|
2401
|
+
--auth-frame-control-hover: light-dark(
|
|
2402
|
+
var(--sui-surface-hover),
|
|
2403
|
+
color-mix(in oklab, var(--sui-text) 10%, transparent)
|
|
2404
|
+
);
|
|
2405
|
+
}
|
|
2406
|
+
.frameWell
|
|
2407
|
+
:is(
|
|
2408
|
+
[data-slot="input"],
|
|
2409
|
+
[data-slot="password-input"],
|
|
2410
|
+
[data-slot="otp-input-slot"],
|
|
2411
|
+
[data-slot="button"][data-variant="secondary"]
|
|
2412
|
+
) {
|
|
2413
|
+
background-color: var(--auth-frame-control);
|
|
2414
|
+
}
|
|
2415
|
+
.frameWell [data-slot="button"][data-variant="secondary"]:hover:not([data-disabled]) {
|
|
2416
|
+
background-color: var(--auth-frame-control-hover);
|
|
2417
|
+
}
|
|
2418
|
+
.frameBrand {
|
|
2419
|
+
display: flex;
|
|
2420
|
+
justify-content: center;
|
|
2421
|
+
padding-block: var(--sui-space-2) var(--sui-space-1);
|
|
2422
|
+
}
|
|
2423
|
+
.frameDescription {
|
|
2424
|
+
margin: 0;
|
|
2425
|
+
font-size: var(--sui-text-sm);
|
|
2426
|
+
line-height: var(--sui-leading-normal);
|
|
2427
|
+
color: var(--sui-text-muted);
|
|
2428
|
+
text-align: center;
|
|
2429
|
+
text-wrap: pretty;
|
|
2430
|
+
}
|
|
2431
|
+
.frameFooter {
|
|
2432
|
+
justify-content: center;
|
|
2433
|
+
text-align: center;
|
|
2434
|
+
}
|
|
2435
|
+
.form {
|
|
2436
|
+
display: grid;
|
|
2437
|
+
gap: var(--sui-space-4);
|
|
2438
|
+
}
|
|
2439
|
+
/* Every field on these forms is required, so the kit's required mark says nothing here. */
|
|
2440
|
+
.form [data-slot="field-label"][data-required]::after {
|
|
2441
|
+
content: none;
|
|
2442
|
+
}
|
|
2443
|
+
.wide {
|
|
2444
|
+
width: 100%;
|
|
2445
|
+
}
|
|
2446
|
+
/* Small ghost buttons at the column's two edges: pulled out by their own padding and (transparent) border,
|
|
2447
|
+
so their text lines up with the labels, fields and buttons above (the hover fill overhangs instead). */
|
|
2448
|
+
.row {
|
|
2449
|
+
display: flex;
|
|
2450
|
+
flex-wrap: wrap;
|
|
2451
|
+
align-items: center;
|
|
2452
|
+
justify-content: space-between;
|
|
2453
|
+
gap: var(--sui-space-2);
|
|
2454
|
+
margin-inline: calc(-1 * var(--sui-control-padding-sm) - 1px);
|
|
2455
|
+
}
|
|
2456
|
+
/* The password's label and "Forgot password?" share the first row; the input spans the second. The link
|
|
2457
|
+
comes after the input in the source (Tab: email, password, then the link). */
|
|
2458
|
+
.passwordGrid {
|
|
2459
|
+
display: grid;
|
|
2460
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
2461
|
+
align-items: baseline;
|
|
2462
|
+
column-gap: var(--sui-space-2);
|
|
2463
|
+
row-gap: var(--sui-space-1_5);
|
|
2464
|
+
}
|
|
2465
|
+
.passwordGrid > * {
|
|
2466
|
+
grid-column: 1 / -1;
|
|
2467
|
+
}
|
|
2468
|
+
.passwordGrid > [data-slot="field-label"] {
|
|
2469
|
+
grid-row: 1;
|
|
2470
|
+
grid-column: 1;
|
|
2471
|
+
}
|
|
2472
|
+
.passwordGrid > .forgot {
|
|
2473
|
+
grid-row: 1;
|
|
2474
|
+
grid-column: 2;
|
|
2475
|
+
}
|
|
2476
|
+
.small {
|
|
2477
|
+
font-size: var(--sui-text-sm);
|
|
2478
|
+
}
|
|
2479
|
+
/* "Forgot password?": beside the label, in the accent. It stands alone (not in running text), so the
|
|
2480
|
+
accent and its place say it's a link: no underline until it's hovered. */
|
|
2481
|
+
.forgot {
|
|
2482
|
+
font-size: var(--sui-text-sm);
|
|
2483
|
+
}
|
|
2484
|
+
.forgot:not(:hover) {
|
|
2485
|
+
text-decoration-line: none;
|
|
2486
|
+
}
|
|
2487
|
+
/* "Create one": the text's color at medium weight, so it reads as part of its sentence; the faint underline
|
|
2488
|
+
still tells it apart from the words around it without color (WCAG 1.4.1). */
|
|
2489
|
+
.textAction {
|
|
2490
|
+
color: var(--sui-text);
|
|
2491
|
+
font-weight: var(--sui-weight-medium);
|
|
2492
|
+
}
|
|
2493
|
+
.consent {
|
|
2494
|
+
text-align: center;
|
|
2495
|
+
text-wrap: balance;
|
|
2496
|
+
}
|
|
2497
|
+
.strong {
|
|
2498
|
+
font-weight: var(--sui-weight-medium);
|
|
2499
|
+
}
|
|
2500
|
+
.nowrap {
|
|
2501
|
+
white-space: nowrap;
|
|
2502
|
+
}
|
|
2503
|
+
.grow {
|
|
2504
|
+
flex: 1;
|
|
2505
|
+
}
|
|
2506
|
+
.check {
|
|
2507
|
+
align-items: flex-start;
|
|
2508
|
+
font-size: var(--sui-text-sm);
|
|
2509
|
+
line-height: var(--sui-leading-normal);
|
|
2510
|
+
}
|
|
2511
|
+
.back {
|
|
2512
|
+
justify-self: center;
|
|
2513
|
+
}
|
|
2514
|
+
|
|
2515
|
+
/* ---- Providers: the brand's mark (or a monogram tile) and the name ---- */
|
|
2516
|
+
|
|
2517
|
+
.providers {
|
|
2518
|
+
display: grid;
|
|
2519
|
+
gap: var(--sui-space-3);
|
|
2520
|
+
}
|
|
2521
|
+
.provider,
|
|
2522
|
+
.idp {
|
|
2523
|
+
width: 100%;
|
|
2524
|
+
justify-content: center;
|
|
2525
|
+
}
|
|
2526
|
+
.monogram {
|
|
2527
|
+
box-sizing: border-box;
|
|
2528
|
+
display: inline-grid;
|
|
2529
|
+
place-items: center;
|
|
2530
|
+
flex-shrink: 0;
|
|
2531
|
+
width: 1.25rem;
|
|
2532
|
+
height: 1.25rem;
|
|
2533
|
+
border-radius: var(--sui-radius-sm);
|
|
2534
|
+
border: 1px solid var(--sui-border);
|
|
2535
|
+
background-color: var(--sui-surface);
|
|
2536
|
+
background-image: linear-gradient(var(--tile), var(--tile));
|
|
2537
|
+
color: var(--tile-ink, var(--sui-text));
|
|
2538
|
+
font-size: var(--sui-text-xs);
|
|
2539
|
+
font-weight: var(--sui-weight-semibold);
|
|
2540
|
+
line-height: 1;
|
|
2541
|
+
--tile: var(--sui-surface-muted);
|
|
2542
|
+
}
|
|
2543
|
+
.monogram[data-provider="google"],
|
|
2544
|
+
.monogram[data-provider="okta"] {
|
|
2545
|
+
--tile: var(--sui-info-subtle);
|
|
2546
|
+
--tile-ink: var(--sui-info-text);
|
|
2547
|
+
}
|
|
2548
|
+
.monogram[data-provider="microsoft"],
|
|
2549
|
+
.monogram[data-provider="microsoft entra id"] {
|
|
2550
|
+
--tile: var(--sui-success-subtle);
|
|
2551
|
+
--tile-ink: var(--sui-success-text);
|
|
2552
|
+
}
|
|
2553
|
+
.monogram[data-provider="google workspace"],
|
|
2554
|
+
.monogram[data-provider="onelogin"] {
|
|
2555
|
+
--tile: var(--sui-accent-subtle);
|
|
2556
|
+
--tile-ink: var(--sui-accent-text);
|
|
2557
|
+
}
|
|
2558
|
+
.mark {
|
|
2559
|
+
flex-shrink: 0;
|
|
2560
|
+
}
|
|
2561
|
+
.idpList {
|
|
2562
|
+
display: grid;
|
|
2563
|
+
grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
|
|
2564
|
+
gap: var(--sui-space-2);
|
|
2565
|
+
margin: 0;
|
|
2566
|
+
padding: 0;
|
|
2567
|
+
list-style: none;
|
|
2568
|
+
}
|
|
2569
|
+
.idp {
|
|
2570
|
+
justify-content: flex-start;
|
|
2571
|
+
}
|
|
2572
|
+
|
|
2573
|
+
/* ---- The "or" divider ---- */
|
|
2574
|
+
|
|
2575
|
+
.divider {
|
|
2576
|
+
display: flex;
|
|
2577
|
+
align-items: center;
|
|
2578
|
+
gap: var(--sui-space-4);
|
|
2579
|
+
color: var(--sui-text-muted);
|
|
2580
|
+
font-size: var(--sui-text-xs);
|
|
2581
|
+
font-weight: var(--sui-weight-medium);
|
|
2582
|
+
letter-spacing: 0.06em;
|
|
2583
|
+
text-transform: uppercase;
|
|
2584
|
+
}
|
|
2585
|
+
.divider::before,
|
|
2586
|
+
.divider::after {
|
|
2587
|
+
content: "";
|
|
2588
|
+
flex: 1;
|
|
2589
|
+
height: 1px;
|
|
2590
|
+
background: var(--sui-border);
|
|
2591
|
+
}
|
|
2592
|
+
.divider > span:empty {
|
|
2593
|
+
display: none;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
/* ---- Other ways in ---- */
|
|
2597
|
+
|
|
2598
|
+
.otherWays {
|
|
2599
|
+
display: grid;
|
|
2600
|
+
gap: var(--sui-space-3);
|
|
2601
|
+
}
|
|
2602
|
+
/* "More options": quiet, centered under the ways in, its chevron after the words. */
|
|
2603
|
+
.moreOptions {
|
|
2604
|
+
justify-self: center;
|
|
2605
|
+
color: var(--sui-text-muted);
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
/* ---- Alerts and statuses ---- */
|
|
2609
|
+
|
|
2610
|
+
.alert {
|
|
2611
|
+
text-align: start;
|
|
2612
|
+
}
|
|
2613
|
+
.alertActions {
|
|
2614
|
+
display: flex;
|
|
2615
|
+
flex-wrap: wrap;
|
|
2616
|
+
gap: var(--sui-space-2);
|
|
2617
|
+
margin-block-start: var(--sui-space-2);
|
|
2618
|
+
}
|
|
2619
|
+
.sent {
|
|
2620
|
+
display: grid;
|
|
2621
|
+
justify-items: center;
|
|
2622
|
+
gap: var(--sui-space-3);
|
|
2623
|
+
text-align: center;
|
|
2624
|
+
}
|
|
2625
|
+
.sentIcon {
|
|
2626
|
+
display: grid;
|
|
2627
|
+
place-items: center;
|
|
2628
|
+
width: 2.5rem;
|
|
2629
|
+
height: 2.5rem;
|
|
2630
|
+
border-radius: var(--sui-radius-full);
|
|
2631
|
+
background-color: var(--sui-surface);
|
|
2632
|
+
background-image: linear-gradient(var(--sui-accent-subtle), var(--sui-accent-subtle));
|
|
2633
|
+
color: var(--sui-accent-text);
|
|
2634
|
+
}
|
|
2635
|
+
.sentIcon[data-tone="success"] {
|
|
2636
|
+
background-image: linear-gradient(var(--sui-success-subtle), var(--sui-success-subtle));
|
|
2637
|
+
color: var(--sui-success-text);
|
|
2638
|
+
}
|
|
2639
|
+
.sentIcon svg {
|
|
2640
|
+
width: 1.25rem;
|
|
2641
|
+
height: 1.25rem;
|
|
2642
|
+
}
|
|
2643
|
+
.resend {
|
|
2644
|
+
display: inline-flex;
|
|
2645
|
+
flex-wrap: wrap;
|
|
2646
|
+
align-items: center;
|
|
2647
|
+
gap: var(--sui-space-2);
|
|
2648
|
+
}
|
|
2649
|
+
.resendTimer {
|
|
2650
|
+
font-variant-numeric: tabular-nums;
|
|
2651
|
+
}
|
|
2652
|
+
.inlineError {
|
|
2653
|
+
color: var(--sui-danger-text);
|
|
2654
|
+
}
|
|
2655
|
+
.empty {
|
|
2656
|
+
padding-block: var(--sui-space-2);
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
/* ---- Password strength ---- */
|
|
2660
|
+
|
|
2661
|
+
.strength {
|
|
2662
|
+
display: grid;
|
|
2663
|
+
gap: var(--sui-space-2);
|
|
2664
|
+
margin-block-start: var(--sui-space-1);
|
|
2665
|
+
}
|
|
2666
|
+
.strengthLabel {
|
|
2667
|
+
color: var(--sui-text-muted);
|
|
2668
|
+
}
|
|
2669
|
+
.rules {
|
|
2670
|
+
display: grid;
|
|
2671
|
+
gap: 2px;
|
|
2672
|
+
margin: 0;
|
|
2673
|
+
padding: 0;
|
|
2674
|
+
list-style: none;
|
|
2675
|
+
font-size: var(--sui-text-xs);
|
|
2676
|
+
color: var(--sui-text-muted);
|
|
2677
|
+
}
|
|
2678
|
+
.rule {
|
|
2679
|
+
display: flex;
|
|
2680
|
+
align-items: center;
|
|
2681
|
+
gap: var(--sui-space-2);
|
|
2682
|
+
}
|
|
2683
|
+
.rule[data-ok] {
|
|
2684
|
+
color: var(--sui-success-text);
|
|
2685
|
+
}
|
|
2686
|
+
.ruleIcon {
|
|
2687
|
+
flex-shrink: 0;
|
|
2688
|
+
width: 0.875rem;
|
|
2689
|
+
height: 0.875rem;
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
/* ---- Codes, single sign-on, invites ---- */
|
|
2693
|
+
|
|
2694
|
+
/* The code spans the column like the fields and the button around it: the slots share the width. */
|
|
2695
|
+
.otp[data-slot="otp-input"] {
|
|
2696
|
+
display: flex;
|
|
2697
|
+
}
|
|
2698
|
+
.otp > [data-slot="otp-input-group"] {
|
|
2699
|
+
display: flex;
|
|
2700
|
+
flex: 1;
|
|
2701
|
+
}
|
|
2702
|
+
.otp [data-slot="otp-input-slot"] {
|
|
2703
|
+
flex: 1;
|
|
2704
|
+
width: auto;
|
|
2705
|
+
}
|
|
2706
|
+
.ssoFound {
|
|
2707
|
+
display: grid;
|
|
2708
|
+
gap: var(--sui-space-3);
|
|
2709
|
+
}
|
|
2710
|
+
.ssoOrg,
|
|
2711
|
+
.invite {
|
|
2712
|
+
display: flex;
|
|
2713
|
+
align-items: center;
|
|
2714
|
+
gap: var(--sui-space-3);
|
|
2715
|
+
padding: var(--sui-space-3);
|
|
2716
|
+
border: 1px solid var(--sui-border);
|
|
2717
|
+
border-radius: var(--sui-radius-md);
|
|
2718
|
+
background-color: var(--sui-surface-muted);
|
|
2719
|
+
}
|
|
2720
|
+
.ssoOrg .monogram {
|
|
2721
|
+
width: 2rem;
|
|
2722
|
+
height: 2rem;
|
|
2723
|
+
font-size: var(--sui-text-sm);
|
|
2724
|
+
}
|
|
2725
|
+
.loading {
|
|
2726
|
+
display: grid;
|
|
2727
|
+
gap: var(--sui-space-3);
|
|
2728
|
+
}
|
|
2729
|
+
.skeletonAvatar {
|
|
2730
|
+
width: 2rem;
|
|
2731
|
+
height: 2rem;
|
|
2732
|
+
}
|
|
2733
|
+
.skeletonButton {
|
|
2734
|
+
height: var(--sui-control-md);
|
|
2735
|
+
}
|
|
2736
|
+
.skeletonField {
|
|
2737
|
+
height: calc(var(--sui-control-md) + 1.5rem);
|
|
2738
|
+
}
|
|
2739
|
+
|
|
2740
|
+
/* ---- The pretend passkey prompt ---- */
|
|
2741
|
+
|
|
2742
|
+
.passkeyDialog {
|
|
2743
|
+
width: min(22rem, calc(100vw - 2rem));
|
|
2744
|
+
text-align: center;
|
|
2745
|
+
}
|
|
2746
|
+
.passkeyMark {
|
|
2747
|
+
display: grid;
|
|
2748
|
+
place-items: center;
|
|
2749
|
+
justify-self: center;
|
|
2750
|
+
width: 3rem;
|
|
2751
|
+
height: 3rem;
|
|
2752
|
+
margin-inline: auto;
|
|
2753
|
+
border-radius: var(--sui-radius-full);
|
|
2754
|
+
background-color: var(--sui-surface);
|
|
2755
|
+
background-image: linear-gradient(var(--sui-accent-subtle), var(--sui-accent-subtle));
|
|
2756
|
+
color: var(--sui-accent-text);
|
|
2757
|
+
}
|
|
2758
|
+
.passkeyMark svg {
|
|
2759
|
+
width: 1.5rem;
|
|
2760
|
+
height: 1.5rem;
|
|
2761
|
+
}
|
|
2762
|
+
.passkeyTitle {
|
|
2763
|
+
margin-block-start: var(--sui-space-3);
|
|
2764
|
+
}
|
|
2765
|
+
.passkeyText {
|
|
2766
|
+
margin-block-end: var(--sui-space-3);
|
|
2767
|
+
}
|
|
2768
|
+
.passkeyAccount {
|
|
2769
|
+
display: flex;
|
|
2770
|
+
align-items: center;
|
|
2771
|
+
gap: var(--sui-space-3);
|
|
2772
|
+
padding: var(--sui-space-3);
|
|
2773
|
+
border: 1px solid var(--sui-border);
|
|
2774
|
+
border-radius: var(--sui-radius-md);
|
|
2775
|
+
text-align: start;
|
|
2776
|
+
color: var(--sui-text-muted);
|
|
2777
|
+
}
|
|
2778
|
+
.passkeyOther {
|
|
2779
|
+
margin-block: var(--sui-space-2);
|
|
2780
|
+
}
|
|
2781
|
+
```
|