@justanarthur/modo-ui-notch 0.3.0 → 0.4.1
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/blocks/activities/agenda/examples.mdx +8 -0
- package/blocks/activities/agenda/index.tsx +164 -16
- package/blocks/activities/clock/examples.mdx +16 -0
- package/blocks/activities/clock/index.tsx +357 -59
- package/blocks/activities/now-playing/examples.mdx +8 -0
- package/blocks/activities/now-playing/index.tsx +140 -54
- package/blocks/activities/weather/examples.mdx +9 -1
- package/blocks/activities/weather/index.tsx +241 -12
- package/blocks/app/expanded-island/index.tsx +3 -1
- package/blocks/app/settings-window/examples.mdx +8 -0
- package/blocks/app/settings-window/index.tsx +8 -3
- package/blocks/system/clipboard/examples.mdx +8 -0
- package/blocks/system/clipboard/index.tsx +262 -52
- package/blocks/system/recent-files/examples.mdx +14 -0
- package/blocks/system/recent-files/index.tsx +110 -25
- package/blocks/system/system-stats/examples.mdx +8 -0
- package/blocks/system/system-stats/index.tsx +211 -4
- package/components/island/widget/index.tsx +38 -4
- package/dist/blocks/activities/agenda/index.d.ts +2 -1
- package/dist/blocks/activities/agenda/index.js +2 -2
- package/dist/blocks/activities/clock/index.d.ts +2 -1
- package/dist/blocks/activities/clock/index.js +2 -2
- package/dist/blocks/activities/now-playing/index.d.ts +2 -1
- package/dist/blocks/activities/now-playing/index.js +2 -2
- package/dist/blocks/activities/weather/index.d.ts +2 -1
- package/dist/blocks/activities/weather/index.js +2 -2
- package/dist/blocks/app/expanded-island/index.d.ts +1 -1
- package/dist/blocks/app/expanded-island/index.js +1 -1
- package/dist/blocks/app/settings-window/index.d.ts +1 -1
- package/dist/blocks/app/settings-window/index.js +1 -1
- package/dist/blocks/system/clipboard/index.d.ts +2 -1
- package/dist/blocks/system/clipboard/index.js +2 -2
- package/dist/blocks/system/recent-files/index.d.ts +2 -1
- package/dist/blocks/system/recent-files/index.js +2 -2
- package/dist/blocks/system/system-stats/index.d.ts +2 -1
- package/dist/blocks/system/system-stats/index.js +2 -2
- package/dist/components/island/widget/index.d.ts +2 -2
- package/dist/components/island/widget/index.js +3 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.js +12 -10
- package/dist/shared/{chunk-2m5dz8nf.d.ts → chunk-0ym9mcqc.d.ts} +6 -2
- package/dist/shared/{chunk-7fvnrtz4.d.ts → chunk-1v35ck2y.d.ts} +12 -2
- package/dist/shared/{chunk-wkg17nxs.d.ts → chunk-2bqmmfg9.d.ts} +13 -2
- package/dist/shared/{chunk-mt0k6v8x.js → chunk-2nxwdn5s.js} +147 -39
- package/dist/shared/{chunk-pfhy5e4q.d.ts → chunk-6tnq6p89.d.ts} +2 -0
- package/dist/shared/{chunk-bvtyjcce.d.ts → chunk-72s4sqwh.d.ts} +16 -1
- package/dist/shared/{chunk-t0hcxh89.d.ts → chunk-9b8b7fw6.d.ts} +12 -0
- package/dist/shared/{chunk-xq5hc5gv.js → chunk-a059ccj0.js} +177 -66
- package/dist/shared/{chunk-qdzemt2v.js → chunk-cry81asr.js} +401 -89
- package/dist/shared/{chunk-da177e8r.d.ts → chunk-fr9jf804.d.ts} +16 -1
- package/dist/shared/{chunk-9c7ewvkk.js → chunk-kbk4bp6p.js} +162 -19
- package/dist/shared/{chunk-3thgcfcq.d.ts → chunk-kv0w8vhq.d.ts} +18 -1
- package/dist/shared/{chunk-416tsgbc.d.ts → chunk-nqjermbr.d.ts} +25 -3
- package/dist/shared/chunk-p3nezxvx.js +481 -0
- package/dist/shared/{chunk-2818esrq.d.ts → chunk-sen170mz.d.ts} +10 -1
- package/dist/shared/{chunk-9m0xbg5v.js → chunk-wayv5rhr.js} +1 -1
- package/dist/shared/{chunk-ym0xbses.js → chunk-ygnrrqta.js} +274 -18
- package/dist/shared/{chunk-j77cx8dp.js → chunk-yw478nmj.js} +325 -58
- package/dist/shared/{chunk-cc9nwbtf.js → chunk-z3tj1ydg.js} +3 -0
- package/dist/shared/{chunk-x7f3g82r.js → chunk-zxsw11dr.js} +14 -4
- package/dist/styles.css +61 -1
- package/mock/clipboard.tsx +34 -0
- package/mock/clock.tsx +3 -3
- package/mock/data.ts +48 -0
- package/mock/files.tsx +14 -1
- package/mock/island-content.tsx +47 -15
- package/mock/system.ts +3 -0
- package/mock/weather.tsx +42 -12
- package/package.json +2 -2
- package/dist/shared/chunk-s2jeqqan.js +0 -243
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
'use client'
|
|
10
10
|
|
|
11
11
|
import Sparkline, { type SparklineTone } from '@justanarthur/modo-ui/components/data-display/sparkline'
|
|
12
|
-
import
|
|
12
|
+
import Table from '@justanarthur/modo-ui/components/data-display/table'
|
|
13
|
+
import Meter, { type MeterTone } from '@justanarthur/modo-ui/components/feedback/meter'
|
|
13
14
|
import type { SizeVariant } from '@justanarthur/modo-ui/lib/size-context'
|
|
14
15
|
import { cn } from '@justanarthur/modo-ui/lib/utils'
|
|
15
16
|
import {
|
|
@@ -22,9 +23,12 @@ import {
|
|
|
22
23
|
BatteryMedium,
|
|
23
24
|
Cpu,
|
|
24
25
|
HardDrive,
|
|
26
|
+
type LucideIcon,
|
|
25
27
|
MemoryStick,
|
|
28
|
+
Network,
|
|
26
29
|
} from 'lucide-react'
|
|
27
|
-
import
|
|
30
|
+
import type { ReactNode } from 'react'
|
|
31
|
+
import Widget, { type WidgetLayout } from '../../../components/island/widget'
|
|
28
32
|
|
|
29
33
|
/** One reading of the system. */
|
|
30
34
|
interface StatsSample {
|
|
@@ -82,16 +86,20 @@ interface SystemStatsProps {
|
|
|
82
86
|
disk?: StatsDisk
|
|
83
87
|
/** Seconds since the last boot. */
|
|
84
88
|
uptime?: number
|
|
85
|
-
/** The busiest processes, in any order: the top three list beside the hero, by CPU. */
|
|
89
|
+
/** The busiest processes, in any order: the top three list beside the hero, by CPU; the top eight at the tall snap. */
|
|
86
90
|
processes?: StatsProcess[]
|
|
87
91
|
/** Step on the size ladder. Omitted, it follows the surrounding SizeProvider. */
|
|
88
92
|
size?: SizeVariant
|
|
93
|
+
/** `tall` is the open island's tall snap: CPU and memory side by side, each with its trend; the network's in and out as one graph beside the battery and the disk as gauges; and the top eight processes as a table. Defaults to `'fit'`. */
|
|
94
|
+
layout?: WidgetLayout
|
|
89
95
|
/** Classes for the root, which fills its container. */
|
|
90
96
|
className?: string
|
|
91
97
|
}
|
|
92
98
|
|
|
93
99
|
/** Processes listed before the count of the rest. */
|
|
94
100
|
const ROWS = 3
|
|
101
|
+
/** Processes in the tall snap's table. */
|
|
102
|
+
const SHEET_ROWS = 8
|
|
95
103
|
|
|
96
104
|
const percent = (v: number) => `${Math.round(v * 100)}%`
|
|
97
105
|
const share = (v: number) => (v < 0.1 ? `${(v * 100).toFixed(1)}%` : percent(v))
|
|
@@ -209,6 +217,174 @@ function Processes({ processes }: { processes: StatsProcess[] }) {
|
|
|
209
217
|
)
|
|
210
218
|
}
|
|
211
219
|
|
|
220
|
+
interface TrendProps {
|
|
221
|
+
label: string
|
|
222
|
+
icon: LucideIcon
|
|
223
|
+
/** The latest share, from 0 to 1; left out while measuring. */
|
|
224
|
+
value?: number
|
|
225
|
+
unit?: string
|
|
226
|
+
series: number[]
|
|
227
|
+
/** The line under the trend. */
|
|
228
|
+
caption: ReactNode
|
|
229
|
+
className?: string
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
/** One figure at the tall snap: its share large, every reading as a trend under it, one line on what it means. */
|
|
233
|
+
function Trend({ label, icon: Icon, value, unit, series, caption, className }: TrendProps) {
|
|
234
|
+
return (
|
|
235
|
+
<div className={cn('flex min-w-0 flex-col gap-1', className)} aria-busy={value === undefined}>
|
|
236
|
+
<Widget.Header icon={Icon}>{label}</Widget.Header>
|
|
237
|
+
<Widget.Figure value={value === undefined ? '–' : percent(value)} unit={unit} />
|
|
238
|
+
<Sparkline
|
|
239
|
+
values={series}
|
|
240
|
+
max={1}
|
|
241
|
+
area
|
|
242
|
+
tone={toneOf(value ?? 0)}
|
|
243
|
+
label={value === undefined ? `${label}, measuring` : `${label}, ${percent(value)}`}
|
|
244
|
+
className={cn('my-1 h-14 w-full', value === undefined && 'text-muted-foreground')}
|
|
245
|
+
/>
|
|
246
|
+
<Widget.Subtitle>{caption}</Widget.Subtitle>
|
|
247
|
+
</div>
|
|
248
|
+
)
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
/** A battery's tone: the warning hue from 20% left, the error hue from 10%, unless it charges. */
|
|
252
|
+
function batteryTone({ level, charging }: StatsBattery): MeterTone {
|
|
253
|
+
if (charging) return 'default'
|
|
254
|
+
if (level <= 10) return 'error'
|
|
255
|
+
if (level <= 20) return 'warning'
|
|
256
|
+
return 'default'
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
function ProcessTable({ processes }: { processes: StatsProcess[] }) {
|
|
260
|
+
const top = [...processes].sort((a, b) => b.cpu - a.cpu).slice(0, SHEET_ROWS)
|
|
261
|
+
const head = 'text-caption weight-normal text-muted-foreground'
|
|
262
|
+
return (
|
|
263
|
+
<Widget.Section label="Top processes" trailing={<span>by CPU</span>}>
|
|
264
|
+
<Table>
|
|
265
|
+
<Table.Header>
|
|
266
|
+
<Table.Row>
|
|
267
|
+
<Table.Head className={head}>Name</Table.Head>
|
|
268
|
+
<Table.Head className={cn(head, 'text-right')}>CPU</Table.Head>
|
|
269
|
+
<Table.Head className={cn(head, 'w-24 text-right')}>Memory</Table.Head>
|
|
270
|
+
</Table.Row>
|
|
271
|
+
</Table.Header>
|
|
272
|
+
<Table.Body>
|
|
273
|
+
{top.map(process => (
|
|
274
|
+
<Table.Row key={process.id}>
|
|
275
|
+
<Table.Cell className="text-foreground">{process.name}</Table.Cell>
|
|
276
|
+
<Table.Cell>
|
|
277
|
+
<span className="flex items-center justify-end gap-3">
|
|
278
|
+
<Meter variant="line" value={process.cpu} label={`${process.name}, CPU`} className="w-24" />
|
|
279
|
+
<span className="w-12 text-right tabular-nums">{share(process.cpu)}</span>
|
|
280
|
+
</span>
|
|
281
|
+
</Table.Cell>
|
|
282
|
+
<Table.Cell className="text-right tabular-nums">
|
|
283
|
+
{process.memory === undefined ? '–' : bytes(process.memory)}
|
|
284
|
+
</Table.Cell>
|
|
285
|
+
</Table.Row>
|
|
286
|
+
))}
|
|
287
|
+
</Table.Body>
|
|
288
|
+
</Table>
|
|
289
|
+
</Widget.Section>
|
|
290
|
+
)
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
interface SheetProps extends Omit<SystemStatsProps, 'samples' | 'hero' | 'layout'> {
|
|
294
|
+
samples: StatsSample[]
|
|
295
|
+
hero: StatsHero
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/** The tall snap's sheet. */
|
|
299
|
+
function Sheet({ samples, hero, battery, disk, uptime, processes, size, className }: SheetProps) {
|
|
300
|
+
const last = samples.at(-1)
|
|
301
|
+
const busiest = processes?.length ? processes.reduce((a, b) => (b.cpu > a.cpu ? b : a)).name : undefined
|
|
302
|
+
const cpu = (
|
|
303
|
+
<Trend
|
|
304
|
+
key="cpu"
|
|
305
|
+
label="CPU"
|
|
306
|
+
icon={Cpu}
|
|
307
|
+
value={last?.cpu}
|
|
308
|
+
unit="load"
|
|
309
|
+
series={samples.map(s => s.cpu)}
|
|
310
|
+
caption={
|
|
311
|
+
last ? [verdict(last.cpu), busiest && `${busiest} is busiest`].filter(Boolean).join(' · ') : 'Measuring…'
|
|
312
|
+
}
|
|
313
|
+
/>
|
|
314
|
+
)
|
|
315
|
+
const memory = (
|
|
316
|
+
<Trend
|
|
317
|
+
key="memory"
|
|
318
|
+
label="Memory"
|
|
319
|
+
icon={MemoryStick}
|
|
320
|
+
value={last && pressureOf(last)}
|
|
321
|
+
unit="pressure"
|
|
322
|
+
series={samples.map(pressureOf)}
|
|
323
|
+
caption={last ? `${bytes(last.memoryUsed)} of ${bytes(last.memoryTotal)} in use` : 'Measuring…'}
|
|
324
|
+
/>
|
|
325
|
+
)
|
|
326
|
+
const [first, second] = hero === 'cpu' ? [cpu, memory] : [memory, cpu]
|
|
327
|
+
const left = battery?.minutesLeft === undefined ? undefined : clock(battery.minutesLeft)
|
|
328
|
+
|
|
329
|
+
return (
|
|
330
|
+
<Widget.Sheet size={size} className={className}>
|
|
331
|
+
<div className="flex min-w-0 flex-col gap-2">
|
|
332
|
+
<Widget.Header icon={Activity}>{uptime === undefined ? 'System' : `System · up ${span(uptime)}`}</Widget.Header>
|
|
333
|
+
<div className="grid grid-cols-2 divide-x divide-border [&>*]:px-6 [&>*:first-child]:pl-0 [&>*:last-child]:pr-0">
|
|
334
|
+
{first}
|
|
335
|
+
{second}
|
|
336
|
+
</div>
|
|
337
|
+
</div>
|
|
338
|
+
|
|
339
|
+
<div className="grid auto-cols-fr grid-flow-col divide-x divide-border [&>*]:px-6 [&>*:first-child]:pl-0 [&>*:last-child]:pr-0">
|
|
340
|
+
<div className="flex min-w-0 flex-col gap-1" aria-busy={!last}>
|
|
341
|
+
<Widget.Header icon={Network}>Network</Widget.Header>
|
|
342
|
+
<div className="flex min-w-0 items-baseline gap-5">
|
|
343
|
+
<span className="flex items-center gap-1.5 whitespace-nowrap text-title weight-semibold tabular-nums text-foreground">
|
|
344
|
+
<ArrowDown size={16} strokeWidth={1.5} aria-label="In" className="text-muted-foreground" />
|
|
345
|
+
{last ? rate(last.netIn) : '–'}
|
|
346
|
+
</span>
|
|
347
|
+
<span className="flex items-center gap-1.5 whitespace-nowrap text-title weight-semibold tabular-nums text-muted-foreground">
|
|
348
|
+
<ArrowUp size={16} strokeWidth={1.5} aria-label="Out" />
|
|
349
|
+
{last ? rate(last.netOut) : '–'}
|
|
350
|
+
</span>
|
|
351
|
+
</div>
|
|
352
|
+
<Sparkline
|
|
353
|
+
values={samples.map(s => s.netIn)}
|
|
354
|
+
secondary={samples.map(s => s.netOut)}
|
|
355
|
+
area
|
|
356
|
+
label={last ? `Network, ${rate(last.netIn)} in, ${rate(last.netOut)} out` : 'Network, measuring'}
|
|
357
|
+
className={cn('my-1 h-12 w-full', !last && 'text-muted-foreground')}
|
|
358
|
+
/>
|
|
359
|
+
</div>
|
|
360
|
+
{(battery || disk) && (
|
|
361
|
+
<div className="flex min-w-0 flex-col justify-center gap-4">
|
|
362
|
+
{battery && (
|
|
363
|
+
<Meter
|
|
364
|
+
label={battery.charging ? 'Battery, charging' : 'Battery'}
|
|
365
|
+
value={battery.level}
|
|
366
|
+
max={100}
|
|
367
|
+
tone={batteryTone(battery)}
|
|
368
|
+
detail={`${battery.level}%${left ? ` · ${left} ${battery.charging ? 'to full' : 'left'}` : ''}`}
|
|
369
|
+
/>
|
|
370
|
+
)}
|
|
371
|
+
{disk && (
|
|
372
|
+
<Meter
|
|
373
|
+
label="Startup disk"
|
|
374
|
+
value={disk.total - disk.free}
|
|
375
|
+
max={disk.total}
|
|
376
|
+
detail={`${bytes(disk.free)} free of ${bytes(disk.total)}`}
|
|
377
|
+
/>
|
|
378
|
+
)}
|
|
379
|
+
</div>
|
|
380
|
+
)}
|
|
381
|
+
</div>
|
|
382
|
+
|
|
383
|
+
{processes?.length ? <ProcessTable processes={processes} /> : null}
|
|
384
|
+
</Widget.Sheet>
|
|
385
|
+
)
|
|
386
|
+
}
|
|
387
|
+
|
|
212
388
|
/** The compact island's left wing: the CPU glyph. */
|
|
213
389
|
function SystemStatsLeading() {
|
|
214
390
|
return <Cpu size={16} strokeWidth={1.5} className="text-muted-foreground" />
|
|
@@ -256,6 +432,13 @@ function SystemStatsMinimal({ sample }: { sample?: StatsSample }) {
|
|
|
256
432
|
* lands (about a second after opening) the figures are dashes over the
|
|
257
433
|
* Sparkline's baseline.
|
|
258
434
|
*
|
|
435
|
+
* At the open island's tall snap (`layout="tall"`) it becomes a sheet: CPU
|
|
436
|
+
* and memory pressure side by side, each its figure large over its trend
|
|
437
|
+
* and a line on what it means (the hero's column first); then the
|
|
438
|
+
* network's in and out as one graph, its rates over it, beside the battery
|
|
439
|
+
* and the startup disk as Meter bars; then the top eight processes as a
|
|
440
|
+
* table, each with its share of the CPU as a line and the memory it holds.
|
|
441
|
+
*
|
|
259
442
|
* `SystemStats.Leading` and `SystemStats.Trailing` show the CPU load in the
|
|
260
443
|
* compact island's wings, `SystemStats.Minimal` as a ring in the split
|
|
261
444
|
* island's bubble.
|
|
@@ -263,7 +446,31 @@ function SystemStatsMinimal({ sample }: { sample?: StatsSample }) {
|
|
|
263
446
|
* @example {@include ./examples.mdx}
|
|
264
447
|
*/
|
|
265
448
|
const SystemStats = Object.assign(
|
|
266
|
-
function SystemStats({
|
|
449
|
+
function SystemStats({
|
|
450
|
+
samples,
|
|
451
|
+
hero = 'cpu',
|
|
452
|
+
battery,
|
|
453
|
+
disk,
|
|
454
|
+
uptime,
|
|
455
|
+
processes,
|
|
456
|
+
size,
|
|
457
|
+
layout = 'fit',
|
|
458
|
+
className,
|
|
459
|
+
}: SystemStatsProps) {
|
|
460
|
+
if (layout === 'tall')
|
|
461
|
+
return (
|
|
462
|
+
<Sheet
|
|
463
|
+
size={size}
|
|
464
|
+
samples={samples}
|
|
465
|
+
hero={hero}
|
|
466
|
+
battery={battery}
|
|
467
|
+
disk={disk}
|
|
468
|
+
uptime={uptime}
|
|
469
|
+
processes={processes}
|
|
470
|
+
className={className}
|
|
471
|
+
/>
|
|
472
|
+
)
|
|
473
|
+
|
|
267
474
|
const last = samples.at(-1)
|
|
268
475
|
const series = hero === 'cpu' ? samples.map(s => s.cpu) : samples.map(pressureOf)
|
|
269
476
|
const load = last ? (hero === 'cpu' ? last.cpu : pressureOf(last)) : 0
|
|
@@ -121,24 +121,24 @@ interface WidgetMetaItemProps {
|
|
|
121
121
|
children: ReactNode
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
/** One fact of a meta row: a glyph and a few words. */
|
|
124
|
+
/** One fact of a meta row: a glyph and a few words. Only the last one truncates; the others keep their words whole. */
|
|
125
125
|
function WidgetMetaItem({ icon: Icon, children }: WidgetMetaItemProps) {
|
|
126
126
|
const size = useSize()
|
|
127
127
|
return (
|
|
128
|
-
<span className="flex min-w-0 items-center gap-1 last:shrink
|
|
128
|
+
<span className="flex min-w-0 shrink-0 items-center gap-1 last:shrink">
|
|
129
129
|
{Icon && <Icon size={META_ICON[size.variant]} strokeWidth={1.5} className="shrink-0" />}
|
|
130
130
|
<span className="min-w-0 truncate">{children}</span>
|
|
131
131
|
</span>
|
|
132
132
|
)
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
/** Supporting facts in a row, each a glyph and a few words, muted; the last one gives way
|
|
135
|
+
/** Supporting facts in a row, each a glyph and a few words, muted; the last one gives way, the others stay whole. */
|
|
136
136
|
function WidgetMeta({ children, className }: { children: ReactNode; className?: string }) {
|
|
137
137
|
const size = useSize()
|
|
138
138
|
return (
|
|
139
139
|
<div
|
|
140
140
|
className={cn(
|
|
141
|
-
'flex min-w-0 items-center gap-3 whitespace-nowrap text-muted-foreground tabular-nums',
|
|
141
|
+
'flex min-w-0 items-center gap-3 overflow-hidden whitespace-nowrap text-muted-foreground tabular-nums',
|
|
142
142
|
CAPTION[size.variant],
|
|
143
143
|
className,
|
|
144
144
|
)}
|
|
@@ -328,6 +328,31 @@ function WidgetChip({ color, children }: WidgetChipProps) {
|
|
|
328
328
|
)
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
+
type WidgetLayout = 'fit' | 'tall'
|
|
332
|
+
|
|
333
|
+
interface WidgetSheetProps {
|
|
334
|
+
/** The bands, top to bottom: the hero first, then the lists and details. */
|
|
335
|
+
children: ReactNode
|
|
336
|
+
/** Step on the size ladder for every part inside. Omitted, the widget follows the surrounding SizeProvider. */
|
|
337
|
+
size?: SizeVariant
|
|
338
|
+
/** Classes for the column. */
|
|
339
|
+
className?: string
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* The frame of a widget at the open island's tall snap (a sheet about
|
|
344
|
+
* 692 × 476): bands stacked top to bottom, the hero first, set larger, then
|
|
345
|
+
* the lists and details the short island has no room for. Bands sit apart
|
|
346
|
+
* on space alone; a band of columns splits them with hairlines.
|
|
347
|
+
*/
|
|
348
|
+
function WidgetSheet({ children, size, className }: WidgetSheetProps) {
|
|
349
|
+
return (
|
|
350
|
+
<SizeScope size={size}>
|
|
351
|
+
<div className={cn('flex w-full min-w-0 flex-col gap-6', className)}>{children}</div>
|
|
352
|
+
</SizeScope>
|
|
353
|
+
)
|
|
354
|
+
}
|
|
355
|
+
|
|
331
356
|
interface WidgetProps {
|
|
332
357
|
/** The hero's picture at the start, as tall as the widget: artwork, a ring. */
|
|
333
358
|
media?: ReactNode
|
|
@@ -357,6 +382,11 @@ interface WidgetProps {
|
|
|
357
382
|
* Empty and permission states are a `Widget.Message`, laid out across the
|
|
358
383
|
* wide, short island.
|
|
359
384
|
*
|
|
385
|
+
* At the island's tall snap a widget shows more, not the same layout
|
|
386
|
+
* stretched: each block takes `layout="tall"` and builds a `Widget.Sheet`,
|
|
387
|
+
* bands of fuller lists, larger pictures and the details the short island
|
|
388
|
+
* leaves out.
|
|
389
|
+
*
|
|
360
390
|
* The frame fills the island's content area. The aside folds away under
|
|
361
391
|
* 30rem of width, so a narrower panel keeps the hero.
|
|
362
392
|
*
|
|
@@ -398,6 +428,7 @@ const Widget = Object.assign(
|
|
|
398
428
|
Section: WidgetSection,
|
|
399
429
|
Row: WidgetRow,
|
|
400
430
|
Chip: WidgetChip,
|
|
431
|
+
Sheet: WidgetSheet,
|
|
401
432
|
},
|
|
402
433
|
)
|
|
403
434
|
|
|
@@ -408,11 +439,13 @@ export type {
|
|
|
408
439
|
WidgetChipProps,
|
|
409
440
|
WidgetFigureProps,
|
|
410
441
|
WidgetHeaderProps,
|
|
442
|
+
WidgetLayout,
|
|
411
443
|
WidgetMessageProps,
|
|
412
444
|
WidgetMetaItemProps,
|
|
413
445
|
WidgetProps,
|
|
414
446
|
WidgetRowProps,
|
|
415
447
|
WidgetSectionProps,
|
|
448
|
+
WidgetSheetProps,
|
|
416
449
|
WidgetTitleProps,
|
|
417
450
|
}
|
|
418
451
|
export {
|
|
@@ -426,6 +459,7 @@ export {
|
|
|
426
459
|
WidgetMetaItem,
|
|
427
460
|
WidgetRow,
|
|
428
461
|
WidgetSection,
|
|
462
|
+
WidgetSheet,
|
|
429
463
|
WidgetSubtitle,
|
|
430
464
|
WidgetTitle,
|
|
431
465
|
}
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { AgendaAccess2, AgendaEvent2, AgendaProps2, AgendaLeading2, AgendaTrailing2, AgendaMinimal2, AgendaUpNext2, AgendaStarting2, Agenda2 } from "../../../shared/chunk-
|
|
1
|
+
import { AgendaAccess2, AgendaEvent2, AgendaProps2, AgendaLeading2, AgendaTrailing2, AgendaMinimal2, AgendaUpNext2, AgendaStarting2, Agenda2 } from "../../../shared/chunk-2bqmmfg9.js";
|
|
2
|
+
import "../../../shared/chunk-nqjermbr.js";
|
|
2
3
|
export { Agenda2 as Agenda, AgendaAccess2 as AgendaAccess, AgendaEvent2 as AgendaEvent, AgendaLeading2 as AgendaLeading, AgendaMinimal2 as AgendaMinimal, AgendaProps2 as AgendaProps, AgendaStarting2 as AgendaStarting, AgendaTrailing2 as AgendaTrailing, AgendaUpNext2 as AgendaUpNext, Agenda2 as default };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
AgendaStarting2,
|
|
7
7
|
Agenda2,
|
|
8
8
|
agenda_default
|
|
9
|
-
} from "../../../shared/chunk-
|
|
9
|
+
} from "../../../shared/chunk-kbk4bp6p.js";
|
|
10
10
|
import"../../../shared/chunk-gb56m10p.js";
|
|
11
|
-
import"../../../shared/chunk-
|
|
11
|
+
import"../../../shared/chunk-zxsw11dr.js";
|
|
12
12
|
import"../../../shared/chunk-ndf79pv5.js";
|
|
13
13
|
export {
|
|
14
14
|
Agenda2 as Agenda,
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { PomodoroPhase2, PomodoroSettings2, PomodoroRun2, ClockZone2, ClockProps2, startPomodoro2, advancePomodoro2, resumePomodoro2, ClockLeading2, ClockTrailing2, ClockMinimal2, ClockPhaseDoneProps2, ClockPhaseDone2, Clock2 } from "../../../shared/chunk-
|
|
1
|
+
import { PomodoroPhase2, PomodoroSettings2, PomodoroRun2, ClockZone2, ClockProps2, startPomodoro2, advancePomodoro2, resumePomodoro2, ClockLeading2, ClockTrailing2, ClockMinimal2, ClockPhaseDoneProps2, ClockPhaseDone2, Clock2 } from "../../../shared/chunk-72s4sqwh.js";
|
|
2
|
+
import "../../../shared/chunk-nqjermbr.js";
|
|
2
3
|
export { Clock2 as Clock, ClockLeading2 as ClockLeading, ClockMinimal2 as ClockMinimal, ClockPhaseDone2 as ClockPhaseDone, ClockPhaseDoneProps2 as ClockPhaseDoneProps, ClockProps2 as ClockProps, ClockTrailing2 as ClockTrailing, ClockZone2 as ClockZone, PomodoroPhase2 as PomodoroPhase, PomodoroRun2 as PomodoroRun, PomodoroSettings2 as PomodoroSettings, advancePomodoro2 as advancePomodoro, Clock2 as default, resumePomodoro2 as resumePomodoro, startPomodoro2 as startPomodoro };
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
ClockPhaseDone2,
|
|
9
9
|
Clock2,
|
|
10
10
|
clock_default
|
|
11
|
-
} from "../../../shared/chunk-
|
|
11
|
+
} from "../../../shared/chunk-cry81asr.js";
|
|
12
12
|
import"../../../shared/chunk-gb56m10p.js";
|
|
13
|
-
import"../../../shared/chunk-
|
|
13
|
+
import"../../../shared/chunk-zxsw11dr.js";
|
|
14
14
|
import"../../../shared/chunk-ndf79pv5.js";
|
|
15
15
|
export {
|
|
16
16
|
Clock2 as Clock,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import { NowPlayingOutput2, NowPlayingRepeat2, NowPlayingTrack2, NowPlayingProps2, NowPlayingArtwork2, NowPlayingLeading2, NowPlayingTrailing2, NowPlayingMinimal2, NowPlayingFlash2, NowPlaying2 } from "../../../shared/chunk-
|
|
1
|
+
import { NowPlayingOutput2, NowPlayingRepeat2, NowPlayingTrack2, NowPlayingProps2, NowPlayingArtwork2, NowPlayingLeading2, NowPlayingTrailing2, NowPlayingMinimal2, NowPlayingFlash2, NowPlaying2 } from "../../../shared/chunk-sen170mz.js";
|
|
2
2
|
import "../../../shared/chunk-gejenfap.js";
|
|
3
|
+
import "../../../shared/chunk-nqjermbr.js";
|
|
3
4
|
export { NowPlaying2 as NowPlaying, NowPlayingArtwork2 as NowPlayingArtwork, NowPlayingFlash2 as NowPlayingFlash, NowPlayingLeading2 as NowPlayingLeading, NowPlayingMinimal2 as NowPlayingMinimal, NowPlayingOutput2 as NowPlayingOutput, NowPlayingProps2 as NowPlayingProps, NowPlayingRepeat2 as NowPlayingRepeat, NowPlayingTrack2 as NowPlayingTrack, NowPlayingTrailing2 as NowPlayingTrailing, NowPlaying2 as default };
|
|
@@ -6,12 +6,12 @@ import {
|
|
|
6
6
|
NowPlayingFlash2,
|
|
7
7
|
NowPlaying2,
|
|
8
8
|
now_playing_default
|
|
9
|
-
} from "../../../shared/chunk-
|
|
9
|
+
} from "../../../shared/chunk-a059ccj0.js";
|
|
10
10
|
import"../../../shared/chunk-w5h6ay93.js";
|
|
11
11
|
import"../../../shared/chunk-2f7zxrbk.js";
|
|
12
12
|
import"../../../shared/chunk-9xtcv3sy.js";
|
|
13
13
|
import"../../../shared/chunk-gb56m10p.js";
|
|
14
|
-
import"../../../shared/chunk-
|
|
14
|
+
import"../../../shared/chunk-zxsw11dr.js";
|
|
15
15
|
import"../../../shared/chunk-ndf79pv5.js";
|
|
16
16
|
export {
|
|
17
17
|
NowPlaying2 as NowPlaying,
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { WeatherCondition2, WeatherUnit2, WeatherAccess2, WeatherStatus2, WeatherNow2, WeatherHour2, WeatherDay2, WeatherProps2, conditionFromCode2, WeatherLeading2, WeatherTrailing2, WeatherMinimal2, WeatherAlertSeverity2, WeatherAlertProps2, WeatherAlert2, Weather2 } from "../../../shared/chunk-
|
|
1
|
+
import { WeatherCondition2, WeatherUnit2, WeatherAccess2, WeatherStatus2, WeatherNow2, WeatherHour2, WeatherDay2, WeatherProps2, conditionFromCode2, WeatherLeading2, WeatherTrailing2, WeatherMinimal2, WeatherAlertSeverity2, WeatherAlertProps2, WeatherAlert2, Weather2 } from "../../../shared/chunk-kv0w8vhq.js";
|
|
2
|
+
import "../../../shared/chunk-nqjermbr.js";
|
|
2
3
|
export { Weather2 as Weather, WeatherAccess2 as WeatherAccess, WeatherAlert2 as WeatherAlert, WeatherAlertProps2 as WeatherAlertProps, WeatherAlertSeverity2 as WeatherAlertSeverity, WeatherCondition2 as WeatherCondition, WeatherDay2 as WeatherDay, WeatherHour2 as WeatherHour, WeatherLeading2 as WeatherLeading, WeatherMinimal2 as WeatherMinimal, WeatherNow2 as WeatherNow, WeatherProps2 as WeatherProps, WeatherStatus2 as WeatherStatus, WeatherTrailing2 as WeatherTrailing, WeatherUnit2 as WeatherUnit, conditionFromCode2 as conditionFromCode, Weather2 as default };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
WeatherAlert2,
|
|
7
7
|
Weather2,
|
|
8
8
|
weather_default
|
|
9
|
-
} from "../../../shared/chunk-
|
|
9
|
+
} from "../../../shared/chunk-ygnrrqta.js";
|
|
10
10
|
import"../../../shared/chunk-gb56m10p.js";
|
|
11
|
-
import"../../../shared/chunk-
|
|
11
|
+
import"../../../shared/chunk-zxsw11dr.js";
|
|
12
12
|
import"../../../shared/chunk-ndf79pv5.js";
|
|
13
13
|
export {
|
|
14
14
|
Weather2 as Weather,
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ExpandedIslandTab2, ExpandedIslandProps2, ExpandedIsland2 } from "../../../shared/chunk-
|
|
1
|
+
import { ExpandedIslandTab2, ExpandedIslandProps2, ExpandedIsland2 } from "../../../shared/chunk-6tnq6p89.js";
|
|
2
2
|
import "../../../shared/chunk-w48eyvfr.js";
|
|
3
3
|
export { ExpandedIsland2 as ExpandedIsland, ExpandedIslandProps2 as ExpandedIslandProps, ExpandedIslandTab2 as ExpandedIslandTab, ExpandedIsland2 as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ScreensPreference2, AppPreferences2, SettingsPlugin2, SettingsPermission2, AboutRow2, SettingsWindowProps2, SettingsWindow2 } from "../../../shared/chunk-
|
|
1
|
+
import { ScreensPreference2, AppPreferences2, SettingsPlugin2, SettingsPermission2, AboutRow2, SettingsWindowProps2, SettingsWindow2 } from "../../../shared/chunk-0ym9mcqc.js";
|
|
2
2
|
export { AboutRow2 as AboutRow, AppPreferences2 as AppPreferences, ScreensPreference2 as ScreensPreference, SettingsPermission2 as SettingsPermission, SettingsPlugin2 as SettingsPlugin, SettingsWindow2 as SettingsWindow, SettingsWindowProps2 as SettingsWindowProps, SettingsWindow2 as default };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { ClipboardClipKind2, ClipboardClip2, ClipboardHistoryProps2, ClipboardHistoryLeading2, ClipboardHistoryTrailing2, ClipboardHistoryCopied2, ClipboardHistory2 } from "../../../shared/chunk-
|
|
1
|
+
import { ClipboardClipKind2, ClipboardClip2, ClipboardHistoryProps2, ClipboardHistoryLeading2, ClipboardHistoryTrailing2, ClipboardHistoryCopied2, ClipboardHistory2 } from "../../../shared/chunk-fr9jf804.js";
|
|
2
|
+
import "../../../shared/chunk-nqjermbr.js";
|
|
2
3
|
export { ClipboardClip2 as ClipboardClip, ClipboardClipKind2 as ClipboardClipKind, ClipboardHistory2 as ClipboardHistory, ClipboardHistoryCopied2 as ClipboardHistoryCopied, ClipboardHistoryLeading2 as ClipboardHistoryLeading, ClipboardHistoryProps2 as ClipboardHistoryProps, ClipboardHistoryTrailing2 as ClipboardHistoryTrailing, ClipboardHistory2 as default };
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
ClipboardHistoryCopied2,
|
|
5
5
|
ClipboardHistory2,
|
|
6
6
|
clipboard_default
|
|
7
|
-
} from "../../../shared/chunk-
|
|
7
|
+
} from "../../../shared/chunk-yw478nmj.js";
|
|
8
8
|
import"../../../shared/chunk-gb56m10p.js";
|
|
9
|
-
import"../../../shared/chunk-
|
|
9
|
+
import"../../../shared/chunk-zxsw11dr.js";
|
|
10
10
|
import"../../../shared/chunk-ndf79pv5.js";
|
|
11
11
|
export {
|
|
12
12
|
ClipboardHistory2 as ClipboardHistory,
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { RecentFilesSource2, RecentFile2, RecentDownload2, RecentFilesProps2, RecentFilesLeading2, RecentFilesTrailing2, RecentFilesMinimal2, RecentFilesSaved2, RecentFiles2 } from "../../../shared/chunk-
|
|
1
|
+
import { RecentFilesSource2, RecentFile2, RecentDownload2, RecentFilesProps2, RecentFilesLeading2, RecentFilesTrailing2, RecentFilesMinimal2, RecentFilesSaved2, RecentFiles2 } from "../../../shared/chunk-9b8b7fw6.js";
|
|
2
|
+
import "../../../shared/chunk-nqjermbr.js";
|
|
2
3
|
export { RecentDownload2 as RecentDownload, RecentFile2 as RecentFile, RecentFiles2 as RecentFiles, RecentFilesLeading2 as RecentFilesLeading, RecentFilesMinimal2 as RecentFilesMinimal, RecentFilesProps2 as RecentFilesProps, RecentFilesSaved2 as RecentFilesSaved, RecentFilesSource2 as RecentFilesSource, RecentFilesTrailing2 as RecentFilesTrailing, RecentFiles2 as default };
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
RecentFilesSaved2,
|
|
6
6
|
RecentFiles2,
|
|
7
7
|
recent_files_default
|
|
8
|
-
} from "../../../shared/chunk-
|
|
8
|
+
} from "../../../shared/chunk-2nxwdn5s.js";
|
|
9
9
|
import"../../../shared/chunk-gb56m10p.js";
|
|
10
|
-
import"../../../shared/chunk-
|
|
10
|
+
import"../../../shared/chunk-zxsw11dr.js";
|
|
11
11
|
import"../../../shared/chunk-ndf79pv5.js";
|
|
12
12
|
export {
|
|
13
13
|
RecentFiles2 as RecentFiles,
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import { StatsSample2, StatsBattery2, StatsDisk2, StatsProcess2, StatsHero2, SystemStatsProps2, SystemStatsLeading2, SystemStatsTrailing2, SystemStatsMinimal2, SystemStats2 } from "../../../shared/chunk-
|
|
1
|
+
import { StatsSample2, StatsBattery2, StatsDisk2, StatsProcess2, StatsHero2, SystemStatsProps2, SystemStatsLeading2, SystemStatsTrailing2, SystemStatsMinimal2, SystemStats2 } from "../../../shared/chunk-1v35ck2y.js";
|
|
2
|
+
import "../../../shared/chunk-nqjermbr.js";
|
|
2
3
|
export { StatsBattery2 as StatsBattery, StatsDisk2 as StatsDisk, StatsHero2 as StatsHero, StatsProcess2 as StatsProcess, StatsSample2 as StatsSample, SystemStats2 as SystemStats, SystemStatsLeading2 as SystemStatsLeading, SystemStatsMinimal2 as SystemStatsMinimal, SystemStatsProps2 as SystemStatsProps, SystemStatsTrailing2 as SystemStatsTrailing, SystemStats2 as default };
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SystemStatsMinimal2,
|
|
5
5
|
SystemStats2,
|
|
6
6
|
system_stats_default
|
|
7
|
-
} from "../../../shared/chunk-
|
|
8
|
-
import"../../../shared/chunk-
|
|
7
|
+
} from "../../../shared/chunk-p3nezxvx.js";
|
|
8
|
+
import"../../../shared/chunk-zxsw11dr.js";
|
|
9
9
|
export {
|
|
10
10
|
SystemStats2 as SystemStats,
|
|
11
11
|
SystemStatsLeading2 as SystemStatsLeading,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { WidgetHeaderProps2, WidgetHeader2, WidgetTitleProps2, WidgetTitle2, WidgetSubtitle2, WidgetFigureProps2, WidgetFigure2, WidgetMetaItemProps2, WidgetMetaItem2, WidgetMeta2, WidgetActionProps2, WidgetAction2, WidgetMessageProps2, WidgetMessage2, WidgetSectionProps2, WidgetSection2, WidgetRowProps2, WidgetRow2, WidgetChipProps2, WidgetChip2, WidgetProps2, Widget2 } from "../../../shared/chunk-
|
|
2
|
-
export { Widget2 as Widget, WidgetAction2 as WidgetAction, WidgetActionProps2 as WidgetActionProps, WidgetChip2 as WidgetChip, WidgetChipProps2 as WidgetChipProps, WidgetFigure2 as WidgetFigure, WidgetFigureProps2 as WidgetFigureProps, WidgetHeader2 as WidgetHeader, WidgetHeaderProps2 as WidgetHeaderProps, WidgetMessage2 as WidgetMessage, WidgetMessageProps2 as WidgetMessageProps, WidgetMeta2 as WidgetMeta, WidgetMetaItem2 as WidgetMetaItem, WidgetMetaItemProps2 as WidgetMetaItemProps, WidgetProps2 as WidgetProps, WidgetRow2 as WidgetRow, WidgetRowProps2 as WidgetRowProps, WidgetSection2 as WidgetSection, WidgetSectionProps2 as WidgetSectionProps, WidgetSubtitle2 as WidgetSubtitle, WidgetTitle2 as WidgetTitle, WidgetTitleProps2 as WidgetTitleProps, Widget2 as default };
|
|
1
|
+
import { WidgetHeaderProps2, WidgetHeader2, WidgetTitleProps2, WidgetTitle2, WidgetSubtitle2, WidgetFigureProps2, WidgetFigure2, WidgetMetaItemProps2, WidgetMetaItem2, WidgetMeta2, WidgetActionProps2, WidgetAction2, WidgetMessageProps2, WidgetMessage2, WidgetSectionProps2, WidgetSection2, WidgetRowProps2, WidgetRow2, WidgetChipProps2, WidgetChip2, WidgetLayout2, WidgetSheetProps2, WidgetSheet2, WidgetProps2, Widget2 } from "../../../shared/chunk-nqjermbr.js";
|
|
2
|
+
export { Widget2 as Widget, WidgetAction2 as WidgetAction, WidgetActionProps2 as WidgetActionProps, WidgetChip2 as WidgetChip, WidgetChipProps2 as WidgetChipProps, WidgetFigure2 as WidgetFigure, WidgetFigureProps2 as WidgetFigureProps, WidgetHeader2 as WidgetHeader, WidgetHeaderProps2 as WidgetHeaderProps, WidgetLayout2 as WidgetLayout, WidgetMessage2 as WidgetMessage, WidgetMessageProps2 as WidgetMessageProps, WidgetMeta2 as WidgetMeta, WidgetMetaItem2 as WidgetMetaItem, WidgetMetaItemProps2 as WidgetMetaItemProps, WidgetProps2 as WidgetProps, WidgetRow2 as WidgetRow, WidgetRowProps2 as WidgetRowProps, WidgetSection2 as WidgetSection, WidgetSectionProps2 as WidgetSectionProps, WidgetSheet2 as WidgetSheet, WidgetSheetProps2 as WidgetSheetProps, WidgetSubtitle2 as WidgetSubtitle, WidgetTitle2 as WidgetTitle, WidgetTitleProps2 as WidgetTitleProps, Widget2 as default };
|
|
@@ -10,9 +10,10 @@ import {
|
|
|
10
10
|
WidgetSection2,
|
|
11
11
|
WidgetRow2,
|
|
12
12
|
WidgetChip2,
|
|
13
|
+
WidgetSheet2,
|
|
13
14
|
Widget2,
|
|
14
15
|
widget_default
|
|
15
|
-
} from "../../../shared/chunk-
|
|
16
|
+
} from "../../../shared/chunk-zxsw11dr.js";
|
|
16
17
|
export {
|
|
17
18
|
Widget2 as Widget,
|
|
18
19
|
WidgetAction2 as WidgetAction,
|
|
@@ -24,6 +25,7 @@ export {
|
|
|
24
25
|
WidgetMetaItem2 as WidgetMetaItem,
|
|
25
26
|
WidgetRow2 as WidgetRow,
|
|
26
27
|
WidgetSection2 as WidgetSection,
|
|
28
|
+
WidgetSheet2 as WidgetSheet,
|
|
27
29
|
WidgetSubtitle2 as WidgetSubtitle,
|
|
28
30
|
WidgetTitle2 as WidgetTitle,
|
|
29
31
|
widget_default as default
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { WidgetHeaderProps2, WidgetHeader2, WidgetTitleProps2, WidgetTitle2, WidgetSubtitle2, WidgetFigureProps2, WidgetFigure2, WidgetMetaItemProps2, WidgetMetaItem2, WidgetMeta2, WidgetActionProps2, WidgetAction2, WidgetMessageProps2, WidgetMessage2, WidgetSectionProps2, WidgetSection2, WidgetRowProps2, WidgetRow2, WidgetChipProps2, WidgetChip2, WidgetLayout2, WidgetSheetProps2, WidgetSheet2, WidgetProps2, Widget2 } from "./shared/chunk-nqjermbr.js";
|
|
2
|
+
import { AgendaAccess2, AgendaEvent2, AgendaProps2, AgendaLeading2, AgendaTrailing2, AgendaMinimal2, AgendaUpNext2, AgendaStarting2, Agenda2 } from "./shared/chunk-2bqmmfg9.js";
|
|
3
|
+
import { PomodoroPhase2, PomodoroSettings2, PomodoroRun2, ClockZone2, ClockProps2, startPomodoro2, advancePomodoro2, resumePomodoro2, ClockLeading2, ClockTrailing2, ClockMinimal2, ClockPhaseDoneProps2, ClockPhaseDone2, Clock2 } from "./shared/chunk-72s4sqwh.js";
|
|
3
4
|
import { Artwork2, ShownArtwork2, useStableArtwork2, useArtworkTint2 } from "./shared/chunk-gejenfap.js";
|
|
4
|
-
import { NowPlayingOutput2, NowPlayingRepeat2, NowPlayingTrack2, NowPlayingProps2, NowPlayingArtwork2, NowPlayingLeading2, NowPlayingTrailing2, NowPlayingMinimal2, NowPlayingFlash2, NowPlaying2 } from "./shared/chunk-
|
|
5
|
-
import { WeatherCondition2, WeatherUnit2, WeatherAccess2, WeatherStatus2, WeatherNow2, WeatherHour2, WeatherDay2, WeatherProps2, conditionFromCode2, WeatherLeading2, WeatherTrailing2, WeatherMinimal2, WeatherAlertSeverity2, WeatherAlertProps2, WeatherAlert2, Weather2 } from "./shared/chunk-
|
|
5
|
+
import { NowPlayingOutput2, NowPlayingRepeat2, NowPlayingTrack2, NowPlayingProps2, NowPlayingArtwork2, NowPlayingLeading2, NowPlayingTrailing2, NowPlayingMinimal2, NowPlayingFlash2, NowPlaying2 } from "./shared/chunk-sen170mz.js";
|
|
6
|
+
import { WeatherCondition2, WeatherUnit2, WeatherAccess2, WeatherStatus2, WeatherNow2, WeatherHour2, WeatherDay2, WeatherProps2, conditionFromCode2, WeatherLeading2, WeatherTrailing2, WeatherMinimal2, WeatherAlertSeverity2, WeatherAlertProps2, WeatherAlert2, Weather2 } from "./shared/chunk-kv0w8vhq.js";
|
|
6
7
|
import { IslandTab2, IslandTabsProps2, IslandTabs2 } from "./shared/chunk-w48eyvfr.js";
|
|
7
|
-
import { ExpandedIslandTab2, ExpandedIslandProps2, ExpandedIsland2 } from "./shared/chunk-
|
|
8
|
-
import { ScreensPreference2, AppPreferences2, SettingsPlugin2, SettingsPermission2, AboutRow2, SettingsWindowProps2, SettingsWindow2 } from "./shared/chunk-
|
|
9
|
-
import { ClipboardClipKind2, ClipboardClip2, ClipboardHistoryProps2, ClipboardHistoryLeading2, ClipboardHistoryTrailing2, ClipboardHistoryCopied2, ClipboardHistory2 } from "./shared/chunk-
|
|
10
|
-
import { RecentFilesSource2, RecentFile2, RecentDownload2, RecentFilesProps2, RecentFilesLeading2, RecentFilesTrailing2, RecentFilesMinimal2, RecentFilesSaved2, RecentFiles2 } from "./shared/chunk-
|
|
11
|
-
import { StatsSample2, StatsBattery2, StatsDisk2, StatsProcess2, StatsHero2, SystemStatsProps2, SystemStatsLeading2, SystemStatsTrailing2, SystemStatsMinimal2, SystemStats2 } from "./shared/chunk-
|
|
8
|
+
import { ExpandedIslandTab2, ExpandedIslandProps2, ExpandedIsland2 } from "./shared/chunk-6tnq6p89.js";
|
|
9
|
+
import { ScreensPreference2, AppPreferences2, SettingsPlugin2, SettingsPermission2, AboutRow2, SettingsWindowProps2, SettingsWindow2 } from "./shared/chunk-0ym9mcqc.js";
|
|
10
|
+
import { ClipboardClipKind2, ClipboardClip2, ClipboardHistoryProps2, ClipboardHistoryLeading2, ClipboardHistoryTrailing2, ClipboardHistoryCopied2, ClipboardHistory2 } from "./shared/chunk-fr9jf804.js";
|
|
11
|
+
import { RecentFilesSource2, RecentFile2, RecentDownload2, RecentFilesProps2, RecentFilesLeading2, RecentFilesTrailing2, RecentFilesMinimal2, RecentFilesSaved2, RecentFiles2 } from "./shared/chunk-9b8b7fw6.js";
|
|
12
|
+
import { StatsSample2, StatsBattery2, StatsDisk2, StatsProcess2, StatsHero2, SystemStatsProps2, SystemStatsLeading2, SystemStatsTrailing2, SystemStatsMinimal2, SystemStats2 } from "./shared/chunk-1v35ck2y.js";
|
|
12
13
|
import { CountdownFormat2, CountdownProps2, Countdown2 } from "./shared/chunk-5en5aaj1.js";
|
|
13
14
|
import { EqualizerProps2, Equalizer2 } from "./shared/chunk-hrpxbqmx.js";
|
|
14
15
|
import { MediaScrubberProps2, MediaScrubber2 } from "./shared/chunk-j755a1a5.js";
|
|
15
16
|
import { IslandState2, ISLAND_STATES2, Size2, IslandGeometry2, Shape2, DEFAULT_NOTCH2, DEFAULT_PANEL2, INSET2, NOTCH_GAP2, slotWidth2, shapeFor2, bubbleFor2, islandPath2, StripLayout2, stripLayout2 } from "./shared/chunk-cfzmfnyh.js";
|
|
16
17
|
import { CollapsedState2, IslandProps2, Island2 } from "./shared/chunk-81fpptwp.js";
|
|
17
18
|
import { IslandFlashTone2, IslandFlashProps2, IslandFlash2 } from "./shared/chunk-fexwzycv.js";
|
|
18
|
-
import { WidgetHeaderProps2, WidgetHeader2, WidgetTitleProps2, WidgetTitle2, WidgetSubtitle2, WidgetFigureProps2, WidgetFigure2, WidgetMetaItemProps2, WidgetMetaItem2, WidgetMeta2, WidgetActionProps2, WidgetAction2, WidgetMessageProps2, WidgetMessage2, WidgetSectionProps2, WidgetSection2, WidgetRowProps2, WidgetRow2, WidgetChipProps2, WidgetChip2, WidgetProps2, Widget2 } from "./shared/chunk-416tsgbc.js";
|
|
19
19
|
import { formatClock2, formatShort2, useEdgeClock2 } from "./shared/chunk-152gpyq3.js";
|
|
20
20
|
import { IslandContextValue2, IslandContext2, useIsland2 } from "./shared/chunk-52gb3g6r.js";
|
|
21
|
-
export { AboutRow2 as AboutRow, Agenda2 as Agenda, AgendaAccess2 as AgendaAccess, AgendaEvent2 as AgendaEvent, AgendaLeading2 as AgendaLeading, AgendaMinimal2 as AgendaMinimal, AgendaProps2 as AgendaProps, AgendaStarting2 as AgendaStarting, AgendaTrailing2 as AgendaTrailing, AgendaUpNext2 as AgendaUpNext, AppPreferences2 as AppPreferences, Artwork2 as Artwork, ClipboardClip2 as ClipboardClip, ClipboardClipKind2 as ClipboardClipKind, ClipboardHistory2 as ClipboardHistory, ClipboardHistoryCopied2 as ClipboardHistoryCopied, ClipboardHistoryLeading2 as ClipboardHistoryLeading, ClipboardHistoryProps2 as ClipboardHistoryProps, ClipboardHistoryTrailing2 as ClipboardHistoryTrailing, Clock2 as Clock, ClockLeading2 as ClockLeading, ClockMinimal2 as ClockMinimal, ClockPhaseDone2 as ClockPhaseDone, ClockPhaseDoneProps2 as ClockPhaseDoneProps, ClockProps2 as ClockProps, ClockTrailing2 as ClockTrailing, ClockZone2 as ClockZone, CollapsedState2 as CollapsedState, Countdown2 as Countdown, CountdownFormat2 as CountdownFormat, CountdownProps2 as CountdownProps, DEFAULT_NOTCH2 as DEFAULT_NOTCH, DEFAULT_PANEL2 as DEFAULT_PANEL, Equalizer2 as Equalizer, EqualizerProps2 as EqualizerProps, ExpandedIsland2 as ExpandedIsland, ExpandedIslandProps2 as ExpandedIslandProps, ExpandedIslandTab2 as ExpandedIslandTab, INSET2 as INSET, ISLAND_STATES2 as ISLAND_STATES, Island2 as Island, IslandContext2 as IslandContext, IslandContextValue2 as IslandContextValue, IslandFlash2 as IslandFlash, IslandFlashProps2 as IslandFlashProps, IslandFlashTone2 as IslandFlashTone, IslandGeometry2 as IslandGeometry, IslandProps2 as IslandProps, IslandState2 as IslandState, IslandTab2 as IslandTab, IslandTabs2 as IslandTabs, IslandTabsProps2 as IslandTabsProps, MediaScrubber2 as MediaScrubber, MediaScrubberProps2 as MediaScrubberProps, NOTCH_GAP2 as NOTCH_GAP, NowPlaying2 as NowPlaying, NowPlayingArtwork2 as NowPlayingArtwork, NowPlayingFlash2 as NowPlayingFlash, NowPlayingLeading2 as NowPlayingLeading, NowPlayingMinimal2 as NowPlayingMinimal, NowPlayingOutput2 as NowPlayingOutput, NowPlayingProps2 as NowPlayingProps, NowPlayingRepeat2 as NowPlayingRepeat, NowPlayingTrack2 as NowPlayingTrack, NowPlayingTrailing2 as NowPlayingTrailing, PomodoroPhase2 as PomodoroPhase, PomodoroRun2 as PomodoroRun, PomodoroSettings2 as PomodoroSettings, RecentDownload2 as RecentDownload, RecentFile2 as RecentFile, RecentFiles2 as RecentFiles, RecentFilesLeading2 as RecentFilesLeading, RecentFilesMinimal2 as RecentFilesMinimal, RecentFilesProps2 as RecentFilesProps, RecentFilesSaved2 as RecentFilesSaved, RecentFilesSource2 as RecentFilesSource, RecentFilesTrailing2 as RecentFilesTrailing, ScreensPreference2 as ScreensPreference, SettingsPermission2 as SettingsPermission, SettingsPlugin2 as SettingsPlugin, SettingsWindow2 as SettingsWindow, SettingsWindowProps2 as SettingsWindowProps, Shape2 as Shape, ShownArtwork2 as ShownArtwork, Size2 as Size, StatsBattery2 as StatsBattery, StatsDisk2 as StatsDisk, StatsHero2 as StatsHero, StatsProcess2 as StatsProcess, StatsSample2 as StatsSample, StripLayout2 as StripLayout, SystemStats2 as SystemStats, SystemStatsLeading2 as SystemStatsLeading, SystemStatsMinimal2 as SystemStatsMinimal, SystemStatsProps2 as SystemStatsProps, SystemStatsTrailing2 as SystemStatsTrailing, Weather2 as Weather, WeatherAccess2 as WeatherAccess, WeatherAlert2 as WeatherAlert, WeatherAlertProps2 as WeatherAlertProps, WeatherAlertSeverity2 as WeatherAlertSeverity, WeatherCondition2 as WeatherCondition, WeatherDay2 as WeatherDay, WeatherHour2 as WeatherHour, WeatherLeading2 as WeatherLeading, WeatherMinimal2 as WeatherMinimal, WeatherNow2 as WeatherNow, WeatherProps2 as WeatherProps, WeatherStatus2 as WeatherStatus, WeatherTrailing2 as WeatherTrailing, WeatherUnit2 as WeatherUnit, Widget2 as Widget, WidgetAction2 as WidgetAction, WidgetActionProps2 as WidgetActionProps, WidgetChip2 as WidgetChip, WidgetChipProps2 as WidgetChipProps, WidgetFigure2 as WidgetFigure, WidgetFigureProps2 as WidgetFigureProps, WidgetHeader2 as WidgetHeader, WidgetHeaderProps2 as WidgetHeaderProps, WidgetMessage2 as WidgetMessage, WidgetMessageProps2 as WidgetMessageProps, WidgetMeta2 as WidgetMeta, WidgetMetaItem2 as WidgetMetaItem, WidgetMetaItemProps2 as WidgetMetaItemProps, WidgetProps2 as WidgetProps, WidgetRow2 as WidgetRow, WidgetRowProps2 as WidgetRowProps, WidgetSection2 as WidgetSection, WidgetSectionProps2 as WidgetSectionProps, WidgetSubtitle2 as WidgetSubtitle, WidgetTitle2 as WidgetTitle, WidgetTitleProps2 as WidgetTitleProps, advancePomodoro2 as advancePomodoro, bubbleFor2 as bubbleFor, conditionFromCode2 as conditionFromCode, formatClock2 as formatClock, formatShort2 as formatShort, islandPath2 as islandPath, resumePomodoro2 as resumePomodoro, shapeFor2 as shapeFor, slotWidth2 as slotWidth, startPomodoro2 as startPomodoro, stripLayout2 as stripLayout, useArtworkTint2 as useArtworkTint, useEdgeClock2 as useEdgeClock, useIsland2 as useIsland, useStableArtwork2 as useStableArtwork };
|
|
21
|
+
export { AboutRow2 as AboutRow, Agenda2 as Agenda, AgendaAccess2 as AgendaAccess, AgendaEvent2 as AgendaEvent, AgendaLeading2 as AgendaLeading, AgendaMinimal2 as AgendaMinimal, AgendaProps2 as AgendaProps, AgendaStarting2 as AgendaStarting, AgendaTrailing2 as AgendaTrailing, AgendaUpNext2 as AgendaUpNext, AppPreferences2 as AppPreferences, Artwork2 as Artwork, ClipboardClip2 as ClipboardClip, ClipboardClipKind2 as ClipboardClipKind, ClipboardHistory2 as ClipboardHistory, ClipboardHistoryCopied2 as ClipboardHistoryCopied, ClipboardHistoryLeading2 as ClipboardHistoryLeading, ClipboardHistoryProps2 as ClipboardHistoryProps, ClipboardHistoryTrailing2 as ClipboardHistoryTrailing, Clock2 as Clock, ClockLeading2 as ClockLeading, ClockMinimal2 as ClockMinimal, ClockPhaseDone2 as ClockPhaseDone, ClockPhaseDoneProps2 as ClockPhaseDoneProps, ClockProps2 as ClockProps, ClockTrailing2 as ClockTrailing, ClockZone2 as ClockZone, CollapsedState2 as CollapsedState, Countdown2 as Countdown, CountdownFormat2 as CountdownFormat, CountdownProps2 as CountdownProps, DEFAULT_NOTCH2 as DEFAULT_NOTCH, DEFAULT_PANEL2 as DEFAULT_PANEL, Equalizer2 as Equalizer, EqualizerProps2 as EqualizerProps, ExpandedIsland2 as ExpandedIsland, ExpandedIslandProps2 as ExpandedIslandProps, ExpandedIslandTab2 as ExpandedIslandTab, INSET2 as INSET, ISLAND_STATES2 as ISLAND_STATES, Island2 as Island, IslandContext2 as IslandContext, IslandContextValue2 as IslandContextValue, IslandFlash2 as IslandFlash, IslandFlashProps2 as IslandFlashProps, IslandFlashTone2 as IslandFlashTone, IslandGeometry2 as IslandGeometry, IslandProps2 as IslandProps, IslandState2 as IslandState, IslandTab2 as IslandTab, IslandTabs2 as IslandTabs, IslandTabsProps2 as IslandTabsProps, MediaScrubber2 as MediaScrubber, MediaScrubberProps2 as MediaScrubberProps, NOTCH_GAP2 as NOTCH_GAP, NowPlaying2 as NowPlaying, NowPlayingArtwork2 as NowPlayingArtwork, NowPlayingFlash2 as NowPlayingFlash, NowPlayingLeading2 as NowPlayingLeading, NowPlayingMinimal2 as NowPlayingMinimal, NowPlayingOutput2 as NowPlayingOutput, NowPlayingProps2 as NowPlayingProps, NowPlayingRepeat2 as NowPlayingRepeat, NowPlayingTrack2 as NowPlayingTrack, NowPlayingTrailing2 as NowPlayingTrailing, PomodoroPhase2 as PomodoroPhase, PomodoroRun2 as PomodoroRun, PomodoroSettings2 as PomodoroSettings, RecentDownload2 as RecentDownload, RecentFile2 as RecentFile, RecentFiles2 as RecentFiles, RecentFilesLeading2 as RecentFilesLeading, RecentFilesMinimal2 as RecentFilesMinimal, RecentFilesProps2 as RecentFilesProps, RecentFilesSaved2 as RecentFilesSaved, RecentFilesSource2 as RecentFilesSource, RecentFilesTrailing2 as RecentFilesTrailing, ScreensPreference2 as ScreensPreference, SettingsPermission2 as SettingsPermission, SettingsPlugin2 as SettingsPlugin, SettingsWindow2 as SettingsWindow, SettingsWindowProps2 as SettingsWindowProps, Shape2 as Shape, ShownArtwork2 as ShownArtwork, Size2 as Size, StatsBattery2 as StatsBattery, StatsDisk2 as StatsDisk, StatsHero2 as StatsHero, StatsProcess2 as StatsProcess, StatsSample2 as StatsSample, StripLayout2 as StripLayout, SystemStats2 as SystemStats, SystemStatsLeading2 as SystemStatsLeading, SystemStatsMinimal2 as SystemStatsMinimal, SystemStatsProps2 as SystemStatsProps, SystemStatsTrailing2 as SystemStatsTrailing, Weather2 as Weather, WeatherAccess2 as WeatherAccess, WeatherAlert2 as WeatherAlert, WeatherAlertProps2 as WeatherAlertProps, WeatherAlertSeverity2 as WeatherAlertSeverity, WeatherCondition2 as WeatherCondition, WeatherDay2 as WeatherDay, WeatherHour2 as WeatherHour, WeatherLeading2 as WeatherLeading, WeatherMinimal2 as WeatherMinimal, WeatherNow2 as WeatherNow, WeatherProps2 as WeatherProps, WeatherStatus2 as WeatherStatus, WeatherTrailing2 as WeatherTrailing, WeatherUnit2 as WeatherUnit, Widget2 as Widget, WidgetAction2 as WidgetAction, WidgetActionProps2 as WidgetActionProps, WidgetChip2 as WidgetChip, WidgetChipProps2 as WidgetChipProps, WidgetFigure2 as WidgetFigure, WidgetFigureProps2 as WidgetFigureProps, WidgetHeader2 as WidgetHeader, WidgetHeaderProps2 as WidgetHeaderProps, WidgetLayout2 as WidgetLayout, WidgetMessage2 as WidgetMessage, WidgetMessageProps2 as WidgetMessageProps, WidgetMeta2 as WidgetMeta, WidgetMetaItem2 as WidgetMetaItem, WidgetMetaItemProps2 as WidgetMetaItemProps, WidgetProps2 as WidgetProps, WidgetRow2 as WidgetRow, WidgetRowProps2 as WidgetRowProps, WidgetSection2 as WidgetSection, WidgetSectionProps2 as WidgetSectionProps, WidgetSheet2 as WidgetSheet, WidgetSheetProps2 as WidgetSheetProps, WidgetSubtitle2 as WidgetSubtitle, WidgetTitle2 as WidgetTitle, WidgetTitleProps2 as WidgetTitleProps, advancePomodoro2 as advancePomodoro, bubbleFor2 as bubbleFor, conditionFromCode2 as conditionFromCode, formatClock2 as formatClock, formatShort2 as formatShort, islandPath2 as islandPath, resumePomodoro2 as resumePomodoro, shapeFor2 as shapeFor, slotWidth2 as slotWidth, startPomodoro2 as startPomodoro, stripLayout2 as stripLayout, useArtworkTint2 as useArtworkTint, useEdgeClock2 as useEdgeClock, useIsland2 as useIsland, useStableArtwork2 as useStableArtwork };
|