@telepath-computer/television 1.5.9 → 1.6.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/dist/THIRD-PARTY-NOTICES.txt +701 -0
- package/dist/cli.cjs +9035 -596
- package/dist/onboarding/tv-guide/welcome.html +14 -4
- package/dist/skills/television/SKILL.md +39 -33
- package/dist/skills/television/resources.md +4 -4
- package/dist/skills/television/templates.md +77 -0
- package/dist/skills/television/theming.md +31 -17
- package/dist/templates/calendar/README.md +17 -0
- package/dist/{skills/tv-tasks → templates/calendar}/THIRD-PARTY-NOTICES.txt +22 -22
- package/dist/templates/calendar/calendar-attendees.js +131 -0
- package/dist/templates/calendar/calendar-event.js +22 -0
- package/dist/templates/calendar/calendar-motion.js +273 -0
- package/dist/templates/calendar/calendar-page.js +403 -0
- package/dist/templates/calendar/calendar-time-axis.js +32 -0
- package/dist/templates/calendar/calendar-week.js +711 -0
- package/dist/templates/calendar/data.json +3 -0
- package/dist/templates/calendar/icon.svg +1 -0
- package/dist/templates/calendar/index.html +27 -0
- package/dist/templates/calendar/manifest.json +148 -0
- package/dist/templates/calendar/styles.css +771 -0
- package/dist/templates/checklist/README.md +45 -0
- package/dist/templates/checklist/THIRD-PARTY-NOTICES.txt +29 -0
- package/dist/templates/checklist/data.json +1 -0
- package/dist/templates/checklist/icon.svg +8 -0
- package/dist/templates/checklist/icons.css +61 -0
- package/dist/templates/checklist/index.html +47 -0
- package/dist/templates/checklist/manifest.json +49 -0
- package/dist/templates/checklist/model.d.ts +30 -0
- package/dist/templates/checklist/model.js +60 -0
- package/dist/templates/checklist/page.js +425 -0
- package/dist/templates/checklist/styles.css +206 -0
- package/dist/templates/document/README.md +55 -0
- package/dist/templates/document/THIRD-PARTY-NOTICES.txt +1080 -0
- package/dist/templates/document/data.json +3 -0
- package/dist/templates/document/editor.css +1 -0
- package/dist/templates/document/editor.js +37 -0
- package/dist/templates/document/icon.svg +6 -0
- package/dist/templates/document/index.html +29 -0
- package/dist/templates/document/manifest.json +22 -0
- package/dist/templates/document/page.js +190 -0
- package/dist/templates/document/styles.css +76 -0
- package/dist/templates/map/README.md +85 -0
- package/dist/templates/map/THIRD-PARTY-NOTICES.txt +84 -0
- package/dist/templates/map/data.json +1 -0
- package/dist/templates/map/icon.svg +8 -0
- package/dist/templates/map/icons.svg +43 -0
- package/dist/templates/map/index.html +95 -0
- package/dist/templates/map/manifest.json +227 -0
- package/dist/templates/map/map-model.js +18 -0
- package/dist/templates/map/map.css +202 -0
- package/dist/templates/map/map.js +728 -0
- package/dist/templates/map/vendor/LICENSE +26 -0
- package/dist/templates/map/vendor/README.md +11 -0
- package/dist/templates/map/vendor/leaflet.css +661 -0
- package/dist/templates/map/vendor/leaflet.js +6 -0
- package/dist/templates/map/vendor/lucide/LICENSE +43 -0
- package/dist/templates/map/vendor/lucide/README.md +46 -0
- package/dist/templates/map/vendor/lucide/icons.js +832 -0
- package/dist/templates/map/vendor/lucide/svg/airport.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/bar.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/beach.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/bridge.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/bus.svg +21 -0
- package/dist/templates/map/vendor/lucide/svg/church.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/coffee.svg +18 -0
- package/dist/templates/map/vendor/lucide/svg/ferry.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/flag.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/heart.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/home.svg +16 -0
- package/dist/templates/map/vendor/lucide/svg/hospital.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/hotel.svg +24 -0
- package/dist/templates/map/vendor/lucide/svg/info.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/landmark.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/mountain.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/museum.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/music.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/park.svg +18 -0
- package/dist/templates/map/vendor/lucide/svg/parking.svg +16 -0
- package/dist/templates/map/vendor/lucide/svg/pin.svg +16 -0
- package/dist/templates/map/vendor/lucide/svg/restaurant.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/school.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/shop.svg +17 -0
- package/dist/templates/map/vendor/lucide/svg/sports.svg +19 -0
- package/dist/templates/map/vendor/lucide/svg/star.svg +15 -0
- package/dist/templates/map/vendor/lucide/svg/theatre.svg +23 -0
- package/dist/templates/map/vendor/lucide/svg/train.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/viewpoint.svg +20 -0
- package/dist/templates/map/vendor/lucide/svg/work.svg +18 -0
- package/dist/templates/sticky-note/Caveat-Medium.woff2 +0 -0
- package/dist/templates/sticky-note/README.md +47 -0
- package/dist/templates/sticky-note/THIRD-PARTY-NOTICES.txt +127 -0
- package/dist/templates/sticky-note/data.json +1 -0
- package/dist/templates/sticky-note/icon.svg +16 -0
- package/dist/templates/sticky-note/icons.css +61 -0
- package/dist/templates/sticky-note/index.html +31 -0
- package/dist/templates/sticky-note/manifest.json +27 -0
- package/dist/templates/sticky-note/model.d.ts +33 -0
- package/dist/templates/sticky-note/model.js +152 -0
- package/dist/templates/sticky-note/page.js +84 -0
- package/dist/templates/sticky-note/styles.css +140 -0
- package/dist/templates/table/README.md +107 -0
- package/dist/templates/table/data.json +4 -0
- package/dist/templates/table/icon.svg +6 -0
- package/dist/templates/table/index.html +15 -0
- package/dist/templates/table/manifest.json +70 -0
- package/dist/templates/table/model.d.ts +164 -0
- package/dist/templates/table/model.js +395 -0
- package/dist/templates/table/page.js +1045 -0
- package/dist/templates/table/selection-model.d.ts +67 -0
- package/dist/templates/table/selection-model.js +163 -0
- package/dist/templates/table/styles.css +522 -0
- package/dist/views/markdown/THIRD-PARTY-NOTICES.txt +408 -0
- package/dist/views/markdown/index.html +21 -21
- package/dist/web/assets/main-CRSNodQt.js +864 -0
- package/dist/web/assets/main-DnvQkpg4.css +1 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/dist/skills/tv-calendar/SKILL.md +0 -100
- package/dist/skills/tv-calendar/calendar.css +0 -1
- package/dist/skills/tv-calendar/calendar.js +0 -400
- package/dist/skills/tv-table/SKILL.md +0 -95
- package/dist/skills/tv-tasks/SKILL.md +0 -269
- package/dist/skills/tv-tasks/task.css +0 -180
- package/dist/skills/tv-tasks/task.js +0 -304
- package/dist/web/assets/calendar-DToAnkzj.png +0 -0
- package/dist/web/assets/main-CPopSWec.js +0 -848
- package/dist/web/assets/main-CunC2_Nx.css +0 -1
- package/dist/web/assets/markdown-DdDrJuVK.png +0 -0
- package/dist/web/assets/table-oeG9uAN1.png +0 -0
- package/dist/web/assets/tasks-D4xqXFPl.png +0 -0
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
/* The Table template page: a quiet spreadsheet grid with reference strips,
|
|
2
|
+
direct editing, and foundation-based selection treatments. */
|
|
3
|
+
|
|
4
|
+
* { box-sizing: border-box; }
|
|
5
|
+
|
|
6
|
+
html,
|
|
7
|
+
body { height: 100%; }
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
margin: 0;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
background: var(--color-surface);
|
|
13
|
+
color: var(--color-text);
|
|
14
|
+
font-family: var(--font-sans);
|
|
15
|
+
font-size: var(--text-md);
|
|
16
|
+
line-height: 1.4;
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
button,
|
|
21
|
+
input,
|
|
22
|
+
textarea {
|
|
23
|
+
color: inherit;
|
|
24
|
+
font: inherit;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.table-page {
|
|
28
|
+
--reference-size: 26px;
|
|
29
|
+
--reference-add-size: 26px;
|
|
30
|
+
--reference-gap: 8px;
|
|
31
|
+
--row-reference-extra-digit-width: 7px;
|
|
32
|
+
--table-content-padding: var(--space-16);
|
|
33
|
+
|
|
34
|
+
display: flex;
|
|
35
|
+
height: 100vh;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
min-height: 0;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
background: var(--color-surface);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.table-frame {
|
|
43
|
+
flex: 1;
|
|
44
|
+
min-width: 0;
|
|
45
|
+
min-height: 0;
|
|
46
|
+
overflow: hidden;
|
|
47
|
+
outline: none;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.table-scroll {
|
|
51
|
+
width: 100%;
|
|
52
|
+
height: 100%;
|
|
53
|
+
overflow: auto;
|
|
54
|
+
scrollbar-color: var(--neutral-alpha-50) transparent;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.table-sheet {
|
|
58
|
+
--table-grid-outer-width: calc(var(--table-grid-width) + 2px);
|
|
59
|
+
--table-row-reference-width: calc(
|
|
60
|
+
var(--reference-size)
|
|
61
|
+
+ (var(--table-row-reference-digits, 1) - 1) * var(--row-reference-extra-digit-width)
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
display: grid;
|
|
65
|
+
width: max-content;
|
|
66
|
+
min-height: 100%;
|
|
67
|
+
min-width: calc(
|
|
68
|
+
var(--table-grid-outer-width)
|
|
69
|
+
+ var(--table-row-reference-width)
|
|
70
|
+
+ var(--reference-gap)
|
|
71
|
+
+ var(--reference-add-size)
|
|
72
|
+
+ var(--table-content-padding)
|
|
73
|
+
+ var(--table-content-padding)
|
|
74
|
+
);
|
|
75
|
+
padding: var(--table-content-padding);
|
|
76
|
+
grid-template-columns: var(--table-row-reference-width) var(--table-grid-outer-width);
|
|
77
|
+
grid-template-rows: var(--reference-size) max-content;
|
|
78
|
+
gap: var(--reference-gap);
|
|
79
|
+
align-content: start;
|
|
80
|
+
justify-content: start;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.table-page[data-editable="false"] .table-sheet { --reference-add-size: 0px; }
|
|
84
|
+
|
|
85
|
+
.table-reference-corner {
|
|
86
|
+
position: sticky;
|
|
87
|
+
top: 0;
|
|
88
|
+
left: 0;
|
|
89
|
+
z-index: 6;
|
|
90
|
+
grid-column: 1;
|
|
91
|
+
grid-row: 1;
|
|
92
|
+
background: var(--color-surface);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* The corner and row strip have no border, so their bands begin at 100%.
|
|
96
|
+
The column strip's bands begin one pixel later, outside its border. */
|
|
97
|
+
.table-reference-corner::after {
|
|
98
|
+
position: absolute;
|
|
99
|
+
top: 100%;
|
|
100
|
+
right: calc(-1 * var(--reference-gap));
|
|
101
|
+
left: 0;
|
|
102
|
+
height: var(--reference-gap);
|
|
103
|
+
background: var(--color-surface);
|
|
104
|
+
content: "";
|
|
105
|
+
pointer-events: auto;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.table-column-strip::after {
|
|
109
|
+
position: absolute;
|
|
110
|
+
top: calc(100% + 1px);
|
|
111
|
+
right: -1px;
|
|
112
|
+
left: -1px;
|
|
113
|
+
height: var(--reference-gap);
|
|
114
|
+
background: var(--color-surface);
|
|
115
|
+
content: "";
|
|
116
|
+
pointer-events: auto;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.table-reference-corner::before {
|
|
120
|
+
position: absolute;
|
|
121
|
+
top: 0;
|
|
122
|
+
bottom: 0;
|
|
123
|
+
left: 100%;
|
|
124
|
+
width: var(--reference-gap);
|
|
125
|
+
background: var(--color-surface);
|
|
126
|
+
content: "";
|
|
127
|
+
pointer-events: auto;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.table-row-strip::before {
|
|
131
|
+
position: absolute;
|
|
132
|
+
top: -1px;
|
|
133
|
+
bottom: -1px;
|
|
134
|
+
left: 100%;
|
|
135
|
+
width: var(--reference-gap);
|
|
136
|
+
background: var(--color-surface);
|
|
137
|
+
content: "";
|
|
138
|
+
pointer-events: auto;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.table-column-strip {
|
|
142
|
+
position: sticky;
|
|
143
|
+
top: 0;
|
|
144
|
+
z-index: 5;
|
|
145
|
+
display: flex;
|
|
146
|
+
width: calc(var(--table-grid-outer-width) + var(--reference-add-size));
|
|
147
|
+
height: var(--reference-size);
|
|
148
|
+
overflow: visible;
|
|
149
|
+
border: 1px solid transparent;
|
|
150
|
+
border-radius: var(--control-radius);
|
|
151
|
+
background: var(--color-surface);
|
|
152
|
+
outline: 1px solid var(--color-border);
|
|
153
|
+
outline-offset: -1px;
|
|
154
|
+
grid-column: 2;
|
|
155
|
+
grid-row: 1;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.table-column-strip::before {
|
|
159
|
+
position: absolute;
|
|
160
|
+
z-index: -1;
|
|
161
|
+
inset: 0 -1px;
|
|
162
|
+
background: var(--color-surface);
|
|
163
|
+
content: "";
|
|
164
|
+
pointer-events: none;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.table-column-reference-item,
|
|
168
|
+
.table-column-add-item {
|
|
169
|
+
position: relative;
|
|
170
|
+
display: flex;
|
|
171
|
+
height: 100%;
|
|
172
|
+
flex: none;
|
|
173
|
+
align-items: center;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.table-column-add-item { width: var(--reference-add-size); }
|
|
178
|
+
|
|
179
|
+
.table-column-strip > * + * { border-left: 1px solid var(--color-border); }
|
|
180
|
+
|
|
181
|
+
.table-row-strip {
|
|
182
|
+
position: sticky;
|
|
183
|
+
left: 0;
|
|
184
|
+
z-index: 4;
|
|
185
|
+
display: flex;
|
|
186
|
+
width: var(--table-row-reference-width);
|
|
187
|
+
overflow: visible;
|
|
188
|
+
border-radius: var(--control-radius);
|
|
189
|
+
background: var(--color-surface);
|
|
190
|
+
flex-direction: column;
|
|
191
|
+
grid-column: 1;
|
|
192
|
+
grid-row: 2;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.table-row-strip::after {
|
|
196
|
+
position: absolute;
|
|
197
|
+
z-index: -1;
|
|
198
|
+
inset: -1px 0;
|
|
199
|
+
background: var(--color-surface);
|
|
200
|
+
content: "";
|
|
201
|
+
pointer-events: none;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.table-row-reference-item,
|
|
205
|
+
.table-row-add-item {
|
|
206
|
+
border-right: 1px solid var(--color-border);
|
|
207
|
+
border-left: 1px solid var(--color-border);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.table-row-reference-item {
|
|
211
|
+
position: relative;
|
|
212
|
+
display: flex;
|
|
213
|
+
width: 100%;
|
|
214
|
+
height: var(--table-current-row-height);
|
|
215
|
+
flex: none;
|
|
216
|
+
align-items: center;
|
|
217
|
+
border-bottom: 1px solid var(--color-border);
|
|
218
|
+
justify-content: center;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.table-row-reference-item:first-child {
|
|
222
|
+
border-top: 1px solid var(--color-border);
|
|
223
|
+
border-radius: var(--control-radius) var(--control-radius) 0 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.table-page[data-header-row="true"] .table-row-reference-item:first-child {
|
|
227
|
+
position: sticky;
|
|
228
|
+
top: calc(var(--reference-size) + var(--reference-gap));
|
|
229
|
+
z-index: 3;
|
|
230
|
+
background: var(--color-surface);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.table-row-add-item {
|
|
234
|
+
display: flex;
|
|
235
|
+
width: 100%;
|
|
236
|
+
height: var(--reference-add-size);
|
|
237
|
+
flex: none;
|
|
238
|
+
align-items: center;
|
|
239
|
+
justify-content: center;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.table-row-strip > :last-child {
|
|
243
|
+
border-bottom: 1px solid var(--color-border);
|
|
244
|
+
border-radius: 0 0 var(--control-radius) var(--control-radius);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.table-column-resize-handle,
|
|
248
|
+
.table-row-resize-handle {
|
|
249
|
+
position: absolute;
|
|
250
|
+
z-index: 2;
|
|
251
|
+
touch-action: none;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.table-column-resize-handle {
|
|
255
|
+
top: 0;
|
|
256
|
+
right: -5px;
|
|
257
|
+
width: 10px;
|
|
258
|
+
height: 100%;
|
|
259
|
+
cursor: col-resize;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.table-row-resize-handle {
|
|
263
|
+
right: 0;
|
|
264
|
+
bottom: -5px;
|
|
265
|
+
width: 100%;
|
|
266
|
+
height: 10px;
|
|
267
|
+
cursor: row-resize;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.table-reference-item {
|
|
271
|
+
width: 100%;
|
|
272
|
+
height: 100%;
|
|
273
|
+
padding: 0;
|
|
274
|
+
border: 0;
|
|
275
|
+
border-radius: 0;
|
|
276
|
+
background: transparent;
|
|
277
|
+
color: var(--color-text-muted);
|
|
278
|
+
font-size: var(--text-sm);
|
|
279
|
+
font-weight: var(--font-weight-normal);
|
|
280
|
+
line-height: 1;
|
|
281
|
+
text-align: center;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.table-reference-item:hover {
|
|
285
|
+
background: var(--tint-hover);
|
|
286
|
+
color: var(--color-text);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.table-reference-item:focus-visible {
|
|
290
|
+
outline: var(--outline-focus);
|
|
291
|
+
outline-offset: -3px;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
.table-reference-item[data-emphasis="related"] {
|
|
295
|
+
background: var(--tint-hover);
|
|
296
|
+
color: var(--color-text);
|
|
297
|
+
font-weight: var(--font-weight-medium);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.table-reference-item[data-emphasis="selected"] {
|
|
301
|
+
background: var(--color-primary);
|
|
302
|
+
color: var(--color-primary-text);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.table-column-strip > :first-child .table-reference-item {
|
|
306
|
+
border-radius: var(--control-radius) 0 0 var(--control-radius);
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.table-column-strip > :last-child .table-reference-item {
|
|
310
|
+
border-radius: 0 var(--control-radius) var(--control-radius) 0;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.table-row-strip > :first-child .table-reference-item {
|
|
314
|
+
border-radius: var(--control-radius) var(--control-radius) 0 0;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.table-row-strip > :last-child .table-reference-item {
|
|
318
|
+
border-radius: 0 0 var(--control-radius) var(--control-radius);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
.table-add-item {
|
|
322
|
+
color: var(--color-text-muted);
|
|
323
|
+
font-size: var(--text-lg);
|
|
324
|
+
opacity: 0.62;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.table-add-item:hover,
|
|
328
|
+
.table-add-item:focus-visible { opacity: 1; }
|
|
329
|
+
|
|
330
|
+
.table-grid {
|
|
331
|
+
width: var(--table-grid-outer-width);
|
|
332
|
+
align-self: start;
|
|
333
|
+
grid-column: 2;
|
|
334
|
+
grid-row: 2;
|
|
335
|
+
border-spacing: 0;
|
|
336
|
+
border-collapse: separate;
|
|
337
|
+
border-right: 1px solid var(--color-border);
|
|
338
|
+
border-left: 1px solid var(--color-border);
|
|
339
|
+
table-layout: fixed;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.table-grid tbody td + td { border-left: 1px solid var(--color-border); }
|
|
343
|
+
.table-grid tbody tr:first-child .table-cell {
|
|
344
|
+
padding-top: 8px;
|
|
345
|
+
border-top: 1px solid var(--color-border);
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.table-cell {
|
|
349
|
+
position: relative;
|
|
350
|
+
height: var(--table-current-row-height);
|
|
351
|
+
padding: 9px var(--space-12) 0;
|
|
352
|
+
overflow: hidden;
|
|
353
|
+
border-bottom: 1px solid var(--color-border);
|
|
354
|
+
line-height: 18px;
|
|
355
|
+
text-align: left;
|
|
356
|
+
text-overflow: ellipsis;
|
|
357
|
+
vertical-align: top;
|
|
358
|
+
white-space: nowrap;
|
|
359
|
+
cursor: cell;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.table-cell[data-header="true"] {
|
|
363
|
+
position: sticky;
|
|
364
|
+
top: calc(var(--reference-size) + var(--reference-gap));
|
|
365
|
+
z-index: 2;
|
|
366
|
+
background: var(--color-surface-muted);
|
|
367
|
+
font-weight: var(--font-weight-medium);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.table-cell[data-selection="range"] { background: var(--tint-primary) !important; }
|
|
371
|
+
|
|
372
|
+
.table-cell[data-header="true"][data-selection="range"] {
|
|
373
|
+
background: linear-gradient(var(--tint-primary), var(--tint-primary)), var(--color-surface-muted) !important;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.table-cell[data-selection="cell"] {
|
|
377
|
+
z-index: 1;
|
|
378
|
+
background: color-mix(in oklab, var(--color-primary) 9%, var(--color-surface));
|
|
379
|
+
box-shadow: inset 0 0 0 2px var(--color-primary);
|
|
380
|
+
outline: none;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.table-cell[data-header="true"][data-selection="cell"] { z-index: 3; }
|
|
384
|
+
|
|
385
|
+
.table-cell[data-selection="cell"]:focus-visible {
|
|
386
|
+
box-shadow: inset 0 0 0 2px var(--color-primary), inset 0 0 0 4px var(--color-surface);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.table-cell > span {
|
|
390
|
+
display: block;
|
|
391
|
+
overflow: hidden;
|
|
392
|
+
text-overflow: ellipsis;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.table-input {
|
|
396
|
+
display: block;
|
|
397
|
+
min-width: 0;
|
|
398
|
+
overflow: hidden;
|
|
399
|
+
border: 0;
|
|
400
|
+
border-radius: 0;
|
|
401
|
+
background: var(--color-surface);
|
|
402
|
+
color: var(--color-text);
|
|
403
|
+
outline: var(--outline-focus) !important;
|
|
404
|
+
outline-offset: -2px !important;
|
|
405
|
+
resize: none;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.table-cell-input {
|
|
409
|
+
position: absolute;
|
|
410
|
+
top: 0;
|
|
411
|
+
left: 0;
|
|
412
|
+
width: 100%;
|
|
413
|
+
height: 100%;
|
|
414
|
+
margin: 0;
|
|
415
|
+
padding: 9px var(--space-12) 0;
|
|
416
|
+
line-height: 18px;
|
|
417
|
+
white-space: pre;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.table-grid tbody tr:first-child .table-cell-input { padding-top: 8px; }
|
|
421
|
+
|
|
422
|
+
.table-cell[data-header="true"] .table-input { background: var(--color-surface-muted); }
|
|
423
|
+
|
|
424
|
+
.table-page:has(.table-row-context-menu) .table-row-strip .table-reference-item[aria-expanded="true"],
|
|
425
|
+
.table-page:has(.table-column-context-menu) .table-column-strip .table-reference-item[aria-expanded="true"] {
|
|
426
|
+
anchor-name: --table-context-trigger;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
.table-context-menu {
|
|
430
|
+
position: fixed;
|
|
431
|
+
position-anchor: --table-context-trigger;
|
|
432
|
+
top: calc(anchor(bottom) + var(--popover-distance));
|
|
433
|
+
left: anchor(left);
|
|
434
|
+
z-index: var(--layer-panel);
|
|
435
|
+
width: 216px;
|
|
436
|
+
overflow: auto;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.table-status {
|
|
440
|
+
flex: none;
|
|
441
|
+
min-height: 34px;
|
|
442
|
+
padding: var(--space-8) var(--space-16);
|
|
443
|
+
border-top: 1px solid var(--color-border);
|
|
444
|
+
color: var(--color-text-muted);
|
|
445
|
+
font-size: var(--text-sm);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
.table-resize-announcement {
|
|
449
|
+
position: absolute;
|
|
450
|
+
width: 1px;
|
|
451
|
+
height: 1px;
|
|
452
|
+
margin: -1px;
|
|
453
|
+
padding: 0;
|
|
454
|
+
border: 0;
|
|
455
|
+
overflow: hidden;
|
|
456
|
+
clip: rect(0 0 0 0);
|
|
457
|
+
clip-path: inset(50%);
|
|
458
|
+
white-space: nowrap;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
.table-status:empty {
|
|
462
|
+
min-height: 0;
|
|
463
|
+
padding-block: 0;
|
|
464
|
+
border-top: 0;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.table-loading {
|
|
468
|
+
display: grid;
|
|
469
|
+
flex: 1;
|
|
470
|
+
margin:
|
|
471
|
+
calc(var(--table-content-padding) + var(--reference-size) + var(--reference-gap))
|
|
472
|
+
var(--table-content-padding)
|
|
473
|
+
var(--table-content-padding)
|
|
474
|
+
calc(var(--table-content-padding) + var(--reference-size) + var(--reference-gap));
|
|
475
|
+
border-top: 1px solid var(--color-border);
|
|
476
|
+
color: var(--color-text-muted);
|
|
477
|
+
place-items: center;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.table-unreadable {
|
|
481
|
+
display: flex;
|
|
482
|
+
flex: 1;
|
|
483
|
+
flex-direction: column;
|
|
484
|
+
align-items: center;
|
|
485
|
+
justify-content: center;
|
|
486
|
+
gap: var(--space-8);
|
|
487
|
+
padding: var(--space-48) var(--space-24);
|
|
488
|
+
text-align: center;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.table-unreadable-icon {
|
|
492
|
+
display: grid;
|
|
493
|
+
width: var(--space-64);
|
|
494
|
+
height: var(--space-64);
|
|
495
|
+
margin-bottom: var(--space-12);
|
|
496
|
+
border: 1px solid var(--color-border);
|
|
497
|
+
border-radius: var(--radius-pill);
|
|
498
|
+
background: var(--color-surface);
|
|
499
|
+
color: var(--color-text-muted);
|
|
500
|
+
place-items: center;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.table-unreadable-title {
|
|
504
|
+
margin: 0;
|
|
505
|
+
font-size: var(--text-xl);
|
|
506
|
+
font-weight: var(--font-weight-semibold);
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
.table-unreadable-text {
|
|
510
|
+
max-width: 28em;
|
|
511
|
+
margin: 0;
|
|
512
|
+
color: var(--color-text-muted);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
@media (prefers-reduced-motion: reduce) {
|
|
516
|
+
*,
|
|
517
|
+
*::before,
|
|
518
|
+
*::after {
|
|
519
|
+
animation: none !important;
|
|
520
|
+
transition: none !important;
|
|
521
|
+
}
|
|
522
|
+
}
|