@justanarthur/modo-ui-notch 0.0.0-stage → 0.2.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.
Files changed (136) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +75 -2
  3. package/blocks/activities/agenda/examples.mdx +58 -0
  4. package/blocks/activities/agenda/index.tsx +332 -0
  5. package/blocks/activities/now-playing/examples.mdx +49 -0
  6. package/blocks/activities/now-playing/index.tsx +218 -0
  7. package/blocks/activities/shelf/examples.mdx +33 -0
  8. package/blocks/activities/shelf/index.tsx +289 -0
  9. package/blocks/activities/timer/examples.mdx +52 -0
  10. package/blocks/activities/timer/index.tsx +292 -0
  11. package/blocks/app/expanded-island/examples.mdx +45 -0
  12. package/blocks/app/expanded-island/index.tsx +127 -0
  13. package/blocks/app/settings-window/examples.mdx +30 -0
  14. package/blocks/app/settings-window/index.tsx +357 -0
  15. package/blocks/system/controls/examples.mdx +34 -0
  16. package/blocks/system/controls/index.tsx +167 -0
  17. package/blocks/system/devices/examples.mdx +25 -0
  18. package/blocks/system/devices/index.tsx +172 -0
  19. package/blocks/system/power-alert/examples.mdx +32 -0
  20. package/blocks/system/power-alert/index.tsx +89 -0
  21. package/blocks/system/system-stats/examples.mdx +23 -0
  22. package/blocks/system/system-stats/index.tsx +178 -0
  23. package/components/indicators/battery-glyph/examples.mdx +22 -0
  24. package/components/indicators/battery-glyph/index.tsx +91 -0
  25. package/components/indicators/countdown/examples.mdx +25 -0
  26. package/components/indicators/countdown/index.tsx +83 -0
  27. package/components/indicators/equalizer/examples.mdx +20 -0
  28. package/components/indicators/equalizer/index.tsx +116 -0
  29. package/components/indicators/media-scrubber/examples.mdx +21 -0
  30. package/components/indicators/media-scrubber/index.tsx +98 -0
  31. package/components/island/island/examples.mdx +57 -0
  32. package/components/island/island/index.tsx +415 -0
  33. package/components/island/island-flash/examples.mdx +55 -0
  34. package/components/island/island-flash/index.tsx +79 -0
  35. package/components/island/island-tabs/examples.mdx +53 -0
  36. package/components/island/island-tabs/index.tsx +285 -0
  37. package/dist/blocks/activities/agenda/index.d.ts +2 -0
  38. package/dist/blocks/activities/agenda/index.js +21 -0
  39. package/dist/blocks/activities/now-playing/index.d.ts +2 -0
  40. package/dist/blocks/activities/now-playing/index.js +22 -0
  41. package/dist/blocks/activities/shelf/index.d.ts +2 -0
  42. package/dist/blocks/activities/shelf/index.js +14 -0
  43. package/dist/blocks/activities/timer/index.d.ts +2 -0
  44. package/dist/blocks/activities/timer/index.js +19 -0
  45. package/dist/blocks/app/expanded-island/index.d.ts +3 -0
  46. package/dist/blocks/app/expanded-island/index.js +10 -0
  47. package/dist/blocks/app/settings-window/index.d.ts +2 -0
  48. package/dist/blocks/app/settings-window/index.js +7 -0
  49. package/dist/blocks/system/controls/index.d.ts +2 -0
  50. package/dist/blocks/system/controls/index.js +10 -0
  51. package/dist/blocks/system/devices/index.d.ts +2 -0
  52. package/dist/blocks/system/devices/index.js +12 -0
  53. package/dist/blocks/system/power-alert/index.d.ts +2 -0
  54. package/dist/blocks/system/power-alert/index.js +9 -0
  55. package/dist/blocks/system/system-stats/index.d.ts +2 -0
  56. package/dist/blocks/system/system-stats/index.js +12 -0
  57. package/dist/components/indicators/battery-glyph/index.d.ts +2 -0
  58. package/dist/components/indicators/battery-glyph/index.js +9 -0
  59. package/dist/components/indicators/countdown/index.d.ts +2 -0
  60. package/dist/components/indicators/countdown/index.js +8 -0
  61. package/dist/components/indicators/equalizer/index.d.ts +2 -0
  62. package/dist/components/indicators/equalizer/index.js +7 -0
  63. package/dist/components/indicators/media-scrubber/index.d.ts +2 -0
  64. package/dist/components/indicators/media-scrubber/index.js +8 -0
  65. package/dist/components/island/island/index.d.ts +3 -0
  66. package/dist/components/island/island/index.js +10 -0
  67. package/dist/components/island/island-flash/index.d.ts +2 -0
  68. package/dist/components/island/island-flash/index.js +7 -0
  69. package/dist/components/island/island-tabs/index.d.ts +2 -0
  70. package/dist/components/island/island-tabs/index.js +9 -0
  71. package/dist/index.d.ts +21 -0
  72. package/dist/index.js +151 -0
  73. package/dist/lib/clock.d.ts +2 -0
  74. package/dist/lib/clock.js +14 -0
  75. package/dist/lib/geometry.d.ts +2 -0
  76. package/dist/lib/geometry.js +24 -0
  77. package/dist/lib/island-context.d.ts +3 -0
  78. package/dist/lib/island-context.js +8 -0
  79. package/dist/lib/motion.d.ts +21 -0
  80. package/dist/lib/motion.js +16 -0
  81. package/dist/shared/chunk-152gpyq3.d.ts +13 -0
  82. package/dist/shared/chunk-2f7zxrbk.js +65 -0
  83. package/dist/shared/chunk-2qpcsv5h.d.ts +45 -0
  84. package/dist/shared/chunk-2s4q6mt0.js +27 -0
  85. package/dist/shared/chunk-45gytfr1.d.ts +84 -0
  86. package/dist/shared/chunk-502rmtap.js +54 -0
  87. package/dist/shared/chunk-50ffk4r7.d.ts +69 -0
  88. package/dist/shared/chunk-52gb3g6r.d.ts +12 -0
  89. package/dist/shared/chunk-5en5aaj1.d.ts +33 -0
  90. package/dist/shared/chunk-5w0yck07.d.ts +32 -0
  91. package/dist/shared/chunk-6c1jbefs.d.ts +36 -0
  92. package/dist/shared/chunk-78w7qwp0.js +58 -0
  93. package/dist/shared/chunk-7hr53mby.js +116 -0
  94. package/dist/shared/chunk-9nhpg9t8.d.ts +47 -0
  95. package/dist/shared/chunk-b8jb1w72.js +145 -0
  96. package/dist/shared/chunk-cfzmfnyh.d.ts +63 -0
  97. package/dist/shared/chunk-cpewy6yg.js +178 -0
  98. package/dist/shared/chunk-d5qm9cps.js +10 -0
  99. package/dist/shared/chunk-e3e4s4ds.d.ts +77 -0
  100. package/dist/shared/chunk-enm6td0p.js +280 -0
  101. package/dist/shared/chunk-fvedaas2.d.ts +33 -0
  102. package/dist/shared/chunk-gb56m10p.js +39 -0
  103. package/dist/shared/chunk-gex38j8x.d.ts +82 -0
  104. package/dist/shared/chunk-hpsabfsd.d.ts +75 -0
  105. package/dist/shared/chunk-hrpxbqmx.d.ts +28 -0
  106. package/dist/shared/chunk-hwtxpzg0.js +69 -0
  107. package/dist/shared/chunk-mp1nx0ez.js +101 -0
  108. package/dist/shared/chunk-phb53x1f.js +252 -0
  109. package/dist/shared/chunk-r8esmjfs.d.ts +42 -0
  110. package/dist/shared/chunk-rcp1g9ca.js +70 -0
  111. package/dist/shared/chunk-rpfwv3pz.js +209 -0
  112. package/dist/shared/chunk-rr5e0g15.d.ts +35 -0
  113. package/dist/shared/chunk-rx9sphz2.js +266 -0
  114. package/dist/shared/chunk-s33y1pcq.js +305 -0
  115. package/dist/shared/chunk-sbnrhy5m.js +331 -0
  116. package/dist/shared/chunk-w48eyvfr.d.ts +56 -0
  117. package/dist/shared/chunk-wwjxs75m.js +74 -0
  118. package/dist/shared/chunk-xdeek16r.d.ts +58 -0
  119. package/dist/shared/chunk-xkzjk1tq.js +206 -0
  120. package/dist/shared/chunk-yngkkxz2.d.ts +88 -0
  121. package/dist/shared/chunk-zvh0d3qb.js +63 -0
  122. package/dist/styles.css +222 -0
  123. package/index.ts +21 -0
  124. package/lib/clock.ts +53 -0
  125. package/lib/geometry.ts +130 -0
  126. package/lib/island-context.tsx +24 -0
  127. package/lib/motion.ts +42 -0
  128. package/mock/activities.tsx +100 -0
  129. package/mock/artwork.tsx +25 -0
  130. package/mock/data.ts +153 -0
  131. package/mock/desktop.tsx +83 -0
  132. package/mock/fit.ts +26 -0
  133. package/mock/island-content.tsx +217 -0
  134. package/mock/scene.tsx +52 -0
  135. package/mock/settings.tsx +210 -0
  136. package/package.json +117 -4
