@oxy.so/bloom 6.3.0 → 7.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/README.md +3 -3
- package/docs/adoption-matrix.mdx +20 -17
- package/docs/agent-avatar.mdx +24 -0
- package/docs/agent-creator.mdx +50 -0
- package/docs/button.mdx +1 -1
- package/docs/design-tokens.mdx +8 -0
- package/docs/dialog.mdx +6 -0
- package/docs/migrating-to-1.0.mdx +3 -3
- package/docs/multi-agent-chat.mdx +69 -0
- package/docs/page-header.mdx +18 -0
- package/docs/project-board.mdx +35 -0
- package/docs/segmented-control.mdx +2 -0
- package/docs/settings-modal.mdx +2 -0
- package/docs/sidebar.mdx +8 -0
- package/docs/stat-widgets.mdx +3 -4
- package/lib/commonjs/agent-avatar/AgentAvatar.js +214 -0
- package/lib/commonjs/agent-avatar/AgentAvatar.js.map +1 -0
- package/lib/commonjs/agent-avatar/AgentFace.js +26 -0
- package/lib/commonjs/agent-avatar/AgentFace.js.map +1 -0
- package/lib/commonjs/agent-avatar/SvgDrawing.js +207 -0
- package/lib/commonjs/agent-avatar/SvgDrawing.js.map +1 -0
- package/lib/commonjs/agent-avatar/artwork.js +148 -0
- package/lib/commonjs/agent-avatar/artwork.js.map +1 -0
- package/lib/commonjs/agent-avatar/attention.js +79 -0
- package/lib/commonjs/agent-avatar/attention.js.map +1 -0
- package/lib/commonjs/agent-avatar/blink.js +46 -0
- package/lib/commonjs/agent-avatar/blink.js.map +1 -0
- package/lib/commonjs/agent-avatar/context.js +10 -0
- package/lib/commonjs/agent-avatar/context.js.map +1 -0
- package/lib/commonjs/agent-avatar/drawing.js +234 -0
- package/lib/commonjs/agent-avatar/drawing.js.map +1 -0
- package/lib/commonjs/agent-avatar/entrance.js +32 -0
- package/lib/commonjs/agent-avatar/entrance.js.map +1 -0
- package/lib/commonjs/agent-avatar/face.js +403 -0
- package/lib/commonjs/agent-avatar/face.js.map +1 -0
- package/lib/commonjs/agent-avatar/fold-outlines.js +43 -0
- package/lib/commonjs/agent-avatar/fold-outlines.js.map +1 -0
- package/lib/commonjs/agent-avatar/fold.js +322 -0
- package/lib/commonjs/agent-avatar/fold.js.map +1 -0
- package/lib/commonjs/agent-avatar/grain.js +9 -0
- package/lib/commonjs/agent-avatar/grain.js.map +1 -0
- package/lib/commonjs/agent-avatar/index.js +146 -0
- package/lib/commonjs/agent-avatar/index.js.map +1 -0
- package/lib/commonjs/agent-avatar/messages.js +11 -0
- package/lib/commonjs/agent-avatar/messages.js.map +1 -0
- package/lib/commonjs/agent-avatar/model.js +429 -0
- package/lib/commonjs/agent-avatar/model.js.map +1 -0
- package/lib/commonjs/agent-avatar/shape-morph.js +163 -0
- package/lib/commonjs/agent-avatar/shape-morph.js.map +1 -0
- package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js.map +1 -1
- package/lib/commonjs/agent-avatar/wander.js +64 -0
- package/lib/commonjs/agent-avatar/wander.js.map +1 -0
- package/lib/commonjs/agent-avatar/working.js +28 -0
- package/lib/commonjs/agent-avatar/working.js.map +1 -0
- package/lib/commonjs/agent-chat/AgentChatMessage.js +21 -0
- package/lib/commonjs/agent-chat/AgentChatMessage.js.map +1 -1
- package/lib/commonjs/agent-creator/AgentCreator.js +32 -0
- package/lib/commonjs/agent-creator/AgentCreator.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentCreator.web.js +32 -0
- package/lib/commonjs/agent-creator/AgentCreator.web.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentCreatorBase.js +319 -0
- package/lib/commonjs/agent-creator/AgentCreatorBase.js.map +1 -0
- package/lib/commonjs/agent-creator/AgentPreferencesPanel.js +260 -0
- package/lib/commonjs/agent-creator/AgentPreferencesPanel.js.map +1 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js +374 -0
- package/lib/commonjs/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/EmotionPicker.js +179 -0
- package/lib/commonjs/agent-creator/EmotionPicker.js.map +1 -0
- package/lib/commonjs/agent-creator/GlossArt.js +210 -0
- package/lib/commonjs/agent-creator/GlossArt.js.map +1 -0
- package/lib/commonjs/agent-creator/ScrollSurface.js +135 -0
- package/lib/commonjs/agent-creator/ScrollSurface.js.map +1 -0
- package/lib/commonjs/agent-creator/ShapeArc.js +222 -0
- package/lib/commonjs/agent-creator/ShapeArc.js.map +1 -0
- package/lib/commonjs/agent-creator/constants.js +68 -0
- package/lib/commonjs/agent-creator/constants.js.map +1 -0
- package/lib/commonjs/agent-creator/context.js +30 -0
- package/lib/commonjs/agent-creator/context.js.map +1 -0
- package/lib/commonjs/agent-creator/index.js +39 -0
- package/lib/commonjs/agent-creator/index.js.map +1 -0
- package/lib/commonjs/agent-creator/index.web.js +39 -0
- package/lib/commonjs/agent-creator/index.web.js.map +1 -0
- package/lib/commonjs/agent-creator/messages.js +104 -0
- package/lib/commonjs/agent-creator/messages.js.map +1 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js +10 -0
- package/lib/commonjs/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/commonjs/agent-creator/shared.js +83 -0
- package/lib/commonjs/agent-creator/shared.js.map +1 -0
- package/lib/commonjs/agent-creator/types.js +6 -0
- package/lib/{module/dot-grid-meter → commonjs/agent-creator}/types.js.map +1 -1
- package/lib/commonjs/agent-creator/use-agent-voices.js +59 -0
- package/lib/commonjs/agent-creator/use-agent-voices.js.map +1 -0
- package/lib/commonjs/agent-creator/use-track-events.js +43 -0
- package/lib/commonjs/agent-creator/use-track-events.js.map +1 -0
- package/lib/commonjs/button/CloseButton.js +4 -1
- package/lib/commonjs/button/CloseButton.js.map +1 -1
- package/lib/commonjs/chip/Chip.js +28 -15
- package/lib/commonjs/chip/Chip.js.map +1 -1
- package/lib/commonjs/design-tokens/component-roles.js +94 -0
- package/lib/commonjs/design-tokens/component-roles.js.map +1 -0
- package/lib/commonjs/design-tokens/tailwind-preset.js +25 -5
- package/lib/commonjs/design-tokens/tailwind-preset.js.map +1 -1
- package/lib/commonjs/design-tokens/theme-css.js +18 -0
- package/lib/commonjs/design-tokens/theme-css.js.map +1 -1
- package/lib/commonjs/design-tokens/theme.css +284 -0
- package/lib/commonjs/dialog/Dialog.js +28 -14
- package/lib/commonjs/dialog/Dialog.js.map +1 -1
- package/lib/commonjs/dialog/Dialog.web.js +24 -15
- package/lib/commonjs/dialog/Dialog.web.js.map +1 -1
- package/lib/commonjs/dialog/DialogHeader.js +1 -1
- package/lib/commonjs/hooks/use-accessible-name-warning.js +2 -2
- package/lib/commonjs/index.js +143 -103
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.web.js +143 -103
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/locale/translations/ar.js +363 -0
- package/lib/commonjs/locale/translations/ar.js.map +1 -1
- package/lib/commonjs/locale/translations/bn.js +351 -0
- package/lib/commonjs/locale/translations/bn.js.map +1 -1
- package/lib/commonjs/locale/translations/ca.js +355 -0
- package/lib/commonjs/locale/translations/ca.js.map +1 -1
- package/lib/commonjs/locale/translations/de.js +355 -0
- package/lib/commonjs/locale/translations/de.js.map +1 -1
- package/lib/commonjs/locale/translations/es.js +355 -0
- package/lib/commonjs/locale/translations/es.js.map +1 -1
- package/lib/commonjs/locale/translations/fr.js +355 -0
- package/lib/commonjs/locale/translations/fr.js.map +1 -1
- package/lib/commonjs/locale/translations/hi.js +354 -0
- package/lib/commonjs/locale/translations/hi.js.map +1 -1
- package/lib/commonjs/locale/translations/id.js +354 -0
- package/lib/commonjs/locale/translations/id.js.map +1 -1
- package/lib/commonjs/locale/translations/it.js +355 -0
- package/lib/commonjs/locale/translations/it.js.map +1 -1
- package/lib/commonjs/locale/translations/ja.js +351 -0
- package/lib/commonjs/locale/translations/ja.js.map +1 -1
- package/lib/commonjs/locale/translations/pt.js +355 -0
- package/lib/commonjs/locale/translations/pt.js.map +1 -1
- package/lib/commonjs/locale/translations/ru.js +359 -0
- package/lib/commonjs/locale/translations/ru.js.map +1 -1
- package/lib/commonjs/locale/translations/tr.js +354 -0
- package/lib/commonjs/locale/translations/tr.js.map +1 -1
- package/lib/commonjs/locale/translations/zh.js +351 -0
- package/lib/commonjs/locale/translations/zh.js.map +1 -1
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js +16 -0
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js +16 -0
- package/lib/commonjs/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/AvatarHandoff.js +179 -0
- package/lib/commonjs/multi-agent-chat/AvatarHandoff.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js +161 -0
- package/lib/commonjs/multi-agent-chat/ChatDialogFrame.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ChatSidebar.js +368 -0
- package/lib/commonjs/multi-agent-chat/ChatSidebar.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/EditorRail.js +63 -0
- package/lib/commonjs/multi-agent-chat/EditorRail.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/Marketplace.js +501 -0
- package/lib/commonjs/multi-agent-chat/Marketplace.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js +123 -0
- package/lib/commonjs/multi-agent-chat/MarketplaceSettings.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.js +39 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js +39 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js +926 -0
- package/lib/commonjs/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ReplyRow.js +172 -0
- package/lib/commonjs/multi-agent-chat/ReplyRow.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/ScrollSurface.js +94 -0
- package/lib/commonjs/multi-agent-chat/ScrollSurface.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js +126 -0
- package/lib/commonjs/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js +480 -0
- package/lib/commonjs/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/context.js +15 -0
- package/lib/commonjs/multi-agent-chat/context.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/data.js +423 -0
- package/lib/commonjs/multi-agent-chat/data.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/handoff.js +104 -0
- package/lib/commonjs/multi-agent-chat/handoff.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/index.js +13 -0
- package/lib/commonjs/multi-agent-chat/index.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/index.web.js +13 -0
- package/lib/commonjs/multi-agent-chat/index.web.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/marketplace-data.js +145 -0
- package/lib/commonjs/multi-agent-chat/marketplace-data.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/marketplace-logos.js +36 -0
- package/lib/commonjs/multi-agent-chat/marketplace-logos.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/messages.js +196 -0
- package/lib/commonjs/multi-agent-chat/messages.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/model-catalog.js +771 -0
- package/lib/commonjs/multi-agent-chat/model-catalog.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/stream-reply.js +41 -0
- package/lib/commonjs/multi-agent-chat/stream-reply.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/types.js +6 -0
- package/lib/commonjs/multi-agent-chat/types.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/use-replies.js +157 -0
- package/lib/commonjs/multi-agent-chat/use-replies.js.map +1 -0
- package/lib/commonjs/multi-agent-chat/use-workspace.js +57 -0
- package/lib/commonjs/multi-agent-chat/use-workspace.js.map +1 -0
- package/lib/commonjs/page-header/EdgeScrim.js +7 -3
- package/lib/commonjs/page-header/EdgeScrim.js.map +1 -1
- package/lib/commonjs/page-header/index.js +13 -0
- package/lib/commonjs/page-header/index.js.map +1 -1
- package/lib/commonjs/project-board/BoardTooltip.js +49 -0
- package/lib/commonjs/project-board/BoardTooltip.js.map +1 -0
- package/lib/commonjs/project-board/CreateTicketDialog.js +330 -0
- package/lib/commonjs/project-board/CreateTicketDialog.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoard.js +39 -0
- package/lib/commonjs/project-board/ProjectBoard.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoard.web.js +40 -0
- package/lib/commonjs/project-board/ProjectBoard.web.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardBase.js +768 -0
- package/lib/commonjs/project-board/ProjectBoardBase.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardControls.js +198 -0
- package/lib/commonjs/project-board/ProjectBoardControls.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardEmptyState.js +171 -0
- package/lib/commonjs/project-board/ProjectBoardEmptyState.js.map +1 -0
- package/lib/commonjs/project-board/ProjectBoardIcons.js +91 -0
- package/lib/commonjs/project-board/ProjectBoardIcons.js.map +1 -0
- package/lib/commonjs/project-board/RiInboxArchiveLine.js +11 -0
- package/lib/commonjs/project-board/RiInboxArchiveLine.js.map +1 -0
- package/lib/commonjs/project-board/RiMoreLine.js +11 -0
- package/lib/commonjs/project-board/RiMoreLine.js.map +1 -0
- package/lib/commonjs/project-board/RiPieChart2Line.js +11 -0
- package/lib/commonjs/project-board/RiPieChart2Line.js.map +1 -0
- package/lib/commonjs/project-board/RiRestartLine.js +11 -0
- package/lib/commonjs/project-board/RiRestartLine.js.map +1 -0
- package/lib/commonjs/project-board/SourcePrimitives.js +135 -0
- package/lib/commonjs/project-board/SourcePrimitives.js.map +1 -0
- package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js +338 -0
- package/lib/commonjs/project-board/TicketCornerGenieSurface.web.js.map +1 -0
- package/lib/commonjs/project-board/TicketDetailDialog.js +597 -0
- package/lib/commonjs/project-board/TicketDetailDialog.js.map +1 -0
- package/lib/commonjs/project-board/TicketGenieSurface.js +76 -0
- package/lib/commonjs/project-board/TicketGenieSurface.js.map +1 -0
- package/lib/commonjs/project-board/TicketGenieSurface.web.js +193 -0
- package/lib/commonjs/project-board/TicketGenieSurface.web.js.map +1 -0
- package/lib/commonjs/project-board/animation.web.js +21 -0
- package/lib/commonjs/project-board/animation.web.js.map +1 -0
- package/lib/commonjs/project-board/constants.js +18 -0
- package/lib/commonjs/project-board/constants.js.map +1 -0
- package/lib/commonjs/project-board/context.js +15 -0
- package/lib/commonjs/project-board/context.js.map +1 -0
- package/lib/commonjs/project-board/index.js +13 -0
- package/lib/commonjs/project-board/index.js.map +1 -0
- package/lib/commonjs/project-board/index.web.js +13 -0
- package/lib/commonjs/project-board/index.web.js.map +1 -0
- package/lib/commonjs/project-board/messages.js +80 -0
- package/lib/commonjs/project-board/messages.js.map +1 -0
- package/lib/commonjs/project-board/shared.js +90 -0
- package/lib/commonjs/project-board/shared.js.map +1 -0
- package/lib/commonjs/project-board/types.js +6 -0
- package/lib/commonjs/project-board/types.js.map +1 -0
- package/lib/commonjs/segmented-control/SegmentedControl.js +36 -38
- package/lib/commonjs/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/commonjs/settings-modal/SettingsModal.js +18 -4
- package/lib/commonjs/settings-modal/SettingsModal.js.map +1 -1
- package/lib/commonjs/settings-modal/SettingsRows.js +4 -1
- package/lib/commonjs/settings-modal/SettingsRows.js.map +1 -1
- package/lib/commonjs/sidebar/Sidebar.js +21 -9
- package/lib/commonjs/sidebar/Sidebar.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarItem.js +58 -14
- package/lib/commonjs/sidebar/SidebarItem.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarScrollArea.js +3 -5
- package/lib/commonjs/sidebar/SidebarScrollArea.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarTeamMenu.js +3 -3
- package/lib/commonjs/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/commonjs/sidebar/SidebarToolbar.js +166 -0
- package/lib/commonjs/sidebar/SidebarToolbar.js.map +1 -0
- package/lib/commonjs/sidebar/index.js +7 -0
- package/lib/commonjs/sidebar/index.js.map +1 -1
- package/lib/commonjs/sidebar/parts.js +11 -3
- package/lib/commonjs/sidebar/parts.js.map +1 -1
- package/lib/commonjs/social-button/SocialButtonBase.js +1 -0
- package/lib/commonjs/social-button/SocialButtonBase.js.map +1 -1
- package/lib/commonjs/textarea/Textarea.js +28 -14
- package/lib/commonjs/textarea/Textarea.js.map +1 -1
- package/lib/commonjs/theme/color-scope/seed-scope.js +2 -0
- package/lib/commonjs/theme/color-scope/seed-scope.js.map +1 -1
- package/lib/module/agent-avatar/AgentAvatar.js +210 -0
- package/lib/module/agent-avatar/AgentAvatar.js.map +1 -0
- package/lib/module/agent-avatar/AgentFace.js +23 -0
- package/lib/module/agent-avatar/AgentFace.js.map +1 -0
- package/lib/module/agent-avatar/SvgDrawing.js +202 -0
- package/lib/module/agent-avatar/SvgDrawing.js.map +1 -0
- package/lib/module/agent-avatar/artwork.js +144 -0
- package/lib/module/agent-avatar/artwork.js.map +1 -0
- package/lib/module/agent-avatar/attention.js +74 -0
- package/lib/module/agent-avatar/attention.js.map +1 -0
- package/lib/module/agent-avatar/blink.js +41 -0
- package/lib/module/agent-avatar/blink.js.map +1 -0
- package/lib/module/agent-avatar/context.js +6 -0
- package/lib/module/agent-avatar/context.js.map +1 -0
- package/lib/module/agent-avatar/drawing.js +226 -0
- package/lib/module/agent-avatar/drawing.js.map +1 -0
- package/lib/module/agent-avatar/entrance.js +27 -0
- package/lib/module/agent-avatar/entrance.js.map +1 -0
- package/lib/module/agent-avatar/face.js +392 -0
- package/lib/module/agent-avatar/face.js.map +1 -0
- package/lib/module/agent-avatar/fold-outlines.js +37 -0
- package/lib/module/agent-avatar/fold-outlines.js.map +1 -0
- package/lib/module/agent-avatar/fold.js +319 -0
- package/lib/module/agent-avatar/fold.js.map +1 -0
- package/lib/module/agent-avatar/grain.js +5 -0
- package/lib/module/agent-avatar/grain.js.map +1 -0
- package/lib/module/agent-avatar/index.js +5 -0
- package/lib/module/agent-avatar/index.js.map +1 -0
- package/lib/module/agent-avatar/messages.js +7 -0
- package/lib/module/agent-avatar/messages.js.map +1 -0
- package/lib/module/agent-avatar/model.js +424 -0
- package/lib/module/agent-avatar/model.js.map +1 -0
- package/lib/module/agent-avatar/shape-morph.js +155 -0
- package/lib/module/agent-avatar/shape-morph.js.map +1 -0
- package/lib/module/agent-avatar/types.js.map +1 -0
- package/lib/module/agent-avatar/wander.js +59 -0
- package/lib/module/agent-avatar/wander.js.map +1 -0
- package/lib/module/agent-avatar/working.js +23 -0
- package/lib/module/agent-avatar/working.js.map +1 -0
- package/lib/module/agent-chat/AgentChatMessage.js +20 -0
- package/lib/module/agent-chat/AgentChatMessage.js.map +1 -1
- package/lib/module/agent-creator/AgentCreator.js +28 -0
- package/lib/module/agent-creator/AgentCreator.js.map +1 -0
- package/lib/module/agent-creator/AgentCreator.web.js +28 -0
- package/lib/module/agent-creator/AgentCreator.web.js.map +1 -0
- package/lib/module/agent-creator/AgentCreatorBase.js +315 -0
- package/lib/module/agent-creator/AgentCreatorBase.js.map +1 -0
- package/lib/module/agent-creator/AgentPreferencesPanel.js +257 -0
- package/lib/module/agent-creator/AgentPreferencesPanel.js.map +1 -0
- package/lib/module/agent-creator/CustomColorPicker.js +369 -0
- package/lib/module/agent-creator/CustomColorPicker.js.map +1 -0
- package/lib/module/agent-creator/EmotionPicker.js +174 -0
- package/lib/module/agent-creator/EmotionPicker.js.map +1 -0
- package/lib/module/agent-creator/GlossArt.js +206 -0
- package/lib/module/agent-creator/GlossArt.js.map +1 -0
- package/lib/module/agent-creator/ScrollSurface.js +130 -0
- package/lib/module/agent-creator/ScrollSurface.js.map +1 -0
- package/lib/module/agent-creator/ShapeArc.js +217 -0
- package/lib/module/agent-creator/ShapeArc.js.map +1 -0
- package/lib/module/agent-creator/constants.js +64 -0
- package/lib/module/agent-creator/constants.js.map +1 -0
- package/lib/module/agent-creator/context.js +24 -0
- package/lib/module/agent-creator/context.js.map +1 -0
- package/lib/module/agent-creator/index.js +6 -0
- package/lib/module/agent-creator/index.js.map +1 -0
- package/lib/module/agent-creator/index.web.js +11 -0
- package/lib/module/agent-creator/index.web.js.map +1 -0
- package/lib/module/agent-creator/messages.js +100 -0
- package/lib/module/agent-creator/messages.js.map +1 -0
- package/lib/module/agent-creator/rainbow-artwork.js +6 -0
- package/lib/module/agent-creator/rainbow-artwork.js.map +1 -0
- package/lib/module/agent-creator/shared.js +72 -0
- package/lib/module/agent-creator/shared.js.map +1 -0
- package/lib/module/agent-creator/types.js +4 -0
- package/lib/module/agent-creator/types.js.map +1 -0
- package/lib/module/agent-creator/use-agent-voices.js +55 -0
- package/lib/module/agent-creator/use-agent-voices.js.map +1 -0
- package/lib/module/agent-creator/use-track-events.js +40 -0
- package/lib/module/agent-creator/use-track-events.js.map +1 -0
- package/lib/module/button/CloseButton.js +5 -2
- package/lib/module/button/CloseButton.js.map +1 -1
- package/lib/module/chip/Chip.js +29 -14
- package/lib/module/chip/Chip.js.map +1 -1
- package/lib/module/design-tokens/component-roles.js +90 -0
- package/lib/module/design-tokens/component-roles.js.map +1 -0
- package/lib/module/design-tokens/tailwind-preset.js +25 -5
- package/lib/module/design-tokens/tailwind-preset.js.map +1 -1
- package/lib/module/design-tokens/theme-css.js +18 -0
- package/lib/module/design-tokens/theme-css.js.map +1 -1
- package/lib/module/design-tokens/theme.css +284 -0
- package/lib/module/dialog/Dialog.js +28 -14
- package/lib/module/dialog/Dialog.js.map +1 -1
- package/lib/module/dialog/Dialog.web.js +24 -15
- package/lib/module/dialog/Dialog.web.js.map +1 -1
- package/lib/module/dialog/DialogHeader.js +1 -1
- package/lib/module/hooks/use-accessible-name-warning.js +2 -2
- package/lib/module/index.js +4 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/index.web.js +4 -1
- package/lib/module/index.web.js.map +1 -1
- package/lib/module/locale/translations/ar.js +363 -0
- package/lib/module/locale/translations/ar.js.map +1 -1
- package/lib/module/locale/translations/bn.js +351 -0
- package/lib/module/locale/translations/bn.js.map +1 -1
- package/lib/module/locale/translations/ca.js +355 -0
- package/lib/module/locale/translations/ca.js.map +1 -1
- package/lib/module/locale/translations/de.js +355 -0
- package/lib/module/locale/translations/de.js.map +1 -1
- package/lib/module/locale/translations/es.js +355 -0
- package/lib/module/locale/translations/es.js.map +1 -1
- package/lib/module/locale/translations/fr.js +355 -0
- package/lib/module/locale/translations/fr.js.map +1 -1
- package/lib/module/locale/translations/hi.js +354 -0
- package/lib/module/locale/translations/hi.js.map +1 -1
- package/lib/module/locale/translations/id.js +354 -0
- package/lib/module/locale/translations/id.js.map +1 -1
- package/lib/module/locale/translations/it.js +355 -0
- package/lib/module/locale/translations/it.js.map +1 -1
- package/lib/module/locale/translations/ja.js +351 -0
- package/lib/module/locale/translations/ja.js.map +1 -1
- package/lib/module/locale/translations/pt.js +355 -0
- package/lib/module/locale/translations/pt.js.map +1 -1
- package/lib/module/locale/translations/ru.js +359 -0
- package/lib/module/locale/translations/ru.js.map +1 -1
- package/lib/module/locale/translations/tr.js +354 -0
- package/lib/module/locale/translations/tr.js.map +1 -1
- package/lib/module/locale/translations/zh.js +351 -0
- package/lib/module/locale/translations/zh.js.map +1 -1
- package/lib/module/multi-agent-chat/AvatarFlightHost.js +12 -0
- package/lib/module/multi-agent-chat/AvatarFlightHost.js.map +1 -0
- package/lib/module/multi-agent-chat/AvatarFlightHost.web.js +12 -0
- package/lib/module/multi-agent-chat/AvatarFlightHost.web.js.map +1 -0
- package/lib/module/multi-agent-chat/AvatarHandoff.js +174 -0
- package/lib/module/multi-agent-chat/AvatarHandoff.js.map +1 -0
- package/lib/module/multi-agent-chat/ChatDialogFrame.js +155 -0
- package/lib/module/multi-agent-chat/ChatDialogFrame.js.map +1 -0
- package/lib/module/multi-agent-chat/ChatSidebar.js +362 -0
- package/lib/module/multi-agent-chat/ChatSidebar.js.map +1 -0
- package/lib/module/multi-agent-chat/EditorRail.js +58 -0
- package/lib/module/multi-agent-chat/EditorRail.js.map +1 -0
- package/lib/module/multi-agent-chat/Marketplace.js +496 -0
- package/lib/module/multi-agent-chat/Marketplace.js.map +1 -0
- package/lib/module/multi-agent-chat/MarketplaceSettings.js +119 -0
- package/lib/module/multi-agent-chat/MarketplaceSettings.js.map +1 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.js +34 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.js.map +1 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.web.js +34 -0
- package/lib/module/multi-agent-chat/MultiAgentChat.web.js.map +1 -0
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js +921 -0
- package/lib/module/multi-agent-chat/MultiAgentChatBase.js.map +1 -0
- package/lib/module/multi-agent-chat/ReplyRow.js +166 -0
- package/lib/module/multi-agent-chat/ReplyRow.js.map +1 -0
- package/lib/module/multi-agent-chat/ScrollSurface.js +89 -0
- package/lib/module/multi-agent-chat/ScrollSurface.js.map +1 -0
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js +121 -0
- package/lib/module/multi-agent-chat/SelectedAgentPreview.js.map +1 -0
- package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js +476 -0
- package/lib/module/multi-agent-chat/WorkspaceSettingsPages.js.map +1 -0
- package/lib/module/multi-agent-chat/context.js +10 -0
- package/lib/module/multi-agent-chat/context.js.map +1 -0
- package/lib/module/multi-agent-chat/data.js +412 -0
- package/lib/module/multi-agent-chat/data.js.map +1 -0
- package/lib/module/multi-agent-chat/handoff.js +94 -0
- package/lib/module/multi-agent-chat/handoff.js.map +1 -0
- package/lib/module/multi-agent-chat/index.js +4 -0
- package/lib/module/multi-agent-chat/index.js.map +1 -0
- package/lib/module/multi-agent-chat/index.web.js +9 -0
- package/lib/module/multi-agent-chat/index.web.js.map +1 -0
- package/lib/module/multi-agent-chat/marketplace-data.js +137 -0
- package/lib/module/multi-agent-chat/marketplace-data.js.map +1 -0
- package/lib/module/multi-agent-chat/marketplace-logos.js +32 -0
- package/lib/module/multi-agent-chat/marketplace-logos.js.map +1 -0
- package/lib/module/multi-agent-chat/messages.js +191 -0
- package/lib/module/multi-agent-chat/messages.js.map +1 -0
- package/lib/module/multi-agent-chat/model-catalog.js +767 -0
- package/lib/module/multi-agent-chat/model-catalog.js.map +1 -0
- package/lib/module/multi-agent-chat/stream-reply.js +36 -0
- package/lib/module/multi-agent-chat/stream-reply.js.map +1 -0
- package/lib/module/multi-agent-chat/types.js +4 -0
- package/lib/module/multi-agent-chat/types.js.map +1 -0
- package/lib/module/multi-agent-chat/use-replies.js +152 -0
- package/lib/module/multi-agent-chat/use-replies.js.map +1 -0
- package/lib/module/multi-agent-chat/use-workspace.js +53 -0
- package/lib/module/multi-agent-chat/use-workspace.js.map +1 -0
- package/lib/module/page-header/EdgeScrim.js +7 -3
- package/lib/module/page-header/EdgeScrim.js.map +1 -1
- package/lib/module/page-header/index.js +1 -0
- package/lib/module/page-header/index.js.map +1 -1
- package/lib/module/project-board/BoardTooltip.js +45 -0
- package/lib/module/project-board/BoardTooltip.js.map +1 -0
- package/lib/module/project-board/CreateTicketDialog.js +326 -0
- package/lib/module/project-board/CreateTicketDialog.js.map +1 -0
- package/lib/module/project-board/ProjectBoard.js +34 -0
- package/lib/module/project-board/ProjectBoard.js.map +1 -0
- package/lib/module/project-board/ProjectBoard.web.js +35 -0
- package/lib/module/project-board/ProjectBoard.web.js.map +1 -0
- package/lib/module/project-board/ProjectBoardBase.js +763 -0
- package/lib/module/project-board/ProjectBoardBase.js.map +1 -0
- package/lib/module/project-board/ProjectBoardControls.js +188 -0
- package/lib/module/project-board/ProjectBoardControls.js.map +1 -0
- package/lib/module/project-board/ProjectBoardEmptyState.js +166 -0
- package/lib/module/project-board/ProjectBoardEmptyState.js.map +1 -0
- package/lib/module/project-board/ProjectBoardIcons.js +83 -0
- package/lib/module/project-board/ProjectBoardIcons.js.map +1 -0
- package/lib/module/project-board/RiInboxArchiveLine.js +7 -0
- package/lib/module/project-board/RiInboxArchiveLine.js.map +1 -0
- package/lib/module/project-board/RiMoreLine.js +7 -0
- package/lib/module/project-board/RiMoreLine.js.map +1 -0
- package/lib/module/project-board/RiPieChart2Line.js +7 -0
- package/lib/module/project-board/RiPieChart2Line.js.map +1 -0
- package/lib/module/project-board/RiRestartLine.js +7 -0
- package/lib/module/project-board/RiRestartLine.js.map +1 -0
- package/lib/module/project-board/SourcePrimitives.js +125 -0
- package/lib/module/project-board/SourcePrimitives.js.map +1 -0
- package/lib/module/project-board/TicketCornerGenieSurface.web.js +334 -0
- package/lib/module/project-board/TicketCornerGenieSurface.web.js.map +1 -0
- package/lib/module/project-board/TicketDetailDialog.js +593 -0
- package/lib/module/project-board/TicketDetailDialog.js.map +1 -0
- package/lib/module/project-board/TicketGenieSurface.js +70 -0
- package/lib/module/project-board/TicketGenieSurface.js.map +1 -0
- package/lib/module/project-board/TicketGenieSurface.web.js +189 -0
- package/lib/module/project-board/TicketGenieSurface.web.js.map +1 -0
- package/lib/module/project-board/animation.web.js +17 -0
- package/lib/module/project-board/animation.web.js.map +1 -0
- package/lib/module/project-board/constants.js +13 -0
- package/lib/module/project-board/constants.js.map +1 -0
- package/lib/module/project-board/context.js +10 -0
- package/lib/module/project-board/context.js.map +1 -0
- package/lib/module/project-board/index.js +4 -0
- package/lib/module/project-board/index.js.map +1 -0
- package/lib/module/project-board/index.web.js +9 -0
- package/lib/module/project-board/index.web.js.map +1 -0
- package/lib/module/project-board/messages.js +76 -0
- package/lib/module/project-board/messages.js.map +1 -0
- package/lib/module/project-board/shared.js +82 -0
- package/lib/module/project-board/shared.js.map +1 -0
- package/lib/module/project-board/types.js +4 -0
- package/lib/module/project-board/types.js.map +1 -0
- package/lib/module/segmented-control/SegmentedControl.js +37 -39
- package/lib/module/segmented-control/SegmentedControl.js.map +1 -1
- package/lib/module/settings-modal/SettingsModal.js +18 -4
- package/lib/module/settings-modal/SettingsModal.js.map +1 -1
- package/lib/module/settings-modal/SettingsRows.js +4 -1
- package/lib/module/settings-modal/SettingsRows.js.map +1 -1
- package/lib/module/sidebar/Sidebar.js +21 -9
- package/lib/module/sidebar/Sidebar.js.map +1 -1
- package/lib/module/sidebar/SidebarItem.js +59 -15
- package/lib/module/sidebar/SidebarItem.js.map +1 -1
- package/lib/module/sidebar/SidebarScrollArea.js +3 -5
- package/lib/module/sidebar/SidebarScrollArea.js.map +1 -1
- package/lib/module/sidebar/SidebarTeamMenu.js +3 -3
- package/lib/module/sidebar/SidebarTeamMenu.js.map +1 -1
- package/lib/module/sidebar/SidebarToolbar.js +161 -0
- package/lib/module/sidebar/SidebarToolbar.js.map +1 -0
- package/lib/module/sidebar/index.js +1 -0
- package/lib/module/sidebar/index.js.map +1 -1
- package/lib/module/sidebar/parts.js +11 -3
- package/lib/module/sidebar/parts.js.map +1 -1
- package/lib/module/social-button/SocialButtonBase.js +1 -1
- package/lib/module/social-button/SocialButtonBase.js.map +1 -1
- package/lib/module/textarea/Textarea.js +29 -15
- package/lib/module/textarea/Textarea.js.map +1 -1
- package/lib/module/theme/color-scope/seed-scope.js +2 -0
- package/lib/module/theme/color-scope/seed-scope.js.map +1 -1
- package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts +4 -0
- package/lib/typescript/commonjs/agent-avatar/AgentAvatar.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts +7 -0
- package/lib/typescript/commonjs/agent-avatar/AgentFace.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts +14 -0
- package/lib/typescript/commonjs/agent-avatar/SvgDrawing.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/artwork.d.ts +7 -0
- package/lib/typescript/commonjs/agent-avatar/artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/attention.d.ts +24 -0
- package/lib/typescript/commonjs/agent-avatar/attention.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/blink.d.ts +12 -0
- package/lib/typescript/commonjs/agent-avatar/blink.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/context.d.ts +4 -0
- package/lib/typescript/commonjs/agent-avatar/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/drawing.d.ts +102 -0
- package/lib/typescript/commonjs/agent-avatar/drawing.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/entrance.d.ts +13 -0
- package/lib/typescript/commonjs/agent-avatar/entrance.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/face.d.ts +38 -0
- package/lib/typescript/commonjs/agent-avatar/face.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts +13 -0
- package/lib/typescript/commonjs/agent-avatar/fold-outlines.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/fold.d.ts +7 -0
- package/lib/typescript/commonjs/agent-avatar/fold.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/grain.d.ts +3 -0
- package/lib/typescript/commonjs/agent-avatar/grain.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/index.d.ts +5 -0
- package/lib/typescript/commonjs/agent-avatar/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/messages.d.ts +4 -0
- package/lib/typescript/commonjs/agent-avatar/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/model.d.ts +63 -0
- package/lib/typescript/commonjs/agent-avatar/model.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts +39 -0
- package/lib/typescript/commonjs/agent-avatar/shape-morph.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/types.d.ts +21 -0
- package/lib/typescript/commonjs/agent-avatar/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/wander.d.ts +14 -0
- package/lib/typescript/commonjs/agent-avatar/wander.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-avatar/working.d.ts +8 -0
- package/lib/typescript/commonjs/agent-avatar/working.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts +5 -0
- package/lib/typescript/commonjs/agent-chat/AgentChatMessage.d.ts.map +1 -1
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreator.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts +4 -0
- package/lib/typescript/commonjs/agent-creator/AgentCreatorBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts +4 -0
- package/lib/typescript/commonjs/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/EmotionPicker.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts +11 -0
- package/lib/typescript/commonjs/agent-creator/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts +7 -0
- package/lib/typescript/commonjs/agent-creator/ShapeArc.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/constants.d.ts +49 -0
- package/lib/typescript/commonjs/agent-creator/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/context.d.ts +64 -0
- package/lib/typescript/commonjs/agent-creator/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/index.d.ts +5 -0
- package/lib/typescript/commonjs/agent-creator/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/index.web.d.ts +5 -0
- package/lib/typescript/commonjs/agent-creator/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts +53 -0
- package/lib/typescript/commonjs/agent-creator/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/commonjs/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts +18 -0
- package/lib/typescript/commonjs/agent-creator/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/types.d.ts +37 -0
- package/lib/typescript/commonjs/agent-creator/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts +9 -0
- package/lib/typescript/commonjs/agent-creator/use-agent-voices.d.ts.map +1 -0
- package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts +5 -0
- package/lib/typescript/commonjs/agent-creator/use-track-events.d.ts.map +1 -0
- package/lib/typescript/commonjs/button/CloseButton.d.ts +1 -1
- package/lib/typescript/commonjs/button/CloseButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/button/shared.d.ts +1 -1
- package/lib/typescript/commonjs/button/types.d.ts +2 -0
- package/lib/typescript/commonjs/button/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/commonjs/chip/types.d.ts +3 -0
- package/lib/typescript/commonjs/chip/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/design-tokens/component-roles.d.ts +89 -0
- package/lib/typescript/commonjs/design-tokens/component-roles.d.ts.map +1 -0
- package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts +3 -27
- package/lib/typescript/commonjs/design-tokens/tailwind-preset.d.ts.map +1 -1
- package/lib/typescript/commonjs/design-tokens/theme-css.d.ts +0 -24
- package/lib/typescript/commonjs/design-tokens/theme-css.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/dialog/types.d.ts +6 -0
- package/lib/typescript/commonjs/dialog/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.d.ts +4 -2
- package/lib/typescript/commonjs/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/index.web.d.ts +4 -2
- package/lib/typescript/commonjs/index.web.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/types.d.ts +8 -0
- package/lib/typescript/commonjs/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts +10 -0
- package/lib/typescript/commonjs/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts +24 -0
- package/lib/typescript/commonjs/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts +7 -0
- package/lib/typescript/commonjs/multi-agent-chat/EditorRail.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts +14 -0
- package/lib/typescript/commonjs/multi-agent-chat/Marketplace.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
- package/lib/typescript/commonjs/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts +18 -0
- package/lib/typescript/commonjs/multi-agent-chat/ReplyRow.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts +13 -0
- package/lib/typescript/commonjs/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
- package/lib/typescript/commonjs/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/context.d.ts +20 -0
- package/lib/typescript/commonjs/multi-agent-chat/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts +39 -0
- package/lib/typescript/commonjs/multi-agent-chat/data.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts +42 -0
- package/lib/typescript/commonjs/multi-agent-chat/handoff.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts +4 -0
- package/lib/typescript/commonjs/multi-agent-chat/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts +26 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-data.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts +30 -0
- package/lib/typescript/commonjs/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts +175 -0
- package/lib/typescript/commonjs/multi-agent-chat/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts +3 -0
- package/lib/typescript/commonjs/multi-agent-chat/model-catalog.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts +5 -0
- package/lib/typescript/commonjs/multi-agent-chat/stream-reply.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/types.d.ts +21 -0
- package/lib/typescript/commonjs/multi-agent-chat/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts +14 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-replies.d.ts.map +1 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts +9 -0
- package/lib/typescript/commonjs/multi-agent-chat/use-workspace.d.ts.map +1 -0
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts +10 -1
- package/lib/typescript/commonjs/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/commonjs/page-header/index.d.ts +2 -0
- package/lib/typescript/commonjs/page-header/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/BoardTooltip.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts +12 -0
- package/lib/typescript/commonjs/project-board/CreateTicketDialog.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoard.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardBase.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts +32 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardControls.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts +15 -0
- package/lib/typescript/commonjs/project-board/ProjectBoardIcons.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiInboxArchiveLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiMoreLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiPieChart2Line.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/RiRestartLine.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts +177 -0
- package/lib/typescript/commonjs/project-board/SourcePrimitives.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts +16 -0
- package/lib/typescript/commonjs/project-board/TicketDetailDialog.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts +9 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts +6 -0
- package/lib/typescript/commonjs/project-board/TicketGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/animation.web.d.ts +10 -0
- package/lib/typescript/commonjs/project-board/animation.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/constants.d.ts +7 -0
- package/lib/typescript/commonjs/project-board/constants.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/context.d.ts +39 -0
- package/lib/typescript/commonjs/project-board/context.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/index.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/index.web.d.ts +3 -0
- package/lib/typescript/commonjs/project-board/index.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/messages.d.ts +73 -0
- package/lib/typescript/commonjs/project-board/messages.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/shared.d.ts +18 -0
- package/lib/typescript/commonjs/project-board/shared.d.ts.map +1 -0
- package/lib/typescript/commonjs/project-board/types.d.ts +78 -0
- package/lib/typescript/commonjs/project-board/types.d.ts.map +1 -0
- package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts +4 -2
- package/lib/typescript/commonjs/segmented-control/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts +1 -1
- package/lib/typescript/commonjs/settings-modal/SettingsRows.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/index.d.ts +1 -1
- package/lib/typescript/commonjs/settings-modal/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/settings-modal/types.d.ts +12 -1
- package/lib/typescript/commonjs/settings-modal/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarTeamMenu.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts +4 -0
- package/lib/typescript/commonjs/sidebar/SidebarToolbar.d.ts.map +1 -0
- package/lib/typescript/commonjs/sidebar/index.d.ts +2 -1
- package/lib/typescript/commonjs/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/parts.d.ts +2 -1
- package/lib/typescript/commonjs/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/commonjs/sidebar/types.d.ts +47 -5
- package/lib/typescript/commonjs/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts +7 -0
- package/lib/typescript/commonjs/social-button/SocialButtonBase.d.ts.map +1 -1
- package/lib/typescript/commonjs/textarea/Textarea.d.ts +1 -1
- package/lib/typescript/commonjs/textarea/Textarea.d.ts.map +1 -1
- package/lib/typescript/commonjs/textarea/types.d.ts +6 -1
- package/lib/typescript/commonjs/textarea/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/theme/color-scope/seed-scope.d.ts.map +1 -1
- package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts +4 -0
- package/lib/typescript/module/agent-avatar/AgentAvatar.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/AgentFace.d.ts +7 -0
- package/lib/typescript/module/agent-avatar/AgentFace.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts +14 -0
- package/lib/typescript/module/agent-avatar/SvgDrawing.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/artwork.d.ts +7 -0
- package/lib/typescript/module/agent-avatar/artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/attention.d.ts +24 -0
- package/lib/typescript/module/agent-avatar/attention.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/blink.d.ts +12 -0
- package/lib/typescript/module/agent-avatar/blink.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/context.d.ts +4 -0
- package/lib/typescript/module/agent-avatar/context.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/drawing.d.ts +102 -0
- package/lib/typescript/module/agent-avatar/drawing.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/entrance.d.ts +13 -0
- package/lib/typescript/module/agent-avatar/entrance.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/face.d.ts +38 -0
- package/lib/typescript/module/agent-avatar/face.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/fold-outlines.d.ts +13 -0
- package/lib/typescript/module/agent-avatar/fold-outlines.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/fold.d.ts +7 -0
- package/lib/typescript/module/agent-avatar/fold.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/grain.d.ts +3 -0
- package/lib/typescript/module/agent-avatar/grain.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/index.d.ts +5 -0
- package/lib/typescript/module/agent-avatar/index.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/messages.d.ts +4 -0
- package/lib/typescript/module/agent-avatar/messages.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/model.d.ts +63 -0
- package/lib/typescript/module/agent-avatar/model.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/shape-morph.d.ts +39 -0
- package/lib/typescript/module/agent-avatar/shape-morph.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/types.d.ts +21 -0
- package/lib/typescript/module/agent-avatar/types.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/wander.d.ts +14 -0
- package/lib/typescript/module/agent-avatar/wander.d.ts.map +1 -0
- package/lib/typescript/module/agent-avatar/working.d.ts +8 -0
- package/lib/typescript/module/agent-avatar/working.d.ts.map +1 -0
- package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts +5 -0
- package/lib/typescript/module/agent-chat/AgentChatMessage.d.ts.map +1 -1
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts +3 -0
- package/lib/typescript/module/agent-creator/AgentCreator.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts +3 -0
- package/lib/typescript/module/agent-creator/AgentCreator.web.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts +4 -0
- package/lib/typescript/module/agent-creator/AgentCreatorBase.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts +4 -0
- package/lib/typescript/module/agent-creator/AgentPreferencesPanel.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts +7 -0
- package/lib/typescript/module/agent-creator/CustomColorPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/EmotionPicker.d.ts +7 -0
- package/lib/typescript/module/agent-creator/EmotionPicker.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts +9 -0
- package/lib/typescript/module/agent-creator/GlossArt.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/ScrollSurface.d.ts +11 -0
- package/lib/typescript/module/agent-creator/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/ShapeArc.d.ts +7 -0
- package/lib/typescript/module/agent-creator/ShapeArc.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/constants.d.ts +49 -0
- package/lib/typescript/module/agent-creator/constants.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/context.d.ts +64 -0
- package/lib/typescript/module/agent-creator/context.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/index.d.ts +5 -0
- package/lib/typescript/module/agent-creator/index.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/index.web.d.ts +5 -0
- package/lib/typescript/module/agent-creator/index.web.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/messages.d.ts +53 -0
- package/lib/typescript/module/agent-creator/messages.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts +3 -0
- package/lib/typescript/module/agent-creator/rainbow-artwork.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/shared.d.ts +18 -0
- package/lib/typescript/module/agent-creator/shared.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/types.d.ts +37 -0
- package/lib/typescript/module/agent-creator/types.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/use-agent-voices.d.ts +9 -0
- package/lib/typescript/module/agent-creator/use-agent-voices.d.ts.map +1 -0
- package/lib/typescript/module/agent-creator/use-track-events.d.ts +5 -0
- package/lib/typescript/module/agent-creator/use-track-events.d.ts.map +1 -0
- package/lib/typescript/module/button/CloseButton.d.ts +1 -1
- package/lib/typescript/module/button/CloseButton.d.ts.map +1 -1
- package/lib/typescript/module/button/shared.d.ts +1 -1
- package/lib/typescript/module/button/types.d.ts +2 -0
- package/lib/typescript/module/button/types.d.ts.map +1 -1
- package/lib/typescript/module/chip/Chip.d.ts.map +1 -1
- package/lib/typescript/module/chip/types.d.ts +3 -0
- package/lib/typescript/module/chip/types.d.ts.map +1 -1
- package/lib/typescript/module/design-tokens/component-roles.d.ts +89 -0
- package/lib/typescript/module/design-tokens/component-roles.d.ts.map +1 -0
- package/lib/typescript/module/design-tokens/tailwind-preset.d.ts +3 -27
- package/lib/typescript/module/design-tokens/tailwind-preset.d.ts.map +1 -1
- package/lib/typescript/module/design-tokens/theme-css.d.ts +0 -24
- package/lib/typescript/module/design-tokens/theme-css.d.ts.map +1 -1
- package/lib/typescript/module/dialog/Dialog.web.d.ts.map +1 -1
- package/lib/typescript/module/dialog/types.d.ts +6 -0
- package/lib/typescript/module/dialog/types.d.ts.map +1 -1
- package/lib/typescript/module/index.d.ts +4 -2
- package/lib/typescript/module/index.d.ts.map +1 -1
- package/lib/typescript/module/index.web.d.ts +4 -2
- package/lib/typescript/module/index.web.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ar.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/bn.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ca.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/de.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/es.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/fr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/hi.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/id.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/it.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ja.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/pt.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/ru.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/tr.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/types.d.ts +8 -0
- package/lib/typescript/module/locale/translations/types.d.ts.map +1 -1
- package/lib/typescript/module/locale/translations/zh.d.ts.map +1 -1
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/AvatarFlightHost.web.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts +10 -0
- package/lib/typescript/module/multi-agent-chat/AvatarHandoff.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts +15 -0
- package/lib/typescript/module/multi-agent-chat/ChatDialogFrame.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts +24 -0
- package/lib/typescript/module/multi-agent-chat/ChatSidebar.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts +7 -0
- package/lib/typescript/module/multi-agent-chat/EditorRail.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts +14 -0
- package/lib/typescript/module/multi-agent-chat/Marketplace.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts +7 -0
- package/lib/typescript/module/multi-agent-chat/MarketplaceSettings.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChat.web.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/MultiAgentChatBase.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts +18 -0
- package/lib/typescript/module/multi-agent-chat/ReplyRow.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts +13 -0
- package/lib/typescript/module/multi-agent-chat/ScrollSurface.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts +9 -0
- package/lib/typescript/module/multi-agent-chat/SelectedAgentPreview.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/WorkspaceSettingsPages.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/context.d.ts +20 -0
- package/lib/typescript/module/multi-agent-chat/context.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/data.d.ts +39 -0
- package/lib/typescript/module/multi-agent-chat/data.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/handoff.d.ts +42 -0
- package/lib/typescript/module/multi-agent-chat/handoff.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/index.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/index.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/index.web.d.ts +4 -0
- package/lib/typescript/module/multi-agent-chat/index.web.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts +26 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-data.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts +30 -0
- package/lib/typescript/module/multi-agent-chat/marketplace-logos.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/messages.d.ts +175 -0
- package/lib/typescript/module/multi-agent-chat/messages.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts +3 -0
- package/lib/typescript/module/multi-agent-chat/model-catalog.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts +5 -0
- package/lib/typescript/module/multi-agent-chat/stream-reply.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/types.d.ts +21 -0
- package/lib/typescript/module/multi-agent-chat/types.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/use-replies.d.ts +14 -0
- package/lib/typescript/module/multi-agent-chat/use-replies.d.ts.map +1 -0
- package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts +9 -0
- package/lib/typescript/module/multi-agent-chat/use-workspace.d.ts.map +1 -0
- package/lib/typescript/module/page-header/EdgeScrim.d.ts +10 -1
- package/lib/typescript/module/page-header/EdgeScrim.d.ts.map +1 -1
- package/lib/typescript/module/page-header/index.d.ts +2 -0
- package/lib/typescript/module/page-header/index.d.ts.map +1 -1
- package/lib/typescript/module/project-board/BoardTooltip.d.ts +7 -0
- package/lib/typescript/module/project-board/BoardTooltip.d.ts.map +1 -0
- package/lib/typescript/module/project-board/CreateTicketDialog.d.ts +12 -0
- package/lib/typescript/module/project-board/CreateTicketDialog.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoard.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoard.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoard.web.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoard.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardBase.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoardBase.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardControls.d.ts +32 -0
- package/lib/typescript/module/project-board/ProjectBoardControls.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts +3 -0
- package/lib/typescript/module/project-board/ProjectBoardEmptyState.d.ts.map +1 -0
- package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts +15 -0
- package/lib/typescript/module/project-board/ProjectBoardIcons.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts +7 -0
- package/lib/typescript/module/project-board/RiInboxArchiveLine.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiMoreLine.d.ts +7 -0
- package/lib/typescript/module/project-board/RiMoreLine.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiPieChart2Line.d.ts +7 -0
- package/lib/typescript/module/project-board/RiPieChart2Line.d.ts.map +1 -0
- package/lib/typescript/module/project-board/RiRestartLine.d.ts +7 -0
- package/lib/typescript/module/project-board/RiRestartLine.d.ts.map +1 -0
- package/lib/typescript/module/project-board/SourcePrimitives.d.ts +177 -0
- package/lib/typescript/module/project-board/SourcePrimitives.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts +7 -0
- package/lib/typescript/module/project-board/TicketCornerGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketDetailDialog.d.ts +16 -0
- package/lib/typescript/module/project-board/TicketDetailDialog.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.d.ts +9 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.d.ts.map +1 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts +6 -0
- package/lib/typescript/module/project-board/TicketGenieSurface.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/animation.web.d.ts +10 -0
- package/lib/typescript/module/project-board/animation.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/constants.d.ts +7 -0
- package/lib/typescript/module/project-board/constants.d.ts.map +1 -0
- package/lib/typescript/module/project-board/context.d.ts +39 -0
- package/lib/typescript/module/project-board/context.d.ts.map +1 -0
- package/lib/typescript/module/project-board/index.d.ts +3 -0
- package/lib/typescript/module/project-board/index.d.ts.map +1 -0
- package/lib/typescript/module/project-board/index.web.d.ts +3 -0
- package/lib/typescript/module/project-board/index.web.d.ts.map +1 -0
- package/lib/typescript/module/project-board/messages.d.ts +73 -0
- package/lib/typescript/module/project-board/messages.d.ts.map +1 -0
- package/lib/typescript/module/project-board/shared.d.ts +18 -0
- package/lib/typescript/module/project-board/shared.d.ts.map +1 -0
- package/lib/typescript/module/project-board/types.d.ts +78 -0
- package/lib/typescript/module/project-board/types.d.ts.map +1 -0
- package/lib/typescript/module/segmented-control/SegmentedControl.d.ts +4 -2
- package/lib/typescript/module/segmented-control/SegmentedControl.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/SettingsModal.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/SettingsRows.d.ts +1 -1
- package/lib/typescript/module/settings-modal/SettingsRows.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/index.d.ts +1 -1
- package/lib/typescript/module/settings-modal/index.d.ts.map +1 -1
- package/lib/typescript/module/settings-modal/types.d.ts +12 -1
- package/lib/typescript/module/settings-modal/types.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/Sidebar.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarItem.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarTeamMenu.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/SidebarToolbar.d.ts +4 -0
- package/lib/typescript/module/sidebar/SidebarToolbar.d.ts.map +1 -0
- package/lib/typescript/module/sidebar/index.d.ts +2 -1
- package/lib/typescript/module/sidebar/index.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/parts.d.ts +2 -1
- package/lib/typescript/module/sidebar/parts.d.ts.map +1 -1
- package/lib/typescript/module/sidebar/types.d.ts +47 -5
- package/lib/typescript/module/sidebar/types.d.ts.map +1 -1
- package/lib/typescript/module/social-button/SocialButtonBase.d.ts +7 -0
- package/lib/typescript/module/social-button/SocialButtonBase.d.ts.map +1 -1
- package/lib/typescript/module/textarea/Textarea.d.ts +1 -1
- package/lib/typescript/module/textarea/Textarea.d.ts.map +1 -1
- package/lib/typescript/module/textarea/types.d.ts +6 -1
- package/lib/typescript/module/textarea/types.d.ts.map +1 -1
- package/lib/typescript/module/theme/color-scope/seed-scope.d.ts.map +1 -1
- package/package.json +84 -18
- package/src/agent-avatar/AgentAvatar.tsx +299 -0
- package/src/agent-avatar/AgentFace.tsx +20 -0
- package/src/agent-avatar/SvgDrawing.tsx +237 -0
- package/src/agent-avatar/artwork.ts +195 -0
- package/src/agent-avatar/attention.ts +109 -0
- package/src/agent-avatar/blink.ts +47 -0
- package/src/agent-avatar/context.ts +7 -0
- package/src/agent-avatar/drawing.ts +276 -0
- package/src/agent-avatar/entrance.ts +25 -0
- package/src/agent-avatar/face.ts +540 -0
- package/src/agent-avatar/fold-outlines.ts +90 -0
- package/src/agent-avatar/fold.ts +444 -0
- package/src/agent-avatar/grain.ts +3 -0
- package/src/agent-avatar/index.ts +27 -0
- package/src/agent-avatar/messages.ts +5 -0
- package/src/agent-avatar/model.ts +576 -0
- package/src/agent-avatar/shape-morph.ts +210 -0
- package/src/agent-avatar/types.ts +21 -0
- package/src/agent-avatar/wander.ts +97 -0
- package/src/agent-avatar/working.ts +20 -0
- package/src/agent-chat/AgentChatMessage.tsx +7 -0
- package/src/agent-creator/AgentCreator.tsx +32 -0
- package/src/agent-creator/AgentCreator.web.tsx +32 -0
- package/src/agent-creator/AgentCreatorBase.tsx +287 -0
- package/src/agent-creator/AgentPreferencesPanel.tsx +268 -0
- package/src/agent-creator/CustomColorPicker.tsx +382 -0
- package/src/agent-creator/EmotionPicker.tsx +201 -0
- package/src/agent-creator/GlossArt.tsx +165 -0
- package/src/agent-creator/ScrollSurface.tsx +144 -0
- package/src/agent-creator/ShapeArc.tsx +266 -0
- package/src/agent-creator/constants.ts +57 -0
- package/src/agent-creator/context.ts +38 -0
- package/src/agent-creator/index.ts +14 -0
- package/src/agent-creator/index.web.ts +19 -0
- package/src/agent-creator/messages.ts +198 -0
- package/src/agent-creator/rainbow-artwork.ts +5 -0
- package/src/agent-creator/shared.ts +102 -0
- package/src/agent-creator/types.ts +34 -0
- package/src/agent-creator/use-agent-voices.ts +72 -0
- package/src/agent-creator/use-track-events.ts +42 -0
- package/src/button/CloseButton.tsx +6 -3
- package/src/button/types.ts +2 -0
- package/src/chip/Chip.tsx +17 -10
- package/src/chip/types.ts +3 -0
- package/src/design-tokens/component-roles.ts +93 -0
- package/src/design-tokens/tailwind-preset.ts +12 -8
- package/src/design-tokens/theme-css.ts +18 -0
- package/src/design-tokens/theme.css +284 -0
- package/src/dialog/Dialog.tsx +25 -14
- package/src/dialog/Dialog.web.tsx +23 -16
- package/src/dialog/DialogHeader.tsx +1 -1
- package/src/dialog/types.ts +6 -0
- package/src/hooks/use-accessible-name-warning.ts +2 -2
- package/src/index.ts +5 -2
- package/src/index.web.ts +5 -2
- package/src/locale/translations/ar.ts +297 -0
- package/src/locale/translations/bn.ts +297 -0
- package/src/locale/translations/ca.ts +297 -0
- package/src/locale/translations/de.ts +297 -0
- package/src/locale/translations/es.ts +297 -0
- package/src/locale/translations/fr.ts +297 -0
- package/src/locale/translations/hi.ts +297 -0
- package/src/locale/translations/id.ts +297 -0
- package/src/locale/translations/it.ts +297 -0
- package/src/locale/translations/ja.ts +297 -0
- package/src/locale/translations/pt.ts +297 -0
- package/src/locale/translations/ru.ts +297 -0
- package/src/locale/translations/tr.ts +297 -0
- package/src/locale/translations/types.ts +8 -0
- package/src/locale/translations/zh.ts +297 -0
- package/src/multi-agent-chat/AvatarFlightHost.tsx +5 -0
- package/src/multi-agent-chat/AvatarFlightHost.web.tsx +5 -0
- package/src/multi-agent-chat/AvatarHandoff.tsx +258 -0
- package/src/multi-agent-chat/ChatDialogFrame.tsx +186 -0
- package/src/multi-agent-chat/ChatSidebar.tsx +384 -0
- package/src/multi-agent-chat/EditorRail.tsx +68 -0
- package/src/multi-agent-chat/Marketplace.tsx +649 -0
- package/src/multi-agent-chat/MarketplaceSettings.tsx +110 -0
- package/src/multi-agent-chat/MultiAgentChat.tsx +30 -0
- package/src/multi-agent-chat/MultiAgentChat.web.tsx +30 -0
- package/src/multi-agent-chat/MultiAgentChatBase.tsx +1202 -0
- package/src/multi-agent-chat/ReplyRow.tsx +188 -0
- package/src/multi-agent-chat/ScrollSurface.tsx +122 -0
- package/src/multi-agent-chat/SelectedAgentPreview.tsx +143 -0
- package/src/multi-agent-chat/WorkspaceSettingsPages.tsx +515 -0
- package/src/multi-agent-chat/context.ts +23 -0
- package/src/multi-agent-chat/data.ts +629 -0
- package/src/multi-agent-chat/handoff.ts +150 -0
- package/src/multi-agent-chat/index.ts +8 -0
- package/src/multi-agent-chat/index.web.ts +13 -0
- package/src/multi-agent-chat/marketplace-data.ts +359 -0
- package/src/multi-agent-chat/marketplace-logos.ts +29 -0
- package/src/multi-agent-chat/messages.ts +215 -0
- package/src/multi-agent-chat/model-catalog.tsx +461 -0
- package/src/multi-agent-chat/stream-reply.ts +39 -0
- package/src/multi-agent-chat/types.ts +27 -0
- package/src/multi-agent-chat/use-replies.ts +166 -0
- package/src/multi-agent-chat/use-workspace.ts +59 -0
- package/src/page-header/EdgeScrim.tsx +13 -3
- package/src/page-header/index.ts +2 -0
- package/src/project-board/BoardTooltip.tsx +41 -0
- package/src/project-board/CreateTicketDialog.tsx +373 -0
- package/src/project-board/ProjectBoard.tsx +34 -0
- package/src/project-board/ProjectBoard.web.tsx +32 -0
- package/src/project-board/ProjectBoardBase.tsx +1022 -0
- package/src/project-board/ProjectBoardControls.tsx +254 -0
- package/src/project-board/ProjectBoardEmptyState.tsx +179 -0
- package/src/project-board/ProjectBoardIcons.tsx +93 -0
- package/src/project-board/RiInboxArchiveLine.tsx +4 -0
- package/src/project-board/RiMoreLine.tsx +4 -0
- package/src/project-board/RiPieChart2Line.tsx +4 -0
- package/src/project-board/RiRestartLine.tsx +4 -0
- package/src/project-board/SourcePrimitives.tsx +155 -0
- package/src/project-board/TicketCornerGenieSurface.web.tsx +401 -0
- package/src/project-board/TicketDetailDialog.tsx +730 -0
- package/src/project-board/TicketGenieSurface.tsx +73 -0
- package/src/project-board/TicketGenieSurface.web.tsx +190 -0
- package/src/project-board/animation.web.ts +22 -0
- package/src/project-board/constants.ts +20 -0
- package/src/project-board/context.ts +46 -0
- package/src/project-board/index.ts +12 -0
- package/src/project-board/index.web.ts +17 -0
- package/src/project-board/messages.ts +74 -0
- package/src/project-board/shared.ts +104 -0
- package/src/project-board/types.ts +78 -0
- package/src/segmented-control/SegmentedControl.tsx +12 -8
- package/src/settings-modal/SettingsModal.tsx +9 -6
- package/src/settings-modal/SettingsRows.tsx +4 -3
- package/src/settings-modal/index.ts +1 -0
- package/src/settings-modal/types.ts +13 -1
- package/src/sidebar/Sidebar.tsx +19 -9
- package/src/sidebar/SidebarItem.tsx +36 -11
- package/src/sidebar/SidebarScrollArea.tsx +1 -1
- package/src/sidebar/SidebarTeamMenu.tsx +1 -0
- package/src/sidebar/SidebarToolbar.tsx +176 -0
- package/src/sidebar/index.ts +2 -0
- package/src/sidebar/parts.tsx +4 -2
- package/src/sidebar/types.ts +46 -5
- package/src/social-button/SocialButtonBase.tsx +1 -1
- package/src/textarea/Textarea.tsx +21 -9
- package/src/textarea/types.ts +6 -1
- package/src/theme/color-scope/seed-scope.ts +2 -0
- package/docs/dot-grid-meter.mdx +0 -66
- package/lib/commonjs/dot-grid-meter/DotGridMeter.js +0 -80
- package/lib/commonjs/dot-grid-meter/DotGridMeter.js.map +0 -1
- package/lib/commonjs/dot-grid-meter/index.js +0 -13
- package/lib/commonjs/dot-grid-meter/index.js.map +0 -1
- package/lib/module/dot-grid-meter/DotGridMeter.js +0 -75
- package/lib/module/dot-grid-meter/DotGridMeter.js.map +0 -1
- package/lib/module/dot-grid-meter/index.js +0 -4
- package/lib/module/dot-grid-meter/index.js.map +0 -1
- package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts +0 -4
- package/lib/typescript/commonjs/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
- package/lib/typescript/commonjs/dot-grid-meter/index.d.ts +0 -3
- package/lib/typescript/commonjs/dot-grid-meter/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/dot-grid-meter/types.d.ts +0 -48
- package/lib/typescript/commonjs/dot-grid-meter/types.d.ts.map +0 -1
- package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts +0 -4
- package/lib/typescript/module/dot-grid-meter/DotGridMeter.d.ts.map +0 -1
- package/lib/typescript/module/dot-grid-meter/index.d.ts +0 -3
- package/lib/typescript/module/dot-grid-meter/index.d.ts.map +0 -1
- package/lib/typescript/module/dot-grid-meter/types.d.ts +0 -48
- package/lib/typescript/module/dot-grid-meter/types.d.ts.map +0 -1
- package/src/dot-grid-meter/DotGridMeter.tsx +0 -84
- package/src/dot-grid-meter/index.ts +0 -2
- package/src/dot-grid-meter/types.ts +0 -48
- /package/lib/commonjs/{dot-grid-meter → agent-avatar}/types.js +0 -0
- /package/lib/module/{dot-grid-meter → agent-avatar}/types.js +0 -0
package/src/sidebar/types.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
1
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
2
|
import type { BloomIconComponent } from '../icons/icon-component';
|
|
3
|
-
import type { StyleProp, ViewStyle, ScrollViewProps } from 'react-native';
|
|
3
|
+
import type { StyleProp, ViewStyle, ScrollViewProps, GestureResponderEvent, View } from 'react-native';
|
|
4
4
|
|
|
5
5
|
/** A Remix-style icon: `width` / `height` / `fill`. */
|
|
6
6
|
/** @deprecated Use `BloomIconComponent` from `@oxy.so/bloom/icons`; this is an alias of it. */
|
|
@@ -21,6 +21,8 @@ export interface SidebarAvatar {
|
|
|
21
21
|
|
|
22
22
|
/** A navigation row. Rows without `href` / `onPress` are decoration only. */
|
|
23
23
|
export interface SidebarNavItem {
|
|
24
|
+
className?: string;
|
|
25
|
+
style?: StyleProp<ViewStyle>;
|
|
24
26
|
key: string;
|
|
25
27
|
label: string;
|
|
26
28
|
icon: SidebarIcon;
|
|
@@ -62,8 +64,24 @@ export interface SidebarModeSwitcherProps {
|
|
|
62
64
|
}
|
|
63
65
|
|
|
64
66
|
export interface SidebarItemProps {
|
|
65
|
-
icon
|
|
67
|
+
icon?: SidebarIcon;
|
|
68
|
+
/** An avatar or other visual in place of the icon. Kept visible while collapsed. */
|
|
69
|
+
leading?: ReactNode;
|
|
66
70
|
label: string;
|
|
71
|
+
/** Secondary information under the label. Hidden with the label on collapse. */
|
|
72
|
+
description?: string;
|
|
73
|
+
/** Accent selection is the default; neutral uses the sidebar's tertiary surface. */
|
|
74
|
+
selectedAppearance?: 'accent' | 'neutral';
|
|
75
|
+
className?: string;
|
|
76
|
+
labelClassName?: string;
|
|
77
|
+
descriptionClassName?: string;
|
|
78
|
+
ref?: Ref<View>;
|
|
79
|
+
disabled?: boolean;
|
|
80
|
+
nativeID?: string;
|
|
81
|
+
accessibilityLabel?: string;
|
|
82
|
+
'aria-expanded'?: boolean;
|
|
83
|
+
'aria-haspopup'?: 'menu' | 'dialog' | 'listbox' | 'tree' | 'grid';
|
|
84
|
+
'aria-describedby'?: string;
|
|
67
85
|
/**
|
|
68
86
|
* The row's size. Inside a `Sidebar` it is inherited from the panel — pass
|
|
69
87
|
* it only for a row standing on its own.
|
|
@@ -81,9 +99,25 @@ export interface SidebarItemProps {
|
|
|
81
99
|
selected?: boolean;
|
|
82
100
|
/** Icon-only square matching the sidebar size (40px for md). */
|
|
83
101
|
collapsed?: boolean;
|
|
84
|
-
onPress?: () => void;
|
|
102
|
+
onPress?: (event: GestureResponderEvent) => void;
|
|
85
103
|
/** Secondary touch action. Also expose it through a keyboard-accessible menu. */
|
|
86
|
-
onLongPress?: () => void;
|
|
104
|
+
onLongPress?: (event: GestureResponderEvent) => void;
|
|
105
|
+
style?: StyleProp<ViewStyle>;
|
|
106
|
+
testID?: string;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/** A fixed header row whose search expands across the adjacent action slots. */
|
|
110
|
+
export interface SidebarToolbarProps {
|
|
111
|
+
actions?: ReadonlyArray<ReactNode>;
|
|
112
|
+
search: {
|
|
113
|
+
value: string;
|
|
114
|
+
onValueChange: (value: string) => void;
|
|
115
|
+
open: boolean;
|
|
116
|
+
onOpenChange: (open: boolean) => void;
|
|
117
|
+
accessibilityLabel?: string;
|
|
118
|
+
placeholder?: string;
|
|
119
|
+
closeLabel?: string;
|
|
120
|
+
};
|
|
87
121
|
style?: StyleProp<ViewStyle>;
|
|
88
122
|
testID?: string;
|
|
89
123
|
}
|
|
@@ -151,6 +185,8 @@ export interface SidebarMenuItem {
|
|
|
151
185
|
}
|
|
152
186
|
|
|
153
187
|
export interface SidebarMenuGroup {
|
|
188
|
+
/** Optional controls below the group rows (for example, appearance settings). */
|
|
189
|
+
content?: ReactNode;
|
|
154
190
|
id: string;
|
|
155
191
|
/** Section label above the rows ("Company"). */
|
|
156
192
|
label?: string;
|
|
@@ -243,6 +279,11 @@ export interface SidebarUserMenuProps {
|
|
|
243
279
|
}
|
|
244
280
|
|
|
245
281
|
export interface SidebarProps {
|
|
282
|
+
className?: string;
|
|
283
|
+
/** Replaces the account/logo header. The panel still owns its fixed chrome and scroll area. */
|
|
284
|
+
header?: ReactNode | ((state: { collapsed: boolean }) => ReactNode);
|
|
285
|
+
/** Expanded panel inset, also used to measure app-owned scroll content. Defaults to the size's inset. */
|
|
286
|
+
contentPadding?: number;
|
|
246
287
|
/** Center the main navigation group in space above the persistent footer. */
|
|
247
288
|
contentAlignment?: 'start' | 'center';
|
|
248
289
|
/** App-owned destination content after the built-in rows/tree, inside the same
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useBloomAppearance } from '../appearance';
|
|
2
2
|
import React, { useRef, useState } from 'react';
|
|
3
|
-
import { Platform, StyleSheet, TextInput, type TextStyle, View } from 'react-native';
|
|
3
|
+
import { Platform, StyleSheet, TextInput, type TextStyle, type TextInputProps, View } from 'react-native';
|
|
4
4
|
|
|
5
5
|
import { useTheme } from '../theme/use-theme';
|
|
6
6
|
import { useInteractionState } from '../hooks/use-interaction-state';
|
|
@@ -23,6 +23,9 @@ import {
|
|
|
23
23
|
|
|
24
24
|
import { useFieldMembership } from '../field/membership';
|
|
25
25
|
import type { TextareaProps } from './types';
|
|
26
|
+
import { styled } from 'react-native-css';
|
|
27
|
+
import { StyledView } from '../styles/styled-primitives';
|
|
28
|
+
const StyledTextInput: React.ComponentType<TextInputProps & {ref?: React.Ref<TextInput>}> = styled(TextInput, {className: 'style'});
|
|
26
29
|
|
|
27
30
|
const IS_WEB = Platform.OS === 'web';
|
|
28
31
|
|
|
@@ -70,6 +73,10 @@ export function Textarea({
|
|
|
70
73
|
tooltip = false,
|
|
71
74
|
style,
|
|
72
75
|
inputStyle,
|
|
76
|
+
className,
|
|
77
|
+
fieldClassName,
|
|
78
|
+
inputClassName,
|
|
79
|
+
fieldStyle,
|
|
73
80
|
inputRef,
|
|
74
81
|
accessibilityLabel,
|
|
75
82
|
nativeID,
|
|
@@ -116,6 +123,7 @@ export function Textarea({
|
|
|
116
123
|
const controlStyle = StyleSheet.flatten([
|
|
117
124
|
{
|
|
118
125
|
fontFamily: SANS_FONT_FAMILY,
|
|
126
|
+
...(inputClassName ? {} : {
|
|
119
127
|
fontSize: TEXT_FIELD_TEXT.fontSize,
|
|
120
128
|
lineHeight: line,
|
|
121
129
|
fontWeight: TEXT_FIELD_TEXT.fontWeight,
|
|
@@ -124,6 +132,7 @@ export function Textarea({
|
|
|
124
132
|
paddingRight: TEXT_FIELD_INPUT_INSET,
|
|
125
133
|
paddingTop: 0,
|
|
126
134
|
paddingBottom: 0,
|
|
135
|
+
}),
|
|
127
136
|
margin: 0,
|
|
128
137
|
minWidth: 0,
|
|
129
138
|
width: '100%',
|
|
@@ -148,16 +157,17 @@ export function Textarea({
|
|
|
148
157
|
]) as TextStyle;
|
|
149
158
|
|
|
150
159
|
return (
|
|
151
|
-
<
|
|
160
|
+
<StyledView className={className} style={[{ width: '100%' }, style]} testID={testID}>
|
|
152
161
|
{label ? (
|
|
153
162
|
<TextFieldLabel required={field.required} tooltip={tooltip}>
|
|
154
163
|
{label}
|
|
155
164
|
</TextFieldLabel>
|
|
156
165
|
) : null}
|
|
157
166
|
|
|
158
|
-
<
|
|
167
|
+
<StyledView
|
|
168
|
+
className={fieldClassName}
|
|
159
169
|
style={[
|
|
160
|
-
{
|
|
170
|
+
fieldClassName ? null : {
|
|
161
171
|
borderRadius: TEXT_FIELD_RADIUS,
|
|
162
172
|
borderWidth: TEXT_FIELD_RING_WIDTH,
|
|
163
173
|
paddingHorizontal: TEXT_FIELD_GEOMETRY[size].paddingHorizontal - TEXT_FIELD_RING_WIDTH,
|
|
@@ -165,6 +175,7 @@ export function Textarea({
|
|
|
165
175
|
...paint,
|
|
166
176
|
},
|
|
167
177
|
TEXT_FIELD_WEB_TRANSITION,
|
|
178
|
+
fieldStyle,
|
|
168
179
|
]}
|
|
169
180
|
{...(IS_WEB
|
|
170
181
|
? ({
|
|
@@ -175,7 +186,8 @@ export function Textarea({
|
|
|
175
186
|
onMouseLeave: onHoverOut,
|
|
176
187
|
} as Record<string, unknown>)
|
|
177
188
|
: {})}>
|
|
178
|
-
<
|
|
189
|
+
<StyledTextInput
|
|
190
|
+
className={inputClassName}
|
|
179
191
|
{...rest}
|
|
180
192
|
{...(IS_WEB && field.disabled ? ({ disabled: true } as Record<string, unknown>) : {})}
|
|
181
193
|
ref={mergeRefs([innerRef, inputRef])}
|
|
@@ -207,10 +219,10 @@ export function Textarea({
|
|
|
207
219
|
}}
|
|
208
220
|
style={controlStyle}
|
|
209
221
|
/>
|
|
210
|
-
</
|
|
222
|
+
</StyledView>
|
|
211
223
|
|
|
212
224
|
{hint || showCount ? (
|
|
213
|
-
<
|
|
225
|
+
<StyledView
|
|
214
226
|
style={{
|
|
215
227
|
flexDirection: 'row',
|
|
216
228
|
alignItems: 'flex-start',
|
|
@@ -236,8 +248,8 @@ export function Textarea({
|
|
|
236
248
|
{maxLength ? `${count}/${maxLength}` : String(count)}
|
|
237
249
|
</Text>
|
|
238
250
|
) : null}
|
|
239
|
-
</
|
|
251
|
+
</StyledView>
|
|
240
252
|
) : null}
|
|
241
|
-
</
|
|
253
|
+
</StyledView>
|
|
242
254
|
);
|
|
243
255
|
}
|
package/src/textarea/types.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TextInput, TextInputProps } from 'react-native';
|
|
1
|
+
import type { TextInput, TextInputProps, StyleProp, ViewStyle } from 'react-native';
|
|
2
2
|
|
|
3
3
|
import type { ViewStyleProp, TextStyleProp } from '../styles';
|
|
4
4
|
import type { TextFieldSize } from '../text-field';
|
|
@@ -46,5 +46,10 @@ export type TextareaProps = Omit<
|
|
|
46
46
|
tooltip?: boolean;
|
|
47
47
|
/** Style for the `TextInput` itself (the outer `style` is the whole field). */
|
|
48
48
|
inputStyle?: TextStyleProp['style'];
|
|
49
|
+
/** Opt-in recipes for borderless/autogrowing composed fields. */
|
|
50
|
+
className?: string;
|
|
51
|
+
fieldClassName?: string;
|
|
52
|
+
inputClassName?: string;
|
|
53
|
+
fieldStyle?: StyleProp<ViewStyle>;
|
|
49
54
|
inputRef?: React.RefObject<TextInput | null> | React.ForwardedRef<TextInput>;
|
|
50
55
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { COMPONENT_COLOR_ROLES } from '../../design-tokens/component-roles';
|
|
1
2
|
import { generateRoleColors, type RoleColors, type SchemeVariant } from '../color-engine';
|
|
2
3
|
import { buildPolicyTokens, isColourlessSeed } from '../color-policy';
|
|
3
4
|
import { ACCENT_TEXT_ROLES, BORDER_ROLES, FILL_ROLES, TEXT_ROLES } from '../../design-tokens/color-roles';
|
|
@@ -17,6 +18,7 @@ import { ACCENT_TEXT_ROLES, BORDER_ROLES, FILL_ROLES, TEXT_ROLES } from '../../d
|
|
|
17
18
|
* is unaffected and deliberately absent.
|
|
18
19
|
*/
|
|
19
20
|
const SCOPED_ALIASES: Readonly<Record<string, string>> = {
|
|
21
|
+
...COMPONENT_COLOR_ROLES,
|
|
20
22
|
...FILL_ROLES,
|
|
21
23
|
...TEXT_ROLES,
|
|
22
24
|
...ACCENT_TEXT_ROLES,
|
package/docs/dot-grid-meter.mdx
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
title: DotGridMeter
|
|
3
|
-
description: How many out of a total, when the total is small enough to count.
|
|
4
|
-
order: 64
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# DotGridMeter
|
|
8
|
-
|
|
9
|
-
A grid of dots, some filled. It answers *how many out of how many* for a total
|
|
10
|
-
the eye can actually count.
|
|
11
|
-
|
|
12
|
-
```tsx
|
|
13
|
-
import { DotGridMeter } from '@oxy.so/bloom/dot-grid-meter';
|
|
14
|
-
|
|
15
|
-
<DotGridMeter filled={34} total={50} columns={10} accessibilityLabel="Tokens used" />
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## Which prop decides what
|
|
19
|
-
|
|
20
|
-
| prop | decides |
|
|
21
|
-
| -------------------------- | ---------------------------------------------- |
|
|
22
|
-
| `filled` / `total` | the count and the ceiling |
|
|
23
|
-
| `columns` | the grid width, which sets the row count |
|
|
24
|
-
| `dotSize` / `gap` | the geometry |
|
|
25
|
-
| `filledColor` / `emptyColor`| the two states |
|
|
26
|
-
| `accessibilityLabel` | what is being counted — see below |
|
|
27
|
-
|
|
28
|
-
## Use it when the total is countable
|
|
29
|
-
|
|
30
|
-
Thirty-four of fifty tokens, seven of ten onboarding steps, twelve of twenty
|
|
31
|
-
invites. The point is that a reader can verify the number by looking — that is
|
|
32
|
-
what a dot grid gives you over a bar.
|
|
33
|
-
|
|
34
|
-
Over a few hundred it stops being countable and becomes a texture. Past that a
|
|
35
|
-
[`StatBar`](/docs/bloom/main/stat-bar) is the honest widget: it does not
|
|
36
|
-
pretend the reader can count.
|
|
37
|
-
|
|
38
|
-
## `columns` decides the shape
|
|
39
|
-
|
|
40
|
-
Pick a value that makes the rows read as groups — 10 across for a total of 50
|
|
41
|
-
gives five clean rows of ten, which is countable at a glance. An awkward number
|
|
42
|
-
leaves a ragged last row and makes the total harder to read, not easier.
|
|
43
|
-
|
|
44
|
-
## Both colours matter
|
|
45
|
-
|
|
46
|
-
The empty dots carry the *total*, so they must be visible. An `emptyColor` too
|
|
47
|
-
close to the background turns the widget into "34 dots" with no denominator,
|
|
48
|
-
which is the one thing it exists to show.
|
|
49
|
-
|
|
50
|
-
## State the numbers as well
|
|
51
|
-
|
|
52
|
-
`34 / 50` in text beside the grid. The dots are the shape of the answer; the
|
|
53
|
-
text is the answer.
|
|
54
|
-
|
|
55
|
-
## Name what is being counted
|
|
56
|
-
|
|
57
|
-
The grid announces itself as a `progressbar` carrying `aria-valuenow` /
|
|
58
|
-
`aria-valuemin` / `aria-valuemax`, so a screen reader reads the numbers — but
|
|
59
|
-
`progressbar` takes its name from the author alone. ARIA never computes one
|
|
60
|
-
from an element's contents for this role, and the contents are dots in any
|
|
61
|
-
case, so without `accessibilityLabel` the meter announces "34 of 50" against
|
|
62
|
-
nothing. `StatBar` gets this for free from its required `label`; a bare grid has
|
|
63
|
-
no such text.
|
|
64
|
-
|
|
65
|
-
Omitting it warns once in development, dev-only and never throwing. An empty or
|
|
66
|
-
whitespace-only string counts as missing.
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.DotGridMeter = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _useTheme = require("../theme/use-theme.js");
|
|
10
|
-
var _useAccessibleNameWarning = require("../hooks/use-accessible-name-warning.js");
|
|
11
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
|
-
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
|
-
/**
|
|
14
|
-
* A data-driven grid of small circular dots — the "diversity meter" visual. The
|
|
15
|
-
* first `filled` dots use `filledColor`, the rest use `emptyColor`, laid out in
|
|
16
|
-
* a flex-wrapped grid of `columns` per row. Pure `<View>` composition (no SVG),
|
|
17
|
-
* so it renders identically on web and native.
|
|
18
|
-
*/
|
|
19
|
-
const DotGridMeterComponent = ({
|
|
20
|
-
filled,
|
|
21
|
-
total,
|
|
22
|
-
columns = 10,
|
|
23
|
-
dotSize = 10,
|
|
24
|
-
gap = 6,
|
|
25
|
-
filledColor,
|
|
26
|
-
emptyColor,
|
|
27
|
-
accessibilityLabel,
|
|
28
|
-
style,
|
|
29
|
-
testID
|
|
30
|
-
}) => {
|
|
31
|
-
const {
|
|
32
|
-
colors
|
|
33
|
-
} = (0, _useTheme.useTheme)();
|
|
34
|
-
(0, _useAccessibleNameWarning.useAccessibleNameWarning)('DotGridMeter', accessibilityLabel);
|
|
35
|
-
const onColor = filledColor ?? colors.success;
|
|
36
|
-
const offColor = emptyColor ?? colors.backgroundSecondary;
|
|
37
|
-
const safeTotal = Math.max(0, Math.floor(total));
|
|
38
|
-
const safeFilled = Math.min(safeTotal, Math.max(0, Math.floor(filled)));
|
|
39
|
-
// A row can hold at most `columns` dots; a grid narrower than one full row
|
|
40
|
-
// should still wrap tightly, so the container width follows the smaller count.
|
|
41
|
-
const perRow = Math.max(1, Math.floor(columns));
|
|
42
|
-
const rowWidth = Math.min(safeTotal, perRow);
|
|
43
|
-
const dots = (0, _react.useMemo)(() => Array.from({
|
|
44
|
-
length: safeTotal
|
|
45
|
-
}, (_, index) => index < safeFilled), [safeTotal, safeFilled]);
|
|
46
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
47
|
-
style: [{
|
|
48
|
-
flexDirection: 'row',
|
|
49
|
-
flexWrap: 'wrap',
|
|
50
|
-
gap,
|
|
51
|
-
width: rowWidth * dotSize + Math.max(0, rowWidth - 1) * gap
|
|
52
|
-
}, style],
|
|
53
|
-
accessibilityRole: "progressbar"
|
|
54
|
-
// The FLAT `aria-value*` props: react-native-web drops the
|
|
55
|
-
// `accessibilityValue` object entirely, so the meter announced a
|
|
56
|
-
// progressbar carrying no value. React Native folds these back into
|
|
57
|
-
// `accessibilityValue`, so native is unchanged.
|
|
58
|
-
,
|
|
59
|
-
"aria-valuemin": 0,
|
|
60
|
-
"aria-valuemax": safeTotal,
|
|
61
|
-
"aria-valuenow": safeFilled
|
|
62
|
-
// The NAME, which the value props above do not supply: `progressbar`
|
|
63
|
-
// takes its name from the author alone, so an unnamed one announces a
|
|
64
|
-
// number against nothing.
|
|
65
|
-
,
|
|
66
|
-
accessibilityLabel: accessibilityLabel,
|
|
67
|
-
testID: testID,
|
|
68
|
-
children: dots.map((isFilled, index) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
69
|
-
style: {
|
|
70
|
-
width: dotSize,
|
|
71
|
-
height: dotSize,
|
|
72
|
-
borderRadius: dotSize / 2,
|
|
73
|
-
backgroundColor: isFilled ? onColor : offColor
|
|
74
|
-
}
|
|
75
|
-
}, index))
|
|
76
|
-
});
|
|
77
|
-
};
|
|
78
|
-
const DotGridMeter = exports.DotGridMeter = /*#__PURE__*/(0, _react.memo)(DotGridMeterComponent);
|
|
79
|
-
DotGridMeter.displayName = 'DotGridMeter';
|
|
80
|
-
//# sourceMappingURL=DotGridMeter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_useTheme","_useAccessibleNameWarning","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","DotGridMeterComponent","filled","total","columns","dotSize","gap","filledColor","emptyColor","accessibilityLabel","style","testID","colors","useTheme","useAccessibleNameWarning","onColor","success","offColor","backgroundSecondary","safeTotal","Math","max","floor","safeFilled","min","perRow","rowWidth","dots","useMemo","Array","from","length","_","index","jsx","View","flexDirection","flexWrap","width","accessibilityRole","children","map","isFilled","height","borderRadius","backgroundColor","DotGridMeter","exports","memo","displayName"],"sourceRoot":"../../../src","sources":["dot-grid-meter/DotGridMeter.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AACA,IAAAG,yBAAA,GAAAH,OAAA;AAAgF,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,wBAAAM,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAR,uBAAA,YAAAA,CAAAM,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAGhF;AACA;AACA;AACA;AACA;AACA;AACA,MAAMkB,qBAAkD,GAAGA,CAAC;EAC1DC,MAAM;EACNC,KAAK;EACLC,OAAO,GAAG,EAAE;EACZC,OAAO,GAAG,EAAE;EACZC,GAAG,GAAG,CAAC;EACPC,WAAW;EACXC,UAAU;EACVC,kBAAkB;EAClBC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAO,CAAC,GAAG,IAAAC,kBAAQ,EAAC,CAAC;EAC7B,IAAAC,kDAAwB,EAAC,cAAc,EAAEL,kBAAkB,CAAC;EAC5D,MAAMM,OAAO,GAAGR,WAAW,IAAIK,MAAM,CAACI,OAAO;EAC7C,MAAMC,QAAQ,GAAGT,UAAU,IAAII,MAAM,CAACM,mBAAmB;EAEzD,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,KAAK,CAACnB,KAAK,CAAC,CAAC;EAChD,MAAMoB,UAAU,GAAGH,IAAI,CAACI,GAAG,CAACL,SAAS,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,KAAK,CAACpB,MAAM,CAAC,CAAC,CAAC;EACvE;EACA;EACA,MAAMuB,MAAM,GAAGL,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,KAAK,CAAClB,OAAO,CAAC,CAAC;EAC/C,MAAMsB,QAAQ,GAAGN,IAAI,CAACI,GAAG,CAACL,SAAS,EAAEM,MAAM,CAAC;EAE5C,MAAME,IAAI,GAAG,IAAAC,cAAO,EAClB,MAAMC,KAAK,CAACC,IAAI,CAAC;IAAEC,MAAM,EAAEZ;EAAU,CAAC,EAAE,CAACa,CAAC,EAAEC,KAAK,KAAKA,KAAK,GAAGV,UAAU,CAAC,EACzE,CAACJ,SAAS,EAAEI,UAAU,CACxB,CAAC;EAED,oBACE,IAAA1C,WAAA,CAAAqD,GAAA,EAACxD,YAAA,CAAAyD,IAAI;IACHzB,KAAK,EAAE,CACL;MACE0B,aAAa,EAAE,KAAK;MACpBC,QAAQ,EAAE,MAAM;MAChB/B,GAAG;MACHgC,KAAK,EAAEZ,QAAQ,GAAGrB,OAAO,GAAGe,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEK,QAAQ,GAAG,CAAC,CAAC,GAAGpB;IAC1D,CAAC,EACDI,KAAK,CACL;IACF6B,iBAAiB,EAAC;IAClB;IACA;IACA;IACA;IAAA;IACA,iBAAe,CAAE;IACjB,iBAAepB,SAAU;IACzB,iBAAeI;IACf;IACA;IACA;IAAA;IACAd,kBAAkB,EAAEA,kBAAmB;IACvCE,MAAM,EAAEA,MAAO;IAAA6B,QAAA,EAEdb,IAAI,CAACc,GAAG,CAAC,CAACC,QAAQ,EAAET,KAAK,kBACxB,IAAApD,WAAA,CAAAqD,GAAA,EAACxD,YAAA,CAAAyD,IAAI;MAEHzB,KAAK,EAAE;QACL4B,KAAK,EAAEjC,OAAO;QACdsC,MAAM,EAAEtC,OAAO;QACfuC,YAAY,EAAEvC,OAAO,GAAG,CAAC;QACzBwC,eAAe,EAAEH,QAAQ,GAAG3B,OAAO,GAAGE;MACxC;IAAE,GANGgB,KAON,CACF;EAAC,CACE,CAAC;AAEX,CAAC;AAEM,MAAMa,YAAY,GAAAC,OAAA,CAAAD,YAAA,gBAAG,IAAAE,WAAI,EAAC/C,qBAAqB,CAAC;AACvD6C,YAAY,CAACG,WAAW,GAAG,cAAc","ignoreList":[]}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
Object.defineProperty(exports, "DotGridMeter", {
|
|
7
|
-
enumerable: true,
|
|
8
|
-
get: function () {
|
|
9
|
-
return _DotGridMeter.DotGridMeter;
|
|
10
|
-
}
|
|
11
|
-
});
|
|
12
|
-
var _DotGridMeter = require("./DotGridMeter.js");
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_DotGridMeter","require"],"sourceRoot":"../../../src","sources":["dot-grid-meter/index.ts"],"mappings":";;;;;;;;;;;AAAA,IAAAA,aAAA,GAAAC,OAAA","ignoreList":[]}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import React, { memo, useMemo } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
5
|
-
import { useTheme } from "../theme/use-theme.js";
|
|
6
|
-
import { useAccessibleNameWarning } from "../hooks/use-accessible-name-warning.js";
|
|
7
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
/**
|
|
9
|
-
* A data-driven grid of small circular dots — the "diversity meter" visual. The
|
|
10
|
-
* first `filled` dots use `filledColor`, the rest use `emptyColor`, laid out in
|
|
11
|
-
* a flex-wrapped grid of `columns` per row. Pure `<View>` composition (no SVG),
|
|
12
|
-
* so it renders identically on web and native.
|
|
13
|
-
*/
|
|
14
|
-
const DotGridMeterComponent = ({
|
|
15
|
-
filled,
|
|
16
|
-
total,
|
|
17
|
-
columns = 10,
|
|
18
|
-
dotSize = 10,
|
|
19
|
-
gap = 6,
|
|
20
|
-
filledColor,
|
|
21
|
-
emptyColor,
|
|
22
|
-
accessibilityLabel,
|
|
23
|
-
style,
|
|
24
|
-
testID
|
|
25
|
-
}) => {
|
|
26
|
-
const {
|
|
27
|
-
colors
|
|
28
|
-
} = useTheme();
|
|
29
|
-
useAccessibleNameWarning('DotGridMeter', accessibilityLabel);
|
|
30
|
-
const onColor = filledColor ?? colors.success;
|
|
31
|
-
const offColor = emptyColor ?? colors.backgroundSecondary;
|
|
32
|
-
const safeTotal = Math.max(0, Math.floor(total));
|
|
33
|
-
const safeFilled = Math.min(safeTotal, Math.max(0, Math.floor(filled)));
|
|
34
|
-
// A row can hold at most `columns` dots; a grid narrower than one full row
|
|
35
|
-
// should still wrap tightly, so the container width follows the smaller count.
|
|
36
|
-
const perRow = Math.max(1, Math.floor(columns));
|
|
37
|
-
const rowWidth = Math.min(safeTotal, perRow);
|
|
38
|
-
const dots = useMemo(() => Array.from({
|
|
39
|
-
length: safeTotal
|
|
40
|
-
}, (_, index) => index < safeFilled), [safeTotal, safeFilled]);
|
|
41
|
-
return /*#__PURE__*/_jsx(View, {
|
|
42
|
-
style: [{
|
|
43
|
-
flexDirection: 'row',
|
|
44
|
-
flexWrap: 'wrap',
|
|
45
|
-
gap,
|
|
46
|
-
width: rowWidth * dotSize + Math.max(0, rowWidth - 1) * gap
|
|
47
|
-
}, style],
|
|
48
|
-
accessibilityRole: "progressbar"
|
|
49
|
-
// The FLAT `aria-value*` props: react-native-web drops the
|
|
50
|
-
// `accessibilityValue` object entirely, so the meter announced a
|
|
51
|
-
// progressbar carrying no value. React Native folds these back into
|
|
52
|
-
// `accessibilityValue`, so native is unchanged.
|
|
53
|
-
,
|
|
54
|
-
"aria-valuemin": 0,
|
|
55
|
-
"aria-valuemax": safeTotal,
|
|
56
|
-
"aria-valuenow": safeFilled
|
|
57
|
-
// The NAME, which the value props above do not supply: `progressbar`
|
|
58
|
-
// takes its name from the author alone, so an unnamed one announces a
|
|
59
|
-
// number against nothing.
|
|
60
|
-
,
|
|
61
|
-
accessibilityLabel: accessibilityLabel,
|
|
62
|
-
testID: testID,
|
|
63
|
-
children: dots.map((isFilled, index) => /*#__PURE__*/_jsx(View, {
|
|
64
|
-
style: {
|
|
65
|
-
width: dotSize,
|
|
66
|
-
height: dotSize,
|
|
67
|
-
borderRadius: dotSize / 2,
|
|
68
|
-
backgroundColor: isFilled ? onColor : offColor
|
|
69
|
-
}
|
|
70
|
-
}, index))
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
export const DotGridMeter = /*#__PURE__*/memo(DotGridMeterComponent);
|
|
74
|
-
DotGridMeter.displayName = 'DotGridMeter';
|
|
75
|
-
//# sourceMappingURL=DotGridMeter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","memo","useMemo","View","useTheme","useAccessibleNameWarning","jsx","_jsx","DotGridMeterComponent","filled","total","columns","dotSize","gap","filledColor","emptyColor","accessibilityLabel","style","testID","colors","onColor","success","offColor","backgroundSecondary","safeTotal","Math","max","floor","safeFilled","min","perRow","rowWidth","dots","Array","from","length","_","index","flexDirection","flexWrap","width","accessibilityRole","children","map","isFilled","height","borderRadius","backgroundColor","DotGridMeter","displayName"],"sourceRoot":"../../../src","sources":["dot-grid-meter/DotGridMeter.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,IAAI,EAAEC,OAAO,QAAQ,OAAO;AAC5C,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,QAAQ,QAAQ,uBAAoB;AAC7C,SAASC,wBAAwB,QAAQ,yCAAsC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGhF;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,qBAAkD,GAAGA,CAAC;EAC1DC,MAAM;EACNC,KAAK;EACLC,OAAO,GAAG,EAAE;EACZC,OAAO,GAAG,EAAE;EACZC,GAAG,GAAG,CAAC;EACPC,WAAW;EACXC,UAAU;EACVC,kBAAkB;EAClBC,KAAK;EACLC;AACF,CAAC,KAAK;EACJ,MAAM;IAAEC;EAAO,CAAC,GAAGf,QAAQ,CAAC,CAAC;EAC7BC,wBAAwB,CAAC,cAAc,EAAEW,kBAAkB,CAAC;EAC5D,MAAMI,OAAO,GAAGN,WAAW,IAAIK,MAAM,CAACE,OAAO;EAC7C,MAAMC,QAAQ,GAAGP,UAAU,IAAII,MAAM,CAACI,mBAAmB;EAEzD,MAAMC,SAAS,GAAGC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,KAAK,CAACjB,KAAK,CAAC,CAAC;EAChD,MAAMkB,UAAU,GAAGH,IAAI,CAACI,GAAG,CAACL,SAAS,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,KAAK,CAAClB,MAAM,CAAC,CAAC,CAAC;EACvE;EACA;EACA,MAAMqB,MAAM,GAAGL,IAAI,CAACC,GAAG,CAAC,CAAC,EAAED,IAAI,CAACE,KAAK,CAAChB,OAAO,CAAC,CAAC;EAC/C,MAAMoB,QAAQ,GAAGN,IAAI,CAACI,GAAG,CAACL,SAAS,EAAEM,MAAM,CAAC;EAE5C,MAAME,IAAI,GAAG9B,OAAO,CAClB,MAAM+B,KAAK,CAACC,IAAI,CAAC;IAAEC,MAAM,EAAEX;EAAU,CAAC,EAAE,CAACY,CAAC,EAAEC,KAAK,KAAKA,KAAK,GAAGT,UAAU,CAAC,EACzE,CAACJ,SAAS,EAAEI,UAAU,CACxB,CAAC;EAED,oBACErB,IAAA,CAACJ,IAAI;IACHc,KAAK,EAAE,CACL;MACEqB,aAAa,EAAE,KAAK;MACpBC,QAAQ,EAAE,MAAM;MAChB1B,GAAG;MACH2B,KAAK,EAAET,QAAQ,GAAGnB,OAAO,GAAGa,IAAI,CAACC,GAAG,CAAC,CAAC,EAAEK,QAAQ,GAAG,CAAC,CAAC,GAAGlB;IAC1D,CAAC,EACDI,KAAK,CACL;IACFwB,iBAAiB,EAAC;IAClB;IACA;IACA;IACA;IAAA;IACA,iBAAe,CAAE;IACjB,iBAAejB,SAAU;IACzB,iBAAeI;IACf;IACA;IACA;IAAA;IACAZ,kBAAkB,EAAEA,kBAAmB;IACvCE,MAAM,EAAEA,MAAO;IAAAwB,QAAA,EAEdV,IAAI,CAACW,GAAG,CAAC,CAACC,QAAQ,EAAEP,KAAK,kBACxB9B,IAAA,CAACJ,IAAI;MAEHc,KAAK,EAAE;QACLuB,KAAK,EAAE5B,OAAO;QACdiC,MAAM,EAAEjC,OAAO;QACfkC,YAAY,EAAElC,OAAO,GAAG,CAAC;QACzBmC,eAAe,EAAEH,QAAQ,GAAGxB,OAAO,GAAGE;MACxC;IAAE,GANGe,KAON,CACF;EAAC,CACE,CAAC;AAEX,CAAC;AAED,OAAO,MAAMW,YAAY,gBAAG/C,IAAI,CAACO,qBAAqB,CAAC;AACvDwC,YAAY,CAACC,WAAW,GAAG,cAAc","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["DotGridMeter"],"sourceRoot":"../../../src","sources":["dot-grid-meter/index.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,mBAAgB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DotGridMeter.d.ts","sourceRoot":"","sources":["../../../../src/dot-grid-meter/DotGridMeter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAK7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA6EjD,eAAO,MAAM,YAAY,+CAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dot-grid-meter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
export interface DotGridMeterProps {
|
|
3
|
-
/** Number of filled dots (clamped to `[0, total]`). */
|
|
4
|
-
filled: number;
|
|
5
|
-
/** Total number of dots in the grid. */
|
|
6
|
-
total: number;
|
|
7
|
-
/**
|
|
8
|
-
* Dots per row before wrapping.
|
|
9
|
-
* @default 10
|
|
10
|
-
*/
|
|
11
|
-
columns?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Diameter of each dot in px.
|
|
14
|
-
* @default 10
|
|
15
|
-
*/
|
|
16
|
-
dotSize?: number;
|
|
17
|
-
/**
|
|
18
|
-
* Gap between dots in px (both axes).
|
|
19
|
-
* @default 6
|
|
20
|
-
*/
|
|
21
|
-
gap?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Color of a filled dot.
|
|
24
|
-
* @default theme.colors.success
|
|
25
|
-
*/
|
|
26
|
-
filledColor?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Color of an empty dot.
|
|
29
|
-
* @default theme.colors.backgroundSecondary
|
|
30
|
-
*/
|
|
31
|
-
emptyColor?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The meter's accessible NAME — what is being measured.
|
|
34
|
-
*
|
|
35
|
-
* `progressbar` takes its name from the author only: ARIA never computes one
|
|
36
|
-
* from an element's contents for this role, and the contents here are dots
|
|
37
|
-
* anyway. Without it the meter announces "13 of 30" against nothing.
|
|
38
|
-
* `StatBar` gets this from its required `label`; a bare grid of dots has no
|
|
39
|
-
* such text, so it has to be stated.
|
|
40
|
-
*
|
|
41
|
-
* Omitting it warns once in development; see `use-accessible-name-warning`.
|
|
42
|
-
*/
|
|
43
|
-
accessibilityLabel?: string;
|
|
44
|
-
/** Container style override. */
|
|
45
|
-
style?: StyleProp<ViewStyle>;
|
|
46
|
-
testID?: string;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/dot-grid-meter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DotGridMeter.d.ts","sourceRoot":"","sources":["../../../../src/dot-grid-meter/DotGridMeter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAK7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA6EjD,eAAO,MAAM,YAAY,+CAA8B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dot-grid-meter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
|
-
export interface DotGridMeterProps {
|
|
3
|
-
/** Number of filled dots (clamped to `[0, total]`). */
|
|
4
|
-
filled: number;
|
|
5
|
-
/** Total number of dots in the grid. */
|
|
6
|
-
total: number;
|
|
7
|
-
/**
|
|
8
|
-
* Dots per row before wrapping.
|
|
9
|
-
* @default 10
|
|
10
|
-
*/
|
|
11
|
-
columns?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Diameter of each dot in px.
|
|
14
|
-
* @default 10
|
|
15
|
-
*/
|
|
16
|
-
dotSize?: number;
|
|
17
|
-
/**
|
|
18
|
-
* Gap between dots in px (both axes).
|
|
19
|
-
* @default 6
|
|
20
|
-
*/
|
|
21
|
-
gap?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Color of a filled dot.
|
|
24
|
-
* @default theme.colors.success
|
|
25
|
-
*/
|
|
26
|
-
filledColor?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Color of an empty dot.
|
|
29
|
-
* @default theme.colors.backgroundSecondary
|
|
30
|
-
*/
|
|
31
|
-
emptyColor?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The meter's accessible NAME — what is being measured.
|
|
34
|
-
*
|
|
35
|
-
* `progressbar` takes its name from the author only: ARIA never computes one
|
|
36
|
-
* from an element's contents for this role, and the contents here are dots
|
|
37
|
-
* anyway. Without it the meter announces "13 of 30" against nothing.
|
|
38
|
-
* `StatBar` gets this from its required `label`; a bare grid of dots has no
|
|
39
|
-
* such text, so it has to be stated.
|
|
40
|
-
*
|
|
41
|
-
* Omitting it warns once in development; see `use-accessible-name-warning`.
|
|
42
|
-
*/
|
|
43
|
-
accessibilityLabel?: string;
|
|
44
|
-
/** Container style override. */
|
|
45
|
-
style?: StyleProp<ViewStyle>;
|
|
46
|
-
testID?: string;
|
|
47
|
-
}
|
|
48
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/dot-grid-meter/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,iBAAiB;IAChC,uDAAuD;IACvD,MAAM,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;;;;;;OAUG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gCAAgC;IAChC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|