@telepath-computer/television 0.1.177 → 0.1.179

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 (38) hide show
  1. package/dist/canonical/v1/components.js +25 -7
  2. package/dist/canonical/v1/styles.css +17 -1
  3. package/dist/cli.cjs +1187 -392
  4. package/dist/onboarding/README.md +35 -0
  5. package/dist/onboarding/business-ops/about.html +150 -0
  6. package/dist/onboarding/business-ops/retention-vs-releases.html +572 -0
  7. package/dist/onboarding/business-ops/revenue-vs-goals.html +621 -0
  8. package/dist/onboarding/onboarding-screens.json +167 -0
  9. package/dist/onboarding/productivity/about.html +149 -0
  10. package/dist/onboarding/productivity/company-todos/index.html +121 -0
  11. package/dist/onboarding/productivity/company-todos/task.css +205 -0
  12. package/dist/onboarding/productivity/company-todos/task.js +307 -0
  13. package/dist/onboarding/productivity/meeting-prep.html +440 -0
  14. package/dist/onboarding/productivity/priorities-today.html +409 -0
  15. package/dist/onboarding/productivity/todays-calendar/calendar.css +1 -0
  16. package/dist/onboarding/productivity/todays-calendar/calendar.js +716 -0
  17. package/dist/onboarding/productivity/todays-calendar/index.html +52 -0
  18. package/dist/onboarding/research/about.html +152 -0
  19. package/dist/onboarding/research/draft-blog-post.md +30 -0
  20. package/dist/onboarding/research/open-model-research.html +542 -0
  21. package/dist/onboarding/research/todays-news.html +503 -0
  22. package/dist/onboarding/{television-onboarding → tv-guide/welcome}/index.html +5 -5
  23. package/dist/skills/television/SKILL.md +44 -0
  24. package/dist/skills/tv-tasks/SKILL.md +241 -0
  25. package/dist/skills/tv-tasks/task.css +205 -0
  26. package/dist/skills/tv-tasks/task.js +307 -0
  27. package/dist/views/markdown/index.html +1 -1
  28. package/dist/web/assets/calendar-DToAnkzj.png +0 -0
  29. package/dist/web/assets/main-5017mprd.css +1 -0
  30. package/dist/web/assets/main-C-OjKUzX.js +865 -0
  31. package/dist/web/assets/markdown-DdDrJuVK.png +0 -0
  32. package/dist/web/assets/table-oeG9uAN1.png +0 -0
  33. package/dist/web/assets/tasks-D4xqXFPl.png +0 -0
  34. package/dist/web/index.html +2 -2
  35. package/package.json +1 -1
  36. package/dist/web/assets/main-BSAIRhnY.js +0 -768
  37. package/dist/web/assets/main-o9Z-XUYA.css +0 -1
  38. /package/dist/onboarding/{television-onboarding → tv-guide/welcome}/assets/television.svg +0 -0
@@ -158,6 +158,15 @@ const DEFAULT_ICON_SIZE = 16;
158
158
  const MEDIUM_ICON_SIZE = 24;
159
159
  const LARGE_ICON_SIZE = 32;