@@ -0,0 +1,285 @@
1
+ /*!
2
+ * Local addition: the open island's icon tabs, split across the two wings
3
+ * around the notch. Rebuilt from Just Notch's runtime (`island/tabs.tsx`) on
4
+ * modo-ui's fluid hover, liquid indicator and focus ring.
5
+ */
6
+
7
+ 'use client'
8
+
9
+ import { FocusRing } from '@justanarthur/modo-ui/lib/focus-ring'
10
+ import { GooIndicator } from '@justanarthur/modo-ui/lib/goo-indicator'
11
+ import type { IconComponent } from '@justanarthur/modo-ui/lib/icon-context'
12
+ import { useRowFocus } from '@justanarthur/modo-ui/lib/row-group'
13
+ import { useShape } from '@justanarthur/modo-ui/lib/shape-context'
14
+ import { type SizeVariant, useSize } from '@justanarthur/modo-ui/lib/size-context'
15
+ import { useControllableState } from '@justanarthur/modo-ui/lib/use-controllable-state'
16
+ import { useFluidHover, useRegisterFluidHoverItem } from '@justanarthur/modo-ui/lib/use-fluid-hover'
17
+ import { cn } from '@justanarthur/modo-ui/lib/utils'
18
+ import { FluidHoverHighlight } from '@justanarthur/modo-ui/primitives/systems/fluid-hover'
19
+ import {
20
+ type CSSProperties,
21
+ type KeyboardEvent,
22
+ type ReactNode,
23
+ useEffect,
24
+ useLayoutEffect,
25
+ useRef,
26
+ useState,
27
+ } from 'react'
28
+ import { DEFAULT_NOTCH, stripLayout } from '../../../lib/geometry'
29
+ import { useIsland } from '../../../lib/island-context'
30
+
31
+ interface IslandTab {
32
+ /** What selecting it reports. */
33
+ value: string
34
+ /** Its name: the tab's accessible name, and the title a consumer shows for it. */
35
+ label: string
36
+ /** Its glyph. */
37
+ icon: IconComponent
38
+ }
39
+
40
+ interface IslandTabsProps {
41
+ /** The tabs, in order: they fill the left wing, then the right one. */
42
+ tabs: IslandTab[]
43
+ /** The selected tab's value (controlled). */
44
+ value?: string
45
+ /** The tab selected at first (uncontrolled). Defaults to the first tab. */
46
+ defaultValue?: string
47
+ /** Called with the value of the tab a press or an arrow key selects. */
48
+ onValueChange?: (value: string) => void
49
+ /** Called with the value of the tab under the pointer, or `null`, so a title can preview it. */
50
+ onHoverChange?: (value: string | null) => void
51
+ /** Step on the size ladder. Defaults to the surrounding SizeProvider, else `'default'`. */
52
+ size?: SizeVariant
53
+ /** The notch the strip leaves free, centered. Defaults to the enclosing Island's, else `185`. */
54
+ notchWidth?: number
55
+ /** Content at the far right of the right wing, such as a settings button; the tabs keep clear of it. */
56
+ trailing?: ReactNode
57
+ /** The tab list's accessible name. Defaults to `'Widgets'`. */
58
+ label?: string
59
+ /** Classes for the root, which spans its container's width. */
60
+ className?: string
61
+ }
62
+
63
+ // Literal tables: UnoCSS only generates the classes it can read whole.
64
+ const TAB_WIDTH: Record<SizeVariant, number> = { default: 40, compact: 30 }
65
+ const TAB_CLASS: Record<SizeVariant, string> = { default: 'w-10', compact: 'w-7.5' }
66
+ const FADE = 16
67
+ const NOTCH_FADE = 8
68
+
69
+ interface TabButtonProps {
70
+ tab: IslandTab
71
+ index: number
72
+ selected: boolean
73
+ lit: boolean
74
+ size: SizeVariant
75
+ register: (index: number, element: HTMLElement | null) => void
76
+ onSelect: (index: number) => void
77
+ }
78
+
79
+ function TabButton({ tab, index, selected, lit, size: sizeProp, register, onSelect }: TabButtonProps) {
80
+ const ref = useRef<HTMLButtonElement>(null)
81
+ const size = useSize(sizeProp)
82
+ const shape = useShape()
83
+ useRegisterFluidHoverItem(register, index, ref)
84
+ const Icon = tab.icon
85
+ return (
86
+ <button
87
+ ref={ref}
88
+ type="button"
89
+ role="tab"
90
+ aria-selected={selected}
91
+ aria-label={tab.label}
92
+ tabIndex={selected ? 0 : -1}
93
+ data-fluid-hover-index={index}
94
+ className={cn(
95
+ 'relative z-10 flex shrink-0 cursor-pointer items-center justify-center bg-transparent outline-none transition-[color] duration-fast',
96
+ size.control,
97
+ TAB_CLASS[size.variant],
98
+ shape.bg,
99
+ lit ? 'text-foreground' : 'text-muted-foreground',
100
+ )}
101
+ onClick={() => onSelect(index)}
102
+ >
103
+ <Icon size={size.icon} strokeWidth={lit ? 2 : 1.5} className="transition-[stroke-width] duration-fast" />
104
+ </button>
105
+ )
106
+ }
107
+
108
+ function useWidth(ref: React.RefObject<HTMLElement | null>) {
109
+ const [width, setWidth] = useState(0)
110
+ useLayoutEffect(() => {
111
+ const el = ref.current
112
+ if (!el) return
113
+ setWidth(el.offsetWidth)
114
+ const observer = new ResizeObserver(() => setWidth(el.offsetWidth))
115
+ observer.observe(el)
116
+ return () => observer.disconnect()
117
+ }, [ref])
118
+ return width
119
+ }
120
+
121
+ /**
122
+ * The open island's icon tabs, in both wings around the notch: the left
123
+ * wing's, a gap the width of the notch, then the right wing's.
124
+ *
125
+ * The tabs fill the left wing first and balance into the right one, keeping
126
+ * clear of the `trailing` content at its far end. The selected tab's pill is
127
+ * modo-ui's liquid indicator: it melts from tab to tab, across the notch too;
128
+ * a fluid hover highlight lights the tab under the pointer and the keyboard
129
+ * gets a focus ring that springs between tabs. Past what both wings hold the
130
+ * strip scrolls behind the notch, which hides the tabs passing under it; its
131
+ * outer edges fade with `scroll-fade-x` and a vertical wheel scrolls it
132
+ * sideways.
133
+ *
134
+ * The strip shows icons only. Show the selected tab's title yourself, or the
135
+ * hovered one's as a preview through `onHoverChange`. Arrow keys, Home and End
136
+ * move the selection. Inside an Island it reads the notch's width from it.
137
+ *
138
+ * @example {@include ./examples.mdx}
139
+ */
140
+ export default function IslandTabs({
141
+ tabs,
142
+ value: valueProp,
143
+ defaultValue,
144
+ onValueChange,
145
+ onHoverChange,
146
+ size: sizeProp,
147
+ notchWidth,
148
+ trailing,
149
+ label = 'Widgets',
150
+ className,
151
+ }: IslandTabsProps) {
152
+ const [value, setValue] = useControllableState(valueProp, defaultValue ?? tabs[0]?.value, onValueChange)
153
+ const size = useSize(sizeProp)
154
+ const shape = useShape()
155
+ const island = useIsland()
156
+ const notch = notchWidth ?? island?.geometry.notch.width ?? DEFAULT_NOTCH.width
157
+
158
+ const root = useRef<HTMLDivElement>(null)
159
+ const viewport = useRef<HTMLDivElement>(null)
160
+ const strip = useRef<HTMLDivElement>(null)
161
+ const end = useRef<HTMLDivElement>(null)
162
+ const width = useWidth(root)
163
+ const reserve = useWidth(end)
164
+ const hover = useFluidHover(strip, { axis: 'x' })
165
+ const focus = useRowFocus(hover)
166
+
167
+ const selected = Math.max(
168
+ 0,
169
+ tabs.findIndex(tab => tab.value === value),
170
+ )
171
+ const layout = stripLayout(tabs.length, width, notch, TAB_WIDTH[size.variant], reserve)
172
+ const hovered = hover.activeIndex === null ? null : (tabs[hover.activeIndex]?.value ?? null)
173
+
174
+ const report = useRef(onHoverChange)
175
+ report.current = onHoverChange
176
+ useEffect(() => report.current?.(hovered), [hovered])
177
+
178
+ // Scrolls only the strip (scrollIntoView would scroll the page too), and moves keyboard focus along.
179
+ useEffect(() => {
180
+ const el = viewport.current
181
+ const active = el?.querySelector<HTMLElement>('[role=tab][aria-selected=true]')
182
+ if (!el || !active) return
183
+ if (el.contains(document.activeElement) && document.activeElement !== active) active.focus({ preventScroll: true })
184
+ const left = active.offsetLeft - el.scrollLeft
185
+ const right = left + active.offsetWidth - el.clientWidth
186
+ if (left < 0) el.scrollBy({ left: left - FADE })
187
+ else if (right > 0) el.scrollBy({ left: right + FADE })
188
+ }, [selected])
189
+
190
+ useEffect(() => {
191
+ const el = viewport.current
192
+ if (!el || !layout.overflow) return
193
+ const onWheel = (event: WheelEvent) => {
194
+ if (Math.abs(event.deltaY) <= Math.abs(event.deltaX)) return
195
+ event.preventDefault()
196
+ el.scrollLeft += event.deltaY
197
+ }
198
+ el.addEventListener('wheel', onWheel, { passive: false })
199
+ return () => el.removeEventListener('wheel', onWheel)
200
+ }, [layout.overflow])
201
+
202
+ const select = (index: number) => {
203
+ const tab = tabs[index]
204
+ if (tab) setValue(tab.value)
205
+ }
206
+
207
+ const onKeyDown = (event: KeyboardEvent) => {
208
+ const next =
209
+ event.key === 'ArrowRight'
210
+ ? selected + 1
211
+ : event.key === 'ArrowLeft'
212
+ ? selected - 1
213
+ : event.key === 'Home'
214
+ ? 0
215
+ : event.key === 'End'
216
+ ? tabs.length - 1
217
+ : null
218
+ if (next === null || !tabs[next]) return
219
+ event.preventDefault()
220
+ select(next)
221
+ }
222
+
223
+ // The notch cut out of the strip while it scrolls behind it: a mask's alpha, not a color.
224
+ const hole: CSSProperties | undefined = layout.overflow
225
+ ? {
226
+ maskImage: `linear-gradient(to right, black ${layout.hole.start - NOTCH_FADE}px, transparent ${layout.hole.start}px, transparent ${layout.hole.end}px, black ${layout.hole.end + NOTCH_FADE}px)`,
227
+ }
228
+ : undefined
229
+
230
+ const rect = hover.isMeasured ? hover.itemRects[selected] : undefined
231
+ const button = (tab: IslandTab, index: number) => (
232
+ <TabButton
233
+ key={tab.value}
234
+ tab={tab}
235
+ index={index}
236
+ selected={index === selected}
237
+ lit={index === selected || index === hover.activeIndex}
238
+ size={size.variant}
239
+ register={hover.registerItem}
240
+ onSelect={select}
241
+ />
242
+ )
243
+
244
+ return (
245
+ <div ref={root} className={cn('relative flex w-full min-w-0 items-center', size.control, className)}>
246
+ <div className="relative h-full min-w-0 flex-1" style={hole}>
247
+ <div
248
+ ref={viewport}
249
+ className={cn(
250
+ 'h-full overflow-x-auto overflow-y-hidden scrollbar-hide',
251
+ layout.overflow && 'scroll-fade-x [--scroll-fade-size:16px]',
252
+ )}
253
+ >
254
+ <div
255
+ ref={strip}
256
+ role="tablist"
257
+ aria-label={label}
258
+ className="relative flex h-full w-max min-w-full items-center"
259
+ onKeyDown={onKeyDown}
260
+ onMouseMove={hover.handlers.onMouseMove}
261
+ onMouseEnter={hover.handlers.onMouseEnter}
262
+ onMouseLeave={hover.handlers.onMouseLeave}
263
+ onFocus={focus.handlers.onFocus}
264
+ onBlur={focus.handlers.onBlur}
265
+ >
266
+ {rect && <GooIndicator rect={rect} className={cn('bg-active', shape.bg)} />}
267
+ <FluidHoverHighlight hover={hover} hidden={hover.activeIndex === selected} className={shape.bg} />
268
+ <FocusRing rect={focus.focusRect} />
269
+ {tabs.slice(0, layout.before).map(button)}
270
+ <div aria-hidden className="h-full shrink-0 grow" style={{ minWidth: layout.spacer }} />
271
+ {tabs.slice(layout.before).map((tab, i) => button(tab, layout.before + i))}
272
+ </div>
273
+ </div>
274
+ </div>
275
+ {trailing && (
276
+ <div ref={end} className="flex shrink-0 items-center">
277
+ {trailing}
278
+ </div>
279
+ )}
280
+ </div>
281
+ )
282
+ }
283
+
284
+ export type { IslandTab, IslandTabsProps }
285
+ export { IslandTabs }
@@ -0,0 +1,2 @@
1
+ import { AgendaAccess2, AgendaEvent2, AgendaProps2, AgendaLeading2, AgendaTrailing2, AgendaMinimal2, AgendaUpNext2, AgendaStarting2, Agenda2 } from "../../../shared/chunk-gex38j8x.js";
2
+ 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 };
@@ -0,0 +1,21 @@
1
+ import {
2
+ AgendaLeading2,
3
+ AgendaTrailing2,
4
+ AgendaMinimal2,
5
+ AgendaUpNext2,
6
+ AgendaStarting2,
7
+ Agenda2,
8
+ agenda_default
9
+ } from "../../../shared/chunk-enm6td0p.js";
10
+ import"../../../shared/chunk-502rmtap.js";
11
+ import"../../../shared/chunk-gb56m10p.js";
12
+ import"../../../shared/chunk-78w7qwp0.js";
13
+ export {
14
+ Agenda2 as Agenda,
15
+ AgendaLeading2 as AgendaLeading,
16
+ AgendaMinimal2 as AgendaMinimal,
17
+ AgendaStarting2 as AgendaStarting,
18
+ AgendaTrailing2 as AgendaTrailing,
19
+ AgendaUpNext2 as AgendaUpNext,
20
+ agenda_default as default
21
+ };
@@ -0,0 +1,2 @@
1
+ import { NowPlayingTrack2, NowPlayingProps2, NowPlayingArtwork2, NowPlayingLeading2, NowPlayingTrailing2, NowPlayingMinimal2, NowPlayingFlash2, NowPlaying2 } from "../../../shared/chunk-45gytfr1.js";
2
+ export { NowPlaying2 as NowPlaying, NowPlayingArtwork2 as NowPlayingArtwork, NowPlayingFlash2 as NowPlayingFlash, NowPlayingLeading2 as NowPlayingLeading, NowPlayingMinimal2 as NowPlayingMinimal, NowPlayingProps2 as NowPlayingProps, NowPlayingTrack2 as NowPlayingTrack, NowPlayingTrailing2 as NowPlayingTrailing, NowPlaying2 as default };
@@ -0,0 +1,22 @@
1
+ import {
2
+ NowPlayingArtwork2,
3
+ NowPlayingLeading2,
4
+ NowPlayingTrailing2,
5
+ NowPlayingMinimal2,
6
+ NowPlayingFlash2,
7
+ NowPlaying2,
8
+ now_playing_default
9
+ } from "../../../shared/chunk-xkzjk1tq.js";
10
+ import"../../../shared/chunk-2f7zxrbk.js";
11
+ import"../../../shared/chunk-wwjxs75m.js";
12
+ import"../../../shared/chunk-gb56m10p.js";
13
+ import"../../../shared/chunk-78w7qwp0.js";
14
+ export {
15
+ NowPlaying2 as NowPlaying,
16
+ NowPlayingArtwork2 as NowPlayingArtwork,
17
+ NowPlayingFlash2 as NowPlayingFlash,
18
+ NowPlayingLeading2 as NowPlayingLeading,
19
+ NowPlayingMinimal2 as NowPlayingMinimal,
20
+ NowPlayingTrailing2 as NowPlayingTrailing,
21
+ now_playing_default as default
22
+ };
@@ -0,0 +1,2 @@
1
+ import { ShelfFile2, ShelfProps2, ShelfLeading2, ShelfTrailing2, ShelfDropProps2, ShelfDrop2, Shelf2 } from "../../../shared/chunk-50ffk4r7.js";
2
+ export { Shelf2 as Shelf, ShelfDrop2 as ShelfDrop, ShelfDropProps2 as ShelfDropProps, ShelfFile2 as ShelfFile, ShelfLeading2 as ShelfLeading, ShelfProps2 as ShelfProps, ShelfTrailing2 as ShelfTrailing, Shelf2 as default };
@@ -0,0 +1,14 @@
1
+ import {
2
+ ShelfLeading2,
3
+ ShelfTrailing2,
4
+ ShelfDrop2,
5
+ Shelf2,
6
+ shelf_default
7
+ } from "../../../shared/chunk-phb53x1f.js";
8
+ export {
9
+ Shelf2 as Shelf,
10
+ ShelfDrop2 as ShelfDrop,
11
+ ShelfLeading2 as ShelfLeading,
12
+ ShelfTrailing2 as ShelfTrailing,
13
+ shelf_default as default
14
+ };
@@ -0,0 +1,2 @@
1
+ import { TimerKind2, TimerRun2, TimerProps2, TimerLeading2, TimerTrailing2, TimerMinimal2, TimerDoneProps2, TimerDone2, Timer2 } from "../../../shared/chunk-e3e4s4ds.js";
2
+ export { Timer2 as Timer, TimerDone2 as TimerDone, TimerDoneProps2 as TimerDoneProps, TimerKind2 as TimerKind, TimerLeading2 as TimerLeading, TimerMinimal2 as TimerMinimal, TimerProps2 as TimerProps, TimerRun2 as TimerRun, TimerTrailing2 as TimerTrailing, Timer2 as default };
@@ -0,0 +1,19 @@
1
+ import {
2
+ TimerLeading2,
3
+ TimerTrailing2,
4
+ TimerMinimal2,
5
+ TimerDone2,
6
+ Timer2,
7
+ timer_default
8
+ } from "../../../shared/chunk-rx9sphz2.js";
9
+ import"../../../shared/chunk-502rmtap.js";
10
+ import"../../../shared/chunk-gb56m10p.js";
11
+ import"../../../shared/chunk-78w7qwp0.js";
12
+ export {
13
+ Timer2 as Timer,
14
+ TimerDone2 as TimerDone,
15
+ TimerLeading2 as TimerLeading,
16
+ TimerMinimal2 as TimerMinimal,
17
+ TimerTrailing2 as TimerTrailing,
18
+ timer_default as default
19
+ };
@@ -0,0 +1,3 @@
1
+ import { ExpandedIslandTab2, ExpandedIslandProps2, ExpandedIsland2 } from "../../../shared/chunk-9nhpg9t8.js";
2
+ import "../../../shared/chunk-w48eyvfr.js";
3
+ export { ExpandedIsland2 as ExpandedIsland, ExpandedIslandProps2 as ExpandedIslandProps, ExpandedIslandTab2 as ExpandedIslandTab, ExpandedIsland2 as default };
@@ -0,0 +1,10 @@
1
+ import {
2
+ ExpandedIsland2
3
+ } from "../../../shared/chunk-mp1nx0ez.js";
4
+ import"../../../shared/chunk-rpfwv3pz.js";
5
+ import"../../../shared/chunk-d5qm9cps.js";
6
+ import"../../../shared/chunk-zvh0d3qb.js";
7
+ export {
8
+ ExpandedIsland2 as ExpandedIsland,
9
+ ExpandedIsland2 as default
10
+ };
@@ -0,0 +1,2 @@
1
+ import { ScreensPreference2, AppPreferences2, SettingsPlugin2, SettingsPermission2, AboutRow2, SettingsWindowProps2, SettingsWindow2 } from "../../../shared/chunk-yngkkxz2.js";
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 };
@@ -0,0 +1,7 @@
1
+ import {
2
+ SettingsWindow2
3
+ } from "../../../shared/chunk-s33y1pcq.js";
4
+ export {
5
+ SettingsWindow2 as SettingsWindow,
6
+ SettingsWindow2 as default
7
+ };
@@ -0,0 +1,2 @@
1
+ import { ControlKind2, ControlLevels2, ControlsProps2, ControlsLevelProps2, ControlsLevel2, Controls2 } from "../../../shared/chunk-xdeek16r.js";
2
+ export { ControlKind2 as ControlKind, ControlLevels2 as ControlLevels, Controls2 as Controls, ControlsLevel2 as ControlsLevel, ControlsLevelProps2 as ControlsLevelProps, ControlsProps2 as ControlsProps, Controls2 as default };
@@ -0,0 +1,10 @@
1
+ import {
2
+ ControlsLevel2,
3
+ Controls2,
4
+ controls_default
5
+ } from "../../../shared/chunk-7hr53mby.js";
6
+ export {
7
+ Controls2 as Controls,
8
+ ControlsLevel2 as ControlsLevel,
9
+ controls_default as default
10
+ };
@@ -0,0 +1,2 @@
1
+ import { DeviceKind2, DeviceInfo2, DevicesProps2, DevicesConnected2, Devices2 } from "../../../shared/chunk-r8esmjfs.js";
2
+ export { DeviceInfo2 as DeviceInfo, DeviceKind2 as DeviceKind, Devices2 as Devices, DevicesConnected2 as DevicesConnected, DevicesProps2 as DevicesProps, Devices2 as default };
@@ -0,0 +1,12 @@
1
+ import {
2
+ DevicesConnected2,
3
+ Devices2,
4
+ devices_default
5
+ } from "../../../shared/chunk-b8jb1w72.js";
6
+ import"../../../shared/chunk-hwtxpzg0.js";
7
+ import"../../../shared/chunk-78w7qwp0.js";
8
+ export {
9
+ Devices2 as Devices,
10
+ DevicesConnected2 as DevicesConnected,
11
+ devices_default as default
12
+ };
@@ -0,0 +1,2 @@
1
+ import { PowerAlertKind2, PowerAlertProps2, PowerAlert2 } from "../../../shared/chunk-5w0yck07.js";
2
+ export { PowerAlert2 as PowerAlert, PowerAlertKind2 as PowerAlertKind, PowerAlertProps2 as PowerAlertProps, PowerAlert2 as default };
@@ -0,0 +1,9 @@
1
+ import {
2
+ PowerAlert2
3
+ } from "../../../shared/chunk-rcp1g9ca.js";
4
+ import"../../../shared/chunk-hwtxpzg0.js";
5
+ import"../../../shared/chunk-78w7qwp0.js";
6
+ export {
7
+ PowerAlert2 as PowerAlert,
8
+ PowerAlert2 as default
9
+ };
@@ -0,0 +1,2 @@
1
+ import { StatsSample2, SystemStatsProps2, SystemStatsLeading2, SystemStatsTrailing2, SystemStats2 } from "../../../shared/chunk-2qpcsv5h.js";
2
+ export { StatsSample2 as StatsSample, SystemStats2 as SystemStats, SystemStatsLeading2 as SystemStatsLeading, SystemStatsProps2 as SystemStatsProps, SystemStatsTrailing2 as SystemStatsTrailing, SystemStats2 as default };
@@ -0,0 +1,12 @@
1
+ import {
2
+ SystemStatsLeading2,
3
+ SystemStatsTrailing2,
4
+ SystemStats2,
5
+ system_stats_default
6
+ } from "../../../shared/chunk-cpewy6yg.js";
7
+ export {
8
+ SystemStats2 as SystemStats,
9
+ SystemStatsLeading2 as SystemStatsLeading,
10
+ SystemStatsTrailing2 as SystemStatsTrailing,
11
+ system_stats_default as default
12
+ };
@@ -0,0 +1,2 @@
1
+ import { BatteryTone2, BatteryGlyphProps2, batteryTone2, BatteryGlyph2 } from "../../../shared/chunk-fvedaas2.js";
2
+ export { BatteryGlyph2 as BatteryGlyph, BatteryGlyphProps2 as BatteryGlyphProps, BatteryTone2 as BatteryTone, batteryTone2 as batteryTone, BatteryGlyph2 as default };
@@ -0,0 +1,9 @@
1
+ import {
2
+ batteryTone2,
3
+ BatteryGlyph2
4
+ } from "../../../shared/chunk-hwtxpzg0.js";
5
+ export {
6
+ BatteryGlyph2 as BatteryGlyph,
7
+ batteryTone2 as batteryTone,
8
+ BatteryGlyph2 as default
9
+ };
@@ -0,0 +1,2 @@
1
+ import { CountdownFormat2, CountdownProps2, Countdown2 } from "../../../shared/chunk-5en5aaj1.js";
2
+ export { Countdown2 as Countdown, CountdownFormat2 as CountdownFormat, CountdownProps2 as CountdownProps, Countdown2 as default };
@@ -0,0 +1,8 @@
1
+ import {
2
+ Countdown2
3
+ } from "../../../shared/chunk-502rmtap.js";
4
+ import"../../../shared/chunk-gb56m10p.js";
5
+ export {
6
+ Countdown2 as Countdown,
7
+ Countdown2 as default
8
+ };
@@ -0,0 +1,2 @@
1
+ import { EqualizerProps2, Equalizer2 } from "../../../shared/chunk-hrpxbqmx.js";
2
+ export { Equalizer2 as Equalizer, EqualizerProps2 as EqualizerProps, Equalizer2 as default };
@@ -0,0 +1,7 @@
1
+ import {
2
+ Equalizer2
3
+ } from "../../../shared/chunk-2f7zxrbk.js";
4
+ export {
5
+ Equalizer2 as Equalizer,
6
+ Equalizer2 as default
7
+ };
@@ -0,0 +1,2 @@
1
+ import { MediaScrubberProps2, MediaScrubber2 } from "../../../shared/chunk-rr5e0g15.js";
2
+ export { MediaScrubber2 as MediaScrubber, MediaScrubberProps2 as MediaScrubberProps, MediaScrubber2 as default };
@@ -0,0 +1,8 @@
1
+ import {
2
+ MediaScrubber2
3
+ } from "../../../shared/chunk-wwjxs75m.js";
4
+ import"../../../shared/chunk-gb56m10p.js";
5
+ export {
6
+ MediaScrubber2 as MediaScrubber,
7
+ MediaScrubber2 as default
8
+ };
@@ -0,0 +1,3 @@
1
+ import { CollapsedState2, IslandProps2, Island2 } from "../../../shared/chunk-hpsabfsd.js";
2
+ import "../../../shared/chunk-cfzmfnyh.js";
3
+ export { CollapsedState2 as CollapsedState, Island2 as Island, IslandProps2 as IslandProps, Island2 as default };
@@ -0,0 +1,10 @@
1
+ import {
2
+ Island2
3
+ } from "../../../shared/chunk-sbnrhy5m.js";
4
+ import"../../../shared/chunk-2s4q6mt0.js";
5
+ import"../../../shared/chunk-d5qm9cps.js";
6
+ import"../../../shared/chunk-zvh0d3qb.js";
7
+ export {
8
+ Island2 as Island,
9
+ Island2 as default
10
+ };
@@ -0,0 +1,2 @@
1
+ import { IslandFlashTone2, IslandFlashProps2, IslandFlash2 } from "../../../shared/chunk-6c1jbefs.js";
2
+ export { IslandFlash2 as IslandFlash, IslandFlashProps2 as IslandFlashProps, IslandFlashTone2 as IslandFlashTone, IslandFlash2 as default };
@@ -0,0 +1,7 @@
1
+ import {
2
+ IslandFlash2
3
+ } from "../../../shared/chunk-78w7qwp0.js";
4
+ export {
5
+ IslandFlash2 as IslandFlash,
6
+ IslandFlash2 as default
7
+ };
@@ -0,0 +1,2 @@
1
+ import { IslandTab2, IslandTabsProps2, IslandTabs2 } from "../../../shared/chunk-w48eyvfr.js";
2
+ export { IslandTab2 as IslandTab, IslandTabs2 as IslandTabs, IslandTabsProps2 as IslandTabsProps, IslandTabs2 as default };
@@ -0,0 +1,9 @@
1
+ import {
2
+ IslandTabs2
3
+ } from "../../../shared/chunk-rpfwv3pz.js";
4
+ import"../../../shared/chunk-d5qm9cps.js";
5
+ import"../../../shared/chunk-zvh0d3qb.js";
6
+ export {
7
+ IslandTabs2 as IslandTabs,
8
+ IslandTabs2 as default
9
+ };
@@ -0,0 +1,21 @@
1
+ import { AgendaAccess2, AgendaEvent2, AgendaProps2, AgendaLeading2, AgendaTrailing2, AgendaMinimal2, AgendaUpNext2, AgendaStarting2, Agenda2 } from "./shared/chunk-gex38j8x.js";
2
+ import { NowPlayingTrack2, NowPlayingProps2, NowPlayingArtwork2, NowPlayingLeading2, NowPlayingTrailing2, NowPlayingMinimal2, NowPlayingFlash2, NowPlaying2 } from "./shared/chunk-45gytfr1.js";
3
+ import { ShelfFile2, ShelfProps2, ShelfLeading2, ShelfTrailing2, ShelfDropProps2, ShelfDrop2, Shelf2 } from "./shared/chunk-50ffk4r7.js";
4
+ import { TimerKind2, TimerRun2, TimerProps2, TimerLeading2, TimerTrailing2, TimerMinimal2, TimerDoneProps2, TimerDone2, Timer2 } from "./shared/chunk-e3e4s4ds.js";
5
+ import { IslandTab2, IslandTabsProps2, IslandTabs2 } from "./shared/chunk-w48eyvfr.js";
6
+ import { ExpandedIslandTab2, ExpandedIslandProps2, ExpandedIsland2 } from "./shared/chunk-9nhpg9t8.js";
7
+ import { ScreensPreference2, AppPreferences2, SettingsPlugin2, SettingsPermission2, AboutRow2, SettingsWindowProps2, SettingsWindow2 } from "./shared/chunk-yngkkxz2.js";
8
+ import { ControlKind2, ControlLevels2, ControlsProps2, ControlsLevelProps2, ControlsLevel2, Controls2 } from "./shared/chunk-xdeek16r.js";
9
+ import { DeviceKind2, DeviceInfo2, DevicesProps2, DevicesConnected2, Devices2 } from "./shared/chunk-r8esmjfs.js";
10
+ import { PowerAlertKind2, PowerAlertProps2, PowerAlert2 } from "./shared/chunk-5w0yck07.js";
11
+ import { StatsSample2, SystemStatsProps2, SystemStatsLeading2, SystemStatsTrailing2, SystemStats2 } from "./shared/chunk-2qpcsv5h.js";
12
+ import { BatteryTone2, BatteryGlyphProps2, batteryTone2, BatteryGlyph2 } from "./shared/chunk-fvedaas2.js";
13
+ import { CountdownFormat2, CountdownProps2, Countdown2 } from "./shared/chunk-5en5aaj1.js";
14
+ import { EqualizerProps2, Equalizer2 } from "./shared/chunk-hrpxbqmx.js";
15
+ import { MediaScrubberProps2, MediaScrubber2 } from "./shared/chunk-rr5e0g15.js";
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";
17
+ import { CollapsedState2, IslandProps2, Island2 } from "./shared/chunk-hpsabfsd.js";
18
+ import { IslandFlashTone2, IslandFlashProps2, IslandFlash2 } from "./shared/chunk-6c1jbefs.js";
19
+ import { formatClock2, formatShort2, useEdgeClock2 } from "./shared/chunk-152gpyq3.js";
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, BatteryGlyph2 as BatteryGlyph, BatteryGlyphProps2 as BatteryGlyphProps, BatteryTone2 as BatteryTone, CollapsedState2 as CollapsedState, ControlKind2 as ControlKind, ControlLevels2 as ControlLevels, Controls2 as Controls, ControlsLevel2 as ControlsLevel, ControlsLevelProps2 as ControlsLevelProps, ControlsProps2 as ControlsProps, Countdown2 as Countdown, CountdownFormat2 as CountdownFormat, CountdownProps2 as CountdownProps, DEFAULT_NOTCH2 as DEFAULT_NOTCH, DEFAULT_PANEL2 as DEFAULT_PANEL, DeviceInfo2 as DeviceInfo, DeviceKind2 as DeviceKind, Devices2 as Devices, DevicesConnected2 as DevicesConnected, DevicesProps2 as DevicesProps, 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, NowPlayingProps2 as NowPlayingProps, NowPlayingTrack2 as NowPlayingTrack, NowPlayingTrailing2 as NowPlayingTrailing, PowerAlert2 as PowerAlert, PowerAlertKind2 as PowerAlertKind, PowerAlertProps2 as PowerAlertProps, ScreensPreference2 as ScreensPreference, SettingsPermission2 as SettingsPermission, SettingsPlugin2 as SettingsPlugin, SettingsWindow2 as SettingsWindow, SettingsWindowProps2 as SettingsWindowProps, Shape2 as Shape, Shelf2 as Shelf, ShelfDrop2 as ShelfDrop, ShelfDropProps2 as ShelfDropProps, ShelfFile2 as ShelfFile, ShelfLeading2 as ShelfLeading, ShelfProps2 as ShelfProps, ShelfTrailing2 as ShelfTrailing, Size2 as Size, StatsSample2 as StatsSample, StripLayout2 as StripLayout, SystemStats2 as SystemStats, SystemStatsLeading2 as SystemStatsLeading, SystemStatsProps2 as SystemStatsProps, SystemStatsTrailing2 as SystemStatsTrailing, Timer2 as Timer, TimerDone2 as TimerDone, TimerDoneProps2 as TimerDoneProps, TimerKind2 as TimerKind, TimerLeading2 as TimerLeading, TimerMinimal2 as TimerMinimal, TimerProps2 as TimerProps, TimerRun2 as TimerRun, TimerTrailing2 as TimerTrailing, batteryTone2 as batteryTone, bubbleFor2 as bubbleFor, formatClock2 as formatClock, formatShort2 as formatShort, islandPath2 as islandPath, shapeFor2 as shapeFor, slotWidth2 as slotWidth, stripLayout2 as stripLayout, useEdgeClock2 as useEdgeClock, useIsland2 as useIsland };