@telepath-computer/television 0.1.205 → 0.1.208
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/dist/THIRD-PARTY-NOTICES.txt +46 -12
- package/dist/canonical/v1/components.js +1 -258
- package/dist/canonical/v1/styles.css +372 -312
- package/dist/cli.cjs +11311 -10219
- package/dist/onboarding/README.md +19 -14
- package/dist/onboarding/business-ops/about.html +4 -8
- package/dist/onboarding/business-ops/retention-vs-releases.html +0 -9
- package/dist/onboarding/business-ops/revenue-vs-goals.html +0 -11
- package/dist/onboarding/onboarding-channels.json +114 -0
- package/dist/onboarding/productivity/about.html +4 -8
- package/dist/onboarding/productivity/company-todos/index.html +0 -3
- package/dist/onboarding/productivity/company-todos/task.css +3 -3
- package/dist/onboarding/productivity/company-todos/task.js +1 -4
- package/dist/onboarding/productivity/meeting-prep.html +0 -7
- package/dist/onboarding/productivity/priorities-today.html +0 -7
- package/dist/onboarding/productivity/todays-calendar/calendar.js +327 -643
- package/dist/onboarding/productivity/todays-calendar/index.html +0 -4
- package/dist/onboarding/research/about.html +5 -9
- package/dist/onboarding/research/open-model-research.html +0 -9
- package/dist/onboarding/research/todays-news.html +3 -10
- package/dist/onboarding/tv-guide/welcome/index.html +5 -5
- package/dist/skills/television/SKILL.md +180 -136
- package/dist/skills/tv-calendar/calendar.js +327 -643
- package/dist/skills/tv-tasks/SKILL.md +10 -9
- package/dist/skills/tv-tasks/task.css +5 -6
- package/dist/skills/tv-tasks/task.js +2 -5
- package/dist/skills/tv-theme/SKILL.md +293 -193
- package/dist/views/artifact-missing/index.html +125 -60
- package/dist/views/markdown/THIRD-PARTY-NOTICES.txt +7 -7
- package/dist/views/markdown/index.html +23 -46
- package/dist/web/THIRD-PARTY-NOTICES.txt +4 -4
- package/dist/web/assets/artifact-bridge-BXDhGuL-.js +1 -0
- package/dist/web/assets/{artifactMissing-DY3nzD0p.js → artifactMissing-9rcTXhkH.js} +1 -1
- package/dist/web/assets/main-Blg8fuaV.css +1 -0
- package/dist/web/assets/main-C15ixkrL.js +593 -0
- package/dist/web/assets/{urlUnsupported-B2K6eB7H.js → urlUnsupported-kgq7Zh2V.js} +1 -1
- package/dist/web/index.html +4 -3
- package/dist/web/views/artifact-missing/index.html +125 -60
- package/dist/web/views/url-unsupported/index.html +127 -74
- package/package.json +4 -1
- package/dist/onboarding/onboarding-screens.json +0 -167
- package/dist/skills/tv-calendar/THIRD-PARTY-NOTICES.txt +0 -36
- package/dist/web/assets/artifact-bridge-BhiFDvPj.js +0 -1
- package/dist/web/assets/main-5017mprd.css +0 -1
- package/dist/web/assets/main-C6W2LLUt.js +0 -865
- /package/dist/canonical/v1/fonts/{Hind-Variable.woff2 → Hind-Variable.933e9900.woff2} +0 -0
|
@@ -70,15 +70,15 @@ Author this shape — a page header, then a list of sections and rows:
|
|
|
70
70
|
|
|
71
71
|
### `<tv-task-list>`
|
|
72
72
|
The list root. One per view, holding the sections (or bare rows). It draws no
|
|
73
|
-
frame of its own — the page is the surface, and Television
|
|
74
|
-
chrome around the
|
|
73
|
+
frame of its own — the page is the surface, and Television's artifact frame
|
|
74
|
+
provides the chrome around the document.
|
|
75
75
|
|
|
76
76
|
### Headers — `<header>` + `<h1>`/`<h2>` + optional `<p>`
|
|
77
77
|
|
|
78
|
-
A page title is optional —
|
|
78
|
+
A page title is optional — Television's frame already names the artifact, so
|
|
79
79
|
a bare list is fine. Add one when the list benefits from its own masthead: a
|
|
80
|
-
date line ("Today" lists usually carry the date), a person,
|
|
81
|
-
|
|
80
|
+
date line ("Today" lists usually carry the date), a person, or context the
|
|
81
|
+
frame title doesn't say. When you do, use the house header idiom *above*
|
|
82
82
|
`<tv-task-list>` (not inside it): a `<header>` with an `<h1>` and optionally
|
|
83
83
|
a `<p>` subtitle. House styles own its look; the skill only aligns it with
|
|
84
84
|
the list. Title each section with an `<h2>` inside the section's own
|
|
@@ -231,11 +231,12 @@ them light):
|
|
|
231
231
|
## Guidelines
|
|
232
232
|
|
|
233
233
|
- **Icons are always `<tv-icon name="…">`** — never a span or inline SVG. In
|
|
234
|
-
metadata use `calendar
|
|
234
|
+
metadata use `calendar` (handled by the due component) and `hash`
|
|
235
235
|
(project); for other `tv-task-meta-item`s pick from the canonical icon
|
|
236
|
-
catalog
|
|
237
|
-
|
|
238
|
-
- **
|
|
236
|
+
catalog listed in the main `television` skill. Names outside that closed
|
|
237
|
+
catalog render no glyph.
|
|
238
|
+
- **Standalone sizing is `size="sm|md|lg|xl"`** on `<tv-icon>`; an icon beside
|
|
239
|
+
text omits `size` and follows that text.
|
|
239
240
|
- **Rows are flat by default** — no backdrop, no dividers; whitespace does
|
|
240
241
|
the separating. If you restyle rows (background, radius, spacing), keep
|
|
241
242
|
that model in mind — deliberate, list-wide changes, not per-row chrome.
|
|
@@ -50,8 +50,8 @@ tv-task:has(tv-task-checkbox[checked]) tv-task-title {
|
|
|
50
50
|
color: var(--color-text-muted);
|
|
51
51
|
text-decoration: line-through;
|
|
52
52
|
}
|
|
53
|
-
/* A completed task's due date
|
|
54
|
-
|
|
53
|
+
/* A completed task's due date is always muted, overriding the today/overdue
|
|
54
|
+
emphasis. */
|
|
55
55
|
tv-task:has(tv-task-checkbox[checked]) tv-task-meta-due {
|
|
56
56
|
color: var(--task-meta-text);
|
|
57
57
|
}
|
|
@@ -100,7 +100,7 @@ tv-task-meta-tag {
|
|
|
100
100
|
padding: 0 5px;
|
|
101
101
|
padding-bottom: 1px;
|
|
102
102
|
border-radius: 6px;
|
|
103
|
-
background: var(--color-
|
|
103
|
+
background: var(--color-surface-muted);
|
|
104
104
|
color: var(--task-meta-text);
|
|
105
105
|
font-size: var(--text-sm);
|
|
106
106
|
line-height: 1.5;
|
|
@@ -113,7 +113,7 @@ tv-task:has(tv-task-checkbox[disabled]) tv-task-title {
|
|
|
113
113
|
|
|
114
114
|
/* ---- List container ----
|
|
115
115
|
No frame of its own: the artifact page is the surface, and Television's
|
|
116
|
-
artifact
|
|
116
|
+
artifact frame supplies the chrome around the document. */
|
|
117
117
|
|
|
118
118
|
tv-task-list {
|
|
119
119
|
display: block;
|
|
@@ -191,9 +191,8 @@ tv-task[highlighted] {
|
|
|
191
191
|
The canonical theme is light-only, so the skill carries its own dark token
|
|
192
192
|
set, applied when the document has data-theme="dark". */
|
|
193
193
|
[data-theme="dark"] {
|
|
194
|
-
--color-bg: var(--neutral-950);
|
|
195
|
-
--color-bg-muted: var(--neutral-900);
|
|
196
194
|
--color-surface: var(--neutral-800);
|
|
195
|
+
--color-surface-muted: var(--neutral-900);
|
|
197
196
|
--color-text: var(--neutral-50);
|
|
198
197
|
--color-text-muted: var(--neutral-400);
|
|
199
198
|
/* Re-derive: custom properties resolve where declared, so without this the
|
|
@@ -178,7 +178,7 @@ const CHECKBOX_STYLES = `
|
|
|
178
178
|
}
|
|
179
179
|
input:active ~ .mark { transform: scale(0.9); }
|
|
180
180
|
input:focus-visible ~ .mark {
|
|
181
|
-
outline: 2px solid var(--color-
|
|
181
|
+
outline: 2px solid var(--color-primary);
|
|
182
182
|
outline-offset: 2px;
|
|
183
183
|
}
|
|
184
184
|
|
|
@@ -253,7 +253,7 @@ __publicField(TaskCheckboxElement, "observedAttributes", ["checked", "disabled"]
|
|
|
253
253
|
if (!customElements.get("tv-task-checkbox")) {
|
|
254
254
|
customElements.define("tv-task-checkbox", TaskCheckboxElement);
|
|
255
255
|
}
|
|
256
|
-
const CALENDAR_ICON = `<tv-icon name="calendar
|
|
256
|
+
const CALENDAR_ICON = `<tv-icon name="calendar" size="sm" aria-hidden="true"></tv-icon>`;
|
|
257
257
|
const DUE_STYLES = `
|
|
258
258
|
:host {
|
|
259
259
|
display: inline-flex;
|
|
@@ -261,9 +261,6 @@ const DUE_STYLES = `
|
|
|
261
261
|
gap: 4px;
|
|
262
262
|
color: currentColor;
|
|
263
263
|
}
|
|
264
|
-
tv-icon {
|
|
265
|
-
flex: none;
|
|
266
|
-
}
|
|
267
264
|
`;
|
|
268
265
|
class TaskMetaDueElement extends HTMLElement {
|
|
269
266
|
constructor() {
|