@gecko-ui-kit/react 0.0.0-stage → 0.1.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.
@@ -0,0 +1,207 @@
1
+ import type * as React from 'react';
2
+ import type { HostProps, Mounted } from './core.js';
3
+
4
+ /** 'accent' | 'good' | 'warn' | 'bad', a palette name ('teal', 'rose', 'amber'…) or any CSS colour. */
5
+ export type ChartTone = 'accent' | 'good' | 'warn' | 'bad' | 'ink' | 'muted' | 'indigo' | 'teal' | 'rose' | 'amber' | 'violet' | 'green' | 'slate' | 'sky' | (string & {});
6
+
7
+ /* ---------- LineChart ---------- */
8
+ export interface LineSeries {
9
+ name: string;
10
+ /** Lines up with labels; null leaves a gap. */
11
+ data: (number | null)[];
12
+ tone?: ChartTone;
13
+ /** Start hidden (its legend key turns it on). */
14
+ hidden?: boolean;
15
+ }
16
+ export interface LineChartHandle {
17
+ readonly labels: string[];
18
+ readonly series: { name: string; data: (number | null)[]; shown: boolean }[];
19
+ /** Points morph to the new values; added / removed series fade. */
20
+ update(next: { labels?: string[]; series?: LineSeries[] }): LineChartHandle;
21
+ /** Show the crosshair at a label (-1 hides it). */
22
+ highlight(index: number | null): LineChartHandle;
23
+ /** Hide or show a series; returns whether it is shown. */
24
+ toggle(name: string, on?: boolean): boolean;
25
+ destroy(): void;
26
+ }
27
+ export interface LineChartProps extends HostProps {
28
+ labels: (string | number)[];
29
+ series: LineSeries[];
30
+ /** Fill under each line (default true). */
31
+ area?: boolean;
32
+ /** Monotone curve (default true); false = straight segments. */
33
+ smooth?: boolean;
34
+ /** Each series sits on top of the ones before it. */
35
+ stacked?: boolean;
36
+ /** px (default 240); the width follows the element. */
37
+ height?: number;
38
+ /** Fix the bottom of the y-axis (default 0, or a nice value below the lowest point). */
39
+ yMin?: number | null;
40
+ /** Fix the top of the y-axis. */
41
+ yMax?: number | null;
42
+ /** About how many steps on the y-axis (default 4). */
43
+ ticks?: number;
44
+ /** Values in the tooltip, table and announcements. */
45
+ format?: (v: number) => string;
46
+ /** y-axis labels (default: format). */
47
+ axisFormat?: (v: number) => string;
48
+ /** Horizontal guide lines (default true). */
49
+ grid?: boolean;
50
+ /** Dots on hover only (default), always, or never. */
51
+ dots?: 'hover' | boolean;
52
+ tooltip?: boolean;
53
+ legend?: boolean;
54
+ /** Name for screen readers. */
55
+ label?: string;
56
+ words?: Record<string, string | ((...a: any[]) => string)>;
57
+ /** The crosshair moved (index -1 when it hides). */
58
+ onPoint?: (index: number, info: { label: string; values: (number | null)[] } | null, chart: LineChartHandle) => void;
59
+ }
60
+ /** <LineChart labels={months} series={[{ name: 'Income', data: [...] }]} /> */
61
+ export const LineChart: React.ForwardRefExoticComponent<LineChartProps & React.RefAttributes<Mounted<LineChartHandle>>>;
62
+
63
+ /* ---------- Donut ---------- */
64
+ export interface DonutItem { label: string; value: number; tone?: ChartTone }
65
+ export interface DonutHandle {
66
+ readonly data: { label: string; value: number; share: number }[];
67
+ readonly total: number;
68
+ /** The picked slice (-1 = none). */
69
+ readonly selected: number;
70
+ /** Slices morph to the new shares (matched by label). */
71
+ set(data: DonutItem[]): void;
72
+ /** Pick a slice by index or label (-1 clears); no onSelect. */
73
+ select(which: number | string | null): DonutHandle;
74
+ destroy(): void;
75
+ }
76
+ export interface DonutProps extends HostProps {
77
+ data: DonutItem[];
78
+ /** px across (default 200; shrinks with a narrow parent). */
79
+ size?: number;
80
+ /** px, width of the ring (default 26). */
81
+ thickness?: number;
82
+ /** px between slices (default 3). */
83
+ gap?: number;
84
+ /** 'right' (default; drops below when there is no room) | 'bottom' | false. */
85
+ legend?: 'right' | 'bottom' | false;
86
+ /** Biggest first ('desc' or true) or smallest first ('asc'). */
87
+ sort?: boolean | 'desc' | 'asc';
88
+ /** Values in the middle, legend, table and read-outs. */
89
+ format?: (v: number) => string;
90
+ /** The line under the total (default "Total"); false = no text in the middle. */
91
+ centre?: string | false | null;
92
+ /** Name for screen readers. */
93
+ label?: string;
94
+ words?: Record<string, string | ((...a: any[]) => string)>;
95
+ /** A slice was picked (index -1 when cleared). */
96
+ onSelect?: (index: number, item: { label: string; value: number; share: number } | null, donut: DonutHandle) => void;
97
+ }
98
+ /** <Donut data={[{ label: 'Scooters', value: 48 }]} /> */
99
+ export const Donut: React.ForwardRefExoticComponent<DonutProps & React.RefAttributes<Mounted<DonutHandle>>>;
100
+
101
+ /* ---------- Gauge ---------- */
102
+ export interface GaugeHandle {
103
+ readonly value: number;
104
+ /** Swings from where it is now. */
105
+ set(value: number): GaugeHandle;
106
+ destroy(): void;
107
+ }
108
+ export interface GaugeProps extends HostProps {
109
+ value: number;
110
+ min?: number;
111
+ /** Default 100. */
112
+ max?: number;
113
+ /** A tick on the arc + "Goal 1,000" under the number. */
114
+ goal?: number | null;
115
+ /** Each zone runs from the one before (or min) up to `to`. */
116
+ zones?: { to: number; tone?: ChartTone; label?: string }[] | null;
117
+ /** Colour of the filled arc when there are no zones (default 'accent'). */
118
+ tone?: ChartTone;
119
+ /** The number, the ends and the read-out. */
120
+ format?: (v: number) => string;
121
+ /** Shown under the number, and the meter's name. */
122
+ label?: string;
123
+ /** px across (default 240; shrinks with a narrow parent). */
124
+ size?: number;
125
+ /** false = no needle; the number moves up inside the arc. */
126
+ needle?: boolean;
127
+ /** min and max under the two ends (default true). */
128
+ ends?: boolean;
129
+ words?: { label?: string; goal?: (goal: string) => string; reached?: string; valuetext?: (value: string, goal: string, zone: string) => string };
130
+ }
131
+ /** <Gauge value={864} max={1200} goal={1000} label="Today's sales" /> */
132
+ export const Gauge: React.ForwardRefExoticComponent<GaugeProps & React.RefAttributes<Mounted<GaugeHandle>>>;
133
+
134
+ /* ---------- Leaderboard ---------- */
135
+ export interface LeaderboardItem {
136
+ id?: string | number;
137
+ label: string;
138
+ value: number;
139
+ sub?: string;
140
+ /** A person for av(): { name, ini, tone }. */
141
+ avatar?: { name?: string; ini?: string; tone?: string; [k: string]: unknown } | null;
142
+ [key: string]: unknown;
143
+ }
144
+ export interface LeaderboardHandle {
145
+ /** Every item in rank order, with its rank. */
146
+ readonly items: (LeaderboardItem & { rank: number })[];
147
+ /** Rows glide to their new ranks, bars stretch, numbers count. */
148
+ set(items: LeaderboardItem[]): LeaderboardHandle;
149
+ destroy(): void;
150
+ }
151
+ export interface LeaderboardProps extends HostProps {
152
+ items: LeaderboardItem[];
153
+ /** Rows shown (0 = all). */
154
+ max?: number;
155
+ /** The number on each row (also gets in-between values while it counts). */
156
+ format?: (v: number) => string;
157
+ /** A bar under each row, the leader = full width (default true). */
158
+ bars?: boolean;
159
+ /** Gold, silver and bronze on the top three (default true). */
160
+ medals?: boolean;
161
+ /** Name for screen readers. */
162
+ label?: string;
163
+ words?: Record<string, string | ((...a: any[]) => string)>;
164
+ }
165
+ /** <Leaderboard items={[{ id: 'malee', label: 'Malee', value: 42 }]} /> */
166
+ export const Leaderboard: React.ForwardRefExoticComponent<LeaderboardProps & React.RefAttributes<Mounted<LeaderboardHandle>>>;
167
+
168
+ /* ---------- Heatmap ---------- */
169
+ export type HeatmapDate = string | Date;
170
+ export interface HeatmapDay { date: Date; value: number | null; level: number }
171
+ export interface HeatmapHandle {
172
+ /** The picked day, or null. */
173
+ readonly value: Date | null;
174
+ /** New numbers: every square re-shades in a ripple. */
175
+ set(data: HeatmapProps['data']): HeatmapHandle;
176
+ /** Pick a day (no onSelect); null clears. */
177
+ select(date: HeatmapDate | null): HeatmapHandle;
178
+ destroy(): void;
179
+ }
180
+ export interface HeatmapProps extends HostProps {
181
+ /** [{ date: 'YYYY-MM-DD' | Date, value }] (a missing day counts as 0, null = no data), or a function read once at the start. */
182
+ data: { date: HeatmapDate; value: number | null }[] | ((date: Date) => number | null);
183
+ /** The last day on show (default today). */
184
+ end?: HeatmapDate | null;
185
+ /** Columns (default 26). */
186
+ weeks?: number;
187
+ /** 1 = Monday on top (default), 0 = Sunday. */
188
+ weekStart?: number;
189
+ /** Shades above "nothing" (default 4), or thresholds like [1, 5, 10, 20]. */
190
+ levels?: number | number[];
191
+ tone?: ChartTone;
192
+ /** The number in the card and labels. */
193
+ format?: (v: number) => string;
194
+ /** Day and month names through Intl (default 'en'). */
195
+ locale?: string;
196
+ /** The picked day; changing it picks it in place. */
197
+ value?: HeatmapDate | null;
198
+ /** The picked day at the start. */
199
+ defaultValue?: HeatmapDate | null;
200
+ words?: Record<string, string | ((...a: any[]) => string)>;
201
+ /** A day was clicked or picked with Enter / Space. */
202
+ onSelect?: (day: HeatmapDay, heatmap: HeatmapHandle) => void;
203
+ }
204
+ /** <Heatmap data={[{ date: '2026-12-03', value: 14 }]} /> */
205
+ export const Heatmap: React.ForwardRefExoticComponent<HeatmapProps & React.RefAttributes<Mounted<HeatmapHandle>>>;
206
+
207
+ export {};
package/src/charts.js ADDED
@@ -0,0 +1,79 @@
1
+ 'use client';
2
+ /* Charts: LineChart, Donut, Gauge, Heatmap, Leaderboard. The vanilla code draws and animates each one inside
3
+ its own element; new data never draws them again from zero: it goes through the handle (update / set),
4
+ so lines morph, slices change size, the needle swings and rows glide to their new places. */
5
+ import * as C from '@gecko-ui-kit/components';
6
+ import { mounted, changedOnly, same } from './core.js';
7
+
8
+ /**
9
+ * <LineChart labels={months} series={[{ name: 'Walk-in', data: [...] }, { name: 'Online', data: [...] }]} format={baht} />
10
+ * Same as lineChart(el, options). New labels / series morph in place (update): points slide to the new values,
11
+ * added or removed series fade. ref → { labels, series, update(), highlight(i), toggle(name, on?), el }.
12
+ */
13
+ export const LineChart = mounted('LineChart', C.lineChart, {
14
+ update(c, next, prev) {
15
+ if (!changedOnly(next, prev, ['labels', 'series'])) return false;
16
+ c.update({ labels: next.labels || [], series: next.series || [] });
17
+ return true;
18
+ },
19
+ });
20
+
21
+ /**
22
+ * <Donut data={[{ label: 'Scooters', value: 48 }, …]} centre="Bikes" onSelect={(i, item) => …} />
23
+ * Same as donut(el, options). New data morphs the slices to their new shares (set, matched by label).
24
+ * ref → { data, total, selected, set(data), select(index | label | -1), el }.
25
+ */
26
+ export const Donut = mounted('Donut', C.donut, {
27
+ update(d, next, prev) {
28
+ if (changedOnly(next, prev, ['data'])) { d.set(next.data || []); return true; }
29
+ return false;
30
+ },
31
+ });
32
+
33
+ /**
34
+ * <Gauge value={sales} max={1200} goal={1000} label="Today's sales" />
35
+ * Same as gauge(el, options). A new value swings the needle from where it is now (set). ref → { value, set(v), el }.
36
+ */
37
+ export const Gauge = mounted('Gauge', C.gauge, {
38
+ update(gg, next, prev) {
39
+ if (changedOnly(next, prev, ['value'])) { gg.set(next.value ?? 0); return true; }
40
+ return false;
41
+ },
42
+ });
43
+
44
+ /**
45
+ * <Leaderboard items={[{ id: 'malee', label: 'Malee', value: 42, sub: 'Front desk' }, …]} max={5} />
46
+ * Same as leaderboard(el, options). New items: rows glide to their new ranks, bars stretch, numbers count (set).
47
+ * ref → { items, set(items), el }.
48
+ */
49
+ export const Leaderboard = mounted('Leaderboard', C.leaderboard, {
50
+ update(lb, next, prev) {
51
+ if (changedOnly(next, prev, ['items'])) { lb.set(next.items || []); return true; }
52
+ return false;
53
+ },
54
+ });
55
+
56
+ /* 'YYYY-MM-DD' of a local Date, so end={new Date()} on every render does not count as new data. */
57
+ const ymd = (d) => `${d.getFullYear()}-${String(d.getMonth() + 1).padStart(2, '0')}-${String(d.getDate()).padStart(2, '0')}`;
58
+ const dayOf = (v) => (v instanceof Date ? ymd(v) : v);
59
+
60
+ /**
61
+ * <Heatmap data={[{ date: '2026-12-03', value: 14 }, …]} weeks={26} value={day} onSelect={(d) => setDay(d.date)} />
62
+ * Same as heatmap(el, options). New data re-shades every square in a ripple (set). `value` picks a day in place
63
+ * (select; defaultValue only at the start). ref → { value, set(data), select(date | null), el }.
64
+ */
65
+ export const Heatmap = mounted('Heatmap', (el, o) => {
66
+ const { value, defaultValue, ...opts } = o;
67
+ const hm = C.heatmap(el, opts);
68
+ const pick = value !== undefined ? value : defaultValue;
69
+ if (hm && pick != null) hm.select(pick);
70
+ return hm;
71
+ }, {
72
+ options: (o) => ({ ...o, end: dayOf(o.end), value: dayOf(o.value), defaultValue: dayOf(o.defaultValue) }),
73
+ update(hm, next, prev) {
74
+ if (!changedOnly(next, prev, ['data', 'value', 'defaultValue'])) return false;
75
+ if (!same(next.data, prev.data)) hm.set(next.data || []);
76
+ if (!same(next.value, prev.value)) hm.select(next.value ?? null); // defaultValue is only read at the start
77
+ return true;
78
+ },
79
+ });
@@ -0,0 +1,159 @@
1
+ import type * as React from 'react';
2
+ import type { IconLike } from './core.js';
3
+
4
+ type ButtonAttrs = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'value' | 'defaultValue'>;
5
+ type DivAttrs = Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'>;
6
+
7
+ /** An option: [value, label, icon?], { value, label, icon, disabled } or a plain string. */
8
+ export type Option<V extends string = string> = [V, React.ReactNode?, IconLike?] | { value: V; label?: React.ReactNode; icon?: IconLike; disabled?: boolean } | V;
9
+ export function normOption<V extends string>(o: Option<V>): { value: V; label: React.ReactNode; icon?: IconLike; disabled?: boolean };
10
+
11
+ export interface SwitchProps extends ButtonAttrs {
12
+ checked?: boolean;
13
+ defaultChecked?: boolean;
14
+ onChange?: (checked: boolean, event: React.MouseEvent<HTMLButtonElement>) => void;
15
+ /** Accessible name (aria-label). */
16
+ label?: string;
17
+ }
18
+ /** <Switch checked={on} onChange={setOn} label="Wi-Fi" /> */
19
+ export const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
20
+
21
+ export interface SegmentedProps<V extends string = string> extends DivAttrs {
22
+ options: Option<V>[];
23
+ value?: V;
24
+ defaultValue?: V;
25
+ onChange?: (value: V, event: React.MouseEvent<HTMLButtonElement>) => void;
26
+ size?: 'sm' | (string & {});
27
+ name?: string;
28
+ }
29
+ /** <Segmented options={[['list', 'List', 'list'], ['grid', 'Grid', 'cards']]} value={v} onChange={setV} /> */
30
+ export const Segmented: React.ForwardRefExoticComponent<SegmentedProps & React.RefAttributes<HTMLDivElement>>;
31
+
32
+ export interface CheckboxProps extends Omit<ButtonAttrs, 'onChange'> {
33
+ checked?: boolean;
34
+ defaultChecked?: boolean;
35
+ onChange?: (checked: boolean, event: React.MouseEvent<HTMLButtonElement>) => void;
36
+ /** Accessible name (aria-label). */
37
+ label?: string;
38
+ }
39
+ /** <Checkbox checked={done} onChange={setDone} label="Helmet returned" /> */
40
+ export const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
41
+
42
+ /** A tab: [value, label, count?], { value, label, count, disabled } or a plain string. */
43
+ export type TabItem<V extends string = string> = [V, React.ReactNode?, (number | string)?] | { value: V; label?: React.ReactNode; count?: number | string; disabled?: boolean } | V;
44
+ export interface TabsProps<V extends string = string> extends DivAttrs {
45
+ items: TabItem<V>[];
46
+ value?: V;
47
+ defaultValue?: V;
48
+ onChange?: (value: V, event: React.MouseEvent<HTMLButtonElement>) => void;
49
+ /** data-tabs name (default 'tabs'). */
50
+ name?: string;
51
+ }
52
+ /** <Tabs items={[['all', 'All'], ['late', 'Late', 3]]} value={tab} onChange={setTab} /> */
53
+ export const Tabs: React.ForwardRefExoticComponent<TabsProps & React.RefAttributes<HTMLDivElement>>;
54
+
55
+ interface ChipsBase extends DivAttrs {
56
+ options: Option[];
57
+ /** data-chips name (default 'chips'). */
58
+ name?: string;
59
+ }
60
+ export interface ChipsSingleProps extends ChipsBase {
61
+ multi?: false;
62
+ value?: string;
63
+ defaultValue?: string;
64
+ onChange?: (value: string, event: React.MouseEvent<HTMLButtonElement>) => void;
65
+ }
66
+ export interface ChipsMultiProps extends ChipsBase {
67
+ /** Several can be picked; value is an array. */
68
+ multi: true;
69
+ value?: string[];
70
+ defaultValue?: string[];
71
+ onChange?: (values: string[], event: React.MouseEvent<HTMLButtonElement>) => void;
72
+ }
73
+ export type ChipsProps = ChipsSingleProps | ChipsMultiProps;
74
+ /** <Chips options={[['all', 'All'], ['scooter', 'Scooters']]} value={kind} onChange={setKind} /> */
75
+ export const Chips: React.ForwardRefExoticComponent<ChipsProps & React.RefAttributes<HTMLDivElement>>;
76
+
77
+ type InputAttrs = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange' | 'value' | 'defaultValue' | 'type' | 'size'>;
78
+ export interface RangeProps extends InputAttrs {
79
+ value?: number;
80
+ /** Default: halfway between min and max. */
81
+ defaultValue?: number;
82
+ onChange?: (value: number, event: React.ChangeEvent<HTMLInputElement>) => void;
83
+ min?: number;
84
+ max?: number;
85
+ step?: number;
86
+ }
87
+ /** <Range min={1} max={14} value={days} onChange={setDays} /> */
88
+ export const Range: React.ForwardRefExoticComponent<RangeProps & React.RefAttributes<HTMLInputElement>>;
89
+
90
+ export interface SwatchProps extends InputAttrs {
91
+ /** '#rrggbb'. */
92
+ value?: string;
93
+ /** Default '#5b4cf0'. */
94
+ defaultValue?: string;
95
+ onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
96
+ }
97
+ /** <Swatch value={colour} onChange={setColour} aria-label="Label colour" /> */
98
+ export const Swatch: React.ForwardRefExoticComponent<SwatchProps & React.RefAttributes<HTMLInputElement>>;
99
+
100
+ export interface SearchBoxProps extends InputAttrs {
101
+ /** Also the aria-label (default 'Search…'). */
102
+ placeholder?: string;
103
+ value?: string;
104
+ defaultValue?: string;
105
+ onChange?: (value: string, event: React.ChangeEvent<HTMLInputElement>) => void;
106
+ /** Enter pressed with text in the box (an empty box shakes instead). */
107
+ onSearch?: (text: string, event: React.KeyboardEvent<HTMLInputElement>) => void;
108
+ size?: 'sm' | (string & {});
109
+ }
110
+ /** <SearchBox placeholder="Search bikes…" onSearch={run} /> — ref is the <input>. */
111
+ export const SearchBox: React.ForwardRefExoticComponent<SearchBoxProps & React.RefAttributes<HTMLInputElement>>;
112
+
113
+ /** A group of options with a small heading. */
114
+ export interface SelectGroup<V extends string = string> { group: string; options: Option<V>[] }
115
+ export interface SelectProps<V extends string = string> extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, 'onChange' | 'value' | 'defaultValue' | 'size' | 'multiple'> {
116
+ /** [value, label, icon?], { value, label, icon, disabled }, 'value', or { group, options }. Labels are text; icons are icon names. */
117
+ options: (Option<V> | SelectGroup<V>)[];
118
+ value?: V;
119
+ /** Default: the first option. */
120
+ defaultValue?: V;
121
+ onChange?: (value: V, event: React.ChangeEvent<HTMLSelectElement>) => void;
122
+ /** 'sm': the small dropdown. */
123
+ size?: 'sm' | (string & {});
124
+ }
125
+ /** <Select options={[['scooter', 'Scooter 125'], ['ebike', 'E-bike']]} value={bike} onChange={setBike} /> — ref is the <select>. */
126
+ export const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
127
+
128
+ export interface OtpProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> {
129
+ /** Number of boxes (default 6). */
130
+ length?: number;
131
+ /** A dash in the middle. */
132
+ split?: boolean;
133
+ /** Dots instead of digits, like a PIN pad. */
134
+ mask?: boolean;
135
+ /** Allow A–Z as well as digits (shown in capitals). */
136
+ letters?: boolean;
137
+ /** Read by screen readers (default 'Verification code'). */
138
+ label?: string;
139
+ /** data-otp name (default 'code'). */
140
+ name?: string;
141
+ /** The code in the boxes (controlled). */
142
+ value?: string;
143
+ defaultValue?: string;
144
+ /** Runs as the code is typed. */
145
+ onChange?: (code: string) => void;
146
+ /** The last box was filled. Return (or resolve) true / 'good' to play the green wave, false / 'bad' to shake and clear. */
147
+ onComplete?: (code: string, el: HTMLDivElement) => boolean | 'good' | 'bad' | void | Promise<boolean | 'good' | 'bad' | void>;
148
+ /** On 'good', gather the boxes into one tick (default true). */
149
+ gather?: boolean;
150
+ /** On 'bad', empty the boxes for another try (default true). */
151
+ clear?: boolean;
152
+ disabled?: boolean;
153
+ /** Put the cursor in the first box. */
154
+ autoFocus?: boolean;
155
+ }
156
+ /** <Otp length={6} split onComplete={(code) => verify(code)} /> — ref is the .otp element. */
157
+ export const Otp: React.ForwardRefExoticComponent<OtpProps & React.RefAttributes<HTMLDivElement>>;
158
+
159
+ export {};