@prettier-ai/dsh-client-ui-schedule 0.1.2-alpha.3 → 0.1.2-alpha.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/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +1 -1
- package/package.json +11 -17
- package/lib/invariant.js +0 -13
- package/lib/types/invariant.d.ts +0 -9
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm run verify-translation-pairing --write packages/client/ui-schedule/README.md
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: 37ffbc0ef0b4a55af3238efa700dfdd0b942dd35
|
|
6
|
+
README.zh.md: 6094050437dbd062134c972918682403f675e660
|
package/README.md
CHANGED
|
@@ -57,7 +57,7 @@ The browser plugin contributes `schedule-catalog` to `conversation.session.heade
|
|
|
57
57
|
| [`src/client/ScheduleCatalogAction.tsx`](src/client/ScheduleCatalogAction.tsx) | Visibility, ordering, formatting, popover, and keyboard behavior |
|
|
58
58
|
| [`src/client/locales.ts`](src/client/locales.ts) | English and Chinese catalog copy |
|
|
59
59
|
| [`src/index.ts`](src/index.ts) | Empty Host apply that keeps the optional browser feature addressable by Loader |
|
|
60
|
-
|
|
|
60
|
+
| — | No runtime invariant companion is published because this read-only client catalog owns no mutable cross-plugin state. |
|
|
61
61
|
|
|
62
62
|
The [durable Web Schedule Agent Note](../../../.agents/notes/implemented/feature/2026-08-05-durable-web-schedule.md) owns the active projection and opt-in presentation boundary; this package owns the catalog's timing and accessibility behavior.
|
|
63
63
|
|
package/README.zh.md
CHANGED
|
@@ -57,7 +57,7 @@ dsh web --patch apps/cli/config/examples/schedule/cordis.yml
|
|
|
57
57
|
| [`src/client/ScheduleCatalogAction.tsx`](src/client/ScheduleCatalogAction.tsx) | 可见性、排序、格式化、弹层与键盘行为 |
|
|
58
58
|
| [`src/client/locales.ts`](src/client/locales.ts) | 中英文目录文案 |
|
|
59
59
|
| [`src/index.ts`](src/index.ts) | 空的 Host apply,使 Loader 可以寻址该可选浏览器功能 |
|
|
60
|
-
|
|
|
60
|
+
| — | 不发布运行时不变量伴生入口;这个只读客户端目录不拥有可变的跨插件状态。 |
|
|
61
61
|
|
|
62
62
|
[持久 Web Schedule Agent Note](../../../.agents/notes/implemented/feature/2026-08-05-durable-web-schedule.zh.md)拥有活动 projection 与 opt-in 呈现边界;本包拥有目录的时间与无障碍行为。
|
|
63
63
|
|
package/lib/client.js
CHANGED
|
@@ -9,7 +9,7 @@ window.__ModuleLoader__.load({
|
|
|
9
9
|
let react_dom = require("react-dom");
|
|
10
10
|
let _prettier_ai_dsh_client_ui_primitives = require("@prettier-ai/dsh-client-ui-primitives");
|
|
11
11
|
//#region \0dsh-css:/home/runner/work/dsh-publisher/dsh-publisher/upstream/packages/client/ui-schedule/src/client/ScheduleCatalogAction.module.css.mjs
|
|
12
|
-
const css = ".sRbB7a_root{position:relative}.sRbB7a_trigger{min-height:28px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:3px 2px;font-size:12px;line-height:18px;display:inline-flex}.sRbB7a_trigger:hover,.sRbB7a_trigger:focus-visible{color:var(--dsw-alias-label-secondary)}.sRbB7a_trigger svg{flex:none}.sRbB7a_trigger>svg:last-child{transition:transform .12s}.sRbB7a_triggerOpen{transform:rotate(180deg)}.sRbB7a_count{margin-left:2px}.sRbB7a_menu{z-index:100;box-sizing:border-box;
|
|
12
|
+
const css = ".sRbB7a_root{position:relative}.sRbB7a_trigger{min-height:28px;color:var(--dsw-alias-label-tertiary);cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:4px;padding:3px 2px;font-size:12px;line-height:18px;display:inline-flex}.sRbB7a_trigger:hover,.sRbB7a_trigger:focus-visible{color:var(--dsw-alias-label-secondary)}.sRbB7a_trigger svg{flex:none}.sRbB7a_trigger>svg:last-child{transition:transform .12s}.sRbB7a_triggerOpen{transform:rotate(180deg)}.sRbB7a_count{margin-left:2px}.sRbB7a_menu{z-index:100;box-sizing:border-box;background:var(--dsw-specific-menu);--dsh-scrollbar-thumb:var(--dsw-alias-scrollbar-bg-l2);--dsh-scrollbar-thumb-hover:var(--dsw-alias-scrollbar-hover-l2);--dsw-elevation-stroke-color:var(--dsw-alias-border-l1);width:336px;max-width:min(336px,100vw - 32px);max-height:min(420px,100vh - 140px);box-shadow:var(--dsw-elevation-prominent);border:0;border-radius:20px;flex-direction:column;gap:2px;margin:0;padding:4px;list-style:none;display:flex;position:fixed;overflow:auto}.sRbB7a_row{box-sizing:border-box;width:100%;min-height:54px;color:var(--dsw-alias-label-primary);border-radius:8px;flex-direction:column;flex-shrink:0;gap:3px;padding:8px 10px;display:flex}.sRbB7a_rowOverdue{background:var(--dsw-alias-state-warn-tertiary)}.sRbB7a_status{color:var(--dsw-alias-label-tertiary);align-items:center;gap:5px;font-size:11px;line-height:16px;display:inline-flex}.sRbB7a_statusDot{corner-shape:round;background:var(--dsw-alias-state-business-primary);border-radius:50%;flex:none;width:8px;height:8px}.sRbB7a_rowOverdue .sRbB7a_status{color:var(--dsw-alias-state-warn-label)}.sRbB7a_rowOverdue .sRbB7a_statusDot{background:var(--dsw-alias-state-warn-primary)}.sRbB7a_prompt{overflow-wrap:anywhere;white-space:normal;font-size:13px;line-height:18px}.sRbB7a_metadata{min-width:0;color:var(--dsw-alias-label-tertiary);flex-wrap:wrap;align-items:center;gap:5px;font-size:11px;line-height:16px;display:flex}.sRbB7a_relativeOverdue{color:var(--dsw-alias-state-warn-label)}";
|
|
13
13
|
const tagId = "@prettier-ai/dsh-client-ui-schedule/ScheduleCatalogAction.module.css";
|
|
14
14
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
15
15
|
const tag = document.createElement("style");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prettier-ai/dsh-client-ui-schedule",
|
|
3
3
|
"description": "Read-only active Schedule catalog in the Web Session header",
|
|
4
|
-
"version": "0.1.2-alpha.
|
|
4
|
+
"version": "0.1.2-alpha.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -10,10 +10,6 @@
|
|
|
10
10
|
"types": "./lib/types/index.d.ts",
|
|
11
11
|
"default": "./lib/index.js"
|
|
12
12
|
},
|
|
13
|
-
"./invariant": {
|
|
14
|
-
"types": "./lib/types/invariant.d.ts",
|
|
15
|
-
"default": "./lib/invariant.js"
|
|
16
|
-
},
|
|
17
13
|
"./client": {
|
|
18
14
|
"types": "./lib/types/client/index.d.ts",
|
|
19
15
|
"default": "./lib/client.js"
|
|
@@ -49,22 +45,20 @@
|
|
|
49
45
|
"@types/react-dom": "~18.3.0",
|
|
50
46
|
"react": "^18.2.0",
|
|
51
47
|
"react-dom": "^18.2.0",
|
|
52
|
-
"@prettier-ai/dsh-
|
|
53
|
-
"@prettier-ai/dsh-client-test-runtime": "^0.1.2-alpha.
|
|
54
|
-
"@prettier-ai/dsh-
|
|
55
|
-
"@prettier-ai/dsh-client-ui-
|
|
56
|
-
"@prettier-ai/dsh-client-ui-renderer": "^0.1.2-alpha.
|
|
57
|
-
"@prettier-ai/dsh-client-ui-
|
|
58
|
-
"@prettier-ai/dsh-client-ui-session": "^0.1.2-alpha.
|
|
59
|
-
"@prettier-ai/dsh-client-ui-slots": "^0.1.2-alpha.
|
|
60
|
-
"@prettier-ai/dsh-
|
|
61
|
-
"@prettier-ai/dsh-
|
|
62
|
-
"@prettier-ai/dsh-session": "^0.1.2-alpha.3",
|
|
48
|
+
"@prettier-ai/dsh-api-session-controller": "^0.1.2-alpha.4",
|
|
49
|
+
"@prettier-ai/dsh-client-test-runtime": "^0.1.2-alpha.4",
|
|
50
|
+
"@prettier-ai/dsh-client-locale": "^0.1.2-alpha.4",
|
|
51
|
+
"@prettier-ai/dsh-client-ui-primitives": "^0.1.2-alpha.4",
|
|
52
|
+
"@prettier-ai/dsh-client-ui-renderer": "^0.1.2-alpha.4",
|
|
53
|
+
"@prettier-ai/dsh-client-ui-conversation": "^0.1.2-alpha.4",
|
|
54
|
+
"@prettier-ai/dsh-client-ui-session": "^0.1.2-alpha.4",
|
|
55
|
+
"@prettier-ai/dsh-client-ui-slots": "^0.1.2-alpha.4",
|
|
56
|
+
"@prettier-ai/dsh-schedule": "^0.1.2-alpha.4",
|
|
57
|
+
"@prettier-ai/dsh-session": "^0.1.2-alpha.4",
|
|
63
58
|
"@prettier-ai/cordis": "^4.0.2"
|
|
64
59
|
},
|
|
65
60
|
"files": [
|
|
66
61
|
"lib/index.js",
|
|
67
|
-
"lib/invariant.js",
|
|
68
62
|
"lib/client.js",
|
|
69
63
|
"lib/types/**/*.d.ts"
|
|
70
64
|
],
|
package/lib/invariant.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
//#region lib/types/invariant.js
|
|
2
|
-
/** Package-owned invariant companion for the read-only Schedule catalog. */
|
|
3
|
-
const PACKAGE_NAME = "@prettier-ai/dsh-client-ui-schedule";
|
|
4
|
-
/** Cordis companion plugin name. */
|
|
5
|
-
const name = "client-ui-schedule-invariant";
|
|
6
|
-
/** Service required before the companion can reserve package ownership. */
|
|
7
|
-
const inject = ["invariants"];
|
|
8
|
-
/** No runtime invariant: the package owns no mutable cross-plugin state. */
|
|
9
|
-
const install = () => {};
|
|
10
|
-
/** Register this package's invariant companion. */
|
|
11
|
-
const apply = (ctx) => Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install));
|
|
12
|
-
//#endregion
|
|
13
|
-
export { apply, inject, name };
|
package/lib/types/invariant.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** Package-owned invariant companion for the read-only Schedule catalog. */
|
|
2
|
-
import type { Context } from '@prettier-ai/cordis';
|
|
3
|
-
/** Cordis companion plugin name. */
|
|
4
|
-
export declare const name = "client-ui-schedule-invariant";
|
|
5
|
-
/** Service required before the companion can reserve package ownership. */
|
|
6
|
-
export declare const inject: string[];
|
|
7
|
-
/** Register this package's invariant companion. */
|
|
8
|
-
export declare const apply: (ctx: Context) => Promise<() => void>;
|
|
9
|
-
//# sourceMappingURL=invariant.d.ts.map
|