@aiquants/contact-map 0.17.1 → 0.18.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 +14 -12
- package/dist/client.js +2 -2
- package/dist/client.mjs +2 -2
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -49,12 +49,12 @@ Peer dependencies:
|
|
|
49
49
|
```json
|
|
50
50
|
{
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@aiquants/directory-tree": "^5.0.
|
|
53
|
-
"@aiquants/fuzzy-search": "^3.2.
|
|
52
|
+
"@aiquants/directory-tree": "^5.0.1",
|
|
53
|
+
"@aiquants/fuzzy-search": "^3.2.1",
|
|
54
54
|
"@aiquants/resize-panels": "^2.2.0",
|
|
55
|
-
"@aiquants/select-box": "^0.
|
|
55
|
+
"@aiquants/select-box": "^0.21.0",
|
|
56
56
|
"@aiquants/swipe-overlay": "^1.4.0",
|
|
57
|
-
"@aiquants/virtualscroll": "^3.22.
|
|
57
|
+
"@aiquants/virtualscroll": "^3.22.1",
|
|
58
58
|
"drizzle-orm": ">=1.0.0-beta.4 <2.0.0",
|
|
59
59
|
"react": ">=18",
|
|
60
60
|
"react-dom": ">=18",
|
|
@@ -90,7 +90,7 @@ These are the ranges this version is published with. The repository's `package.j
|
|
|
90
90
|
import { createContactMapStreamHandler } from "@aiquants/contact-map/server"
|
|
91
91
|
import { db, ensureDbConnection } from "~/services/drizzle-db/client.server.ts"
|
|
92
92
|
import { contactTable } from "~/services/drizzle-db/schema/contacts.table.ts"
|
|
93
|
-
import { authenticateInLoader } from "~/services/
|
|
93
|
+
import { authenticateInLoader } from "~/services/authenticateInLoader.server.ts"
|
|
94
94
|
|
|
95
95
|
const handler = createContactMapStreamHandler({
|
|
96
96
|
db,
|
|
@@ -296,26 +296,28 @@ Every control the package draws is a target of at least 44 × 44 CSS px under ev
|
|
|
296
296
|
|
|
297
297
|
## Text Size / 文字の大きさ
|
|
298
298
|
|
|
299
|
-
The primary text of every control and list row the package draws (a button's, a tab's or a link's name, the value of the search field and the selects, a
|
|
299
|
+
The primary text of every control and list row the package draws (a button's, a tab's or a link's name, the value of the search field and the selects, a field's visible name (the label of a select or a slider), a checkbox's label row) is at least console-ui's `body` step, 13 px on a 20 px line,
|
|
300
|
+
and the supplementary text beside one (the count line, the AND / OR hint, the tree header's badges, the settings' field hints, the detail panel's labels and hints, the list's column headings and rows' secondary lines, the statistics history's times) at least its `caption` step, 11 px on a 20 px line; no text is smaller.
|
|
301
|
+
The two counts in the count line (registered records and search results) read `body`, its size and line.
|
|
300
302
|
The list rows' secondary lines read the step's size alone and keep the tight line that the fixed 64 px row holds.
|
|
301
|
-
Text that is already larger (the list rows' names, the popup's values) keeps its size, and the tree's
|
|
302
|
-
パッケージが描く操作部品と一覧の行の主の文字 (
|
|
303
|
+
Text that is already larger (the list rows' names, the popup's values) keeps its size, and the tree's row names take `@aiquants/directory-tree`'s default text; a person's title beside the name is the package's own `text-xs` (12 px). Every text size the package sets is in rem, none in px, so it follows the page zoom and the browser's text size setting.
|
|
304
|
+
パッケージが描く操作部品と一覧の行の主の文字 (ボタン・タブ・リンクの名前、検索欄と選択欄の値、欄の見える名前 (選択欄とスライダーの名前)、チェックボックスのラベルの行) は console-ui の `body` の段 (20 px の行の 13 px) 以上、それに添える補足 (件数の行・AND / OR の手がかり・ツリーのヘッダーの札・設定の欄の説明・詳細パネルのラベルと説明・一覧の列見出しと行の補足の段・検索統計の履歴の時刻) は `caption` の段 (20 px の行の 11 px) 以上で、これより小さい文字は無い。件数の行の 2 つの件数 (登録件数と検索結果の件数) は `body` の大きさと行で描く。一覧の行の補足の段は段の大きさだけを読み、固定の 64 px の行が収める詰めた行を保つ。すでに大きい文字 (一覧の行の名前・ポップアップの値) は大きさを保ち、ツリーの行の名前は `@aiquants/directory-tree` の既定の文字に従い、人の名前に添える役職はパッケージ自身の `text-xs` (12 px)。パッケージが決める文字の大きさは全て rem で書き (px は無い)、ページの拡大とブラウザーの文字の大きさの設定に従う。
|
|
303
305
|
|
|
304
306
|
The steps read these host CSS variables, each the step's value while the host leaves it unset. A host binds them on its root, for example to its own type scale (`:root { --aqcm-font-size-body: var(--my-font-size-body); }`), never on the package's elements. Under a coarse pointer the search field and the selects keep their 16 px text (see Pointer Targets).
|
|
305
307
|
段は次のホストの CSS 変数を読み、ホストが設定しない間はどれも段の値。ホストは根で結び (自分の型の段へ結ぶなら `:root { --aqcm-font-size-body: var(--my-font-size-body); }`)、パッケージの要素には結ばない。粗いポインターでは検索欄と選択欄は 16 px の文字を保つ (ポインターの的の節を参照)。
|
|
306
308
|
|
|
307
309
|
| Variable | Default | Read by |
|
|
308
310
|
| --- | --- | --- |
|
|
309
|
-
| `--aqcm-font-size-body` | `0.8125rem` (13 px) | The primary text of the controls: the search band, the settings' and statistics' buttons, tabs, selects and checkbox rows, the detail panel's tabs and summary values, the annotation's retry button. |
|
|
311
|
+
| `--aqcm-font-size-body` | `0.8125rem` (13 px) | The primary text of the controls: the search band, the settings' and statistics' buttons, tabs, selects, field names and checkbox rows, the detail panel's tabs and summary values, the annotation's retry button. Also the two counts in the count line. |
|
|
310
312
|
| `--aqcm-line-height-body` | `1.25rem` (20 px) | Their line. |
|
|
311
|
-
| `--aqcm-font-size-caption` | `0.6875rem` (11 px) | The supplementary text: the count line, the AND / OR hint, the tree header's badges, the settings' field
|
|
313
|
+
| `--aqcm-font-size-caption` | `0.6875rem` (11 px) | The supplementary text: the count line (but not its two counts, which read the `body` step), the AND / OR hint, the tree header's badges, the settings' field hints, the detail panel's labels and hints, the list's column headings and rows' secondary lines, the popup's Gmail hint, the statistics history's times. |
|
|
312
314
|
| `--aqcm-line-height-caption` | `1.25rem` (20 px) | Their line, except the list rows' secondary lines, which keep their tight line in the fixed 64 px row. |
|
|
313
315
|
|
|
314
316
|
| 変数 | 既定 | 読むもの |
|
|
315
317
|
| --- | --- | --- |
|
|
316
|
-
| `--aqcm-font-size-body` | `0.8125rem` (13 px) | 操作部品の主の文字:
|
|
318
|
+
| `--aqcm-font-size-body` | `0.8125rem` (13 px) | 操作部品の主の文字: 検索の帯、検索設定と検索統計のボタン・タブ・選択欄・欄の名前・チェックボックスの行、詳細パネルのタブと要約の値、注記の再試行のボタン。ほかに件数の行の 2 つの件数。 |
|
|
317
319
|
| `--aqcm-line-height-body` | `1.25rem` (20 px) | その行。 |
|
|
318
|
-
| `--aqcm-font-size-caption` | `0.6875rem` (11 px) | 補足の文字:
|
|
320
|
+
| `--aqcm-font-size-caption` | `0.6875rem` (11 px) | 補足の文字: 件数の行 (2 つの件数は除く。`body` の段を読む)、AND / OR の手がかり、ツリーのヘッダーの札、設定の欄の説明、詳細パネルのラベルと説明、一覧の列見出しと行の補足の段、ポップアップの Gmail の手がかり、検索統計の履歴の時刻。 |
|
|
319
321
|
| `--aqcm-line-height-caption` | `1.25rem` (20 px) | その行 (一覧の行の補足の段を除く。固定の 64 px の行の中で詰めた行を保つ)。 |
|
|
320
322
|
|
|
321
323
|
## Mobile Detail Overlay / モバイルの詳細オーバーレイ
|