@alfadocs/ui-kit-debug 0.85.0 → 0.86.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.
- package/dist/_chunks/info-tip-Bxk3w6UM.js +166 -0
- package/dist/_chunks/info-tip-Bxk3w6UM.js.map +1 -0
- package/dist/agent-catalog.json +45 -1
- package/dist/agent-i18n/en.json +9 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/info-tip/index.d.ts +4 -0
- package/dist/components/info-tip/index.d.ts.map +1 -0
- package/dist/components/info-tip/index.js +6 -0
- package/dist/components/info-tip/index.js.map +1 -0
- package/dist/components/info-tip/info-tip.agent.d.ts +4 -0
- package/dist/components/info-tip/info-tip.agent.d.ts.map +1 -0
- package/dist/components/info-tip/info-tip.d.ts +42 -0
- package/dist/components/info-tip/info-tip.d.ts.map +1 -0
- package/dist/i18n/locales/ar.d.ts +3 -0
- package/dist/i18n/locales/ar.d.ts.map +1 -1
- package/dist/i18n/locales/ar.js +3 -0
- package/dist/i18n/locales/ar.js.map +1 -1
- package/dist/i18n/locales/de.d.ts +3 -0
- package/dist/i18n/locales/de.d.ts.map +1 -1
- package/dist/i18n/locales/de.js +3 -0
- package/dist/i18n/locales/de.js.map +1 -1
- package/dist/i18n/locales/el.d.ts +3 -0
- package/dist/i18n/locales/el.d.ts.map +1 -1
- package/dist/i18n/locales/el.js +3 -0
- package/dist/i18n/locales/el.js.map +1 -1
- package/dist/i18n/locales/en.d.ts +3 -0
- package/dist/i18n/locales/en.d.ts.map +1 -1
- package/dist/i18n/locales/en.js +3 -0
- package/dist/i18n/locales/en.js.map +1 -1
- package/dist/i18n/locales/es.d.ts +3 -0
- package/dist/i18n/locales/es.d.ts.map +1 -1
- package/dist/i18n/locales/es.js +3 -0
- package/dist/i18n/locales/es.js.map +1 -1
- package/dist/i18n/locales/fr.d.ts +3 -0
- package/dist/i18n/locales/fr.d.ts.map +1 -1
- package/dist/i18n/locales/fr.js +3 -0
- package/dist/i18n/locales/fr.js.map +1 -1
- package/dist/i18n/locales/hi.d.ts +3 -0
- package/dist/i18n/locales/hi.d.ts.map +1 -1
- package/dist/i18n/locales/hi.js +3 -0
- package/dist/i18n/locales/hi.js.map +1 -1
- package/dist/i18n/locales/it.d.ts +3 -0
- package/dist/i18n/locales/it.d.ts.map +1 -1
- package/dist/i18n/locales/it.js +3 -0
- package/dist/i18n/locales/it.js.map +1 -1
- package/dist/i18n/locales/ja.d.ts +3 -0
- package/dist/i18n/locales/ja.d.ts.map +1 -1
- package/dist/i18n/locales/ja.js +3 -0
- package/dist/i18n/locales/ja.js.map +1 -1
- package/dist/i18n/locales/nl.d.ts +3 -0
- package/dist/i18n/locales/nl.d.ts.map +1 -1
- package/dist/i18n/locales/nl.js +3 -0
- package/dist/i18n/locales/nl.js.map +1 -1
- package/dist/i18n/locales/pl.d.ts +3 -0
- package/dist/i18n/locales/pl.d.ts.map +1 -1
- package/dist/i18n/locales/pl.js +3 -0
- package/dist/i18n/locales/pl.js.map +1 -1
- package/dist/i18n/locales/pt.d.ts +3 -0
- package/dist/i18n/locales/pt.d.ts.map +1 -1
- package/dist/i18n/locales/pt.js +3 -0
- package/dist/i18n/locales/pt.js.map +1 -1
- package/dist/i18n/locales/ro.d.ts +3 -0
- package/dist/i18n/locales/ro.d.ts.map +1 -1
- package/dist/i18n/locales/ro.js +3 -0
- package/dist/i18n/locales/ro.js.map +1 -1
- package/dist/i18n/locales/ru.d.ts +3 -0
- package/dist/i18n/locales/ru.d.ts.map +1 -1
- package/dist/i18n/locales/ru.js +3 -0
- package/dist/i18n/locales/ru.js.map +1 -1
- package/dist/i18n/locales/sq.d.ts +3 -0
- package/dist/i18n/locales/sq.d.ts.map +1 -1
- package/dist/i18n/locales/sq.js +3 -0
- package/dist/i18n/locales/sq.js.map +1 -1
- package/dist/i18n/locales/sv.d.ts +3 -0
- package/dist/i18n/locales/sv.d.ts.map +1 -1
- package/dist/i18n/locales/sv.js +3 -0
- package/dist/i18n/locales/sv.js.map +1 -1
- package/dist/i18n/locales/tr.d.ts +3 -0
- package/dist/i18n/locales/tr.d.ts.map +1 -1
- package/dist/i18n/locales/tr.js +3 -0
- package/dist/i18n/locales/tr.js.map +1 -1
- package/dist/i18n/locales/zh.d.ts +3 -0
- package/dist/i18n/locales/zh.d.ts.map +1 -1
- package/dist/i18n/locales/zh.js +3 -0
- package/dist/i18n/locales/zh.js.map +1 -1
- package/dist/index.js +471 -468
- package/dist/index.js.map +1 -1
- package/dist/locales/ar.json +3 -0
- package/dist/locales/de.json +3 -0
- package/dist/locales/el.json +3 -0
- package/dist/locales/en.json +3 -0
- package/dist/locales/es.json +3 -0
- package/dist/locales/fr.json +3 -0
- package/dist/locales/hi.json +3 -0
- package/dist/locales/it.json +3 -0
- package/dist/locales/ja.json +3 -0
- package/dist/locales/nl.json +3 -0
- package/dist/locales/pl.json +3 -0
- package/dist/locales/pt.json +3 -0
- package/dist/locales/ro.json +3 -0
- package/dist/locales/ru.json +3 -0
- package/dist/locales/sq.json +3 -0
- package/dist/locales/sv.json +3 -0
- package/dist/locales/tr.json +3 -0
- package/dist/locales/zh.json +3 -0
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { jsxs as u, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as I, useState as O, useRef as m, useEffect as k, useMemo as z } from "react";
|
|
3
|
+
import { c as C } from "./index-D2ZczOXr.js";
|
|
4
|
+
import { useTranslation as D } from "react-i18next";
|
|
5
|
+
import { P as o } from "./popover-Cc0a69sw.js";
|
|
6
|
+
import { u as P } from "./registry-DvAUVLHh.js";
|
|
7
|
+
import { I as A } from "./info-CGn22peZ.js";
|
|
8
|
+
const R = {
|
|
9
|
+
id: "info-tip",
|
|
10
|
+
capabilities: ["open", "close"],
|
|
11
|
+
state: {
|
|
12
|
+
isOpen: {
|
|
13
|
+
type: "boolean",
|
|
14
|
+
descriptionKey: "ui.agent.infoTip.state.isOpen",
|
|
15
|
+
description: "True when the info tip card is currently open.",
|
|
16
|
+
read: (t) => t.getIsOpen()
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
actions: {
|
|
20
|
+
open: {
|
|
21
|
+
safety: "read",
|
|
22
|
+
idempotent: !0,
|
|
23
|
+
descriptionKey: "ui.agent.infoTip.actions.open",
|
|
24
|
+
description: "Open the info tip card.",
|
|
25
|
+
invoke: (t) => {
|
|
26
|
+
t.open();
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
close: {
|
|
30
|
+
safety: "read",
|
|
31
|
+
idempotent: !0,
|
|
32
|
+
descriptionKey: "ui.agent.infoTip.actions.close",
|
|
33
|
+
description: "Close the info tip card.",
|
|
34
|
+
invoke: (t) => {
|
|
35
|
+
t.close();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
domHooks: {
|
|
40
|
+
root: {
|
|
41
|
+
attr: "data-component",
|
|
42
|
+
value: "info-tip",
|
|
43
|
+
description: "Marks the InfoTip trigger button."
|
|
44
|
+
},
|
|
45
|
+
instanceId: {
|
|
46
|
+
attr: "data-component-id",
|
|
47
|
+
sourceProp: "id",
|
|
48
|
+
description: "Sourced from the id prop on InfoTip."
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}, S = C(
|
|
52
|
+
[
|
|
53
|
+
"ds:relative ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center",
|
|
54
|
+
"ds:rounded-[var(--radius-full)]",
|
|
55
|
+
"ds:bg-[var(--card)]",
|
|
56
|
+
"ds:text-[var(--accent)]",
|
|
57
|
+
// Single ring: the Lucide Info glyph draws its own accent circle, so the
|
|
58
|
+
// trigger carries NO CSS border of its own (a border would read as a
|
|
59
|
+
// second, concentric ring). The white circle comes from `bg-card` showing
|
|
60
|
+
// through the glyph, lifted by the drop shadow.
|
|
61
|
+
"ds:shadow-[var(--shadow-sm)]",
|
|
62
|
+
"ds:cursor-pointer",
|
|
63
|
+
"ds:transition-[color,box-shadow] ds:motion-reduce:transition-none",
|
|
64
|
+
"ds:hover:text-[var(--accent-hover)] ds:hover:shadow-[var(--shadow-md)]",
|
|
65
|
+
"ds:data-[state=open]:text-[var(--accent-hover)] ds:data-[state=open]:shadow-[var(--shadow-md)]",
|
|
66
|
+
"ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]",
|
|
67
|
+
"ds:forced-colors:focus-visible:outline-[CanvasText]"
|
|
68
|
+
].join(" "),
|
|
69
|
+
{
|
|
70
|
+
variants: {
|
|
71
|
+
size: {
|
|
72
|
+
// Both diameters sit below `--min-target-size` (44/48px), so each
|
|
73
|
+
// re-uses IconButton's invisible `::before` hit-area expansion to a
|
|
74
|
+
// full touch target on touch / small screens. From the `sm:`
|
|
75
|
+
// breakpoint up the pointer is precise, so the expansion relaxes —
|
|
76
|
+
// but the interactive target must never fall below WCAG 2.5.8's 24px:
|
|
77
|
+
// • md (24px visual) already meets the 24px floor, so its `::before`
|
|
78
|
+
// is hidden on desktop and the 24px circle IS the target.
|
|
79
|
+
// • sm (20px visual) would fall to 20px if hidden — below the floor
|
|
80
|
+
// — so instead of hiding, its `::before` shrinks to a persistent
|
|
81
|
+
// `--spacing-lg` (24px) minimum that holds on desktop too.
|
|
82
|
+
sm: 'ds:w-5 ds:h-5 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:inset-x-[calc((var(--spacing-lg)-100%)/-2)] ds:sm:before:inset-y-[calc((var(--spacing-lg)-100%)/-2)]',
|
|
83
|
+
md: 'ds:w-6 ds:h-6 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[""] ds:sm:before:hidden'
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
defaultVariants: {
|
|
87
|
+
size: "md"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
), j = I(
|
|
91
|
+
({
|
|
92
|
+
content: t,
|
|
93
|
+
heading: r,
|
|
94
|
+
size: a = "md",
|
|
95
|
+
side: v = "top",
|
|
96
|
+
align: g = "center",
|
|
97
|
+
"aria-label": h,
|
|
98
|
+
id: l,
|
|
99
|
+
className: b
|
|
100
|
+
}, w) => {
|
|
101
|
+
const { t: y } = D(), [s, d] = O(!1), n = m(s);
|
|
102
|
+
k(() => {
|
|
103
|
+
n.current = s;
|
|
104
|
+
}, [s]);
|
|
105
|
+
const T = z(
|
|
106
|
+
() => ({
|
|
107
|
+
getIsOpen: () => n.current,
|
|
108
|
+
open: () => d(!0),
|
|
109
|
+
close: () => d(!1)
|
|
110
|
+
}),
|
|
111
|
+
[]
|
|
112
|
+
);
|
|
113
|
+
P(R, T, l);
|
|
114
|
+
const c = m(null), p = () => {
|
|
115
|
+
c.current = n.current;
|
|
116
|
+
}, f = h ?? y("infoTip.triggerLabel", "More information");
|
|
117
|
+
return /* @__PURE__ */ u(o, { openOn: "hover-or-click", open: s, onOpenChange: d, children: [
|
|
118
|
+
/* @__PURE__ */ i(
|
|
119
|
+
o.Trigger,
|
|
120
|
+
{
|
|
121
|
+
ref: w,
|
|
122
|
+
"aria-label": f,
|
|
123
|
+
className: S({ size: a, className: b }),
|
|
124
|
+
"data-component": "info-tip",
|
|
125
|
+
"data-component-id": l,
|
|
126
|
+
onPointerDown: p,
|
|
127
|
+
onKeyDown: (e) => {
|
|
128
|
+
(e.key === "Enter" || e.key === " ") && p();
|
|
129
|
+
},
|
|
130
|
+
onClick: (e) => {
|
|
131
|
+
const x = c.current;
|
|
132
|
+
c.current = null, x === !1 && n.current && e.preventDefault();
|
|
133
|
+
},
|
|
134
|
+
children: /* @__PURE__ */ i(
|
|
135
|
+
A,
|
|
136
|
+
{
|
|
137
|
+
"aria-hidden": "true",
|
|
138
|
+
className: a === "sm" ? "ds:size-5" : "ds:size-6"
|
|
139
|
+
}
|
|
140
|
+
)
|
|
141
|
+
}
|
|
142
|
+
),
|
|
143
|
+
/* @__PURE__ */ u(
|
|
144
|
+
o.Content,
|
|
145
|
+
{
|
|
146
|
+
side: v,
|
|
147
|
+
align: g,
|
|
148
|
+
size: a === "sm" ? "sm" : "md",
|
|
149
|
+
"aria-label": r == null ? f : void 0,
|
|
150
|
+
onOpenAutoFocus: (e) => e.preventDefault(),
|
|
151
|
+
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
152
|
+
children: [
|
|
153
|
+
r != null && /* @__PURE__ */ i(o.Heading, { children: r }),
|
|
154
|
+
/* @__PURE__ */ i(o.Description, { children: t })
|
|
155
|
+
]
|
|
156
|
+
}
|
|
157
|
+
)
|
|
158
|
+
] });
|
|
159
|
+
}
|
|
160
|
+
);
|
|
161
|
+
j.displayName = "InfoTip";
|
|
162
|
+
export {
|
|
163
|
+
j as I,
|
|
164
|
+
R as i
|
|
165
|
+
};
|
|
166
|
+
//# sourceMappingURL=info-tip-Bxk3w6UM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-tip-Bxk3w6UM.js","sources":["../../src/components/info-tip/info-tip.agent.ts","../../src/components/info-tip/info-tip.tsx"],"sourcesContent":["import type { AgentAdapter } from '../../agent/types';\nimport type { InfoTipHandle } from './info-tip';\n\nexport const infoTipAgent: AgentAdapter<InfoTipHandle> = {\n id: 'info-tip',\n capabilities: ['open', 'close'],\n state: {\n isOpen: {\n type: 'boolean',\n descriptionKey: 'ui.agent.infoTip.state.isOpen',\n description: 'True when the info tip card is currently open.',\n read: (handle) => handle.getIsOpen(),\n },\n },\n actions: {\n open: {\n safety: 'read',\n idempotent: true,\n descriptionKey: 'ui.agent.infoTip.actions.open',\n description: 'Open the info tip card.',\n invoke: (handle) => {\n handle.open();\n },\n },\n close: {\n safety: 'read',\n idempotent: true,\n descriptionKey: 'ui.agent.infoTip.actions.close',\n description: 'Close the info tip card.',\n invoke: (handle) => {\n handle.close();\n },\n },\n },\n domHooks: {\n root: {\n attr: 'data-component',\n value: 'info-tip',\n description: 'Marks the InfoTip trigger button.',\n },\n instanceId: {\n attr: 'data-component-id',\n sourceProp: 'id',\n description: 'Sourced from the id prop on InfoTip.',\n },\n },\n};\n","import {\n forwardRef,\n useEffect,\n useMemo,\n useRef,\n useState,\n type ReactNode,\n} from 'react';\nimport { cva } from 'class-variance-authority';\nimport { useTranslation } from 'react-i18next';\nimport { Info } from 'lucide-react';\nimport { Popover } from '../popover';\nimport { useAgentRegistration } from '../../agent';\nimport { infoTipAgent } from './info-tip.agent';\n\n/* -------------------------------------------------------------------- */\n/* Trigger — a small circular, branded affordance: card surface inside */\n/* the circle, accent ring + accent \"i\" glyph, and a soft drop shadow. */\n/* The accent alias is safe here: `--accent` resolves to magenta-700 in */\n/* light mode (the AA-safe interactive step) and the dark accent on dark */\n/* surfaces — never reference a raw magenta ramp step. */\n/* -------------------------------------------------------------------- */\n\nconst infoTipTriggerVariants = cva(\n [\n 'ds:relative ds:inline-flex ds:shrink-0 ds:items-center ds:justify-center',\n 'ds:rounded-[var(--radius-full)]',\n 'ds:bg-[var(--card)]',\n 'ds:text-[var(--accent)]',\n // Single ring: the Lucide Info glyph draws its own accent circle, so the\n // trigger carries NO CSS border of its own (a border would read as a\n // second, concentric ring). The white circle comes from `bg-card` showing\n // through the glyph, lifted by the drop shadow.\n 'ds:shadow-[var(--shadow-sm)]',\n 'ds:cursor-pointer',\n 'ds:transition-[color,box-shadow] ds:motion-reduce:transition-none',\n 'ds:hover:text-[var(--accent-hover)] ds:hover:shadow-[var(--shadow-md)]',\n 'ds:data-[state=open]:text-[var(--accent-hover)] ds:data-[state=open]:shadow-[var(--shadow-md)]',\n 'ds:focus-visible:outline-[length:var(--focus-ring-width)] ds:focus-visible:outline-solid ds:focus-visible:outline-ring ds:focus-visible:outline-offset-[length:var(--focus-ring-offset)]',\n 'ds:forced-colors:focus-visible:outline-[CanvasText]',\n ].join(' '),\n {\n variants: {\n size: {\n // Both diameters sit below `--min-target-size` (44/48px), so each\n // re-uses IconButton's invisible `::before` hit-area expansion to a\n // full touch target on touch / small screens. From the `sm:`\n // breakpoint up the pointer is precise, so the expansion relaxes —\n // but the interactive target must never fall below WCAG 2.5.8's 24px:\n // • md (24px visual) already meets the 24px floor, so its `::before`\n // is hidden on desktop and the 24px circle IS the target.\n // • sm (20px visual) would fall to 20px if hidden — below the floor\n // — so instead of hiding, its `::before` shrinks to a persistent\n // `--spacing-lg` (24px) minimum that holds on desktop too.\n sm: 'ds:w-5 ds:h-5 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[\"\"] ds:sm:before:inset-x-[calc((var(--spacing-lg)-100%)/-2)] ds:sm:before:inset-y-[calc((var(--spacing-lg)-100%)/-2)]',\n md: 'ds:w-6 ds:h-6 ds:before:absolute ds:before:inset-x-[calc((var(--min-target-size)-100%)/-2)] ds:before:inset-y-[calc((var(--min-target-size)-100%)/-2)] ds:before:content-[\"\"] ds:sm:before:hidden',\n },\n },\n defaultVariants: {\n size: 'md',\n },\n },\n);\n\n// Curated agent-readiness handle — see info-tip.agent.ts.\nexport interface InfoTipHandle {\n getIsOpen: () => boolean;\n open: () => void;\n close: () => void;\n}\n\nexport interface InfoTipProps {\n /** Body of the tip — explanatory text shown in the floating card. */\n content: ReactNode;\n /** Optional heading rendered above the body. */\n heading?: ReactNode;\n /**\n * Trigger diameter. Also maps the floating card width:\n * `sm` → `--popover-size-sm`, `md` → `--popover-size-md`.\n */\n size?: 'sm' | 'md';\n /** Logical side the card opens on. Default `'top'`. */\n side?: 'start' | 'top' | 'end' | 'bottom';\n /** Alignment along the side axis. Default `'center'`. */\n align?: 'start' | 'center' | 'end';\n /**\n * Accessible name for the trigger. Defaults to the translated\n * \"More information\" chrome string.\n */\n 'aria-label'?: string;\n /**\n * Opaque instance id — emitted as `data-component-id` on the trigger and\n * used to register the instance with the host agent registry.\n */\n id?: string;\n /** Extra classes merged onto the trigger button. */\n className?: string;\n}\n\n/**\n * InfoTip — a deliberate, branded \"more information\" affordance: a small\n * circular trigger that reveals an explanatory card on hover **and** click\n * (click also serves touch devices). Composes the kit Popover in\n * `openOn=\"hover-or-click\"` mode — hover intent, keyboard focus, Escape and\n * focus-return are all handled by the Popover/Radix layer.\n */\nexport const InfoTip = forwardRef<HTMLButtonElement, InfoTipProps>(\n (\n {\n content,\n heading,\n size = 'md',\n side = 'top',\n align = 'center',\n 'aria-label': ariaLabelProp,\n id,\n className,\n },\n ref,\n ) => {\n const { t } = useTranslation();\n const [open, setOpen] = useState(false);\n\n // Agent handle.\n const openRef = useRef(open);\n useEffect(() => {\n openRef.current = open;\n }, [open]);\n\n const agentHandle = useMemo<InfoTipHandle>(\n () => ({\n getIsOpen: () => openRef.current,\n open: () => setOpen(true),\n close: () => setOpen(false),\n }),\n [],\n );\n useAgentRegistration(infoTipAgent, agentHandle, id);\n\n // Press bookkeeping. In hover-or-click mode the Popover opens as soon as\n // the trigger receives focus — which happens on pointerdown, BEFORE the\n // click event that Radix uses to toggle. Without intervention every\n // click/tap on a closed tip opens it (focus) and instantly toggles it\n // closed again (click). So each press (pointerdown, or Enter/Space)\n // snapshots the open state and the click handler consumes it: if the\n // press itself opened the card, swallow Radix's toggle so the card stays\n // open; if it was already open, let the toggle close it.\n //\n // `null` means \"no press recorded for this click\" — an orphan click\n // (programmatic .click(), or assistive tech dispatching click with no\n // pointer/key event). Those must fall through to Radix's default toggle\n // rather than read a stale snapshot, so the guard treats `null` as\n // \"don't suppress\" and every click clears the snapshot back to `null`.\n const pressStateRef = useRef<boolean | null>(null);\n const handlePressStart = () => {\n pressStateRef.current = openRef.current;\n };\n\n const ariaLabel =\n ariaLabelProp ?? t('infoTip.triggerLabel', 'More information');\n\n return (\n <Popover openOn=\"hover-or-click\" open={open} onOpenChange={setOpen}>\n <Popover.Trigger\n ref={ref}\n aria-label={ariaLabel}\n className={infoTipTriggerVariants({ size, className })}\n data-component=\"info-tip\"\n data-component-id={id}\n onPointerDown={handlePressStart}\n onKeyDown={(event) => {\n if (event.key === 'Enter' || event.key === ' ') {\n handlePressStart();\n }\n }}\n onClick={(event) => {\n // Consume this click's press snapshot. A genuine pointer/keyboard\n // press recorded `false`/`true` on press-start; an orphan click\n // with no preceding pointerdown/keydown finds `null` and is left\n // to Radix's default toggle.\n const wasOpenAtPressStart = pressStateRef.current;\n pressStateRef.current = null;\n if (wasOpenAtPressStart === false && openRef.current) {\n // This press opened the card via focus — keep it open and\n // skip Radix's click toggle.\n event.preventDefault();\n }\n }}\n >\n <Info\n aria-hidden=\"true\"\n // Fills the circle so the glyph's own ring IS the trigger's\n // visible edge and the drop shadow hugs it.\n className={size === 'sm' ? 'ds:size-5' : 'ds:size-6'}\n />\n </Popover.Trigger>\n <Popover.Content\n side={side}\n align={align}\n size={size === 'sm' ? 'sm' : 'md'}\n // The card is a Radix `role=\"dialog\"` surface, which axe requires\n // to have an accessible name (aria-dialog-name). With a heading,\n // Popover wires aria-labelledby; without one, fall back to the\n // trigger's label.\n aria-label={heading == null ? ariaLabel : undefined}\n // Toggletip focus contract: the card is explanatory text, never\n // interactive, so focus stays on the trigger for the whole\n // open/close cycle. Preventing the open move also keeps Escape\n // reliable — if Radix pulled focus into the card, closing would\n // refocus the trigger and re-fire the hover-mode focus handler,\n // reopening the card it just closed. Preventing the close move\n // keeps an unhover-close from stealing focus mid-task.\n onOpenAutoFocus={(event) => event.preventDefault()}\n onCloseAutoFocus={(event) => event.preventDefault()}\n >\n {heading != null && <Popover.Heading>{heading}</Popover.Heading>}\n <Popover.Description>{content}</Popover.Description>\n </Popover.Content>\n </Popover>\n );\n },\n);\n\nInfoTip.displayName = 'InfoTip';\n"],"names":["infoTipAgent","handle","infoTipTriggerVariants","cva","InfoTip","forwardRef","content","heading","size","side","align","ariaLabelProp","id","className","ref","t","useTranslation","open","setOpen","useState","openRef","useRef","useEffect","agentHandle","useMemo","useAgentRegistration","pressStateRef","handlePressStart","ariaLabel","Popover","jsx","event","wasOpenAtPressStart","Info","jsxs"],"mappings":";;;;;;;AAGO,MAAMA,IAA4C;AAAA,EACvD,IAAI;AAAA,EACJ,cAAc,CAAC,QAAQ,OAAO;AAAA,EAC9B,OAAO;AAAA,IACL,QAAQ;AAAA,MACN,MAAM;AAAA,MACN,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,MAAM,CAACC,MAAWA,EAAO,UAAA;AAAA,IAAU;AAAA,EACrC;AAAA,EAEF,SAAS;AAAA,IACP,MAAM;AAAA,MACJ,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,QAAQ,CAACA,MAAW;AAClB,QAAAA,EAAO,KAAA;AAAA,MACT;AAAA,IAAA;AAAA,IAEF,OAAO;AAAA,MACL,QAAQ;AAAA,MACR,YAAY;AAAA,MACZ,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,QAAQ,CAACA,MAAW;AAClB,QAAAA,EAAO,MAAA;AAAA,MACT;AAAA,IAAA;AAAA,EACF;AAAA,EAEF,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,OAAO;AAAA,MACP,aAAa;AAAA,IAAA;AAAA,IAEf,YAAY;AAAA,MACV,MAAM;AAAA,MACN,YAAY;AAAA,MACZ,aAAa;AAAA,IAAA;AAAA,EACf;AAEJ,GCvBMC,IAAyBC;AAAA,EAC7B;AAAA,IACE;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IAKA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EAAA,EACA,KAAK,GAAG;AAAA,EACV;AAAA,IACE,UAAU;AAAA,MACR,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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ACnB,eAAee;AAAA,UACf,WAAW,CAACI,MAAU;AACpB,aAAIA,EAAM,QAAQ,WAAWA,EAAM,QAAQ,QACzCJ,EAAA;AAAA,UAEJ;AAAA,UACA,SAAS,CAACI,MAAU;AAKlB,kBAAMC,IAAsBN,EAAc;AAC1C,YAAAA,EAAc,UAAU,MACpBM,MAAwB,MAASZ,EAAQ,WAG3CW,EAAM,eAAA;AAAA,UAEV;AAAA,UAEA,UAAA,gBAAAD;AAAA,YAACG;AAAA,YAAA;AAAA,cACC,eAAY;AAAA,cAGZ,WAAWzB,MAAS,OAAO,cAAc;AAAA,YAAA;AAAA,UAAA;AAAA,QAC3C;AAAA,MAAA;AAAA,MAEF,gBAAA0B;AAAA,QAACL,EAAQ;AAAA,QAAR;AAAA,UACC,MAAApB;AAAA,UACA,OAAAC;AAAA,UACA,MAAMF,MAAS,OAAO,OAAO;AAAA,UAK7B,cAAYD,KAAW,OAAOqB,IAAY;AAAA,UAQ1C,iBAAiB,CAACG,MAAUA,EAAM,eAAA;AAAA,UAClC,kBAAkB,CAACA,MAAUA,EAAM,eAAA;AAAA,UAElC,UAAA;AAAA,YAAAxB,KAAW,QAAQ,gBAAAuB,EAACD,EAAQ,SAAR,EAAiB,UAAAtB,GAAQ;AAAA,YAC9C,gBAAAuB,EAACD,EAAQ,aAAR,EAAqB,UAAAvB,EAAA,CAAQ;AAAA,UAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAChC,GACF;AAAA,EAEJ;AACF;AAEAF,EAAQ,cAAc;"}
|
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "0.
|
|
3
|
+
"packageVersion": "0.86.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -5585,6 +5585,50 @@
|
|
|
5585
5585
|
}
|
|
5586
5586
|
}
|
|
5587
5587
|
},
|
|
5588
|
+
{
|
|
5589
|
+
"kind": "component",
|
|
5590
|
+
"id": "info-tip",
|
|
5591
|
+
"capabilities": [
|
|
5592
|
+
"open",
|
|
5593
|
+
"close"
|
|
5594
|
+
],
|
|
5595
|
+
"state": [
|
|
5596
|
+
{
|
|
5597
|
+
"name": "isOpen",
|
|
5598
|
+
"type": "boolean",
|
|
5599
|
+
"description": "True when the info tip card is currently open.",
|
|
5600
|
+
"descriptionKey": "ui.agent.infoTip.state.isOpen"
|
|
5601
|
+
}
|
|
5602
|
+
],
|
|
5603
|
+
"actions": [
|
|
5604
|
+
{
|
|
5605
|
+
"name": "open",
|
|
5606
|
+
"safety": "read",
|
|
5607
|
+
"idempotent": true,
|
|
5608
|
+
"description": "Open the info tip card.",
|
|
5609
|
+
"descriptionKey": "ui.agent.infoTip.actions.open"
|
|
5610
|
+
},
|
|
5611
|
+
{
|
|
5612
|
+
"name": "close",
|
|
5613
|
+
"safety": "read",
|
|
5614
|
+
"idempotent": true,
|
|
5615
|
+
"description": "Close the info tip card.",
|
|
5616
|
+
"descriptionKey": "ui.agent.infoTip.actions.close"
|
|
5617
|
+
}
|
|
5618
|
+
],
|
|
5619
|
+
"domHooks": {
|
|
5620
|
+
"root": {
|
|
5621
|
+
"attr": "data-component",
|
|
5622
|
+
"value": "info-tip",
|
|
5623
|
+
"description": "Marks the InfoTip trigger button."
|
|
5624
|
+
},
|
|
5625
|
+
"instanceId": {
|
|
5626
|
+
"attr": "data-component-id",
|
|
5627
|
+
"sourceProp": "id",
|
|
5628
|
+
"description": "Sourced from the id prop on InfoTip."
|
|
5629
|
+
}
|
|
5630
|
+
}
|
|
5631
|
+
},
|
|
5588
5632
|
{
|
|
5589
5633
|
"kind": "component",
|
|
5590
5634
|
"id": "kbd",
|
package/dist/agent-i18n/en.json
CHANGED
|
@@ -585,6 +585,15 @@
|
|
|
585
585
|
"reset": "Reset the crop to the centred default for the current aspect."
|
|
586
586
|
}
|
|
587
587
|
},
|
|
588
|
+
"infoTip": {
|
|
589
|
+
"state": {
|
|
590
|
+
"isOpen": "True when the info tip card is currently open."
|
|
591
|
+
},
|
|
592
|
+
"actions": {
|
|
593
|
+
"open": "Open the info tip card.",
|
|
594
|
+
"close": "Close the info tip card."
|
|
595
|
+
}
|
|
596
|
+
},
|
|
588
597
|
"list": {
|
|
589
598
|
"state": {
|
|
590
599
|
"selection": "Ids of currently-selected list items. Empty array when none selected or list is presentational."
|
|
@@ -117,6 +117,7 @@ export * from './appointment-timeline';
|
|
|
117
117
|
export * from './dialog';
|
|
118
118
|
export * from './dropdown-menu';
|
|
119
119
|
export * from './finished-terminal';
|
|
120
|
+
export * from './info-tip';
|
|
120
121
|
export * from './live-region';
|
|
121
122
|
export * from './matrix-rain';
|
|
122
123
|
export * from './message-card';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,uBAAuB,EACvB,aAAa,EACb,qBAAqB,EACrB,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,UAAU,CAAC;AAClB,YAAY,EACV,SAAS,EACT,eAAe,EACf,4BAA4B,EAC5B,eAAe,EACf,uBAAuB,EACvB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,uBAAuB,GACxB,MAAM,UAAU,CAAC;AAGlB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC;AAEzC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,gCAAgC,CAAC;AAO/C,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC7D,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAM1E,YAAY,EAAE,WAAW,EAAE,MAAM,kBA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kB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAO3B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,uCAAuC,CAAC;AACtD,cAAc,+BAA+B,CAAC;AAG9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/info-tip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-tip.agent.d.ts","sourceRoot":"","sources":["../../../src/components/info-tip/info-tip.agent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,eAAO,MAAM,YAAY,EAAE,YAAY,CAAC,aAAa,CA2CpD,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface InfoTipHandle {
|
|
3
|
+
getIsOpen: () => boolean;
|
|
4
|
+
open: () => void;
|
|
5
|
+
close: () => void;
|
|
6
|
+
}
|
|
7
|
+
export interface InfoTipProps {
|
|
8
|
+
/** Body of the tip — explanatory text shown in the floating card. */
|
|
9
|
+
content: ReactNode;
|
|
10
|
+
/** Optional heading rendered above the body. */
|
|
11
|
+
heading?: ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* Trigger diameter. Also maps the floating card width:
|
|
14
|
+
* `sm` → `--popover-size-sm`, `md` → `--popover-size-md`.
|
|
15
|
+
*/
|
|
16
|
+
size?: 'sm' | 'md';
|
|
17
|
+
/** Logical side the card opens on. Default `'top'`. */
|
|
18
|
+
side?: 'start' | 'top' | 'end' | 'bottom';
|
|
19
|
+
/** Alignment along the side axis. Default `'center'`. */
|
|
20
|
+
align?: 'start' | 'center' | 'end';
|
|
21
|
+
/**
|
|
22
|
+
* Accessible name for the trigger. Defaults to the translated
|
|
23
|
+
* "More information" chrome string.
|
|
24
|
+
*/
|
|
25
|
+
'aria-label'?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Opaque instance id — emitted as `data-component-id` on the trigger and
|
|
28
|
+
* used to register the instance with the host agent registry.
|
|
29
|
+
*/
|
|
30
|
+
id?: string;
|
|
31
|
+
/** Extra classes merged onto the trigger button. */
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* InfoTip — a deliberate, branded "more information" affordance: a small
|
|
36
|
+
* circular trigger that reveals an explanatory card on hover **and** click
|
|
37
|
+
* (click also serves touch devices). Composes the kit Popover in
|
|
38
|
+
* `openOn="hover-or-click"` mode — hover intent, keyboard focus, Escape and
|
|
39
|
+
* focus-return are all handled by the Popover/Radix layer.
|
|
40
|
+
*/
|
|
41
|
+
export declare const InfoTip: import("react").ForwardRefExoticComponent<InfoTipProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
42
|
+
//# sourceMappingURL=info-tip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"info-tip.d.ts","sourceRoot":"","sources":["../../../src/components/info-tip/info-tip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AA0Df,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,OAAO,CAAC;IACzB,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,YAAY;IAC3B,qEAAqE;IACrE,OAAO,EAAE,SAAS,CAAC;IACnB,gDAAgD;IAChD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACnB,uDAAuD;IACvD,IAAI,CAAC,EAAE,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC1C,yDAAyD;IACzD,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACnC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,OAAO,4GAmHnB,CAAC"}
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
* Domain: AlfaDocs dental practice management software.
|
|
7
7
|
*/
|
|
8
8
|
export declare const arUi: {
|
|
9
|
+
readonly infoTip: {
|
|
10
|
+
readonly triggerLabel: "مزيد من المعلومات";
|
|
11
|
+
};
|
|
9
12
|
readonly opticalPrescription: {
|
|
10
13
|
readonly ariaLabel: "وصفة النظارات";
|
|
11
14
|
readonly metaLabel: "تفاصيل الوصفة";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ar.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"ar.d.ts","sourceRoot":"","sources":["../../../src/i18n/locales/ar.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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