160
160
  const ICONS = {
161
+ check: {
162
+ regular: `<path d="M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"/>`,
163
+ },
164
+ "copy-simple": {
165
+ regular: `<path d="M184,64H40a8,8,0,0,0-8,8V216a8,8,0,0,0,8,8H184a8,8,0,0,0,8-8V72A8,8,0,0,0,184,64Zm-8,144H48V80H176ZM224,40V184a8,8,0,0,1-16,0V48H72a8,8,0,0,1,0-16H216A8,8,0,0,1,224,40Z"/>`,
166
+ },
167
+ "bell-ringing": {
168
+ regular: `<path d="M224,71.1a8,8,0,0,1-10.78-3.42,94.13,94.13,0,0,0-33.46-36.91,8,8,0,1,1,8.54-13.54,111.46,111.46,0,0,1,39.12,43.09A8,8,0,0,1,224,71.1ZM35.71,72a8,8,0,0,0,7.1-4.32A94.13,94.13,0,0,1,76.27,30.77a8,8,0,1,0-8.54-13.54A111.46,111.46,0,0,0,28.61,60.32,8,8,0,0,0,35.71,72Zm186.1,103.94A16,16,0,0,1,208,200H167.2a40,40,0,0,1-78.4,0H48a16,16,0,0,1-13.79-24.06C43.22,160.39,48,138.28,48,112a80,80,0,0,1,160,0C208,138.27,212.78,160.38,221.81,175.94ZM150.62,200H105.38a24,24,0,0,0,45.24,0ZM208,184c-10.64-18.27-16-42.49-16-72a64,64,0,0,0-128,0c0,29.52-5.38,53.74-16,72Z"/>`,
169
+ },
161
170
  plus: {
162
171
  regular: `<path d="M224,128a8,8,0,0,1-8,8H136v80a8,8,0,0,1-16,0V136H40a8,8,0,0,1,0-16h80V40a8,8,0,0,1,16,0v80h80A8,8,0,0,1,224,128Z"/>`,
163
172
  bold: `<path d="M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"/>`,
@@ -173,14 +182,23 @@ const ICONS = {
173
182
  regular: `<path d="M104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48Z"/>`,
174
183
  duotone: `<path d="M112,56v48a8,8,0,0,1-8,8H56a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8h48A8,8,0,0,1,112,56Zm88-8H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V56A8,8,0,0,0,200,48Zm-96,96H56a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,104,144Zm96,0H152a8,8,0,0,0-8,8v48a8,8,0,0,0,8,8h48a8,8,0,0,0,8-8V152A8,8,0,0,0,200,144Z" opacity="0.2"/><path d="M200,136H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,200,136Zm0,64H152V152h48v48ZM104,40H56A16,16,0,0,0,40,56v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,104,40Zm0,64H56V56h48v48Zm96-64H152a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V56A16,16,0,0,0,200,40Zm0,64H152V56h48v48Zm-96,32H56a16,16,0,0,0-16,16v48a16,16,0,0,0,16,16h48a16,16,0,0,0,16-16V152A16,16,0,0,0,104,136Zm0,64H56V152h48v48Z"/>`,
175
184
  },
185
+ shapes: {
186
+ regular: `<path fill="none" stroke="currentColor" stroke-width="16" stroke-linecap="round" stroke-linejoin="round" d="M24 184L64 64L104 184H24Z"/><circle cx="156" cy="76" r="44" fill="none" stroke="currentColor" stroke-width="16"/><rect x="136" y="152" width="88" height="56" rx="8" fill="none" stroke="currentColor" stroke-width="16" stroke-linejoin="round"/>`,
187
+ },
188
+ "calendar-blank": {
189
+ regular: `<path d="M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"/>`,
190
+ },
191
+ hash: {
192
+ regular: `<path d="M224,88H175.4l8.47-46.57a8,8,0,0,0-15.74-2.86l-9,49.43H111.4l8.47-46.57a8,8,0,0,0-15.74-2.86L95.14,88H48a8,8,0,0,0,0,16H92.23L83.5,152H32a8,8,0,0,0,0,16H80.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,80,224a8,8,0,0,0,7.86-6.57l9-49.43H144.6l-8.47,46.57a8,8,0,0,0,6.44,9.3A7.79,7.79,0,0,0,144,224a8,8,0,0,0,7.86-6.57l9-49.43H208a8,8,0,0,0,0-16H163.77l8.73-48H224a8,8,0,0,0,0-16Zm-76.5,64H99.77l8.73-48h47.73Z"/>`,
193
+ },
176
194
  };
177
195
  const STYLES = `
178
196
  :host {
179
197
  display: inline-flex;
180
- width: var(--ui-icon-size, 1em);
181
- height: var(--ui-icon-size, 1em);
198
+ width: var(--tv-icon-size, 1em);
199
+ height: var(--tv-icon-size, 1em);
182
200
  vertical-align: -0.125em;
183
- color: var(--ui-icon-color, currentColor);
201
+ color: var(--tv-icon-color, currentColor);
184
202
  }
185
203
 
186
204
  svg {
@@ -191,7 +209,7 @@ const STYLES = `
191
209
  }
192
210
  `;
193
211
  function isIconName(value) {
194
- return value === "plus" || value === "subtract-square" || value === "squares-four" || value === "television";
212
+ return value !== null && Object.hasOwn(ICONS, value);
195
213
  }
196
214
  function isIconWeight(value) {
197
215
  return value === "regular" || value === "bold" || value === "duotone";
@@ -219,7 +237,7 @@ export class IconElement extends HTMLElement {
219
237
  <style>${STYLES}</style>
220
238
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" aria-hidden="true" focusable="false">${source}</svg>
221
239
  `;
222
- this.style.setProperty("--ui-icon-size", `${size}px`);
240
+ this.style.setProperty("--tv-icon-size", `${size}px`);
223
241
  }
224
242
  #name() {
225
243
  const value = this.getAttribute("name");
@@ -234,7 +252,7 @@ export class IconElement extends HTMLElement {
234
252
  return value === MEDIUM_ICON_SIZE || value === LARGE_ICON_SIZE ? value : DEFAULT_ICON_SIZE;
235
253
  }
236
254
  }
237
- if (!customElements.get("ui-icon")) {
238
- customElements.define("ui-icon", IconElement);
255
+ if (!customElements.get("tv-icon")) {
256
+ customElements.define("tv-icon", IconElement);
239
257
  }
240
258
 
@@ -327,7 +327,11 @@ body {
327
327
  line-height: var(--leading-base);
328
328
  letter-spacing: 0.015em;
329
329
  color: var(--color-text);
330
- background: var(--color-bg);
330
+ /* The artifact page is the card surface — Television's artifact-view frames
331
+ the whole document as a card, so the default page background is the
332
+ surface color. A muted backdrop (--color-bg) is something an artifact
333
+ opts into, not the default. */
334
+ background: var(--color-surface);
331
335
  -webkit-font-smoothing: antialiased;
332
336
  -moz-osx-font-smoothing: grayscale;
333
337
  }
@@ -378,6 +382,18 @@ table {
378
382
  margin-top: var(--space-8);
379
383
  }
380
384
 
385
+ /* Page-header idiom: a <header> holds a heading and optionally one <p>
386
+ subtitle — a date line, a description. A paragraph inside any header is a
387
+ subtitle: slightly smaller than body prose, at body weight, hugging its
388
+ heading — proximity and the heading above do the differentiating. */
389
+ header p {
390
+ font-size: var(--text-base);
391
+ font-weight: var(--font-weight-body);
392
+ }
393
+ header :is(h1, h2, h3, h4, h5, h6) + p {
394
+ margin-top: var(--space-2);
395
+ }
396
+
381
397
  ul,
382
398
  ol {
383
399
  padding-left: var(--space-24);