@webority/ui-react 0.9.13 → 0.9.15

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.
@@ -4,23 +4,31 @@
4
4
  * hover tint and disabled state come from the design system rather than each
5
5
  * screen re-inventing a bare icon button.
6
6
  *
7
- * `label` is required: an icon-only control with no accessible name is
8
- * unusable with a screen reader, and it doubles as the hover tooltip.
7
+ * `label` is required: an icon-only control with no accessible name is unusable with a screen
8
+ * reader, and it doubles as the hover/focus tooltip — shown through `AppTooltip` (Popper), so it
9
+ * is collision-aware: it prefers `tooltipPlacement` and flips to stay on-screen.
9
10
  *
10
11
  * @param {object} props
11
12
  * @param {string|import('react').ReactNode} props.icon glyph name (see Icon), or a custom node (e.g. an iconsax glyph)
12
- * @param {string} props.label accessible name + tooltip
13
+ * @param {string} props.label accessible name + collision-aware hover/focus tooltip
14
+ * @param {'auto'|'top'|'bottom'|'start'|'end'} [props.tooltipPlacement='auto'] which side the
15
+ * tooltip prefers. `auto` (default) lets Popper pick the side with the most room; a named side
16
+ * is preferred but still flips to stay in view. Powered by `AppTooltip`, so it never clips.
13
17
  * @param {boolean} [props.danger] destructive tint
14
18
  * @param {boolean} [props.disabled]
15
- * @param {number} [props.size=20]
19
+ * @param {number} [props.size=20] glyph size in px; the disc (and its hover tint) scales with it, keeping a constant 8px ring
16
20
  * @param {() => void} [props.onClick]
17
21
  * @param {string} [props.className]
18
- * @param {React.ElementType} [props.as] render as something else — a router `Link`, `"a"`.
22
+ * @param {React.ElementType} [props.as] render as something else — a router `Link`, `"a"`. When a
23
+ * `label` is set the control is the tooltip trigger, so `as` must FORWARD A REF to its DOM node
24
+ * for the tooltip (Popper) to anchor correctly — router `Link`s already do; a hand-rolled `as`
25
+ * wrapper must use `forwardRef` (the tooltip still opens without it, but may be mispositioned).
19
26
  * @param {string} [props.href] sets an anchor without needing `as`.
20
27
  */
