@aiquants/daily-report 0.12.3 → 0.12.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/daily-report",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
4
4
  "description": "Reusable daily-report feature package: shared types/schemas, React (Router v7 / v8) UI with virtual scrolling + optimistic updates + SSE sync, and a drizzle (mssql) server layer with DI ports (auth, user resolution, redis, external sources).",
5
5
  "sideEffects": [
6
6
  "**/*.css"
@@ -72,8 +72,8 @@
72
72
  "typescript": "^5.9.3",
73
73
  "vitest": "^4.1.10",
74
74
  "zod": "^3.25.76",
75
- "@aiquants/swipe-overlay": "1.2.4",
76
- "@aiquants/virtualscroll": "^2.0.0"
75
+ "@aiquants/virtualscroll": "^2.0.0",
76
+ "@aiquants/swipe-overlay": "1.2.4"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "drizzle-orm": ">=1.0.0-beta.4 <2.0.0",
@@ -81,8 +81,8 @@
81
81
  "react-dom": ">=18",
82
82
  "react-router": "^7.0.0 || ^8.0.0",
83
83
  "zod": ">=3.25.0 <5.0.0",
84
- "@aiquants/swipe-overlay": "^1.2.4",
85
- "@aiquants/virtualscroll": "^2.0.0"
84
+ "@aiquants/virtualscroll": "^2.0.0",
85
+ "@aiquants/swipe-overlay": "^1.2.4"
86
86
  },
87
87
  "peerDependenciesMeta": {
88
88
  "drizzle-orm": {
@@ -10,7 +10,7 @@
10
10
  *
11
11
  * DOM フックは `data-*` 属性のみを使う (AGENTS.md)。
12
12
  */
13
- import Paperclip from "lucide-react/dist/esm/icons/paperclip"
13
+ import Paperclip from "lucide-react/dist/esm/icons/paperclip.js"
14
14
 
15
15
  /** 件数を併記し始める閾値。1 件のときは記号だけで足りる。 */
16
16
  const COUNT_VISIBLE_FROM = 2
@@ -15,9 +15,9 @@ type DailyReportVirtualScrollHandle = VirtualScrollHandle & {
15
15
  selectItem: (id: number) => void
16
16
  }
17
17
 
18
- import Check from "lucide-react/dist/esm/icons/check"
19
- import Star from "lucide-react/dist/esm/icons/star"
20
- import Trash2 from "lucide-react/dist/esm/icons/trash-2"
18
+ import Check from "lucide-react/dist/esm/icons/check.js"
19
+ import Star from "lucide-react/dist/esm/icons/star.js"
20
+ import Trash2 from "lucide-react/dist/esm/icons/trash-2.js"
21
21
  import { type RefObject, useCallback, useEffect, useMemo, useRef, useState } from "react"
22
22
  import { fallbackText, formatToIsoDate } from "../../shared/text-utils"
23
23
  import type { DailyReportDetail, DailyReportItem } from "../../shared/types"
@@ -9,7 +9,7 @@
9
9
  * - complete + 再検証中: 控えめな「最新化中」インジケーター
10
10
  * - それ以外 (idle / complete): 何も描画しない
11
11
  */
12
- import RefreshCw from "lucide-react/dist/esm/icons/refresh-cw"
12
+ import RefreshCw from "lucide-react/dist/esm/icons/refresh-cw.js"
13
13
  import { useAnimatedNumber } from "../hooks/use-animated-number"
14
14
  import { retryDailyReportIdsStream, useDailyReportIdsStream } from "../streaming/daily-report-ids-stream-session"
15
15
 
@@ -4,9 +4,9 @@
4
4
  */
5
5
  import { SwipeCloseGuardContext, useSwipeGuardState, useSwipeToDismissOverlay, useTapClick, useTransitionDisplay } from "@aiquants/swipe-overlay"
6
6
  import { type ScrollBarThumbOverlayRenderProps, VirtualScroll, type VirtualScrollHandle } from "@aiquants/virtualscroll"
7
- import Check from "lucide-react/dist/esm/icons/check"
8
- import Star from "lucide-react/dist/esm/icons/star"
9
- import Trash2 from "lucide-react/dist/esm/icons/trash-2"
7
+ import Check from "lucide-react/dist/esm/icons/check.js"
8
+ import Star from "lucide-react/dist/esm/icons/star.js"
9
+ import Trash2 from "lucide-react/dist/esm/icons/trash-2.js"
10
10
  import { type CSSProperties, memo, type RefObject, useCallback, useEffect, useMemo, useRef, useState } from "react"
11
11
  import { fallbackText, formatToIsoDate } from "../../shared/text-utils"
12
12
  import type { DailyReportDetail, DailyReportItem } from "../../shared/types"
@@ -1,6 +1,6 @@
1
- import Plus from "lucide-react/dist/esm/icons/plus"
2
- import RefreshCw from "lucide-react/dist/esm/icons/refresh-cw"
3
- import RotateCw from "lucide-react/dist/esm/icons/rotate-cw"
1
+ import Plus from "lucide-react/dist/esm/icons/plus.js"
2
+ import RefreshCw from "lucide-react/dist/esm/icons/refresh-cw.js"
3
+ import RotateCw from "lucide-react/dist/esm/icons/rotate-cw.js"
4
4
  import type { ReactNode } from "react"
5
5
  import { useEffect, useMemo, useRef, useState } from "react"
6
6
  import { useSearchParams } from "react-router"
@@ -1,6 +1,6 @@
1
1
  declare module "lucide-react/dist/esm/icons/*" {
2
- import type { LucideProps } from "lucide-react"
3
- import type { FC } from "react"
4
- const component: FC<LucideProps>
2
+ import type { LucideIcon } from "lucide-react"
3
+
4
+ const component: LucideIcon
5
5
  export default component
6
6
  }