@prestack/thread-ui 0.1.10 → 0.1.12
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/CHANGELOG.md +375 -0
- package/dist/ui/attach.js +6 -7
- package/dist/ui/compositions.d.ts +0 -8
- package/dist/ui/compositions.js +3 -166
- package/dist/ui/generators/routes.js +1 -0
- package/package.json +2 -2
- package/dist/ui/animations/anm_appear.ts +0 -13
- package/dist/ui/animations/anm_blur_in.ts +0 -19
- package/dist/ui/animations/anm_blur_out.ts +0 -18
- package/dist/ui/animations/anm_dismiss.ts +0 -18
- package/dist/ui/animations/anm_drop.ts +0 -19
- package/dist/ui/animations/anm_fall.ts +0 -18
- package/dist/ui/animations/anm_flash.ts +0 -18
- package/dist/ui/animations/anm_glow.ts +0 -16
- package/dist/ui/animations/anm_lift.ts +0 -16
- package/dist/ui/animations/anm_nudge.ts +0 -16
- package/dist/ui/animations/anm_pop_in.ts +0 -23
- package/dist/ui/animations/anm_pop_out.ts +0 -22
- package/dist/ui/animations/anm_press.ts +0 -12
- package/dist/ui/animations/anm_pulse.ts +0 -13
- package/dist/ui/animations/anm_rise.ts +0 -19
- package/dist/ui/animations/anm_shake.ts +0 -13
- package/dist/ui/animations/anm_slide_in_left.ts +0 -19
- package/dist/ui/animations/anm_slide_in_right.ts +0 -19
- package/dist/ui/animations/anm_slide_out_left.ts +0 -18
- package/dist/ui/animations/anm_slide_out_right.ts +0 -18
- package/dist/ui/animations/anm_spin.ts +0 -12
- package/dist/ui/animations/anm_swell.ts +0 -16
- package/dist/ui/animations/anm_wobble.ts +0 -24
- package/dist/ui/animations/anm_zoom_in.ts +0 -19
- package/dist/ui/animations/anm_zoom_out.ts +0 -18
- package/dist/ui/animations.ts +0 -308
- package/dist/ui/attach.ts +0 -553
- package/dist/ui/charts.tsx +0 -69
- package/dist/ui/checked.ts +0 -32
- package/dist/ui/collector.ts +0 -140
- package/dist/ui/compositions.ts +0 -613
- package/dist/ui/consent.ts +0 -55
- package/dist/ui/content.tsx +0 -27
- package/dist/ui/contrast.ts +0 -27
- package/dist/ui/controls.tsx +0 -25
- package/dist/ui/disclosure.tsx +0 -20
- package/dist/ui/dismiss-layer.ts +0 -87
- package/dist/ui/door.ts +0 -140
- package/dist/ui/drag.ts +0 -316
- package/dist/ui/elements/accordion.tsx +0 -47
- package/dist/ui/elements/accordion.works.ts +0 -66
- package/dist/ui/elements/aspect-ratio.tsx +0 -31
- package/dist/ui/elements/aspect-ratio.works.ts +0 -5
- package/dist/ui/elements/avatar.tsx +0 -34
- package/dist/ui/elements/avatar.works.ts +0 -16
- package/dist/ui/elements/badge.tsx +0 -33
- package/dist/ui/elements/badge.works.ts +0 -9
- package/dist/ui/elements/bars.tsx +0 -50
- package/dist/ui/elements/bars.works.ts +0 -29
- package/dist/ui/elements/box.tsx +0 -36
- package/dist/ui/elements/breadcrumb.tsx +0 -38
- package/dist/ui/elements/breadcrumb.works.ts +0 -24
- package/dist/ui/elements/button.tsx +0 -46
- package/dist/ui/elements/button.works.tsx +0 -52
- package/dist/ui/elements/column.tsx +0 -29
- package/dist/ui/elements/consent.tsx +0 -71
- package/dist/ui/elements/consent.works.tsx +0 -132
- package/dist/ui/elements/donut.tsx +0 -45
- package/dist/ui/elements/donut.works.ts +0 -42
- package/dist/ui/elements/each.tsx +0 -34
- package/dist/ui/elements/each.works.tsx +0 -82
- package/dist/ui/elements/empty.tsx +0 -33
- package/dist/ui/elements/field.tsx +0 -45
- package/dist/ui/elements/field.works.ts +0 -65
- package/dist/ui/elements/funnel.tsx +0 -50
- package/dist/ui/elements/funnel.works.ts +0 -37
- package/dist/ui/elements/gauge.tsx +0 -40
- package/dist/ui/elements/gauge.works.ts +0 -42
- package/dist/ui/elements/glyph.tsx +0 -30
- package/dist/ui/elements/glyph.works.tsx +0 -42
- package/dist/ui/elements/grid.tsx +0 -29
- package/dist/ui/elements/heatmap.tsx +0 -48
- package/dist/ui/elements/heatmap.works.ts +0 -24
- package/dist/ui/elements/hit-box.tsx +0 -47
- package/dist/ui/elements/hit-box.works.tsx +0 -576
- package/dist/ui/elements/image.tsx +0 -29
- package/dist/ui/elements/line-chart.tsx +0 -45
- package/dist/ui/elements/line-chart.works.ts +0 -41
- package/dist/ui/elements/link.tsx +0 -38
- package/dist/ui/elements/link.works.ts +0 -25
- package/dist/ui/elements/media.tsx +0 -57
- package/dist/ui/elements/menu.tsx +0 -51
- package/dist/ui/elements/menu.works.tsx +0 -154
- package/dist/ui/elements/money.tsx +0 -36
- package/dist/ui/elements/money.works.ts +0 -9
- package/dist/ui/elements/pagination.tsx +0 -39
- package/dist/ui/elements/pagination.works.ts +0 -20
- package/dist/ui/elements/progress.tsx +0 -34
- package/dist/ui/elements/progress.works.ts +0 -8
- package/dist/ui/elements/radio-group.tsx +0 -50
- package/dist/ui/elements/radio-group.works.ts +0 -33
- package/dist/ui/elements/row.tsx +0 -29
- package/dist/ui/elements/scatter.tsx +0 -42
- package/dist/ui/elements/scatter.works.ts +0 -38
- package/dist/ui/elements/select.tsx +0 -43
- package/dist/ui/elements/select.works.ts +0 -5
- package/dist/ui/elements/separator.tsx +0 -31
- package/dist/ui/elements/skeleton.tsx +0 -31
- package/dist/ui/elements/slider.tsx +0 -34
- package/dist/ui/elements/slider.works.ts +0 -5
- package/dist/ui/elements/sparkline.tsx +0 -37
- package/dist/ui/elements/sparkline.works.ts +0 -32
- package/dist/ui/elements/spinner.tsx +0 -33
- package/dist/ui/elements/stack.tsx +0 -29
- package/dist/ui/elements/stat.tsx +0 -36
- package/dist/ui/elements/stat.works.ts +0 -14
- package/dist/ui/elements/surface.tsx +0 -36
- package/dist/ui/elements/surface.works.ts +0 -9
- package/dist/ui/elements/table.tsx +0 -62
- package/dist/ui/elements/table.works.ts +0 -30
- package/dist/ui/elements/tabs.tsx +0 -47
- package/dist/ui/elements/tabs.works.ts +0 -84
- package/dist/ui/elements/text.tsx +0 -33
- package/dist/ui/elements/textarea.tsx +0 -38
- package/dist/ui/elements/textarea.works.ts +0 -5
- package/dist/ui/elements/time.tsx +0 -40
- package/dist/ui/elements/time.works.ts +0 -29
- package/dist/ui/elements/toggle.tsx +0 -34
- package/dist/ui/elements/toggle.works.ts +0 -5
- package/dist/ui/elements/tooltip.tsx +0 -40
- package/dist/ui/elements/tooltip.works.ts +0 -77
- package/dist/ui/elements/value.tsx +0 -38
- package/dist/ui/elements/value.works.ts +0 -9
- package/dist/ui/elements.ts +0 -127
- package/dist/ui/focus-scope.ts +0 -121
- package/dist/ui/fonts.ts +0 -355
- package/dist/ui/generators/dev.d.ts +0 -1
- package/dist/ui/generators/dev.js +0 -62
- package/dist/ui/generators/dev.ts +0 -75
- package/dist/ui/generators/elements.ts +0 -796
- package/dist/ui/generators/i18n.ts +0 -283
- package/dist/ui/generators/icons.ts +0 -207
- package/dist/ui/generators/react.ts +0 -267
- package/dist/ui/generators/routes.ts +0 -847
- package/dist/ui/generators/show.ts +0 -261
- package/dist/ui/generators/styles.ts +0 -677
- package/dist/ui/generators/variants.ts +0 -196
- package/dist/ui/i18n/catalogs/en.ts +0 -191
- package/dist/ui/i18n/format.ts +0 -221
- package/dist/ui/i18n/locales.ts +0 -33
- package/dist/ui/i18n/parse.ts +0 -315
- package/dist/ui/i18n/translator.ts +0 -31
- package/dist/ui/i18n/types.ts +0 -96
- package/dist/ui/icons.ts +0 -331
- package/dist/ui/islands/map.ts +0 -58
- package/dist/ui/localizations.ts +0 -75
- package/dist/ui/material.ts +0 -236
- package/dist/ui/materials/mat_bordered.ts +0 -13
- package/dist/ui/materials/mat_ceramic.ts +0 -13
- package/dist/ui/materials/mat_clay.ts +0 -13
- package/dist/ui/materials/mat_elevated.ts +0 -24
- package/dist/ui/materials/mat_flat.ts +0 -34
- package/dist/ui/materials/mat_glass.ts +0 -20
- package/dist/ui/materials/mat_lit.ts +0 -13
- package/dist/ui/materials/mat_moulded.ts +0 -11
- package/dist/ui/materials.ts +0 -197
- package/dist/ui/modes.ts +0 -44
- package/dist/ui/navigation.tsx +0 -29
- package/dist/ui/positioning.ts +0 -90
- package/dist/ui/presented.tsx +0 -119
- package/dist/ui/provider.tsx +0 -184
- package/dist/ui/render-loop.ts +0 -133
- package/dist/ui/roving-focus.ts +0 -161
- package/dist/ui/screens.ts +0 -141
- package/dist/ui/scroll-lock.ts +0 -28
- package/dist/ui/series.ts +0 -97
- package/dist/ui/signals.ts +0 -386
- package/dist/ui/styleguide.ts +0 -231
- package/dist/ui/styleguides.ts +0 -374
- package/dist/ui/themes.ts +0 -22
- package/dist/ui/token.ts +0 -78
- package/dist/ui/tokens/shadow.ts +0 -25
- package/dist/ui/tokens.ts +0 -234
- package/dist/ui/validators.ts +0 -232
- package/dist/ui/variant.ts +0 -349
- package/dist/ui/variants/var_avatar-round.ts +0 -14
- package/dist/ui/variants/var_bubble-me.ts +0 -14
- package/dist/ui/variants/var_bubble-them.ts +0 -13
- package/dist/ui/variants/var_button-border.ts +0 -76
- package/dist/ui/variants/var_button-cta.ts +0 -76
- package/dist/ui/variants/var_button-destructive-ghost.ts +0 -72
- package/dist/ui/variants/var_button-destructive.ts +0 -76
- package/dist/ui/variants/var_button-fill.ts +0 -76
- package/dist/ui/variants/var_button-ghost.ts +0 -72
- package/dist/ui/variants/var_button-glass.ts +0 -55
- package/dist/ui/variants/var_button-normal.ts +0 -76
- package/dist/ui/variants/var_button-quiet.ts +0 -74
- package/dist/ui/variants/var_card.ts +0 -17
- package/dist/ui/variants/var_chip.ts +0 -13
- package/dist/ui/variants/var_choice.ts +0 -15
- package/dist/ui/variants/var_framed.ts +0 -10
- package/dist/ui/variants/var_glyph-plain.ts +0 -11
- package/dist/ui/variants/var_input.ts +0 -43
- package/dist/ui/variants/var_link-inline.ts +0 -29
- package/dist/ui/variants/var_list-row.ts +0 -34
- package/dist/ui/variants/var_rule.ts +0 -10
- package/dist/ui/variants/var_skeleton-block.ts +0 -12
- package/dist/ui/variants/var_spinner-turning.ts +0 -12
- package/dist/ui/variants/var_stat-tile.ts +0 -13
- package/dist/ui/variants/var_tab-bar.ts +0 -15
- package/dist/ui/variants/var_tap-target.ts +0 -25
- package/dist/ui/variants.ts +0 -64
- package/dist/ui/wrappers.tsx +0 -429
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import type { MessageKey } from '../content.tsx'
|
|
4
|
-
import { roleClass } from '../fonts.ts'
|
|
5
|
-
|
|
6
|
-
import type { Dispatching } from '../checked.ts'
|
|
7
|
-
import { type Element, element, useSurface } from '../wrappers.tsx'
|
|
8
|
-
import { shows } from './glyph.works.tsx'
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export interface GlyphProps {
|
|
12
|
-
readonly name: string
|
|
13
|
-
readonly labelKey?: MessageKey
|
|
14
|
-
readonly dispatch?: keyof Dispatching
|
|
15
|
-
readonly input?: Readonly<Record<string, unknown>>
|
|
16
|
-
readonly invokeOn?: 'press' | 'shown'
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export const Glyph: Element<'Glyph', GlyphProps> = element(
|
|
20
|
-
'Glyph',
|
|
21
|
-
(props: GlyphProps, className) => {
|
|
22
|
-
const surface = useSurface({ className: roleClass(undefined, className),
|
|
23
|
-
invokes: { ...(props.dispatch === undefined ? {} : { dispatch: props.dispatch }), ...(props.input === undefined ? {} : { input: props.input }), ...(props.invokeOn === undefined ? {} : { on: props.invokeOn }) }, })
|
|
24
|
-
return (
|
|
25
|
-
shows(props, surface)
|
|
26
|
-
)
|
|
27
|
-
},
|
|
28
|
-
'e-glyph',
|
|
29
|
-
{"glyphPlain":"thread-glyph-plain"},
|
|
30
|
-
)
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react'
|
|
2
|
-
|
|
3
|
-
import type { Surface } from '../door.ts'
|
|
4
|
-
import { drawnFor, iconSize, installedSet, strokeFor } from '../icons.ts'
|
|
5
|
-
import type { GlyphProps } from './glyph.tsx'
|
|
6
|
-
|
|
7
|
-
type Drawn = (props: {
|
|
8
|
-
readonly size?: number
|
|
9
|
-
readonly strokeWidth?: number
|
|
10
|
-
readonly className?: string
|
|
11
|
-
readonly 'aria-hidden'?: boolean
|
|
12
|
-
readonly 'aria-label'?: string
|
|
13
|
-
readonly role?: string
|
|
14
|
-
}) => ReactNode
|
|
15
|
-
|
|
16
|
-
export function drawn(name: string, semantics: Readonly<Record<string, unknown>>, className?: string): ReactNode {
|
|
17
|
-
const Symbol = drawnFor(name) as Drawn
|
|
18
|
-
const set = installedSet()
|
|
19
|
-
const stroke = set === undefined ? undefined : strokeFor(set)
|
|
20
|
-
|
|
21
|
-
return (
|
|
22
|
-
<Symbol
|
|
23
|
-
size={iconSize()}
|
|
24
|
-
{...(className === undefined ? {} : { className })}
|
|
25
|
-
{...(stroke === undefined ? {} : { strokeWidth: stroke })}
|
|
26
|
-
{...semantics}
|
|
27
|
-
/>
|
|
28
|
-
)
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function shows(props: GlyphProps, surface: Surface): ReactNode {
|
|
32
|
-
return drawn(
|
|
33
|
-
props.name,
|
|
34
|
-
{
|
|
35
|
-
...surface.marks,
|
|
36
|
-
...(props.labelKey === undefined
|
|
37
|
-
? ({ 'aria-hidden': true } as const)
|
|
38
|
-
: ({ role: 'img', 'aria-label': surface.text(props.labelKey) } as const)),
|
|
39
|
-
},
|
|
40
|
-
surface.className,
|
|
41
|
-
)
|
|
42
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import type { ReactNode } from 'react'
|
|
4
|
-
|
|
5
|
-
import type { Dispatching } from '../checked.ts'
|
|
6
|
-
import { type Element, element, useSurface } from '../wrappers.tsx'
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export interface GridProps {
|
|
10
|
-
readonly children: ReactNode
|
|
11
|
-
readonly dispatch?: keyof Dispatching
|
|
12
|
-
readonly input?: Readonly<Record<string, unknown>>
|
|
13
|
-
readonly invokeOn?: 'press' | 'shown'
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export const Grid: Element<'Grid', GridProps> = element(
|
|
17
|
-
'Grid',
|
|
18
|
-
(props: GridProps, className) => {
|
|
19
|
-
const surface = useSurface({ className,
|
|
20
|
-
invokes: { ...(props.dispatch === undefined ? {} : { dispatch: props.dispatch }), ...(props.input === undefined ? {} : { input: props.input }), ...(props.invokeOn === undefined ? {} : { on: props.invokeOn }) }, })
|
|
21
|
-
return (
|
|
22
|
-
<div className={surface.className} {...surface.marks} {...surface.invokes} {...surface.a11y}>
|
|
23
|
-
{props.children}
|
|
24
|
-
</div>
|
|
25
|
-
)
|
|
26
|
-
},
|
|
27
|
-
'e-grid',
|
|
28
|
-
{},
|
|
29
|
-
)
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import type { MessageKey } from '../content.tsx'
|
|
4
|
-
import type { Row } from '../charts.tsx'
|
|
5
|
-
import { roleClass } from '../fonts.ts'
|
|
6
|
-
import { measured as marking } from '../charts.tsx'
|
|
7
|
-
|
|
8
|
-
import type { Dispatching } from '../checked.ts'
|
|
9
|
-
import { type Element, element, useSurface } from '../wrappers.tsx'
|
|
10
|
-
import { Each } from '../elements/each.tsx'
|
|
11
|
-
import { sized, uses } from './heatmap.works.ts'
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export interface HeatmapProps {
|
|
15
|
-
readonly rows: readonly Row[]
|
|
16
|
-
readonly by: string
|
|
17
|
-
readonly x: string
|
|
18
|
-
readonly y: string
|
|
19
|
-
readonly value?: string
|
|
20
|
-
readonly titleKey?: MessageKey
|
|
21
|
-
readonly dispatch?: keyof Dispatching
|
|
22
|
-
readonly input?: Readonly<Record<string, unknown>>
|
|
23
|
-
readonly invokeOn?: 'press' | 'shown'
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export const Heatmap: Element<'Heatmap', HeatmapProps> = element(
|
|
27
|
-
'Heatmap',
|
|
28
|
-
(props: HeatmapProps, className) => {
|
|
29
|
-
const kept = uses(props)
|
|
30
|
-
const surface = useSurface({ className: roleClass(undefined, className),
|
|
31
|
-
invokes: { ...(props.dispatch === undefined ? {} : { dispatch: props.dispatch }), ...(props.input === undefined ? {} : { input: props.input }), ...(props.invokeOn === undefined ? {} : { on: props.invokeOn }) },
|
|
32
|
-
holds: [
|
|
33
|
-
...(kept.holds ?? []),
|
|
34
|
-
],
|
|
35
|
-
...(kept.animates === undefined ? {} : { animates: kept.animates }), })
|
|
36
|
-
return (
|
|
37
|
-
<div className={surface.className} {...surface.marks} {...surface.invokes} {...surface.a11y} {...(kept.on ?? {})} role="img" {...(props.titleKey === undefined ? {} : { 'aria-label': surface.text(props.titleKey) })}>
|
|
38
|
-
<Each rows={props.rows} by={props.by}>
|
|
39
|
-
{(each0, at) => (
|
|
40
|
-
<span style={marking(sized(props, kept, each0, at))}></span>
|
|
41
|
-
)}
|
|
42
|
-
</Each>
|
|
43
|
-
</div>
|
|
44
|
-
)
|
|
45
|
-
},
|
|
46
|
-
'e-heatmap',
|
|
47
|
-
{"card":"thread-card"},
|
|
48
|
-
)
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { num, useRamp, type Row } from '../charts.tsx'
|
|
2
|
-
import type { HeatmapProps } from './heatmap.tsx'
|
|
3
|
-
|
|
4
|
-
export function uses(props: HeatmapProps): {
|
|
5
|
-
readonly holds?: readonly string[]
|
|
6
|
-
readonly animates?: boolean
|
|
7
|
-
readonly on?: Readonly<Record<string, unknown>>
|
|
8
|
-
readonly ramp: readonly string[]
|
|
9
|
-
} {
|
|
10
|
-
const ramp = useRamp(1)
|
|
11
|
-
return { ...(props.rows.length === 0 ? { holds: ['empty'] as const } : {}), ramp }
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export function sized(
|
|
15
|
-
props: HeatmapProps,
|
|
16
|
-
kept: { readonly ramp: readonly string[] },
|
|
17
|
-
row: Row,
|
|
18
|
-
_at: number,
|
|
19
|
-
): Readonly<Record<string, string | number>> {
|
|
20
|
-
const readings = props.rows.map((one: Row) => (props.value === undefined ? 1 : num(one, props.value)))
|
|
21
|
-
const most = Math.max(...readings, 0) || 1
|
|
22
|
-
const here = props.value === undefined ? 1 : num(row, props.value)
|
|
23
|
-
return { series: kept.ramp[0] ?? '', share: Math.max(0.08, here / most) }
|
|
24
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
'use client'
|
|
2
|
-
|
|
3
|
-
import type { ReactNode } from 'react'
|
|
4
|
-
import type { Subject } from '../drag.ts'
|
|
5
|
-
|
|
6
|
-
import type { Dispatching } from '../checked.ts'
|
|
7
|
-
import { type Element, element, useSurface } from '../wrappers.tsx'
|
|
8
|
-
import { shown, uses, wires } from './hit-box.works.tsx'
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export interface HitBoxProps {
|
|
12
|
-
readonly children: ReactNode
|
|
13
|
-
readonly gesture: string
|
|
14
|
-
readonly tuning?: Readonly<Record<string, number>>
|
|
15
|
-
readonly axis?: string
|
|
16
|
-
readonly grabs?: Subject | readonly Subject[]
|
|
17
|
-
readonly accepts: readonly string[]
|
|
18
|
-
readonly collects?: Subject | readonly Subject[]
|
|
19
|
-
readonly dwell?: number
|
|
20
|
-
readonly moves?: boolean
|
|
21
|
-
readonly onDrop?: () => void
|
|
22
|
-
readonly input?: Readonly<Record<string, unknown>>
|
|
23
|
-
readonly dispatch?: keyof Dispatching
|
|
24
|
-
readonly invokeOn?: 'press' | 'shown'
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export const HitBox: Element<'HitBox', HitBoxProps> = element(
|
|
28
|
-
'HitBox',
|
|
29
|
-
(props: HitBoxProps, className) => {
|
|
30
|
-
const kept = uses(props)
|
|
31
|
-
const surface = useSurface({ className,
|
|
32
|
-
invokes: { ...(props.dispatch === undefined ? {} : { dispatch: props.dispatch }), ...(props.input === undefined ? {} : { input: props.input }), ...(props.invokeOn === undefined ? {} : { on: props.invokeOn }) },
|
|
33
|
-
holds: [
|
|
34
|
-
...(kept.holds ?? []),
|
|
35
|
-
],
|
|
36
|
-
...(kept.animates === undefined ? {} : { animates: kept.animates }), })
|
|
37
|
-
const wired = wires(props, kept, surface)
|
|
38
|
-
return (
|
|
39
|
-
<div className={surface.className} {...surface.marks} {...surface.invokes} {...surface.a11y} {...(kept.on ?? {})} {...(wired.on ?? {})}>
|
|
40
|
-
{props.children}
|
|
41
|
-
<div className="e-hit-box-carried">{shown(props, surface, kept, wired).carried}</div>
|
|
42
|
-
</div>
|
|
43
|
-
)
|
|
44
|
-
},
|
|
45
|
-
'e-hit-box',
|
|
46
|
-
{"tapTarget":"thread-tap-target"},
|
|
47
|
-
)
|