21
- export default function AppActionIcon({ icon, label, danger, disabled, size, onClick, className, as, href, ...rest }: {
28
+ export default function AppActionIcon({ icon, label, tooltipPlacement, danger, disabled, size, onClick, className, as, href, ...rest }: {
22
29
  icon: string | import('react').ReactNode;
23
30
  label: string;
31
+ tooltipPlacement?: 'auto' | 'top' | 'bottom' | 'start' | 'end';
24
32
  danger?: boolean;
25
33
  disabled?: boolean;
26
34
  size?: number;
@@ -28,4 +36,4 @@ export default function AppActionIcon({ icon, label, danger, disabled, size, onC
28
36
  className?: string;
29
37
  as?: React.ElementType;
30
38
  href?: string;
31
- }): import("react").JSX.Element;
39
+ }): any;
@@ -26,6 +26,7 @@ import "@webority/ui-elements";
26
26
  * once picked, commits that raw text as the value with `onChange`'s second argument
27
27
  * reporting `{ isCustom: true }`.
28
28
  * @param {string} [props.name]
29
+ * @param {string} [props.id] DOM id for the control and the label's `for` target.
29
30
  * @param {import('react').ReactNode} [props.label]
30
31
  * @param {string} [props.error]
31
32
  * @param {string} [props.hint]
@@ -15,9 +15,11 @@
15
15
  * @param {string} [props.href] Makes the avatar a link.
16
16
  * @param {(e) => void} [props.onClick] Makes the avatar a button (when no href).
17
17
  * @param {import('react').ElementType} [props.linkComponent] Router link; receives `to` instead of `href`.
18
+ * @param {string} [props.tooltip] A collision-aware hover/focus tooltip (via AppTooltip / Popper) — flips to stay on-screen. Distinct from `label`, which is the fixed CSS bubble.
19
+ * @param {"auto"|"top"|"bottom"|"start"|"end"} [props.tooltipPlacement="auto"] Preferred tooltip side; `auto` picks the side with the most room.
18
20
  * @param {string} [props.className]
19
21
  */
20
- export default function AppAvatar({ name, src, size, shape, tone, status, ring, label, icon, badge, href, onClick, linkComponent: Link, className, ...rest }: {
22
+ export default function AppAvatar({ name, src, size, shape, tone, status, ring, label, icon, badge, href, onClick, linkComponent: Link, tooltip, tooltipPlacement, className, ...rest }: {
21
23
  name?: string;
22
24
  src?: string;
23
25
  size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | number | string;
@@ -31,5 +33,7 @@ export default function AppAvatar({ name, src, size, shape, tone, status, ring,
31
33
  href?: string;
32
34
  onClick?: (e: any) => void;
33
35
  linkComponent?: import('react').ElementType;
36
+ tooltip?: string;
37
+ tooltipPlacement?: "auto" | "top" | "bottom" | "start" | "end";
34
38
  className?: string;
35
- }): import("react").JSX.Element;
39
+ }): any;
@@ -9,11 +9,15 @@
9
9
  * @param {import('react').ReactNode} props.children
10
10
  * @param {"neutral"|"primary"|"success"|"warning"|"danger"|"info"} [props.tone]
11
11
  * @param {boolean} [props.dot=false]
12
+ * @param {string} [props.tooltip] A collision-aware hover/focus tooltip (via AppTooltip / Popper) — flips to stay on-screen.
13
+ * @param {"auto"|"top"|"bottom"|"start"|"end"} [props.tooltipPlacement="auto"] Preferred tooltip side; `auto` picks the side with the most room.
12
14
  * @param {string} [props.className]
13
15
  */
14
- export default function AppBadge({ children, tone, dot, className, ...rest }: {
16
+ export default function AppBadge({ children, tone, dot, tooltip, tooltipPlacement, className, ...rest }: {
15
17
  children: import('react').ReactNode;
16
18
  tone?: "neutral" | "primary" | "success" | "warning" | "danger" | "info";
17
19
  dot?: boolean;
20
+ tooltip?: string;
21
+ tooltipPlacement?: "auto" | "top" | "bottom" | "start" | "end";
18
22
  className?: string;
19
- }): import("react").JSX.Element;
23
+ }): any;
@@ -1,4 +1,4 @@
1
- export default function AppButton({ children, variant, size, type, loading, disabled, block, leftIcon, rightIcon, href, static: isStatic, className, ...rest }: {
1
+ export default function AppButton({ children, variant, size, type, loading, disabled, block, leftIcon, rightIcon, href, static: isStatic, tooltip, tooltipPlacement, className, ...rest }: {
2
2
  [x: string]: any;
3
3
  block?: boolean;
4
4
  children: any;
@@ -10,6 +10,8 @@ export default function AppButton({ children, variant, size, type, loading, disa
10
10
  rightIcon?: any;
11
11
  size?: string;
12
12
  static?: boolean;
13
+ tooltip: any;
14
+ tooltipPlacement: any;
13
15
  type?: string;
14
16
  variant?: string;
15
- }): import("react").JSX.Element;
17
+ }): any;
@@ -14,8 +14,10 @@
14
14
  * @param {"ghost"|"outline"|"secondary"|"light"} [props.variant="ghost"] Button variant
15
15
  * @param {() => void} [props.onCopied] Callback fired on successful copy
16
16
  * @param {string} [props.className] Custom className
17
+ * @param {string} [props.tooltip] A collision-aware hover/focus tooltip (via AppTooltip / Popper) — flips to stay on-screen.
18
+ * @param {"auto"|"top"|"bottom"|"start"|"end"} [props.tooltipPlacement="auto"] Preferred tooltip side; `auto` picks the side with the most room.
17
19
  */
18
- export default function AppCopyButton({ text, label, copiedLabel, iconOnly, size, variant, onCopied, className, ...rest }: {
20
+ export default function AppCopyButton({ text, label, copiedLabel, iconOnly, size, variant, onCopied, className, tooltip, tooltipPlacement, ...rest }: {
19
21
  text: string;
20
22
  label?: string;
21
23
  copiedLabel?: string;
@@ -24,4 +26,6 @@ export default function AppCopyButton({ text, label, copiedLabel, iconOnly, size
24
26
  variant?: "ghost" | "outline" | "secondary" | "light";
25
27
  onCopied?: () => void;
26
28
  className?: string;
27
- }): import("react").JSX.Element;
29
+ tooltip?: string;
30
+ tooltipPlacement?: "auto" | "top" | "bottom" | "start" | "end";
31
+ }): any;
@@ -17,7 +17,7 @@
17
17
  * @param {(file: File|null) => void | (files: File[]) => void} props.onChange single-mode → File|null; multiple → File[]
18
18
  * @param {boolean} [props.multiple=false]
19
19
  * @param {string} [props.accept] Defaults to images; pass e.g. "image/*,application/pdf" for mixed.
20
- * @param {number} [props.maxSizeMb=5]
20
+ * @param {number} [props.maxSizeMb] Defaults to the shared DEFAULT_MAX_SIZE_MB.
21
21
  * @param {boolean} [props.optional=false]
22
22
  * @param {string} [props.error]
23
23
  * @param {string} [props.id]
@@ -11,19 +11,20 @@
11
11
  * @param {object} props
12
12
  * @param {string} [props.label]
13
13
  * @param {File|{ url: string, name?: string }|Array<File|{ url: string, name?: string }>|null} [props.value]
14
- * @param {string} [props.name] Form field name; also the input id the label points at.
14
+ * @param {string} [props.name] Form field name.
15
+ * @param {string} [props.id] DOM id for the file input and its labels' `for` target.
15
16
  * @param {(file: File|null) => void | (files: File[]) => void} props.onPick single → File|null; multiple → File[]
16
17
  * @param {boolean} [props.multiple=false]
17
18
  * @param {number} [props.maxFiles] Cap on total files in multiple mode.
18
19
  * @param {string} [props.accept=".jpg,.jpeg,.png"] Accepted file types (the `accept` attribute).
19
- * @param {number} [props.maxSizeMb=5]
20
+ * @param {number} [props.maxSizeMb] Defaults to the shared DEFAULT_MAX_SIZE_MB.
20
21
  * @param {boolean} [props.required]
21
22
  * @param {string} [props.error]
22
23
  * @param {string} [props.className] Class to apply to the control element — the preview or dropzone shell.
23
24
  * @param {string} [props.fieldClassName] Class to apply to the wrapper field div — e.g. a `file-w-*` width preset.
24
25
  * @param {object} [props.style] Inline style; lands on the control with `className`.
25
26
  */
26
- export default function AppFilePicker({ label, value, name, onPick, multiple, maxFiles, accept, maxSizeMb, required, error, className, fieldClassName, style, ...rest }: {
27
+ export default function AppFilePicker({ label, value, name, id, onPick, multiple, maxFiles, accept, maxSizeMb, required, error, className, fieldClassName, style, ...rest }: {
27
28
  label?: string;
28
29
  value?: File | {
29
30
  url: string;
@@ -33,6 +34,7 @@ export default function AppFilePicker({ label, value, name, onPick, multiple, ma
33
34
  name?: string;
34
35
  }> | null;
35
36
  name?: string;
37
+ id?: string;
36
38
  onPick: (file: File | null) => void | ((files: File[]) => void);
37
39
  multiple?: boolean;
38
40
  maxFiles?: number;
@@ -28,19 +28,21 @@ export declare function registerIcons(map: Record<string, (props: {
28
28
  * @param {string} props.name Icon name (kebab-case; curated or full-catalogue).
29
29
  * @param {number} [props.size=16]
30
30
  * @param {'linear'|'outline'|'bold'|'bulk'|'broken'|'twotone'} [props.variant]
31
- * @param {string} [props.tooltip] A hover/focus tooltip. Wraps the glyph in a
32
- * `.wui-icon-tip[data-wui-tip]` span that the theme styles as an instant, styled CSS bubble
33
- * (no JS), plus `role="img"` + `aria-label` so it names the icon for assistive tech. For a
34
- * collision-aware / richer tooltip, wrap the icon in `AppTooltip` instead.
31
+ * @param {string} [props.tooltip] A collision-aware hover/focus tooltip (via `AppTooltip` / Popper)
32
+ * that flips to stay on-screen. The glyph is wrapped in a `role="img"` + `aria-label` span so the
33
+ * icon is also named for assistive tech.
34
+ * @param {'auto'|'top'|'bottom'|'start'|'end'} [props.tooltipPlacement='auto'] Preferred tooltip
35
+ * side; `auto` picks the side with the most room.
35
36
  * @param {string} [props.className]
36
37
  * @param {string} [props.color]
37
38
  * @param {object} [props.style]
38
39
  */
39
- export default function AppIcon({ name, size, variant, tooltip, className, color, style, ...rest }: {
40
+ export default function AppIcon({ name, size, variant, tooltip, tooltipPlacement, className, color, style, ...rest }: {
40
41
  name: string;
41
42
  size?: number;
42
43
  variant?: 'linear' | 'outline' | 'bold' | 'bulk' | 'broken' | 'twotone';
43
44
  tooltip?: string;
45
+ tooltipPlacement?: 'auto' | 'top' | 'bottom' | 'start' | 'end';
44
46
  className?: string;
45
47
  color?: string;
46
48
  style?: object;
@@ -0,0 +1,14 @@
1
+ export default function AppLink({ children, label, href, animation, leftIcon, rightIcon, size, external, disabled, linkComponent: Link, className, ...rest }: {
2
+ [x: string]: any;
3
+ animation?: string;
4
+ children: any;
5
+ className?: string;
6
+ disabled?: boolean;
7
+ external?: boolean;
8
+ href: any;
9
+ label: any;
10
+ leftIcon?: any;
11
+ linkComponent: any;
12
+ rightIcon?: any;
13
+ size?: string;
14
+ }): import("react").JSX.Element;
@@ -16,6 +16,7 @@ import "@webority/ui-elements";
16
16
  * @param {boolean} [props.collapseChips=false] Keep the chosen chips on one row and fold the
17
17
  * overflow into a "+N" counter, rather than letting the control grow.
18
18
  * @param {string} [props.name]
19
+ * @param {string} [props.id] DOM id for the control and the label's `for` target.
19
20
  * @param {import('react').ReactNode} [props.label]
20
21
  * @param {string} [props.error]
21
22
  * @param {string} [props.hint]
@@ -13,6 +13,11 @@
13
13
  * @param {object} props
14
14
  * @param {{ id?: string|number }[]} props.rows
15
15
  * @param {(row: object, index: number) => import('react').ReactNode} props.renderRow
16
+ * @param {(row: object, index: number) => import('react').ReactNode} [props.rowLabel] Optional
17
+ * per-row label shown in the row's top-left header band (opposite the remove control). Return a
18
+ * falsy value to leave a row unlabelled — the band is then kept only when the row is removable,
19
+ * as an empty gap that stops the fields overlapping the remove control. Razor's counterpart is
20
+ * `<app-repeater-row label="…">`.
16
21
  * @param {() => void} props.onAdd
17
22
  * @param {(index: number) => void} [props.onRemove] Omit to make rows non-removable.
18
23
  * @param {string} [props.addLabel='Add another']
@@ -23,11 +28,12 @@
23
28
  * @param {boolean} [props.numbered=true] Show the row index.
24
29
  * @param {string} [props.className]
25
30
  */
26
- export default function AppRepeater({ rows, renderRow, onAdd, onRemove, addLabel, removeLabel, emptyText, min, max, numbered, className, ...rest }: {
31
+ export default function AppRepeater({ rows, renderRow, rowLabel, onAdd, onRemove, addLabel, removeLabel, emptyText, min, max, numbered, className, ...rest }: {
27
32
  rows: {
28
33
  id?: string | number;
29
34
  }[];
30
35
  renderRow: (row: object, index: number) => import('react').ReactNode;
36
+ rowLabel?: (row: object, index: number) => import('react').ReactNode;
31
37
  onAdd: () => void;
32
38
  onRemove?: (index: number) => void;
33
39
  addLabel?: string;
@@ -1,6 +1,8 @@
1
- export default function AppStatusBadge({ label, tone, className, ...rest }: {
1
+ export default function AppStatusBadge({ label, tone, className, tooltip, tooltipPlacement, ...rest }: {
2
2
  [x: string]: any;
3
3
  className?: string;
4
4
  label: any;
5
5
  tone?: string;
6
- }): "—" | import("react").JSX.Element;
6
+ tooltip: any;
7
+ tooltipPlacement: any;
8
+ }): any;
@@ -13,14 +13,25 @@
13
13
  * roam the strip skipping disabled tabs. `activation="automatic"` (default) selects as
14
14
  * focus moves; `activation="manual"` moves focus only and selects on Enter/Space.
15
15
  *
16
+ * A tab becomes a real link when it carries `href` or `to`: it renders as an `<a>` (or the
17
+ * given `linkComponent` for a `to`) instead of a `<button>`, so the browser gives right-click
18
+ * "Open in new tab", Ctrl/⌘-click and middle-click for free — the standard, accessible way to
19
+ * open a tab on the next screen. `target="_blank"` opens it there on a plain click too (and
20
+ * gets `rel="noopener noreferrer"` unless the tab sets its own `rel`). A plain left-click still
21
+ * calls `onChange`; a modified click (new tab/window) does not, so the current selection is
22
+ * left untouched. Link tabs make `onChange` optional — selection usually follows the route the
23
+ * caller passes as `value`.
24
+ *
16
25
  * @param {object} props
17
- * @param {{ key: string, label: import('react').ReactNode, count?: number, tone?: string, icon?: string|import('react').ReactNode, image?: string, imageAlt?: string, tooltip?: import('react').ReactNode, danger?: boolean, disabled?: boolean }[]} props.tabs
26
+ * @param {{ key: string, label: import('react').ReactNode, count?: number, tone?: string, icon?: string|import('react').ReactNode, image?: string, imageAlt?: string, tooltip?: import('react').ReactNode, danger?: boolean, disabled?: boolean, href?: string, to?: string, target?: string, rel?: string }[]} props.tabs
18
27
  * `icon` is a Bootstrap-Icons name OR a custom node (e.g. an iconsax glyph); `image` is a
19
28
  * picture URL (logo/avatar) rendered before the label — `image` wins over `icon`. `tooltip`
20
29
  * is a hover/focus hint (text or node) shown on the tab via AppTooltip — the same branded
21
- * tip the Razor `<app-tab tooltip="…">` renders.
30
+ * tip the Razor `<app-tab tooltip="…">` renders. `href`/`to` turn the tab into a link (see
31
+ * above); `target`/`rel` are the standard anchor attributes on such a tab.
22
32
  * @param {string} props.value Selected tab key.
23
- * @param {(key: string) => void} props.onChange
33
+ * @param {(key: string) => void} [props.onChange] Optional for link tabs; required for panel tabs.
34
+ * @param {import('react').ElementType} [props.linkComponent] Component for `to` tabs (e.g. react-router's Link). The library never imports a router.
24
35
  * @param {"underline"|"pills"} [props.variant="underline"]
25
36
  * @param {"horizontal"|"vertical"} [props.orientation="horizontal"] Vertical renders a side rail.
26
37
  * @param {"sm"|"md"|"lg"} [props.size="md"]
@@ -31,7 +42,7 @@
31
42
  * @param {import('react').CSSProperties} [props.style]
32
43
  * @param {"success"|"warning"|"danger"|"info"} [props.tone] Per-tab count-pill tint (set as `tabs[].tone`).
33
44
  */
34
- export default function AppTabs({ tabs, value, onChange, variant, orientation, size, fitted, activation, ariaLabel, className, style, ...rest }: {
45
+ export default function AppTabs({ tabs, value, onChange, linkComponent, variant, orientation, size, fitted, activation, ariaLabel, className, style, ...rest }: {
35
46
  tabs: {
36
47
  key: string;
37
48
  label: import('react').ReactNode;
@@ -43,9 +54,14 @@ export default function AppTabs({ tabs, value, onChange, variant, orientation, s
43
54
  tooltip?: import('react').ReactNode;
44
55
  danger?: boolean;
45
56
  disabled?: boolean;
57
+ href?: string;
58
+ to?: string;
59
+ target?: string;
60
+ rel?: string;
46
61
  }[];
47
62
  value: string;
48
- onChange: (key: string) => void;
63
+ onChange?: (key: string) => void;
64
+ linkComponent?: import('react').ElementType;
49
65
  variant?: "underline" | "pills";
50
66
  orientation?: "horizontal" | "vertical";
51
67
  size?: "sm" | "md" | "lg";
@@ -9,8 +9,9 @@
9
9
  * @param {import('react').ReactElement} props.children A single trigger element that forwards
10
10
  * a ref (a DOM element, or a react-bootstrap-based App* like AppButton/AppActionIcon). It
11
11
  * renders as written; hovering or focusing it reveals the tooltip.
12
- * @param {'top'|'bottom'|'start'|'end'} [props.placement='top'] Where the tooltip appears;
13
- * prefers the given direction, flips if needed to stay in view.
12
+ * @param {'auto'|'top'|'bottom'|'start'|'end'} [props.placement='top'] Where the tooltip appears.
13
+ * A named side is preferred but flips if needed to stay in view; `auto` lets Popper pick the
14
+ * side with the most room outright. Either way the tooltip never clips off-screen.
14
15
  * @param {'default'|'dark'|'primary'|'success'|'warning'|'danger'} [props.tone='default'] Preset
15
16
  * colour of the tooltip. `default` is the light surface look; the others are solid tints. For
16
17
  * a fully custom colour, pass a `className` whose rule sets the `--wui-tooltip-bg` /
@@ -23,7 +24,7 @@
23
24
  export default function AppTooltip({ content, children, placement, tone, size, className, ...rest }: {
24
25
  content: import('react').ReactNode;
25
26
  children: import('react').ReactElement;
26
- placement?: 'top' | 'bottom' | 'start' | 'end';
27
+ placement?: 'auto' | 'top' | 'bottom' | 'start' | 'end';
27
28
  tone?: 'default' | 'dark' | 'primary' | 'success' | 'warning' | 'danger';
28
29
  size?: 'sm' | 'md' | 'lg';
29
30
  className?: string;
@@ -1,13 +1,16 @@
1
1
  /** Subscribe to the active-toast list. Calls back immediately, and returns an unsubscribe fn. */
2
- export declare function subscribeToasts(listener: any): () => boolean;
2
+ export declare function subscribeToasts(listener: any): () => void;
3
3
  /**
4
4
  * Raise a toast. De-duped by `variant:message` while one is still on screen, or by explicit `id`.
5
5
  * When `opts.id` is provided, a toast with that id replaces any existing one (refresh/update).
6
- * `duration` of 0 is sticky (no timer); any other duration schedules its own expiry here.
6
+ * `duration` of 0 is sticky (no timer); any other duration is covered by the store clock until
7
+ * a rendered ToastItem adopts the toast (see adoptToast) or by it permanently if none does.
7
8
  * `message` may be a string or a React node (rich body); string-dedupe only applies to strings.
8
9
  */
9
10
  export declare function pushToast(message: any, variant: any, opts?: {}): void;
10
- /** Remove a toast — its auto-dismiss timer fired, or the user closed it. */
11
+ /** Hand a toast's dismissal over from the store clock to its rendered CSS countdown. */
12
+ export declare function adoptToast(id: any): void;
13
+ /** Remove a toast — its countdown ended, the store clock fired, or the user closed it. */
11
14
  export declare function dismissToast(id: any): void;
12
15
  /** Clear every toast at once — e.g. on route change or logout. No-op when already empty. */
13
16
  export declare function dismissAllToasts(): void;
@@ -53,7 +53,8 @@ export default function useWuiControl({ ref, value, onChange, readValue, writeVa
53
53
  innerRef: import('react').MutableRefObject<HTMLElement | null>;
54
54
  };
55
55
  /**
56
- * Shallow value+label equality for two `{ value, label }` option arrays.
56
+ * Shallow equality for two option arrays, over each option object's own enumerable keys
57
+ * (value, label, icon, disabled — whatever the caller's option shape carries).
57
58
  *
58
59
  * The select/multiselect/autocomplete wrappers re-map their `options` prop into a fresh
59
60
  * array every render (even when the caller's underlying data hasn't changed), and assigning
@@ -62,16 +63,10 @@ export default function useWuiControl({ ref, value, onChange, readValue, writeVa
62
63
  * parent re-render. Comparing before assigning keeps the element's own array identity (and
63
64
  * its open menu) whenever the option set is actually unchanged.
64
65
  *
65
- * @param {{value: unknown, label: string}[]} [next]
66
- * @param {{value: unknown, label: string}[]} [cur]
66
+ * @param {Record<string, unknown>[]} [next]
67
+ * @param {Record<string, unknown>[]} [cur]
67
68
  */
68
- export declare function optionsEqual(next?: {
69
- value: unknown;
70
- label: string;
71
- }[], cur?: {
72
- value: unknown;
73
- label: string;
74
- }[]): boolean;
69
+ export declare function optionsEqual(next?: Record<string, unknown>[], cur?: Record<string, unknown>[]): boolean;
75
70
  /** Module-stable reader for multi-value elements (`el.values`). */
76
71
  export declare function readValues(el: any): any;
77
72
  /** Module-stable writer for multi-value elements — skips no-op array reassignment. */
@@ -0,0 +1 @@
1
+ export default function withTooltip(element: any, tooltip: any, placement: any): any;
@@ -37,6 +37,7 @@ export { default as AppInfoList } from "./components/AppInfoList.jsx";
37
37
  export { default as AppInfoTip } from "./components/AppInfoTip.jsx";
38
38
  export { default as AppInput } from "./components/AppInput.jsx";
39
39
  export { default as AppKpiTile } from "./components/AppKpiTile.jsx";
40
+ export { default as AppLink } from "./components/AppLink.jsx";
40
41
  export { default as AppLogoPicker } from "./components/AppLogoPicker.jsx";
41
42
  export { default as AppMeter } from "./components/AppMeter.jsx";
42
43
  export { default as AppModal } from "./components/AppModal.jsx";