@allbluecn/web-app 0.6.2 → 0.6.3

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.
Files changed (55) hide show
  1. package/package.json +1 -1
  2. package/src/__tests__/components/reference-inline.test.tsx +1 -1
  3. package/src/components/animated-icons/layout-panel-top.tsx +1 -1
  4. package/src/components/auth/auth-layout.tsx +1 -1
  5. package/src/components/knowledge/editor/doc-header.tsx +1 -1
  6. package/src/components/knowledge-public/sharers-avatar-group.tsx +1 -1
  7. package/src/components/layout/sidebar-03/user-menu.tsx +1 -1
  8. package/src/components/magicui/animated-theme-toggler.tsx +1 -1
  9. package/src/components/magicui/grid-pattern.tsx +1 -1
  10. package/src/components/project/invite-member-dialog.tsx +1 -1
  11. package/src/components/project/project-activity-list.tsx +1 -1
  12. package/src/components/project/project-member-manager.tsx +1 -1
  13. package/src/components/settings/personal-team/account/avatar/notion-avatar.tsx +2 -2
  14. package/src/components/settings/personal-team/team/team-member-list.tsx +1 -1
  15. package/src/components/shared/name-confirm-dialog.tsx +1 -1
  16. package/src/components/shared/nav-float-button.tsx +1 -1
  17. package/src/components/shared/placeholder-page.tsx +1 -1
  18. package/src/components/story/columns.tsx +1 -1
  19. package/src/components/story/create-story-dialog.tsx +1 -1
  20. package/src/components/story/detail/__tests__/activity-timeline.test.tsx +1 -1
  21. package/src/components/story/detail/activity-timeline.tsx +1 -1
  22. package/src/components/story/detail/comment-item.tsx +1 -1
  23. package/src/components/story/detail/story-detail-body.tsx +1 -1
  24. package/src/components/story/display/group-resolver.tsx +1 -1
  25. package/src/components/story/filters/applied-filters.tsx +1 -1
  26. package/src/components/story/inline-editors/assignee-editor.tsx +1 -1
  27. package/src/components/story/views/kanban-card.tsx +1 -1
  28. package/src/components/ui/alert-dialog.tsx +1 -1
  29. package/src/components/ui/badge.tsx +1 -1
  30. package/src/components/ui/button.tsx +1 -1
  31. package/src/components/ui/card.tsx +1 -1
  32. package/src/components/ui/checkbox.tsx +1 -1
  33. package/src/components/ui/context-menu.tsx +1 -1
  34. package/src/components/ui/dialog.tsx +1 -1
  35. package/src/components/ui/dropdown-menu.tsx +1 -1
  36. package/src/components/ui/empty.tsx +1 -1
  37. package/src/components/ui/input.tsx +1 -1
  38. package/src/components/ui/label.tsx +1 -1
  39. package/src/components/ui/popover.tsx +1 -1
  40. package/src/components/ui/resizable.tsx +1 -1
  41. package/src/components/ui/select.tsx +1 -1
  42. package/src/components/ui/sidebar.tsx +1 -1
  43. package/src/components/ui/skeleton.tsx +1 -1
  44. package/src/components/ui/sonner.tsx +1 -1
  45. package/src/components/ui/switch.tsx +1 -1
  46. package/src/components/ui/textarea.tsx +1 -1
  47. package/src/components/ui/tooltip.tsx +1 -1
  48. package/src/lib/auth/auth-client.ts +1 -1
  49. package/src/lib/changelog/sdk-versions.ts +1 -1
  50. package/src/lib/utils.ts +1 -1
  51. package/src/providers/timezone-provider.tsx +1 -1
  52. package/src/routes/_nav/dashboard/-components/avatar-group.tsx +1 -1
  53. package/src/routes/_nav/projects/$projectId/index.lazy.tsx +1 -1
  54. package/src/routes/invite/$token/route.lazy.tsx +1 -1
  55. package/src/server/__tests__/agent-client-graph.test.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allbluecn/web-app",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "license": "AGPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "files": [
@@ -17,7 +17,7 @@
17
17
 
18
18
  import { describe, it, expect } from 'vitest'
19
19
  import { render, screen } from '@testing-library/react'
20
- import { ReferenceInline } from '@allbluecn/ui'
20
+ import { ReferenceInline } from '@allbluecn/web-app/ui'
21
21
 
22
22
  describe('ReferenceInline', () => {
23
23
  it('renders title', () => {
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/layout-panel-top'
1
+ export * from '@allbluecn/web-app/ui/layout-panel-top'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/auth-layout'
1
+ export * from '@allbluecn/web-app/ui/auth-layout'
@@ -20,7 +20,7 @@ import { BookOpen, Clock, Dot, Plus } from 'lucide-react'
20
20
  import { cn } from '@/lib/utils'
21
21
  import { formatSaveTime } from '@/lib/time-format'
22
22
  import { useTimezone } from '@/providers/timezone-provider'
23
- import { UserAvatar } from '@allbluecn/ui'
23
+ import { UserAvatar } from '@allbluecn/web-app/ui'
24
24
  import { TagSelector } from '@allbluecn/plugins-core/tags/tag-selector'
25
25
  import { TagBadge } from '@allbluecn/plugins-core/tags/tag-badge'
26
26
  import { listTagsFn } from '@allbluecn/plugins-core/tags/serverFns'
@@ -15,7 +15,7 @@
15
15
  // You should have received a copy of the GNU Affero General Public License
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
- import { UserAvatar } from '@allbluecn/ui'
18
+ import { UserAvatar } from '@allbluecn/web-app/ui'
19
19
  import { AvatarGroup, AvatarGroupTooltip } from '@/components/magicui/components/animate/avatar-group'
20
20
  import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'
21
21
  import { cn } from '@/lib/utils'
@@ -47,7 +47,7 @@ import { signOut, useSession } from "@/lib/auth/auth-client";
47
47
  import { useRouter, useMatches } from "@tanstack/react-router";
48
48
  import { useTranslation } from "react-i18next";
49
49
  import { getQueryClient } from "@allbluecn/shared/lib/query-client-seam";
50
- import { UserAvatar } from "@allbluecn/ui";
50
+ import { UserAvatar } from "@allbluecn/web-app/ui";
51
51
  import type { AvatarConfig, ShapeType } from "@allbluecn/shared";
52
52
  import { SparklesText } from "@/components/magicui/sparkles-text";
53
53
 
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/animated-theme-toggler'
1
+ export * from '@allbluecn/web-app/ui/animated-theme-toggler'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/grid-pattern'
1
+ export * from '@allbluecn/web-app/ui/grid-pattern'
@@ -41,7 +41,7 @@ import {
41
41
  import { addProjectMemberFromTeamFn } from "@/server/serverFns/project";
42
42
  import { listTeamUsersFn } from "@/server/serverFns/team";
43
43
  import type { ProjectRole } from "@/types/project";
44
- import { UserAvatar } from "@allbluecn/ui";
44
+ import { UserAvatar } from "@allbluecn/web-app/ui";
45
45
 
46
46
  interface AssignMemberDialogProps {
47
47
  open: boolean;
@@ -17,7 +17,7 @@
17
17
 
18
18
  import { useTranslation } from "react-i18next"
19
19
  import { getClientI18n } from "@/lib/i18n/client"
20
- import { UserAvatar } from "@allbluecn/ui";
20
+ import { UserAvatar } from "@allbluecn/web-app/ui";
21
21
  import type { AvatarConfig, ShapeType } from "@allbluecn/shared";
22
22
  import { cn } from "@/lib/utils";
23
23
  import { formatDate } from "@/lib/datetime";
@@ -39,7 +39,7 @@ import {
39
39
  AlertDialogHeader,
40
40
  AlertDialogTitle,
41
41
  } from "@/components/ui/alert-dialog";
42
- import { UserAvatar } from "@allbluecn/ui";
42
+ import { UserAvatar } from "@allbluecn/web-app/ui";
43
43
  import type { AvatarConfig, ShapeType } from "@allbluecn/shared";
44
44
  import { InviteMemberDialog } from "./invite-member-dialog";
45
45
  import {
@@ -15,6 +15,6 @@
15
15
  // You should have received a copy of the GNU Affero General Public License
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
- export { NotionAvatar as default } from "@allbluecn/ui"
19
- export { NotionAvatar } from "@allbluecn/ui"
18
+ export { NotionAvatar as default } from "@allbluecn/web-app/ui"
19
+ export { NotionAvatar } from "@allbluecn/web-app/ui"
20
20
  export type { ShapeType } from "@allbluecn/shared"
@@ -15,7 +15,7 @@ import { useTranslation } from "react-i18next"
15
15
  import { cn } from "@/lib/utils"
16
16
  import { formatDate } from "@/lib/datetime"
17
17
  import { useTimezone } from "@/providers/timezone-provider"
18
- import { UserAvatar } from "@allbluecn/ui"
18
+ import { UserAvatar } from "@allbluecn/web-app/ui"
19
19
  import type { AvatarConfig, ShapeType } from "@allbluecn/shared"
20
20
  import { Badge } from "@/components/ui/badge"
21
21
  import { Button } from "@/components/ui/button"
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/name-confirm-dialog'
1
+ export * from '@allbluecn/web-app/ui/name-confirm-dialog'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/nav-float-button'
1
+ export * from '@allbluecn/web-app/ui/nav-float-button'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/placeholder-page'
1
+ export * from '@allbluecn/web-app/ui/placeholder-page'
@@ -27,7 +27,7 @@ import {
27
27
  } from "@tanstack/react-table";
28
28
  import { Link } from "@tanstack/react-router";
29
29
  import { Badge } from "@/components/ui/badge";
30
- import { UserAvatar } from "@allbluecn/ui";
30
+ import { UserAvatar } from "@allbluecn/web-app/ui";
31
31
  import { PriorityIcon } from "./priority-icon";
32
32
  import { STATE_LABEL, STATE_COLOR, PRIORITY_LABEL, PRIORITY_RANK } from "./constants";
33
33
  import type { TFunction } from 'i18next'
@@ -17,7 +17,7 @@
17
17
 
18
18
  import { useCallback, useEffect, useRef, useState } from "react"
19
19
  import { CalendarCheck, CalendarPlus2, Sprout } from "lucide-react"
20
- import { UserAvatar } from "@allbluecn/ui"
20
+ import { UserAvatar } from "@allbluecn/web-app/ui"
21
21
  import { useForm } from "@tanstack/react-form"
22
22
  import { useTranslation } from "react-i18next"
23
23
  import { LucideIconByName } from "@/components/shared/lucide-icon-picker/lucide-icon-by-name"
@@ -24,7 +24,7 @@ vi.mock("@/server/serverFns/project", () => ({
24
24
  listProjectsBriefFn: vi.fn().mockResolvedValue([]),
25
25
  }));
26
26
 
27
- vi.mock("@allbluecn/ui", () => ({
27
+ vi.mock("@allbluecn/web-app/ui", () => ({
28
28
  UserAvatar: ({ name }: { name: string }) => (
29
29
  <span data-testid="avatar">{name}</span>
30
30
  ),
@@ -19,7 +19,7 @@ import { useState, useRef, useLayoutEffect, useEffect } from "react";
19
19
  import { useTranslation } from "react-i18next";
20
20
  import type { TFunction } from "i18next";
21
21
  import type { ReactNode } from "react";
22
- import { UserAvatar } from "@allbluecn/ui";
22
+ import { UserAvatar } from "@allbluecn/web-app/ui";
23
23
  import {
24
24
  ACTIVITY_LABEL,
25
25
  ACTIVITY_ICON,
@@ -15,7 +15,7 @@
15
15
  // You should have received a copy of the GNU Affero General Public License
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
- import { UserAvatar } from "@allbluecn/ui";
18
+ import { UserAvatar } from "@allbluecn/web-app/ui";
19
19
  import { useTranslation } from "react-i18next";
20
20
  import { formatRelative } from "./comment-thread";
21
21
  import { CommentInput } from "./comment-input";
@@ -27,7 +27,7 @@ import {
27
27
  ClockPlus,
28
28
  ClockArrowUp,
29
29
  } from "lucide-react";
30
- import { UserAvatar } from "@allbluecn/ui";
30
+ import { UserAvatar } from "@allbluecn/web-app/ui";
31
31
  import { Input } from "@/components/ui/input";
32
32
 
33
33
  import { Skeleton } from "@/components/ui/skeleton";
@@ -16,7 +16,7 @@
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
18
  import { Sprout, CircleUser } from "lucide-react";
19
- import { UserAvatar } from "@allbluecn/ui";
19
+ import { UserAvatar } from "@allbluecn/web-app/ui";
20
20
  import { LucideIconByName } from "@/components/shared/lucide-icon-picker/lucide-icon-by-name";
21
21
  import { cn } from "@/lib/utils";
22
22
  import { STORY_STATES, STATE_LABEL, STATE_COLOR, STATE_ICON, STORY_PRIORITIES, PRIORITY_LABEL, PRIORITY_ICON } from "../constants";
@@ -18,7 +18,7 @@
18
18
  import { X, Calendar, CircleUser, Archive, BrushCleaning } from "lucide-react";
19
19
  import { format, parseISO, isValid } from "date-fns";
20
20
  import { Button } from "@/components/ui/button";
21
- import { UserAvatar } from "@allbluecn/ui";
21
+ import { UserAvatar } from "@allbluecn/web-app/ui";
22
22
  import { PriorityIcon } from "../priority-icon";
23
23
  import { STORY_STATES, STATE_ICON, PRIORITY_LABEL, type StoryState, type StoryPriority } from "../constants";
24
24
  import { getFilterLabel, getFilterIcon, type FilterCondition, type FilterKey } from "./filter-types";
@@ -20,7 +20,7 @@ import { CircleUser, Search, Check, ArrowDownUp } from "lucide-react";
20
20
  import { useTranslation } from "react-i18next";
21
21
  import { Input } from "@/components/ui/input";
22
22
  import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover";
23
- import { UserAvatar } from "@allbluecn/ui";
23
+ import { UserAvatar } from "@allbluecn/web-app/ui";
24
24
  import type { UserBrief } from "../types";
25
25
  import { cn } from "@/lib/utils";
26
26
  import { InlineTrigger } from "./inline-trigger";
@@ -19,7 +19,7 @@ import { memo } from "react";
19
19
  import { useTranslation } from "react-i18next";
20
20
  import { useSortable } from "@dnd-kit/react/sortable";
21
21
  import { GripVertical, CalendarCheck, CalendarPlus2 } from "lucide-react";
22
- import { UserAvatar } from "@allbluecn/ui";
22
+ import { UserAvatar } from "@allbluecn/web-app/ui";
23
23
  import { PRIORITY_LABEL } from "../constants";
24
24
  import { PriorityIcon } from "../priority-icon";
25
25
  import type { StoryListItem, UserBrief } from "../types";
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/alert-dialog'
1
+ export * from '@allbluecn/web-app/ui/alert-dialog'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/badge'
1
+ export * from '@allbluecn/web-app/ui/badge'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/button'
1
+ export * from '@allbluecn/web-app/ui/button'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/card'
1
+ export * from '@allbluecn/web-app/ui/card'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/checkbox'
1
+ export * from '@allbluecn/web-app/ui/checkbox'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/context-menu'
1
+ export * from '@allbluecn/web-app/ui/context-menu'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/dialog'
1
+ export * from '@allbluecn/web-app/ui/dialog'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/dropdown-menu'
1
+ export * from '@allbluecn/web-app/ui/dropdown-menu'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/empty'
1
+ export * from '@allbluecn/web-app/ui/empty'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/input'
1
+ export * from '@allbluecn/web-app/ui/input'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/label'
1
+ export * from '@allbluecn/web-app/ui/label'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/popover'
1
+ export * from '@allbluecn/web-app/ui/popover'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/resizable'
1
+ export * from '@allbluecn/web-app/ui/resizable'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/select'
1
+ export * from '@allbluecn/web-app/ui/select'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/sidebar'
1
+ export * from '@allbluecn/web-app/ui/sidebar'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/skeleton'
1
+ export * from '@allbluecn/web-app/ui/skeleton'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/sonner'
1
+ export * from '@allbluecn/web-app/ui/sonner'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/switch'
1
+ export * from '@allbluecn/web-app/ui/switch'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/textarea'
1
+ export * from '@allbluecn/web-app/ui/textarea'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/tooltip'
1
+ export * from '@allbluecn/web-app/ui/tooltip'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/auth-client'
1
+ export * from '@allbluecn/web-app/ui/auth-client'
@@ -95,7 +95,7 @@ export const SDK_GROUPS: SdkGroup[] = [
95
95
  "items": [
96
96
  {
97
97
  "name": "@allbluecn/web-app",
98
- "version": "v0.6.2",
98
+ "version": "v0.6.3",
99
99
  "lastUpdate": "Sep 3, 2026",
100
100
  "source": "apps/web/package.json",
101
101
  "docsUrl": "https://github.com/allbluecn/allblue"
package/src/lib/utils.ts CHANGED
@@ -15,4 +15,4 @@
15
15
  // You should have received a copy of the GNU Affero General Public License
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
- export { cn } from '@allbluecn/ui/utils'
18
+ export { cn } from '@allbluecn/web-app/ui/utils'
@@ -1 +1 @@
1
- export * from '@allbluecn/ui/timezone-provider'
1
+ export * from '@allbluecn/web-app/ui/timezone-provider'
@@ -15,7 +15,7 @@
15
15
  // You should have received a copy of the GNU Affero General Public License
16
16
  // along with this program. If not, see <https://www.gnu.org/licenses/>.
17
17
 
18
- import { UserAvatar } from '@allbluecn/ui'
18
+ import { UserAvatar } from '@allbluecn/web-app/ui'
19
19
  import type { AvatarConfig, ShapeType } from '@allbluecn/shared'
20
20
 
21
21
  interface TeamMember {
@@ -19,7 +19,7 @@ import { createLazyFileRoute, Link, useLoaderData } from "@tanstack/react-router
19
19
  import { useTranslation } from "react-i18next";
20
20
  import { Settings, LayoutGrid, Activity as ActivityIcon, CalendarRange } from "lucide-react";
21
21
  import { useTheme } from "next-themes";
22
- import { UserAvatar } from "@allbluecn/ui";
22
+ import { UserAvatar } from "@allbluecn/web-app/ui";
23
23
  import type { AvatarConfig, ShapeType } from "@allbluecn/shared";
24
24
  import { Button } from "@/components/ui/button";
25
25
  import { AvatarGroup } from "@/components/magicui/components/animate/avatar-group";
@@ -21,7 +21,7 @@ import { useMutation } from '@tanstack/react-query'
21
21
  import { useTranslation } from 'react-i18next'
22
22
  import { toast } from '@/components/ui/sonner'
23
23
  import { RainbowButton } from '@/components/magicui/rainbow-button'
24
- import { UserAvatar } from '@allbluecn/ui'
24
+ import { UserAvatar } from '@allbluecn/web-app/ui'
25
25
  import { AuthLayout, AuthLayoutLeft, AuthLayoutRight } from '@/components/auth/auth-layout'
26
26
  import { AuthBrandPanel } from '@/components/auth/auth-brand-panel'
27
27
  import { IconInput } from '@/components/auth/icon-input'
@@ -29,7 +29,7 @@ const CLIENT_SAFE_SPECIFIERS = new Set([
29
29
  'date-fns',
30
30
  'date-fns/locale',
31
31
  '@allbluecn/shared',
32
- '@allbluecn/ui',
32
+ '@allbluecn/web-app/ui',
33
33
  '@allbluecn/shared/lib/desktop-detect',
34
34
  '@allbluecn/ai-gateway/tools',
35
35
  '@allbluecn/kernel',