@vercel/geistdocs 1.28.0 → 2.0.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/dist/assets/geistcn/__internal__/components/icon/base-icon.d.ts +59 -0
- package/dist/assets/geistcn/__internal__/components/icon/base-icon.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/components/icon/base-icon.js +32 -0
- package/dist/assets/geistcn/__internal__/components/logo/base-logo-svg.d.ts +65 -0
- package/dist/assets/geistcn/__internal__/components/logo/base-logo-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/components/logo/base-logo-svg.js +41 -0
- package/dist/assets/geistcn/__internal__/types/color.d.ts +12 -0
- package/dist/assets/geistcn/__internal__/types/color.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/types/color.js +25 -0
- package/dist/assets/geistcn/__internal__/types/icon.d.ts +6 -0
- package/dist/assets/geistcn/__internal__/types/icon.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/types/icon.js +1 -0
- package/dist/assets/geistcn/__internal__/utils/calculate-icon-dimensions.d.ts +16 -0
- package/dist/assets/geistcn/__internal__/utils/calculate-icon-dimensions.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/utils/calculate-icon-dimensions.js +15 -0
- package/dist/assets/geistcn/__internal__/utils/calculate-logo-dimensions.d.ts +30 -0
- package/dist/assets/geistcn/__internal__/utils/calculate-logo-dimensions.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/utils/calculate-logo-dimensions.js +30 -0
- package/dist/assets/geistcn/__internal__/utils/parse-icon-size.d.ts +8 -0
- package/dist/assets/geistcn/__internal__/utils/parse-icon-size.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/utils/parse-icon-size.js +13 -0
- package/dist/assets/geistcn/__internal__/utils/svg-color.d.ts +13 -0
- package/dist/assets/geistcn/__internal__/utils/svg-color.d.ts.map +1 -0
- package/dist/assets/geistcn/__internal__/utils/svg-color.js +10 -0
- package/dist/assets/geistcn/icons/named/icon-acronym-markdown.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-acronym-markdown.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-acronym-markdown.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-archive.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-archive.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-archive.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-circle-up.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-circle-up.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-circle-up.js +26 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-down.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-down.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-down.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-up-right-small.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-up-right-small.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-up-right-small.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-up.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-up.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-arrow-up.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-bookmark.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-bookmark.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-bookmark.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-box.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-box.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-box.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-check.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-check.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-check.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-double-right.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-double-right.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-double-right.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-down-small.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-down-small.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-down-small.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-down.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-down.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-down.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-left.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-left.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-left.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-right-small.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-right-small.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-right-small.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-right.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-right.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-right.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-up-down.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-up-down.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-up-down.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-up.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-up.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-chevron-up.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-circle.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-circle.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-circle.js +26 -0
- package/dist/assets/geistcn/icons/named/icon-copy.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-copy.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-copy.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-credit-card.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-credit-card.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-credit-card.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-cross.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-cross.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-cross.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-device-desktop.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-device-desktop.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-device-desktop.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-external.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-external.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-external.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-file-text.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-file-text.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-file-text.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-file.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-file.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-file.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-fluid.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-fluid.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-fluid.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-information.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-information.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-information.js +26 -0
- package/dist/assets/geistcn/icons/named/icon-languages.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-languages.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-languages.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-link.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-link.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-link.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-menu-alt.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-menu-alt.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-menu-alt.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-message.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-message.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-message.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-moon.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-moon.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-moon.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-rss.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-rss.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-rss.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-slash-forward.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-slash-forward.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-slash-forward.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-stop-circle.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-stop-circle.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-stop-circle.js +26 -0
- package/dist/assets/geistcn/icons/named/icon-sun.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-sun.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-sun.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-terminal.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-terminal.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-terminal.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-thumb-up.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-thumb-up.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-thumb-up.js +25 -0
- package/dist/assets/geistcn/icons/named/icon-trash.d.ts +26 -0
- package/dist/assets/geistcn/icons/named/icon-trash.d.ts.map +1 -0
- package/dist/assets/geistcn/icons/named/icon-trash.js +25 -0
- package/dist/assets/geistcn/logos/named/logo-eve-svg.d.ts +35 -0
- package/dist/assets/geistcn/logos/named/logo-eve-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-eve-svg.js +37 -0
- package/dist/assets/geistcn/logos/named/logo-icon-github-svg.d.ts +27 -0
- package/dist/assets/geistcn/logos/named/logo-icon-github-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-icon-github-svg.js +27 -0
- package/dist/assets/geistcn/logos/named/logo-icon-v0-svg.d.ts +27 -0
- package/dist/assets/geistcn/logos/named/logo-icon-v0-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-icon-v0-svg.js +26 -0
- package/dist/assets/geistcn/logos/named/logo-icon-vercel-fill-svg.d.ts +27 -0
- package/dist/assets/geistcn/logos/named/logo-icon-vercel-fill-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-icon-vercel-fill-svg.js +26 -0
- package/dist/assets/geistcn/logos/named/logo-icon-vercel-svg.d.ts +27 -0
- package/dist/assets/geistcn/logos/named/logo-icon-vercel-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-icon-vercel-svg.js +26 -0
- package/dist/assets/geistcn/logos/named/logo-next-js-svg.d.ts +35 -0
- package/dist/assets/geistcn/logos/named/logo-next-js-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-next-js-svg.js +37 -0
- package/dist/assets/geistcn/logos/named/logo-svelte-svg.d.ts +35 -0
- package/dist/assets/geistcn/logos/named/logo-svelte-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-svelte-svg.js +37 -0
- package/dist/assets/geistcn/logos/named/logo-vercel-oss-svg.d.ts +35 -0
- package/dist/assets/geistcn/logos/named/logo-vercel-oss-svg.d.ts.map +1 -0
- package/dist/assets/geistcn/logos/named/logo-vercel-oss-svg.js +37 -0
- package/dist/assets/icons/index.d.ts +1 -4
- package/dist/assets/icons/index.d.ts.map +1 -1
- package/dist/assets/icons/index.js +1 -4
- package/dist/assets/logos/index.d.ts +1 -4
- package/dist/assets/logos/index.d.ts.map +1 -1
- package/dist/assets/logos/index.js +1 -4
- package/dist/cli/index.js +5 -5
- package/dist/components/blockquote.d.ts +3 -0
- package/dist/components/blockquote.d.ts.map +1 -0
- package/dist/components/blockquote.js +3 -0
- package/dist/components/callout.d.ts +13 -10
- package/dist/components/callout.d.ts.map +1 -1
- package/dist/components/callout.js +7 -7
- package/dist/components/code-block-tabs.d.ts +5 -2
- package/dist/components/code-block-tabs.d.ts.map +1 -1
- package/dist/components/code-block-tabs.js +30 -5
- package/dist/components/code-block.d.ts +2 -6
- package/dist/components/code-block.d.ts.map +1 -1
- package/dist/components/code-block.js +22 -68
- package/dist/components/command-prompt.d.ts.map +1 -1
- package/dist/components/command-prompt.js +18 -25
- package/dist/components/copy-prompt.d.ts +2 -1
- package/dist/components/copy-prompt.d.ts.map +1 -1
- package/dist/components/copy-prompt.js +5 -5
- package/dist/components/heading.d.ts +7 -0
- package/dist/components/heading.d.ts.map +1 -0
- package/dist/components/heading.js +14 -0
- package/dist/components/image.d.ts +19 -0
- package/dist/components/image.d.ts.map +1 -0
- package/dist/components/image.js +9 -0
- package/dist/components/mermaid.js +1 -1
- package/dist/components/steps.d.ts +9 -0
- package/dist/components/steps.d.ts.map +1 -0
- package/dist/components/steps.js +9 -0
- package/dist/components/table.d.ts +3 -0
- package/dist/components/table.d.ts.map +1 -0
- package/dist/components/table.js +3 -0
- package/dist/controls.d.ts +8 -4
- package/dist/controls.d.ts.map +1 -1
- package/dist/controls.js +16 -15
- package/dist/footer.d.ts.map +1 -1
- package/dist/footer.js +6 -6
- package/dist/internal/changelog-entries.d.ts.map +1 -1
- package/dist/internal/changelog-entries.js +3 -3
- package/dist/internal/chat/activity.d.ts +20 -0
- package/dist/internal/chat/activity.d.ts.map +1 -0
- package/dist/internal/chat/activity.js +43 -0
- package/dist/internal/chat/context.d.ts +2 -0
- package/dist/internal/chat/context.d.ts.map +1 -1
- package/dist/internal/chat/context.js +24 -3
- package/dist/internal/chat/conversation.d.ts +4 -3
- package/dist/internal/chat/conversation.d.ts.map +1 -1
- package/dist/internal/chat/conversation.js +5 -5
- package/dist/internal/chat/copy-chat.d.ts.map +1 -1
- package/dist/internal/chat/copy-chat.js +13 -10
- package/dist/internal/chat/dots-spinner.d.ts +5 -0
- package/dist/internal/chat/dots-spinner.d.ts.map +1 -0
- package/dist/internal/chat/dots-spinner.js +21 -0
- package/dist/internal/chat/loading-skeleton.d.ts +7 -0
- package/dist/internal/chat/loading-skeleton.d.ts.map +1 -0
- package/dist/internal/chat/loading-skeleton.js +46 -0
- package/dist/internal/chat/message-metadata.d.ts.map +1 -1
- package/dist/internal/chat/message-metadata.js +18 -32
- package/dist/internal/chat/message-sources.d.ts +3 -0
- package/dist/internal/chat/message-sources.d.ts.map +1 -0
- package/dist/internal/chat/message-sources.js +23 -0
- package/dist/internal/chat/message.d.ts.map +1 -1
- package/dist/internal/chat/message.js +62 -8
- package/dist/internal/chat/prompt-input.d.ts +1 -1
- package/dist/internal/chat/prompt-input.d.ts.map +1 -1
- package/dist/internal/chat/prompt-input.js +25 -27
- package/dist/internal/chat/shell.d.ts.map +1 -1
- package/dist/internal/chat/shell.js +43 -46
- package/dist/internal/chat/source-chunks.d.ts +9 -0
- package/dist/internal/chat/source-chunks.d.ts.map +1 -0
- package/dist/internal/chat/source-chunks.js +7 -0
- package/dist/internal/chat/sources.d.ts +4 -2
- package/dist/internal/chat/sources.d.ts.map +1 -1
- package/dist/internal/chat/sources.js +12 -6
- package/dist/internal/chat/suggestion.d.ts +11 -6
- package/dist/internal/chat/suggestion.d.ts.map +1 -1
- package/dist/internal/chat/suggestion.js +5 -5
- package/dist/internal/docs-page-error-boundary.js +3 -3
- package/dist/internal/external-arrow.js +1 -1
- package/dist/internal/footer/rss-button.d.ts.map +1 -1
- package/dist/internal/footer/rss-button.js +3 -3
- package/dist/internal/github-button.d.ts.map +1 -1
- package/dist/internal/github-button.js +3 -3
- package/dist/internal/link-href.d.ts +13 -0
- package/dist/internal/link-href.d.ts.map +1 -0
- package/dist/internal/link-href.js +51 -0
- package/dist/internal/markdown-negotiation.d.ts +2 -0
- package/dist/internal/markdown-negotiation.d.ts.map +1 -0
- package/dist/internal/markdown-negotiation.js +3 -0
- package/dist/internal/mdx-to-markdown.d.ts +3 -0
- package/dist/internal/mdx-to-markdown.d.ts.map +1 -0
- package/dist/internal/mdx-to-markdown.js +166 -0
- package/dist/internal/mousedown-navigation-utils.d.ts +5 -0
- package/dist/internal/mousedown-navigation-utils.d.ts.map +1 -0
- package/dist/internal/mousedown-navigation-utils.js +95 -0
- package/dist/internal/mousedown-navigation.d.ts +10 -0
- package/dist/internal/mousedown-navigation.d.ts.map +1 -0
- package/dist/internal/mousedown-navigation.js +42 -0
- package/dist/internal/navbar/desktop-menu.d.ts.map +1 -1
- package/dist/internal/navbar/desktop-menu.js +3 -3
- package/dist/internal/navbar/mobile-menu.d.ts.map +1 -1
- package/dist/internal/navbar/mobile-menu.js +11 -16
- package/dist/internal/navbar/navbar-logo.d.ts.map +1 -1
- package/dist/internal/navbar/navbar-logo.js +5 -7
- package/dist/internal/navbar/navbar-shell.d.ts.map +1 -1
- package/dist/internal/navbar/navbar-shell.js +3 -2
- package/dist/internal/page-actions-client.d.ts.map +1 -1
- package/dist/internal/page-actions-client.js +51 -30
- package/dist/internal/page-breadcrumb.js +3 -3
- package/dist/internal/page-footer.js +2 -2
- package/dist/internal/provider-client.d.ts.map +1 -1
- package/dist/internal/provider-client.js +36 -12
- package/dist/internal/react-node-text.d.ts +4 -0
- package/dist/internal/react-node-text.d.ts.map +1 -0
- package/dist/internal/react-node-text.js +11 -0
- package/dist/internal/search.d.ts.map +1 -1
- package/dist/internal/search.js +2 -2
- package/dist/internal/sidebar-responsive.d.ts +0 -1
- package/dist/internal/sidebar-responsive.d.ts.map +1 -1
- package/dist/internal/sidebar-responsive.js +0 -9
- package/dist/internal/sidebar-tree.d.ts.map +1 -1
- package/dist/internal/sidebar-tree.js +6 -1
- package/dist/internal/sidebar.d.ts.map +1 -1
- package/dist/internal/sidebar.js +80 -53
- package/dist/internal/table-of-contents.d.ts.map +1 -1
- package/dist/internal/table-of-contents.js +1 -1
- package/dist/internal/toc-items.d.ts.map +1 -1
- package/dist/internal/toc-items.js +19 -8
- package/dist/internal/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/internal/ui/dropdown-menu.js +8 -8
- package/dist/internal/ui/navigation-menu.d.ts.map +1 -1
- package/dist/internal/ui/navigation-menu.js +4 -4
- package/dist/internal/ui/popover.js +1 -1
- package/dist/internal/ui/scroll-area.js +1 -1
- package/dist/internal/use-mobile.d.ts.map +1 -1
- package/dist/internal/use-mobile.js +2 -12
- package/dist/layout.d.ts +1 -0
- package/dist/layout.d.ts.map +1 -1
- package/dist/layout.js +2 -0
- package/dist/mdx.d.ts.map +1 -1
- package/dist/mdx.js +20 -2
- package/dist/mobile-docs-bar.d.ts.map +1 -1
- package/dist/mobile-docs-bar.js +1 -2
- package/dist/navbar.js +3 -2
- package/dist/pages/docs.d.ts.map +1 -1
- package/dist/pages/docs.js +18 -5
- package/dist/providers/public/components/badge.d.ts +8 -0
- package/dist/providers/public/components/badge.d.ts.map +1 -0
- package/dist/providers/public/components/badge.js +10 -0
- package/dist/providers/public/components/button.d.ts +18 -0
- package/dist/providers/public/components/button.d.ts.map +1 -0
- package/dist/providers/public/components/button.js +24 -0
- package/dist/providers/public/components/code-block-server.d.ts +11 -0
- package/dist/providers/public/components/code-block-server.d.ts.map +1 -0
- package/dist/providers/public/components/code-block-server.js +26 -0
- package/dist/providers/public/components/code-block.d.ts +10 -0
- package/dist/providers/public/components/code-block.d.ts.map +1 -0
- package/dist/providers/public/components/code-block.js +3 -0
- package/dist/providers/public/components/copy-button.d.ts +7 -0
- package/dist/providers/public/components/copy-button.d.ts.map +1 -0
- package/dist/providers/public/components/copy-button.js +23 -0
- package/dist/providers/public/components/drawer.d.ts +13 -0
- package/dist/providers/public/components/drawer.d.ts.map +1 -0
- package/dist/providers/public/components/drawer.js +10 -0
- package/dist/providers/public/components/image.d.ts +7 -0
- package/dist/providers/public/components/image.d.ts.map +1 -0
- package/dist/providers/public/components/image.js +4 -0
- package/dist/providers/public/components/kbd.d.ts +7 -0
- package/dist/providers/public/components/kbd.d.ts.map +1 -0
- package/dist/providers/public/components/kbd.js +10 -0
- package/dist/providers/public/components/modal.d.ts +22 -0
- package/dist/providers/public/components/modal.d.ts.map +1 -0
- package/dist/providers/public/components/modal.js +19 -0
- package/dist/{internal/ui → providers/public/components}/sheet.d.ts +2 -1
- package/dist/providers/public/components/sheet.d.ts.map +1 -0
- package/dist/{internal/ui → providers/public/components}/sheet.js +5 -5
- package/dist/providers/public/components/skeleton.d.ts +10 -0
- package/dist/providers/public/components/skeleton.d.ts.map +1 -0
- package/dist/providers/public/components/skeleton.js +3 -0
- package/dist/{internal/ui → providers/public/components}/spinner.d.ts +1 -1
- package/dist/providers/public/components/spinner.d.ts.map +1 -0
- package/dist/providers/public/components/spinner.js +11 -0
- package/dist/providers/public/components/textarea.d.ts.map +1 -0
- package/dist/{internal/ui → providers/public/components}/textarea.js +1 -1
- package/dist/providers/public/components/theme-switcher.d.ts.map +1 -0
- package/dist/{components → providers/public/components}/theme-switcher.js +7 -7
- package/dist/providers/public/components/toasts.d.ts +10 -0
- package/dist/providers/public/components/toasts.d.ts.map +1 -0
- package/dist/providers/public/components/toasts.js +8 -0
- package/dist/providers/public/components/tooltip.d.ts +13 -0
- package/dist/providers/public/components/tooltip.d.ts.map +1 -0
- package/dist/providers/public/components/tooltip.js +5 -0
- package/dist/providers/public/core/fonts.d.ts +2 -0
- package/dist/providers/public/core/fonts.d.ts.map +1 -0
- package/dist/providers/public/core/fonts.js +24 -0
- package/dist/providers/public/core/provider.d.ts +8 -0
- package/dist/providers/public/core/provider.d.ts.map +1 -0
- package/dist/providers/public/core/provider.js +4 -0
- package/dist/providers/public/core/theme-script.d.ts +5 -0
- package/dist/providers/public/core/theme-script.d.ts.map +1 -0
- package/dist/providers/public/core/theme-script.js +7 -0
- package/dist/providers/public/core.d.ts +5 -0
- package/dist/providers/public/core.d.ts.map +1 -0
- package/dist/providers/public/core.js +4 -0
- package/dist/{internal/cn.d.ts → providers/public/utils.d.ts} +1 -1
- package/dist/providers/public/utils.d.ts.map +1 -0
- package/dist/providers/public-assets/icons/icon-check.d.ts +2 -0
- package/dist/providers/public-assets/icons/icon-check.d.ts.map +1 -0
- package/dist/providers/public-assets/icons/icon-check.js +1 -0
- package/dist/providers/public-assets/icons/icon-chevron-down-small.d.ts +2 -0
- package/dist/providers/public-assets/icons/icon-chevron-down-small.d.ts.map +1 -0
- package/dist/providers/public-assets/icons/icon-chevron-down-small.js +1 -0
- package/dist/providers/public-assets/icons/icon-copy.d.ts +2 -0
- package/dist/providers/public-assets/icons/icon-copy.d.ts.map +1 -0
- package/dist/providers/public-assets/icons/icon-copy.js +1 -0
- package/dist/providers/public-assets/icons.d.ts +40 -0
- package/dist/providers/public-assets/icons.d.ts.map +1 -0
- package/dist/providers/public-assets/icons.js +39 -0
- package/dist/providers/public-assets/logos.d.ts +9 -0
- package/dist/providers/public-assets/logos.d.ts.map +1 -0
- package/dist/providers/public-assets/logos.js +8 -0
- package/dist/proxy.d.ts.map +1 -1
- package/dist/proxy.js +12 -26
- package/dist/routes/chat.d.ts +1 -1
- package/dist/routes/chat.d.ts.map +1 -1
- package/dist/routes/chat.js +31 -14
- package/dist/routes/llms.d.ts +1 -1
- package/dist/routes/llms.d.ts.map +1 -1
- package/dist/routes/llms.js +12 -2
- package/dist/routes/not-found.d.ts.map +1 -1
- package/dist/routes/not-found.js +3 -3
- package/dist/source-config.d.ts +10 -0
- package/dist/source-config.d.ts.map +1 -1
- package/dist/source-config.js +20 -2
- package/dist/source.d.ts +10 -1
- package/dist/source.d.ts.map +1 -1
- package/dist/source.js +75 -36
- package/dist/versions.d.ts.map +1 -1
- package/dist/versions.js +5 -5
- package/docs/agents.md +5 -4
- package/docs/llms.txt +520 -140
- package/docs/manifest.json +21 -12
- package/docs/pages/ask-ai.md +3 -4
- package/docs/pages/components/steps.md +129 -0
- package/docs/pages/deployment.md +6 -3
- package/docs/pages/getting-started.md +23 -29
- package/docs/pages/guides/nested-navigation.md +1 -1
- package/docs/pages/md.md +25 -6
- package/docs/pages/migration.md +11 -15
- package/docs/pages/packages.md +54 -0
- package/docs/pages/proxy.md +7 -1
- package/docs/pages/syntax.md +246 -11
- package/docs/pages/versioned-docs.md +2 -3
- package/docs/sitemap.md +4 -3
- package/package.json +36 -90
- package/public-foundation.css +681 -0
- package/shared-theme.css +349 -0
- package/source-config.js +37 -2
- package/styles.css +1 -2
- package/template/AGENTS.md +15 -6
- package/template/app/[lang]/(home)/components/cta.tsx +8 -3
- package/template/app/[lang]/(home)/components/hero.tsx +1 -1
- package/template/app/[lang]/(home)/components/one-two-section.tsx +9 -1
- package/template/app/[lang]/(home)/components/text-grid-section.tsx +1 -1
- package/template/app/[lang]/(home)/page.tsx +5 -6
- package/template/app/[lang]/layout.tsx +11 -4
- package/template/app/styles/geistdocs.css +13 -18
- package/template/components.json +0 -1
- package/template/content/docs/ask-ai.cn.mdx +2 -2
- package/template/content/docs/ask-ai.mdx +3 -4
- package/template/content/docs/components/meta.json +4 -0
- package/template/content/docs/components/steps.mdx +125 -0
- package/template/content/docs/configuration.cn.mdx +1 -3
- package/template/content/docs/deployment.mdx +8 -4
- package/template/content/docs/getting-started.mdx +24 -30
- package/template/content/docs/guides/nested-navigation.mdx +1 -1
- package/template/content/docs/md.mdx +25 -6
- package/template/content/docs/meta.json +3 -0
- package/template/content/docs/migration.mdx +12 -16
- package/template/content/docs/packages.mdx +53 -0
- package/template/content/docs/proxy.cn.mdx +1 -1
- package/template/content/docs/proxy.mdx +7 -1
- package/template/content/docs/syntax.mdx +252 -11
- package/template/content/docs/versioned-docs.mdx +2 -3
- package/template/next.config.ts +9 -1
- package/template/package.json +2 -8
- package/theme.css +2 -955
- package/dist/components/badge.d.ts +0 -11
- package/dist/components/badge.d.ts.map +0 -1
- package/dist/components/badge.js +0 -22
- package/dist/components/button-group.d.ts +0 -2
- package/dist/components/button-group.d.ts.map +0 -1
- package/dist/components/button-group.js +0 -2
- package/dist/components/button.d.ts +0 -2
- package/dist/components/button.d.ts.map +0 -1
- package/dist/components/button.js +0 -2
- package/dist/components/card.d.ts +0 -2
- package/dist/components/card.d.ts.map +0 -1
- package/dist/components/card.js +0 -2
- package/dist/components/dialog.d.ts +0 -13
- package/dist/components/dialog.d.ts.map +0 -1
- package/dist/components/dialog.js +0 -35
- package/dist/components/drawer.d.ts +0 -2
- package/dist/components/drawer.d.ts.map +0 -1
- package/dist/components/drawer.js +0 -3
- package/dist/components/input-group.d.ts +0 -2
- package/dist/components/input-group.d.ts.map +0 -1
- package/dist/components/input-group.js +0 -3
- package/dist/components/input.d.ts +0 -2
- package/dist/components/input.d.ts.map +0 -1
- package/dist/components/input.js +0 -2
- package/dist/components/kbd.d.ts +0 -2
- package/dist/components/kbd.d.ts.map +0 -1
- package/dist/components/kbd.js +0 -2
- package/dist/components/separator.d.ts +0 -2
- package/dist/components/separator.d.ts.map +0 -1
- package/dist/components/separator.js +0 -3
- package/dist/components/sheet.d.ts +0 -2
- package/dist/components/sheet.d.ts.map +0 -1
- package/dist/components/sheet.js +0 -3
- package/dist/components/sonner.d.ts +0 -2
- package/dist/components/sonner.d.ts.map +0 -1
- package/dist/components/sonner.js +0 -3
- package/dist/components/spinner.d.ts +0 -2
- package/dist/components/spinner.d.ts.map +0 -1
- package/dist/components/spinner.js +0 -2
- package/dist/components/switch.d.ts +0 -11
- package/dist/components/switch.d.ts.map +0 -1
- package/dist/components/switch.js +0 -12
- package/dist/components/textarea.d.ts +0 -2
- package/dist/components/textarea.d.ts.map +0 -1
- package/dist/components/textarea.js +0 -2
- package/dist/components/theme-aware-image.d.ts +0 -12
- package/dist/components/theme-aware-image.d.ts.map +0 -1
- package/dist/components/theme-aware-image.js +0 -8
- package/dist/components/theme-switcher.d.ts.map +0 -1
- package/dist/components/tooltip.d.ts +0 -2
- package/dist/components/tooltip.d.ts.map +0 -1
- package/dist/components/tooltip.js +0 -3
- package/dist/internal/chat/shimmer.d.ts +0 -11
- package/dist/internal/chat/shimmer.d.ts.map +0 -1
- package/dist/internal/chat/shimmer.js +0 -22
- package/dist/internal/cn.d.ts.map +0 -1
- package/dist/internal/ui/button-group.d.ts +0 -13
- package/dist/internal/ui/button-group.d.ts.map +0 -1
- package/dist/internal/ui/button-group.js +0 -26
- package/dist/internal/ui/button.d.ts +0 -12
- package/dist/internal/ui/button.d.ts.map +0 -1
- package/dist/internal/ui/button.js +0 -33
- package/dist/internal/ui/card.d.ts +0 -6
- package/dist/internal/ui/card.d.ts.map +0 -1
- package/dist/internal/ui/card.js +0 -14
- package/dist/internal/ui/drawer.d.ts +0 -8
- package/dist/internal/ui/drawer.d.ts.map +0 -1
- package/dist/internal/ui/drawer.js +0 -19
- package/dist/internal/ui/input-group.d.ts +0 -15
- package/dist/internal/ui/input-group.d.ts.map +0 -1
- package/dist/internal/ui/input-group.js +0 -44
- package/dist/internal/ui/input.d.ts +0 -3
- package/dist/internal/ui/input.d.ts.map +0 -1
- package/dist/internal/ui/input.js +0 -5
- package/dist/internal/ui/kbd.d.ts +0 -4
- package/dist/internal/ui/kbd.d.ts.map +0 -1
- package/dist/internal/ui/kbd.js +0 -8
- package/dist/internal/ui/separator.d.ts +0 -4
- package/dist/internal/ui/separator.d.ts.map +0 -1
- package/dist/internal/ui/separator.js +0 -7
- package/dist/internal/ui/sheet.d.ts.map +0 -1
- package/dist/internal/ui/sonner.d.ts +0 -3
- package/dist/internal/ui/sonner.d.ts.map +0 -1
- package/dist/internal/ui/sonner.js +0 -20
- package/dist/internal/ui/spinner.d.ts.map +0 -1
- package/dist/internal/ui/spinner.js +0 -6
- package/dist/internal/ui/textarea.d.ts.map +0 -1
- package/dist/internal/ui/tooltip.d.ts +0 -7
- package/dist/internal/ui/tooltip.d.ts.map +0 -1
- package/dist/internal/ui/tooltip.js +0 -16
- package/docs/pages/theme-aware-image.md +0 -59
- package/template/app/[lang]/(home)/components/centered-section.tsx +0 -32
- package/template/components/ui/button.tsx +0 -60
- package/template/content/docs/theme-aware-image.mdx +0 -57
- /package/dist/{internal/ui → providers/public/components}/textarea.d.ts +0 -0
- /package/dist/{components → providers/public/components}/theme-switcher.d.ts +0 -0
- /package/dist/{internal/cn.js → providers/public/utils.js} +0 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from "react";
|
|
2
|
+
import type { IconSize } from "../../types/icon.js";
|
|
3
|
+
import { type SvgColor } from "../../utils/svg-color.js";
|
|
4
|
+
/**
|
|
5
|
+
* Consumer-facing props for the generated Icon component.
|
|
6
|
+
*/
|
|
7
|
+
export interface IconProps extends Omit<AllSVGProps, ReservedSVGProps> {
|
|
8
|
+
className?: string;
|
|
9
|
+
color?: IconColor;
|
|
10
|
+
size?: IconSize;
|
|
11
|
+
style?: Omit<CSSProperties, ReservedCSSProps>;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Supported icon color options.
|
|
15
|
+
*/
|
|
16
|
+
export type IconColor = SvgColor;
|
|
17
|
+
/**
|
|
18
|
+
* Base icon component used by all generated named icon components.
|
|
19
|
+
*
|
|
20
|
+
* @private Internal component - not for direct consumer use
|
|
21
|
+
*
|
|
22
|
+
* @remarks Icon sizing:
|
|
23
|
+
* - All icons have a consistent height (validated at build time)
|
|
24
|
+
* - Some icons are not square - width varies to preserve the design
|
|
25
|
+
* - The `size` prop controls height and automatically adjusts width to maintain aspect ratio
|
|
26
|
+
*
|
|
27
|
+
* @remarks Performance:
|
|
28
|
+
* - Uses JSX children instead of dangerouslySetInnerHTML for better React reconciliation
|
|
29
|
+
* - On re-renders, React can skip DOM updates if children haven't changed
|
|
30
|
+
*/
|
|
31
|
+
export declare const BaseIcon: import("react").NamedExoticComponent<BaseIconProps>;
|
|
32
|
+
type ReservedCSSProps = "color" | "width" | "height";
|
|
33
|
+
type AllSVGProps = React.SVGProps<SVGSVGElement>;
|
|
34
|
+
type ReservedSVGProps = "color" | "size" | "width" | "height" | "fill" | "viewBox";
|
|
35
|
+
/**
|
|
36
|
+
* Internal props for the BaseIcon component.
|
|
37
|
+
* @private Internal types - not for direct consumer use
|
|
38
|
+
*/
|
|
39
|
+
interface BaseIconProps extends IconProps {
|
|
40
|
+
$generated: GeneratedIconProps;
|
|
41
|
+
children: ReactNode;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Icon props that will be provided at build time.
|
|
45
|
+
*/
|
|
46
|
+
interface GeneratedIconProps {
|
|
47
|
+
aspectRatio: number;
|
|
48
|
+
/**
|
|
49
|
+
* Set for glyphs that are (roughly) a circle filling their box
|
|
50
|
+
* (check-circle, cross-circle, …). Emitted as `data-glyph` so
|
|
51
|
+
* layout-aware containers can adapt automatically. Curated in
|
|
52
|
+
* `scripts/icons/_build/circular-glyphs.ts`.
|
|
53
|
+
*/
|
|
54
|
+
glyph?: "circular";
|
|
55
|
+
height: number;
|
|
56
|
+
viewBox: string;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=base-icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-icon.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/geistcn/__internal__/components/icon/base-icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,OAAO,EAAyB,KAAK,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEhF;;GAEG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,WAAW,EAAE,gBAAgB,CAAC;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,CAAC;AAEjC;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,QAAQ,qDAyCnB,CAAC;AAMH,KAAK,gBAAgB,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAC;AAErD,KAAK,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AACjD,KAAK,gBAAgB,GACjB,OAAO,GACP,MAAM,GACN,OAAO,GACP,QAAQ,GACR,MAAM,GACN,SAAS,CAAC;AAEd;;;GAGG;AACH,UAAU,aAAc,SAAQ,SAAS;IACvC,UAAU,EAAE,kBAAkB,CAAC;IAC/B,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;GAEG;AACH,UAAU,kBAAkB;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from "react";
|
|
3
|
+
import { calculateIconDimensions } from "../../utils/calculate-icon-dimensions.js";
|
|
4
|
+
import { mapSvgColorToCssStyle } from "../../utils/svg-color.js";
|
|
5
|
+
/**
|
|
6
|
+
* Base icon component used by all generated named icon components.
|
|
7
|
+
*
|
|
8
|
+
* @private Internal component - not for direct consumer use
|
|
9
|
+
*
|
|
10
|
+
* @remarks Icon sizing:
|
|
11
|
+
* - All icons have a consistent height (validated at build time)
|
|
12
|
+
* - Some icons are not square - width varies to preserve the design
|
|
13
|
+
* - The `size` prop controls height and automatically adjusts width to maintain aspect ratio
|
|
14
|
+
*
|
|
15
|
+
* @remarks Performance:
|
|
16
|
+
* - Uses JSX children instead of dangerouslySetInnerHTML for better React reconciliation
|
|
17
|
+
* - On re-renders, React can skip DOM updates if children haven't changed
|
|
18
|
+
*/
|
|
19
|
+
export const BaseIcon = memo(function BaseIcon({ $generated, size, style, color = "currentColor", children, ...props }) {
|
|
20
|
+
const { height: generatedHeight, aspectRatio: generatedAspectRatio, viewBox: generatedViewBox, glyph: generatedGlyph, } = $generated;
|
|
21
|
+
const { width, height } = calculateIconDimensions({
|
|
22
|
+
size,
|
|
23
|
+
generatedHeight,
|
|
24
|
+
generatedAspectRatio,
|
|
25
|
+
});
|
|
26
|
+
return (
|
|
27
|
+
// biome-ignore lint/a11y/noSvgWithoutTitle: generated glyphs inherit decorative or labeled semantics from each call site.
|
|
28
|
+
_jsx("svg", { "data-glyph": generatedGlyph, "data-slot": "geist-icon", height: height, style: {
|
|
29
|
+
...mapSvgColorToCssStyle(color),
|
|
30
|
+
...style,
|
|
31
|
+
}, viewBox: generatedViewBox, width: width, ...props, children: children }));
|
|
32
|
+
});
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import type { CSSProperties, ReactNode } from "react";
|
|
2
|
+
/**
|
|
3
|
+
* Consumer-facing props for generated Logo SVG components.
|
|
4
|
+
*
|
|
5
|
+
* @remarks When to use Logo*Svg vs Logo*:
|
|
6
|
+
*
|
|
7
|
+
* Use `Logo*Svg` (inline SVG) when:
|
|
8
|
+
* - Logos must be visible on first paint (above-the-fold, hero sections, first carousel group)
|
|
9
|
+
* - Logos need to inherit color via `currentColor` (e.g., inside colored text, links)
|
|
10
|
+
*
|
|
11
|
+
* Use `Logo*` (next/image) everywhere else:
|
|
12
|
+
* - Below the fold, lazy-loaded sections
|
|
13
|
+
* - Theme-aware rendering (automatic light/dark switching)
|
|
14
|
+
* - Minimizing HTML document size
|
|
15
|
+
*
|
|
16
|
+
* Tradeoff: `Logo*Svg` increases HTML size because SVG markup is inlined.
|
|
17
|
+
* `Logo*` keeps HTML lightweight but requires an additional image fetch.
|
|
18
|
+
*/
|
|
19
|
+
export interface LogoSvgProps extends Omit<AllSVGProps, ReservedSVGProps> {
|
|
20
|
+
autoScale?: boolean;
|
|
21
|
+
balanced?: boolean;
|
|
22
|
+
className?: string;
|
|
23
|
+
height?: number;
|
|
24
|
+
style?: Omit<CSSProperties, ReservedCSSProps>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Base component for all generated inline SVG logo components.
|
|
28
|
+
* Renders logos as inline `<svg>` elements with `currentColor` support.
|
|
29
|
+
*
|
|
30
|
+
* @private Internal component - not for direct consumer use
|
|
31
|
+
*
|
|
32
|
+
* @remarks Logo sizing:
|
|
33
|
+
* - The `height` prop controls logo height
|
|
34
|
+
* - Width is auto-calculated from `height * aspectRatio`
|
|
35
|
+
* - The `balanced` prop applies optical normalization for consistent visual sizing
|
|
36
|
+
*
|
|
37
|
+
* @remarks Performance:
|
|
38
|
+
* - Uses JSX children instead of dangerouslySetInnerHTML for better React reconciliation
|
|
39
|
+
* - SVG markup is inlined in the HTML for zero-latency rendering on first paint
|
|
40
|
+
*/
|
|
41
|
+
export declare const BaseLogoSvg: import("react").NamedExoticComponent<BaseLogoSvgProps>;
|
|
42
|
+
type ReservedCSSProps = "width" | "height";
|
|
43
|
+
type AllSVGProps = React.SVGProps<SVGSVGElement>;
|
|
44
|
+
type ReservedSVGProps = "width" | "height" | "fill" | "viewBox";
|
|
45
|
+
/**
|
|
46
|
+
* Internal props for the BaseLogoSvg component.
|
|
47
|
+
* @private Internal types - not for direct consumer use
|
|
48
|
+
*/
|
|
49
|
+
interface BaseLogoSvgProps extends LogoSvgProps {
|
|
50
|
+
$generated: GeneratedLogoSvgProps;
|
|
51
|
+
children: ReactNode;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Generated metadata for the logo SVG that is injected at build time.
|
|
55
|
+
*/
|
|
56
|
+
export interface GeneratedLogoSvgProps {
|
|
57
|
+
aspectRatio: number;
|
|
58
|
+
balancedHeightMultiplier: number;
|
|
59
|
+
balancedWidthMultiplier: number;
|
|
60
|
+
height: number;
|
|
61
|
+
name: string;
|
|
62
|
+
viewBox: string;
|
|
63
|
+
}
|
|
64
|
+
export {};
|
|
65
|
+
//# sourceMappingURL=base-logo-svg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-logo-svg.d.ts","sourceRoot":"","sources":["../../../../../../src/assets/geistcn/__internal__/components/logo/base-logo-svg.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKtD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,WAAW,EAAE,gBAAgB,CAAC;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,IAAI,CAAC,aAAa,EAAE,gBAAgB,CAAC,CAAC;CAC/C;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,WAAW,wDAoDtB,CAAC;AAMH,KAAK,gBAAgB,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE3C,KAAK,WAAW,GAAG,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;AACjD,KAAK,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAEhE;;;GAGG;AACH,UAAU,gBAAiB,SAAQ,YAAY;IAC7C,UAAU,EAAE,qBAAqB,CAAC;IAClC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,wBAAwB,EAAE,MAAM,CAAC;IACjC,uBAAuB,EAAE,MAAM,CAAC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { memo } from "react";
|
|
3
|
+
import { calculateLogoDimensions } from "../../utils/calculate-logo-dimensions.js";
|
|
4
|
+
/**
|
|
5
|
+
* Base component for all generated inline SVG logo components.
|
|
6
|
+
* Renders logos as inline `<svg>` elements with `currentColor` support.
|
|
7
|
+
*
|
|
8
|
+
* @private Internal component - not for direct consumer use
|
|
9
|
+
*
|
|
10
|
+
* @remarks Logo sizing:
|
|
11
|
+
* - The `height` prop controls logo height
|
|
12
|
+
* - Width is auto-calculated from `height * aspectRatio`
|
|
13
|
+
* - The `balanced` prop applies optical normalization for consistent visual sizing
|
|
14
|
+
*
|
|
15
|
+
* @remarks Performance:
|
|
16
|
+
* - Uses JSX children instead of dangerouslySetInnerHTML for better React reconciliation
|
|
17
|
+
* - SVG markup is inlined in the HTML for zero-latency rendering on first paint
|
|
18
|
+
*/
|
|
19
|
+
export const BaseLogoSvg = memo(function BaseLogoSvg({ $generated, balanced, height: heightProp, autoScale, style, children, ...props }) {
|
|
20
|
+
const { name: generatedName, aspectRatio: generatedAspectRatio, height: generatedHeight, balancedWidthMultiplier: generatedBalancedWidthMultiplier, balancedHeightMultiplier: generatedBalancedHeightMultiplier, viewBox: generatedViewBox, } = $generated;
|
|
21
|
+
if (balanced && typeof heightProp !== "number") {
|
|
22
|
+
throw new Error(`You must specify a height when using the balanced prop on ${generatedName}Svg.`);
|
|
23
|
+
}
|
|
24
|
+
const { width, height } = calculateLogoDimensions({
|
|
25
|
+
heightProp,
|
|
26
|
+
generatedHeight,
|
|
27
|
+
generatedAspectRatio,
|
|
28
|
+
generatedBalancedWidthMultiplier,
|
|
29
|
+
generatedBalancedHeightMultiplier,
|
|
30
|
+
balanced,
|
|
31
|
+
});
|
|
32
|
+
return (
|
|
33
|
+
// biome-ignore lint/a11y/noSvgWithoutTitle: generated logos inherit decorative or labeled semantics from each call site.
|
|
34
|
+
_jsx("svg", { ...props, "data-slot": "geist-logo-svg", height: height, style: {
|
|
35
|
+
...(autoScale && {
|
|
36
|
+
maxWidth: "100%",
|
|
37
|
+
height: "auto",
|
|
38
|
+
}),
|
|
39
|
+
...style,
|
|
40
|
+
}, viewBox: generatedViewBox, width: width, children: children }));
|
|
41
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const COLOR_PALETTE_BASES: readonly ["blue", "red", "amber", "green", "teal", "purple", "pink", "gray", "gray-alpha"];
|
|
2
|
+
export declare const COLOR_PALETTE_STEPS: readonly ["100", "200", "300", "400", "500", "600", "700", "800", "900", "1000"];
|
|
3
|
+
export type ColorPaletteBase = (typeof COLOR_PALETTE_BASES)[number];
|
|
4
|
+
export type ColorPaletteStep = (typeof COLOR_PALETTE_STEPS)[number];
|
|
5
|
+
export type ColorPaletteToken = `${ColorPaletteBase}-${ColorPaletteStep}`;
|
|
6
|
+
export declare const COLOR_BACKGROUND_BASE: "background";
|
|
7
|
+
export declare const COLOR_BACKGROUND_STEPS: readonly ["100", "200"];
|
|
8
|
+
export type ColorBackgroundBase = typeof COLOR_BACKGROUND_BASE;
|
|
9
|
+
export type ColorBackgroundStep = (typeof COLOR_BACKGROUND_STEPS)[number];
|
|
10
|
+
export type ColorBackgroundToken = `${ColorBackgroundBase}-${ColorBackgroundStep}`;
|
|
11
|
+
export type Color = ColorPaletteToken | ColorBackgroundToken;
|
|
12
|
+
//# sourceMappingURL=color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"color.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/__internal__/types/color.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,4FAUtB,CAAC;AAEX,eAAO,MAAM,mBAAmB,kFAWtB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AACpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpE,MAAM,MAAM,iBAAiB,GAAG,GAAG,gBAAgB,IAAI,gBAAgB,EAAE,CAAC;AAE1E,eAAO,MAAM,qBAAqB,EAAG,YAAqB,CAAC;AAC3D,eAAO,MAAM,sBAAsB,yBAA0B,CAAC;AAE9D,MAAM,MAAM,mBAAmB,GAAG,OAAO,qBAAqB,CAAC;AAC/D,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAC;AAE1E,MAAM,MAAM,oBAAoB,GAC9B,GAAG,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;AAElD,MAAM,MAAM,KAAK,GAAG,iBAAiB,GAAG,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export const COLOR_PALETTE_BASES = [
|
|
2
|
+
"blue",
|
|
3
|
+
"red",
|
|
4
|
+
"amber",
|
|
5
|
+
"green",
|
|
6
|
+
"teal",
|
|
7
|
+
"purple",
|
|
8
|
+
"pink",
|
|
9
|
+
"gray",
|
|
10
|
+
"gray-alpha",
|
|
11
|
+
];
|
|
12
|
+
export const COLOR_PALETTE_STEPS = [
|
|
13
|
+
"100",
|
|
14
|
+
"200",
|
|
15
|
+
"300",
|
|
16
|
+
"400",
|
|
17
|
+
"500",
|
|
18
|
+
"600",
|
|
19
|
+
"700",
|
|
20
|
+
"800",
|
|
21
|
+
"900",
|
|
22
|
+
"1000",
|
|
23
|
+
];
|
|
24
|
+
export const COLOR_BACKGROUND_BASE = "background";
|
|
25
|
+
export const COLOR_BACKGROUND_STEPS = ["100", "200"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/__internal__/types/icon.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,GAAG,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { IconSize } from "../types/icon.js";
|
|
2
|
+
/**
|
|
3
|
+
* Calculates icon width and height based on provided size or fallback defaults.
|
|
4
|
+
* Width is automatically calculated using the aspect ratio to maintain proportions.
|
|
5
|
+
*/
|
|
6
|
+
export declare function calculateIconDimensions(options: CalculateIconDimensionsOptions): {
|
|
7
|
+
width: number;
|
|
8
|
+
height: number;
|
|
9
|
+
};
|
|
10
|
+
interface CalculateIconDimensionsOptions {
|
|
11
|
+
generatedAspectRatio: number;
|
|
12
|
+
generatedHeight: number;
|
|
13
|
+
size: IconSize | undefined;
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=calculate-icon-dimensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calculate-icon-dimensions.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/__internal__/utils/calculate-icon-dimensions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGjD;;;GAGG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,8BAA8B,GACtC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAanC;AAED,UAAU,8BAA8B;IACtC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,QAAQ,GAAG,SAAS,CAAC;CAC5B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { parseIconSize } from "./parse-icon-size.js";
|
|
2
|
+
/**
|
|
3
|
+
* Calculates icon width and height based on provided size or fallback defaults.
|
|
4
|
+
* Width is automatically calculated using the aspect ratio to maintain proportions.
|
|
5
|
+
*/
|
|
6
|
+
export function calculateIconDimensions(options) {
|
|
7
|
+
const { size, generatedHeight, generatedAspectRatio } = options;
|
|
8
|
+
// Convert size prop to number (strip "px" suffix if present)
|
|
9
|
+
const _size = size === undefined ? undefined : parseIconSize(size);
|
|
10
|
+
// Use provided size or generated height
|
|
11
|
+
const height = _size ?? generatedHeight;
|
|
12
|
+
// Calculate width based on aspect ratio to maintain icon proportions
|
|
13
|
+
const width = height * generatedAspectRatio;
|
|
14
|
+
return { width, height };
|
|
15
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Calculates logo width and height based on provided height, aspect ratio,
|
|
3
|
+
* and optional balanced scaling using precomputed PINF multipliers.
|
|
4
|
+
*
|
|
5
|
+
* When `balanced` is false, dimensions are calculated normally:
|
|
6
|
+
* width = baseSize * aspectRatio, height = baseSize
|
|
7
|
+
*
|
|
8
|
+
* When `balanced` is true, dimensions use build-time PINF multipliers:
|
|
9
|
+
* width = baseSize * balancedWidthMultiplier
|
|
10
|
+
* height = baseSize * balancedHeightMultiplier
|
|
11
|
+
*
|
|
12
|
+
* The multipliers are precomputed at build time by the Proportional Image
|
|
13
|
+
* Normalization Formula (PINF) and stored in each generated component's config.
|
|
14
|
+
*
|
|
15
|
+
* Used by both BaseLogo (next/image) and BaseLogoSvg (inline SVG).
|
|
16
|
+
*/
|
|
17
|
+
export declare function calculateLogoDimensions(options: CalculateLogoDimensionsOptions): {
|
|
18
|
+
width: number;
|
|
19
|
+
height: number;
|
|
20
|
+
};
|
|
21
|
+
interface CalculateLogoDimensionsOptions {
|
|
22
|
+
balanced: boolean | undefined;
|
|
23
|
+
generatedAspectRatio: number;
|
|
24
|
+
generatedBalancedHeightMultiplier: number;
|
|
25
|
+
generatedBalancedWidthMultiplier: number;
|
|
26
|
+
generatedHeight: number;
|
|
27
|
+
heightProp: number | undefined;
|
|
28
|
+
}
|
|
29
|
+
export {};
|
|
30
|
+
//# sourceMappingURL=calculate-logo-dimensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calculate-logo-dimensions.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/__internal__/utils/calculate-logo-dimensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,8BAA8B,GACtC;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAuBnC;AAED,UAAU,8BAA8B;IACtC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,iCAAiC,EAAE,MAAM,CAAC;IAC1C,gCAAgC,EAAE,MAAM,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Calculates logo width and height based on provided height, aspect ratio,
|
|
3
|
+
* and optional balanced scaling using precomputed PINF multipliers.
|
|
4
|
+
*
|
|
5
|
+
* When `balanced` is false, dimensions are calculated normally:
|
|
6
|
+
* width = baseSize * aspectRatio, height = baseSize
|
|
7
|
+
*
|
|
8
|
+
* When `balanced` is true, dimensions use build-time PINF multipliers:
|
|
9
|
+
* width = baseSize * balancedWidthMultiplier
|
|
10
|
+
* height = baseSize * balancedHeightMultiplier
|
|
11
|
+
*
|
|
12
|
+
* The multipliers are precomputed at build time by the Proportional Image
|
|
13
|
+
* Normalization Formula (PINF) and stored in each generated component's config.
|
|
14
|
+
*
|
|
15
|
+
* Used by both BaseLogo (next/image) and BaseLogoSvg (inline SVG).
|
|
16
|
+
*/
|
|
17
|
+
export function calculateLogoDimensions(options) {
|
|
18
|
+
const { heightProp, generatedHeight, generatedAspectRatio, generatedBalancedWidthMultiplier, generatedBalancedHeightMultiplier, balanced, } = options;
|
|
19
|
+
const baseSize = heightProp ?? generatedHeight;
|
|
20
|
+
if (!balanced) {
|
|
21
|
+
return {
|
|
22
|
+
width: Math.round(baseSize * generatedAspectRatio),
|
|
23
|
+
height: Math.round(baseSize),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
width: Math.round(baseSize * generatedBalancedWidthMultiplier),
|
|
28
|
+
height: Math.round(baseSize * generatedBalancedHeightMultiplier),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { IconSize } from "../types/icon.js";
|
|
2
|
+
/**
|
|
3
|
+
* Converts icon size prop to numeric value, stripping "px" suffix if present.
|
|
4
|
+
* @param size - Icon size in flexible format (number, "16", or "16px")
|
|
5
|
+
* @returns Numeric size value
|
|
6
|
+
*/
|
|
7
|
+
export declare function parseIconSize(size: IconSize): number;
|
|
8
|
+
//# sourceMappingURL=parse-icon-size.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse-icon-size.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/__internal__/utils/parse-icon-size.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,QAAQ,GAAG,MAAM,CAQpD"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts icon size prop to numeric value, stripping "px" suffix if present.
|
|
3
|
+
* @param size - Icon size in flexible format (number, "16", or "16px")
|
|
4
|
+
* @returns Numeric size value
|
|
5
|
+
*/
|
|
6
|
+
export function parseIconSize(size) {
|
|
7
|
+
if (typeof size === "number") {
|
|
8
|
+
return size;
|
|
9
|
+
}
|
|
10
|
+
// Strip "px" suffix and convert to number
|
|
11
|
+
const stripped = size.replace("px", "");
|
|
12
|
+
return Number(stripped);
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Color } from "../types/color.js";
|
|
2
|
+
/**
|
|
3
|
+
* Color options for inline SVG components (icons and logo SVGs).
|
|
4
|
+
* Accepts design system color tokens or 'currentColor' to inherit from parent.
|
|
5
|
+
*/
|
|
6
|
+
export type SvgColor = Color | "currentColor";
|
|
7
|
+
/**
|
|
8
|
+
* Maps an SvgColor value to a CSS style object.
|
|
9
|
+
* Design tokens are resolved to CSS custom properties, while
|
|
10
|
+
* 'currentColor' passes through directly.
|
|
11
|
+
*/
|
|
12
|
+
export declare function mapSvgColorToCssStyle(color: SvgColor): React.CSSProperties;
|
|
13
|
+
//# sourceMappingURL=svg-color.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svg-color.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/__internal__/utils/svg-color.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE/C;;;GAGG;AACH,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,cAAc,CAAC;AAE9C;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK,CAAC,aAAa,CAI1E"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maps an SvgColor value to a CSS style object.
|
|
3
|
+
* Design tokens are resolved to CSS custom properties, while
|
|
4
|
+
* 'currentColor' passes through directly.
|
|
5
|
+
*/
|
|
6
|
+
export function mapSvgColorToCssStyle(color) {
|
|
7
|
+
return {
|
|
8
|
+
color: color === "currentColor" ? "currentColor" : `var(--ds-${color})`,
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ! THIS FILE WAS AUTO_GENERATED - DO NOT EDIT MANUALLY
|
|
3
|
+
*
|
|
4
|
+
* ▲ Part of Vercel's Geistcn Design System
|
|
5
|
+
* Generated by: pnpm icons:build
|
|
6
|
+
*
|
|
7
|
+
* @see Slack #project-geistcn for support: https://vercel.slack.com/archives/C08AW4PQHK3
|
|
8
|
+
*/
|
|
9
|
+
import type { JSX } from "react";
|
|
10
|
+
import { type IconProps } from "../../__internal__/components/icon/base-icon.js";
|
|
11
|
+
/**
|
|
12
|
+
* Icon component - renders as SVG
|
|
13
|
+
*
|
|
14
|
+
* @param props.size - Controls icon height; width is auto-calculated to preserve aspect ratio (accepts number or string with optional "px" suffix)
|
|
15
|
+
* @param props.color - Fill color for the icon (default: 'currentColor')
|
|
16
|
+
* @param props.className - CSS class name for styling
|
|
17
|
+
* @param props.style - Inline styles (excludes `width`, `height` which are managed internally)
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* - Inherits all standard SVG element props except `width`, `height`, `viewBox`, `fill` which are managed internally.
|
|
21
|
+
*
|
|
22
|
+
* @see {@link IconProps} for complete prop types
|
|
23
|
+
* @see {@link BaseIcon} for underlying implementation behavior
|
|
24
|
+
*/
|
|
25
|
+
export declare function IconAcronymMarkdown(props: IconProps): JSX.Element;
|
|
26
|
+
//# sourceMappingURL=icon-acronym-markdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-acronym-markdown.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/icons/named/icon-acronym-markdown.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,iDAAiD,CAAC;AAEzD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAMjE"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { BaseIcon, } from "../../__internal__/components/icon/base-icon.js";
|
|
3
|
+
/**
|
|
4
|
+
* Icon component - renders as SVG
|
|
5
|
+
*
|
|
6
|
+
* @param props.size - Controls icon height; width is auto-calculated to preserve aspect ratio (accepts number or string with optional "px" suffix)
|
|
7
|
+
* @param props.color - Fill color for the icon (default: 'currentColor')
|
|
8
|
+
* @param props.className - CSS class name for styling
|
|
9
|
+
* @param props.style - Inline styles (excludes `width`, `height` which are managed internally)
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* - Inherits all standard SVG element props except `width`, `height`, `viewBox`, `fill` which are managed internally.
|
|
13
|
+
*
|
|
14
|
+
* @see {@link IconProps} for complete prop types
|
|
15
|
+
* @see {@link BaseIcon} for underlying implementation behavior
|
|
16
|
+
*/
|
|
17
|
+
export function IconAcronymMarkdown(props) {
|
|
18
|
+
return (_jsx(BaseIcon, { "$generated": GENERATED_CONFIG, ...props, children: ICON_PATHS }));
|
|
19
|
+
}
|
|
20
|
+
const GENERATED_CONFIG = {
|
|
21
|
+
height: 16,
|
|
22
|
+
aspectRatio: 1.375,
|
|
23
|
+
viewBox: "0 0 22 16",
|
|
24
|
+
};
|
|
25
|
+
const ICON_PATHS = (_jsx(_Fragment, { children: _jsx("path", { clipRule: "evenodd", d: "M19.5 2.25h-17c-.69 0-1.25.56-1.25 1.25v9c0 .69.56 1.25 1.25 1.25h17c.69 0 1.25-.56 1.25-1.25v-9c0-.69-.56-1.25-1.25-1.25M2.5 1A2.5 2.5 0 0 0 0 3.5v9A2.5 2.5 0 0 0 2.5 15h17a2.5 2.5 0 0 0 2.5-2.5v-9A2.5 2.5 0 0 0 19.5 1zM3 4.5h1.69l.3.32L7 7.02l2.01-2.2.3-.32H11v7H9V7.8L7.74 9.18l-.74.8-.74-.8L5 7.8v3.7H3v-7M15 8V4.5h2V8h2.5L17 10.5l-1 1-1-1L12.5 8z", fill: "currentColor", fillRule: "evenodd" }) }));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ! THIS FILE WAS AUTO_GENERATED - DO NOT EDIT MANUALLY
|
|
3
|
+
*
|
|
4
|
+
* ▲ Part of Vercel's Geistcn Design System
|
|
5
|
+
* Generated by: pnpm icons:build
|
|
6
|
+
*
|
|
7
|
+
* @see Slack #project-geistcn for support: https://vercel.slack.com/archives/C08AW4PQHK3
|
|
8
|
+
*/
|
|
9
|
+
import type { JSX } from "react";
|
|
10
|
+
import { type IconProps } from "../../__internal__/components/icon/base-icon.js";
|
|
11
|
+
/**
|
|
12
|
+
* Icon component - renders as SVG
|
|
13
|
+
*
|
|
14
|
+
* @param props.size - Controls icon height; width is auto-calculated to preserve aspect ratio (accepts number or string with optional "px" suffix)
|
|
15
|
+
* @param props.color - Fill color for the icon (default: 'currentColor')
|
|
16
|
+
* @param props.className - CSS class name for styling
|
|
17
|
+
* @param props.style - Inline styles (excludes `width`, `height` which are managed internally)
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* - Inherits all standard SVG element props except `width`, `height`, `viewBox`, `fill` which are managed internally.
|
|
21
|
+
*
|
|
22
|
+
* @see {@link IconProps} for complete prop types
|
|
23
|
+
* @see {@link BaseIcon} for underlying implementation behavior
|
|
24
|
+
*/
|
|
25
|
+
export declare function IconArchive(props: IconProps): JSX.Element;
|
|
26
|
+
//# sourceMappingURL=icon-archive.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-archive.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/icons/named/icon-archive.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,iDAAiD,CAAC;AAEzD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAMzD"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { BaseIcon, } from "../../__internal__/components/icon/base-icon.js";
|
|
3
|
+
/**
|
|
4
|
+
* Icon component - renders as SVG
|
|
5
|
+
*
|
|
6
|
+
* @param props.size - Controls icon height; width is auto-calculated to preserve aspect ratio (accepts number or string with optional "px" suffix)
|
|
7
|
+
* @param props.color - Fill color for the icon (default: 'currentColor')
|
|
8
|
+
* @param props.className - CSS class name for styling
|
|
9
|
+
* @param props.style - Inline styles (excludes `width`, `height` which are managed internally)
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* - Inherits all standard SVG element props except `width`, `height`, `viewBox`, `fill` which are managed internally.
|
|
13
|
+
*
|
|
14
|
+
* @see {@link IconProps} for complete prop types
|
|
15
|
+
* @see {@link BaseIcon} for underlying implementation behavior
|
|
16
|
+
*/
|
|
17
|
+
export function IconArchive(props) {
|
|
18
|
+
return (_jsx(BaseIcon, { "$generated": GENERATED_CONFIG, ...props, children: ICON_PATHS }));
|
|
19
|
+
}
|
|
20
|
+
const GENERATED_CONFIG = {
|
|
21
|
+
height: 16,
|
|
22
|
+
aspectRatio: 1,
|
|
23
|
+
viewBox: "0 0 16 16",
|
|
24
|
+
};
|
|
25
|
+
const ICON_PATHS = (_jsx(_Fragment, { children: _jsx("path", { clipRule: "evenodd", d: "M1.5 3.5h13v2h-13zM1 7H0V2h16v5h-1v5.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 12.5zm1.5 0v5.5a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1V7zM6 9.5h4V11H6z", fill: "currentColor", fillRule: "evenodd" }) }));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ! THIS FILE WAS AUTO_GENERATED - DO NOT EDIT MANUALLY
|
|
3
|
+
*
|
|
4
|
+
* ▲ Part of Vercel's Geistcn Design System
|
|
5
|
+
* Generated by: pnpm icons:build
|
|
6
|
+
*
|
|
7
|
+
* @see Slack #project-geistcn for support: https://vercel.slack.com/archives/C08AW4PQHK3
|
|
8
|
+
*/
|
|
9
|
+
import type { JSX } from "react";
|
|
10
|
+
import { type IconProps } from "../../__internal__/components/icon/base-icon.js";
|
|
11
|
+
/**
|
|
12
|
+
* Icon component - renders as SVG
|
|
13
|
+
*
|
|
14
|
+
* @param props.size - Controls icon height; width is auto-calculated to preserve aspect ratio (accepts number or string with optional "px" suffix)
|
|
15
|
+
* @param props.color - Fill color for the icon (default: 'currentColor')
|
|
16
|
+
* @param props.className - CSS class name for styling
|
|
17
|
+
* @param props.style - Inline styles (excludes `width`, `height` which are managed internally)
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* - Inherits all standard SVG element props except `width`, `height`, `viewBox`, `fill` which are managed internally.
|
|
21
|
+
*
|
|
22
|
+
* @see {@link IconProps} for complete prop types
|
|
23
|
+
* @see {@link BaseIcon} for underlying implementation behavior
|
|
24
|
+
*/
|
|
25
|
+
export declare function IconArrowCircleUp(props: IconProps): JSX.Element;
|
|
26
|
+
//# sourceMappingURL=icon-arrow-circle-up.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-arrow-circle-up.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/icons/named/icon-arrow-circle-up.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,iDAAiD,CAAC;AAEzD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAM/D"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { BaseIcon, } from "../../__internal__/components/icon/base-icon.js";
|
|
3
|
+
/**
|
|
4
|
+
* Icon component - renders as SVG
|
|
5
|
+
*
|
|
6
|
+
* @param props.size - Controls icon height; width is auto-calculated to preserve aspect ratio (accepts number or string with optional "px" suffix)
|
|
7
|
+
* @param props.color - Fill color for the icon (default: 'currentColor')
|
|
8
|
+
* @param props.className - CSS class name for styling
|
|
9
|
+
* @param props.style - Inline styles (excludes `width`, `height` which are managed internally)
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* - Inherits all standard SVG element props except `width`, `height`, `viewBox`, `fill` which are managed internally.
|
|
13
|
+
*
|
|
14
|
+
* @see {@link IconProps} for complete prop types
|
|
15
|
+
* @see {@link BaseIcon} for underlying implementation behavior
|
|
16
|
+
*/
|
|
17
|
+
export function IconArrowCircleUp(props) {
|
|
18
|
+
return (_jsx(BaseIcon, { "$generated": GENERATED_CONFIG, ...props, children: ICON_PATHS }));
|
|
19
|
+
}
|
|
20
|
+
const GENERATED_CONFIG = {
|
|
21
|
+
height: 16,
|
|
22
|
+
aspectRatio: 1,
|
|
23
|
+
viewBox: "0 0 16 16",
|
|
24
|
+
glyph: "circular",
|
|
25
|
+
};
|
|
26
|
+
const ICON_PATHS = (_jsx(_Fragment, { children: _jsx("path", { clipRule: "evenodd", d: "M7.25 10.75v.75h1.5V6.56l1.47 1.47.53.53 1.06-1.06-.53-.53-2.75-2.75a.75.75 0 0 0-1.06 0L4.72 6.97l-.53.53 1.06 1.06.53-.53 1.47-1.47zM14.5 8a6.5 6.5 0 1 1-13 0 6.5 6.5 0 0 1 13 0M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16", fill: "currentColor", fillRule: "evenodd" }) }));
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ! THIS FILE WAS AUTO_GENERATED - DO NOT EDIT MANUALLY
|
|
3
|
+
*
|
|
4
|
+
* ▲ Part of Vercel's Geistcn Design System
|
|
5
|
+
* Generated by: pnpm icons:build
|
|
6
|
+
*
|
|
7
|
+
* @see Slack #project-geistcn for support: https://vercel.slack.com/archives/C08AW4PQHK3
|
|
8
|
+
*/
|
|
9
|
+
import type { JSX } from "react";
|
|
10
|
+
import { type IconProps } from "../../__internal__/components/icon/base-icon.js";
|
|
11
|
+
/**
|
|
12
|
+
* Icon component - renders as SVG
|
|
13
|
+
*
|
|
14
|
+
* @param props.size - Controls icon height; width is auto-calculated to preserve aspect ratio (accepts number or string with optional "px" suffix)
|
|
15
|
+
* @param props.color - Fill color for the icon (default: 'currentColor')
|
|
16
|
+
* @param props.className - CSS class name for styling
|
|
17
|
+
* @param props.style - Inline styles (excludes `width`, `height` which are managed internally)
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* - Inherits all standard SVG element props except `width`, `height`, `viewBox`, `fill` which are managed internally.
|
|
21
|
+
*
|
|
22
|
+
* @see {@link IconProps} for complete prop types
|
|
23
|
+
* @see {@link BaseIcon} for underlying implementation behavior
|
|
24
|
+
*/
|
|
25
|
+
export declare function IconArrowDown(props: IconProps): JSX.Element;
|
|
26
|
+
//# sourceMappingURL=icon-arrow-down.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-arrow-down.d.ts","sourceRoot":"","sources":["../../../../../src/assets/geistcn/icons/named/icon-arrow-down.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAEL,KAAK,SAAS,EACf,MAAM,iDAAiD,CAAC;AAEzD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,GAAG,CAAC,OAAO,CAM3D"}
|